diff --git a/package-lock.json b/package-lock.json index 6e680e15a..39cd4f921 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6473,6 +6473,7 @@ "resolved": "https://registry.npmjs.org/tldjs/-/tldjs-2.3.1.tgz", "integrity": "sha512-W/YVH/QczLUxVjnQhFC61Iq232NWu3TqDdO0S/MtXVz4xybejBov4ud+CIwN9aYqjOecEqIy0PscGkwpG9ZyTw==", "hasInstallScript": true, + "license": "MIT", "dependencies": { "punycode": "^1.4.1" }, diff --git a/scripts/installer.sh b/scripts/installer.sh index f5a5aabb1..b1576a7dd 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -151,6 +151,11 @@ for try in `seq 1 10`; do sleep 5 done +# update TLDs rules.json (https://github.com/thom4parisot/tld.js?tab=readme-ov-file#updating-the-tlds-list) +if ! node "${box_src_tmp_dir}/node_modules/tldjs/bin/update.js"; then + log "Failed to update PSL, continue anyway" +fi + if [[ ${try} -eq 10 ]]; then log "npm rebuild failed, giving up" exit 4