diff --git a/build.js b/build.js index e53c5cb..81543e2 100755 --- a/build.js +++ b/build.js @@ -30,13 +30,11 @@ var types = { // You can find download links here: // // Just get the complete code tables in UTF-8. +var url = + 'https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3_Code_Tables_20200515.zip' +var expectedName = 'iso-639-3_20200515.tab' -https - .request( - 'https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3_Code_Tables_20200130.zip', - onrequest - ) - .end() +https.request(url, onrequest).end() function onrequest(request) { request @@ -60,7 +58,7 @@ function onopen(err, archive) { function onentry(entry) { var name = path.basename(entry.fileName) - if (name !== 'iso-639-3_20200130.tab') { + if (name !== expectedName) { other.push(name) return read() } diff --git a/index.json b/index.json index 0457a4d..65f48e7 100644 --- a/index.json +++ b/index.json @@ -11718,6 +11718,12 @@ "scope": "individual", "iso6393": "fie" }, + { + "name": "Faifi", + "type": "living", + "scope": "individual", + "iso6393": "fif" + }, { "name": "Fijian", "type": "living", @@ -38899,12 +38905,6 @@ "scope": "individual", "iso6393": "thv" }, - { - "name": "Thudam", - "type": "living", - "scope": "individual", - "iso6393": "thw" - }, { "name": "Tha", "type": "living",