diff --git a/package.json b/package.json index 8246bfaad..659e2420f 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "author": "Jaco Greeff ", "bugs": "https://github.com/polkadot-js/phishing/issues", + "engine-strict": true, "engines": { - "node": ">=14" + "node": ">=18.14" }, "homepage": "https://github.com/polkadot-js/phishing#readme", "license": "Apache-2.0", @@ -41,7 +42,7 @@ "dnslink-cloudflare": "^3.0.0" }, "devDependencies": { - "@polkadot/dev": "^0.72.22", + "@polkadot/dev": "^0.72.25", "@types/node": "^18.15.9" }, "resolutions": { diff --git a/scripts/findSubs.mjs b/scripts/findSubs.mjs index 5a8121c64..72f4bb55c 100644 --- a/scripts/findSubs.mjs +++ b/scripts/findSubs.mjs @@ -1,7 +1,7 @@ // Copyright 2020-2023 @polkadot/phishing authors & contributors // SPDX-License-Identifier: Apache-2.0 -import fs from 'fs'; +import fs from 'node:fs'; // muli-part domain codes and (hopefully) valid top-levels (all manual from list) const DOMS = [ diff --git a/yarn.lock b/yarn.lock index 58be123c6..b2ae769f2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -376,34 +376,34 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev-test@npm:^0.72.22": - version: 0.72.22 - resolution: "@polkadot/dev-test@npm:0.72.22" +"@polkadot/dev-test@npm:^0.72.25": + version: 0.72.25 + resolution: "@polkadot/dev-test@npm:0.72.25" dependencies: jsdom: ^21.1.1 tslib: ^2.5.0 - checksum: c7be66ff77796083ae984410b8e5127f55017ed2bccb35a41fe1aba3662c2e14215f65c0cdcc7030c7596f6d8f7ff266ab97c68f67514fbaa179de0f365b36c6 + checksum: 784743afc26e3bd5d3b875cd1c27701e8e6a7a4cd55da014cffbae4b97de761f1f6e6b03c3956ee26d4140da83f78e2fa19c62505f4d6b942c7b98f88897ad85 languageName: node linkType: hard -"@polkadot/dev-ts@npm:^0.72.22": - version: 0.72.22 - resolution: "@polkadot/dev-ts@npm:0.72.22" +"@polkadot/dev-ts@npm:^0.72.25": + version: 0.72.25 + resolution: "@polkadot/dev-ts@npm:0.72.25" dependencies: json5: ^2.2.3 tslib: ^2.5.0 typescript: ^5.0.2 - checksum: 2cdaf00cf35b7ee01cfa7ccccd67699a1885475e6e16242995d92385ad626236a68809f5f7c555ff8477acb431c8ca9675ab28be10beddcca3befa8c023fdbd2 + checksum: 2fcf05cd726b7e886db44b9d8e4cbf8e1a97c7af52915d190807b2cb2753687ab36edbd91af5715e91e33a8ad4a5f16ecdf204edb5726a48ec860559c6816106 languageName: node linkType: hard -"@polkadot/dev@npm:^0.72.22": - version: 0.72.22 - resolution: "@polkadot/dev@npm:0.72.22" +"@polkadot/dev@npm:^0.72.25": + version: 0.72.25 + resolution: "@polkadot/dev@npm:0.72.25" dependencies: "@eslint/js": ^8.36.0 - "@polkadot/dev-test": ^0.72.22 - "@polkadot/dev-ts": ^0.72.22 + "@polkadot/dev-test": ^0.72.25 + "@polkadot/dev-ts": ^0.72.25 "@rollup/plugin-alias": ^4.0.3 "@rollup/plugin-commonjs": ^24.0.1 "@rollup/plugin-dynamic-import-vars": ^2.0.3 @@ -464,7 +464,7 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: 0bb16caeb3a41969ea7971e3f6e2fbe3af228488fa28da9d7406292124f1a0d162068b060c80d890b3e91d75f8426a2b701bdfa9da07b404d81f7c64e64d12e9 + checksum: 2225835661e62e8b88af8accd64d55644d03b0d172bf8c6c85baa45e03203bd74026979491ce91ffc22f61554b1555e19a8fe2c6a26c1c70030bbc1d3dc53770 languageName: node linkType: hard @@ -7637,7 +7637,7 @@ fsevents@~2.3.2: resolution: "root-workspace-0b6124@workspace:." dependencies: "@pinata/sdk": ^2.1.0 - "@polkadot/dev": ^0.72.22 + "@polkadot/dev": ^0.72.25 "@types/node": ^18.15.9 dnslink-cloudflare: ^3.0.0 languageName: unknown