diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index fa3537e1..78ab193c 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20.x, 22.x] + node-version: [22.x] fail-fast: false steps: - name: Harden Runner diff --git a/package-lock.json b/package-lock.json index a9056b0a..c82d393c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,12 +21,12 @@ "@openally/config.eslint": "^2.1.0", "@openally/config.typescript": "^1.0.3", "@slimio/is": "^2.0.0", - "@types/node": "^22.0.0", + "@types/node": "^22.15.17", "@types/pacote": "^11.1.8", "@types/semver": "^7.5.8", "c8": "^10.1.2", - "glob": "^11.0.0", "pkg-ok": "^3.0.0", + "tsd": "^0.32.0", "tsx": "^4.16.2", "typescript": "^5.5.3" }, @@ -42,18 +42,6 @@ "node": ">=0.10.0" } }, - "node_modules/@ampproject/remapping": { - "version": "2.3.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@babel/code-frame": { "version": "7.24.7", "license": "MIT", @@ -65,208 +53,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/compat-data": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helpers": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/eslint-parser": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", - "eslint-visitor-keys": "^2.1.0", - "semver": "^6.3.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || >=14.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.11.0", - "eslint": "^7.5.0 || ^8.0.0 || ^9.0.0" - } - }, - "node_modules/@babel/eslint-parser/node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/generator": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.24.7", - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25", - "jsesc": "^2.5.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.24.7", - "@babel/helper-validator-option": "^7.24.7", - "browserslist": "^4.22.2", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/template": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-module-imports": "^7.24.7", - "@babel/helper-simple-access": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", - "@babel/helper-validator-identifier": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-validator-identifier": { "version": "7.24.7", "license": "MIT", @@ -274,26 +60,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-validator-option": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/template": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/highlight": { "version": "7.24.7", "license": "MIT", @@ -307,68 +73,16 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/parser": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/template": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.24.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.7", - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-function-name": "^7.24.7", - "@babel/helper-hoist-variables": "^7.24.7", - "@babel/helper-split-export-declaration": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/types": "^7.24.7", - "debug": "^4.3.1", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.24.7", + "node_modules/@bcoe/v8-coverage": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-1.0.2.tgz", + "integrity": "sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==", "dev": true, "license": "MIT", - "dependencies": { - "@babel/helper-string-parser": "^7.24.7", - "@babel/helper-validator-identifier": "^7.24.7", - "to-fast-properties": "^2.0.0" - }, "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "dev": true, - "license": "MIT" - }, "node_modules/@esbuild/aix-ppc64": { "version": "0.25.0", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.0.tgz", @@ -984,9 +698,9 @@ } }, "node_modules/@faker-js/faker": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-8.4.1.tgz", - "integrity": "sha512-XQ3cU+Q8Uqmrbf2e0cIC/QN43sTBSC8KF12u29Mb47tWrt2hAgBXSgpZMj4Ao8Uk0iJcU99QsOCaIL8934obCg==", + "version": "9.7.0", + "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-9.7.0.tgz", + "integrity": "sha512-aozo5vqjCmDoXLNUJarFZx2IN/GgGaogY4TMJ6so/WLZOWpSV7fvj2dmrV6sEAnUm1O7aCrhTibjpzeDFgNqbg==", "dev": true, "funding": [ { @@ -994,9 +708,10 @@ "url": "https://opencollective.com/fakerjs" } ], + "license": "MIT", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0", - "npm": ">=6.14.13" + "node": ">=18.0.0", + "npm": ">=9.0.0" } }, "node_modules/@fastify/deepmerge": { @@ -1201,19 +916,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/resolve-uri": { "version": "3.1.0", "dev": true, @@ -1222,14 +924,6 @@ "node": ">=6.0.0" } }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.14", "dev": true, @@ -1244,12 +938,20 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@nicolo-ribaudo/eslint-scope-5-internals": { - "version": "5.1.1-v1", - "dev": true, + "node_modules/@myunisoft/httpie": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@myunisoft/httpie/-/httpie-5.0.1.tgz", + "integrity": "sha512-4SDFBnktpwbuuONzTknNzEGr3D/2WSFuk04F/dM+n15uo/WoKKVd6jUhkMVrxaFOjpFQjLTJSKtNuGUrYNOXsg==", "license": "MIT", "dependencies": { - "eslint-scope": "5.1.1" + "@openally/result": "^1.2.1", + "content-type": "^1.0.5", + "lru-cache": "^11.0.0", + "statuses": "^2.0.1", + "undici": "^6.9.0" + }, + "engines": { + "node": ">=20" } }, "node_modules/@nodelib/fs.scandir": { @@ -1292,24 +994,6 @@ "resolved": "workspaces/contact", "link": true }, - "node_modules/@nodesecure/eslint-config": { - "version": "2.0.0-beta.0", - "resolved": "https://registry.npmjs.org/@nodesecure/eslint-config/-/eslint-config-2.0.0-beta.0.tgz", - "integrity": "sha512-G1Oc9bwfBrqBsR5SKUKNNW9kQ8NNgEJ2psHSOoJqtipg0cRWtIMbX3HH2nPYbSH7+NRaalxQrUig/L3j0y5cIQ==", - "dev": true, - "dependencies": { - "@babel/core": "^7.24.7", - "@babel/eslint-parser": "^7.24.7", - "@eslint/eslintrc": "^3.1.0", - "@eslint/js": "^9.6.0", - "@typescript-eslint/eslint-plugin": "8.0.0-alpha.40", - "@typescript-eslint/parser": "8.0.0-alpha.40", - "eslint": "^9.6.0" - }, - "engines": { - "node": ">=18.18.0" - } - }, "node_modules/@nodesecure/estree-ast-utils": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@nodesecure/estree-ast-utils/-/estree-ast-utils-1.5.0.tgz", @@ -1395,14 +1079,6 @@ "node": "14 || >=16.14" } }, - "node_modules/@nodesecure/npm-registry-sdk/node_modules/undici": { - "version": "6.19.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.19.2.tgz", - "integrity": "sha512-JfjKqIauur3Q6biAtHJ564e3bWa8VvT+7cSiOJHFbX4Erv6CLGDpg8z+Fmg/1OI/47RA+GI2QZaF48SSaLvyBA==", - "engines": { - "node": ">=18.17" - } - }, "node_modules/@nodesecure/npm-types": { "resolved": "workspaces/npm-types", "link": true @@ -1455,21 +1131,6 @@ "node": ">=18" } }, - "node_modules/@nodesecure/vulnera/node_modules/@myunisoft/httpie": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@myunisoft/httpie/-/httpie-5.0.0.tgz", - "integrity": "sha512-U4C1PA5lYPAYXZDAQvlKy35wWnZfAR9HN8Sn/xaZYxO2jK/MMfZRzak/c0FzmxNUhroCeMmfiN0JTjChKBl+mA==", - "dependencies": { - "@openally/result": "^1.2.1", - "content-type": "^1.0.5", - "lru-cache": "^10.1.0", - "statuses": "^2.0.1", - "undici": "^6.9.0" - }, - "engines": { - "node": ">=20" - } - }, "node_modules/@nodesecure/vulnera/node_modules/@npmcli/arborist": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-7.5.4.tgz", @@ -2214,14 +1875,6 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/@nodesecure/vulnera/node_modules/undici": { - "version": "6.19.7", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.19.7.tgz", - "integrity": "sha512-HR3W/bMGPSr90i8AAp2C4DM3wChFdJPLrWYpIS++LxS8K+W535qftjt+4MyjNYHeWabMj1nvtmLIi7l++iq91A==", - "engines": { - "node": ">=18.17" - } - }, "node_modules/@nodesecure/vulnera/node_modules/unique-filename": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", @@ -2269,6 +1922,8 @@ }, "node_modules/@npm/types": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@npm/types/-/types-1.0.2.tgz", + "integrity": "sha512-KXZccTDEnWqNrrx6JjpJKU/wJvNeg9BDgjS0XhmlZab7br921HtyVbsYzJr4L+xIvjdJ20Wh9dgxgCI2a5CEQw==", "dev": true, "license": "MIT" }, @@ -4464,10 +4119,11 @@ } }, "node_modules/@tsd/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/@tsd/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-saiCxzHRhUrRxQV2JhH580aQUZiKQUXI38FcAcikcfOomAil4G4lxT0RfrrKywoAYP/rqAdYXYmNRLppcd+hQQ==", + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/@tsd/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-oKarNCN1QUhG148M88mtZdOlBZWWGcInquef+U8QL7gwJkRuNo5WS45Fjsd+3hM9cDJWGpqSZ4Oo097KDx4IWA==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.17" } @@ -4496,6 +4152,8 @@ }, "node_modules/@types/cacache": { "version": "17.0.2", + "resolved": "https://registry.npmjs.org/@types/cacache/-/cacache-17.0.2.tgz", + "integrity": "sha512-IrqHzVX2VRMDQQKa7CtKRnuoCLdRJiLW6hWU+w7i7+AaQ0Ii5bKwJxd5uRK4zBCyrHd3tG6G8zOm2LplxbSfQg==", "dev": true, "license": "MIT", "dependencies": { @@ -4561,12 +4219,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.3.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz", - "integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==", + "version": "22.15.17", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.17.tgz", + "integrity": "sha512-wIX2aSZL5FE+MR0JlvF87BNVrtFWf6AE6rxSE9X7OwnVvoyCQjpzSRJ+M87se/4QCkCiebQAqrJ0y6fwIyi7nw==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~6.18.2" + "undici-types": "~6.21.0" } }, "node_modules/@types/node-fetch": { @@ -4601,11 +4260,13 @@ } }, "node_modules/@types/npmcli__arborist": { - "version": "5.6.9", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@types/npmcli__arborist/-/npmcli__arborist-6.3.0.tgz", + "integrity": "sha512-CXkuOBZDlcb+r0UMlmEAq3XOUZrL9XfZ2MXIwCSo726OBkkg+UIWlZ9h3n6To9w1WqMEIOZT2LkerhLgnsPV+Q==", "dev": true, "license": "MIT", "dependencies": { - "@npm/types": "*", + "@npm/types": "^1", "@types/cacache": "*", "@types/node": "*", "@types/npmcli__package-json": "*", @@ -4614,6 +4275,8 @@ }, "node_modules/@types/npmcli__package-json": { "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/npmcli__package-json/-/npmcli__package-json-4.0.4.tgz", + "integrity": "sha512-6QjlFUSHBmZJWuC08bz1ZCx6tm4t+7+OJXAdvM6tL2pI7n6Bh5SIp/YxQvnOLFf8MzCXs2ijyFgrzaiu1UFBGA==", "dev": true, "license": "MIT" }, @@ -4633,6 +4296,8 @@ }, "node_modules/@types/pacote": { "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@types/pacote/-/pacote-11.1.8.tgz", + "integrity": "sha512-/XLR0VoTh2JEO0jJg1q/e6Rh9bxjBq9vorJuQmtT7rRrXSiWz7e7NsvXVYJQ0i8JxMlBMPPYDTnrRe7MZRFA8Q==", "dev": true, "license": "MIT", "dependencies": { @@ -4670,67 +4335,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.0.0-alpha.40", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.0.0-alpha.40.tgz", - "integrity": "sha512-yku4NjpP0UujYq8d1GWXYELpKYwuoESSgvXPd9uAiO24OszGxQhPsGWTe4fmZV05J47qILfaGANO9SCa9fEU0w==", - "dev": true, - "dependencies": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.0.0-alpha.40", - "@typescript-eslint/type-utils": "8.0.0-alpha.40", - "@typescript-eslint/utils": "8.0.0-alpha.40", - "@typescript-eslint/visitor-keys": "8.0.0-alpha.40", - "graphemer": "^1.4.0", - "ignore": "^5.3.1", - "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/parser": { - "version": "8.0.0-alpha.40", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.0.0-alpha.40.tgz", - "integrity": "sha512-cjIgiaxmGtjlA6rRSs0Gsh0mWR08kPv1W+HsrZcuFwWxoGavBZPKtNctXND0NVf6MgSKyIcd4AHqBwE0htp5uw==", - "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "8.0.0-alpha.40", - "@typescript-eslint/types": "8.0.0-alpha.40", - "@typescript-eslint/typescript-estree": "8.0.0-alpha.40", - "@typescript-eslint/visitor-keys": "8.0.0-alpha.40", - "debug": "^4.3.4" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, "node_modules/@typescript-eslint/rule-tester": { "version": "8.31.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/rule-tester/-/rule-tester-8.31.0.tgz", @@ -4898,148 +4502,15 @@ }, "node_modules/@typescript-eslint/rule-tester/node_modules/ts-api-utils": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz", - "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18.12" - }, - "peerDependencies": { - "typescript": ">=4.8.4" - } - }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "8.0.0-alpha.40", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.0.0-alpha.40.tgz", - "integrity": "sha512-KQL502sCGZW+dYvxIzF6rEozbgppN0mBkYV6kT8ciY5OtFIRlLDTP7NdVAMMDk7q35T7Ad8negaQ9AGpZ8+Y5w==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.0.0-alpha.40", - "@typescript-eslint/visitor-keys": "8.0.0-alpha.40" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils": { - "version": "8.0.0-alpha.40", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.0.0-alpha.40.tgz", - "integrity": "sha512-/Aynkgxy3x22i6Zxy73MR/r0y1OELOMC9Atn7MO97NsjBOrQQYJHi/UEklZ423aB8SCkYH34lO6EAzXX/lIN3g==", - "dev": true, - "dependencies": { - "@typescript-eslint/typescript-estree": "8.0.0-alpha.40", - "@typescript-eslint/utils": "8.0.0-alpha.40", - "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/types": { - "version": "8.0.0-alpha.40", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.0.0-alpha.40.tgz", - "integrity": "sha512-44mUq4VZVydxNlOM8Xtp/BXDkyfuvvjgPIBf7vRQDutrLDeNS0pJ9pcSloSbop5MwKLfJjBU+PbwnJPQM+DWNg==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.0.0-alpha.40", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.0.0-alpha.40.tgz", - "integrity": "sha512-bz1rX5GXvGdx686FghDxPqGwgntlseZCQSRrVGDDOZlLSoWJnbfkzxXGOWch9c3ttcGkdFy/DiCyKKga3hrq0g==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.0.0-alpha.40", - "@typescript-eslint/visitor-keys": "8.0.0-alpha.40", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "8.0.0-alpha.40", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.0.0-alpha.40.tgz", - "integrity": "sha512-ijxO1Hs3YWveuWK+Vbt25D05Q41UeK08JwEJbWTzV38LmkdCBktQd7X1sTw4W9Qku692HWuHgesZf6OhC8t3aA==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.0.0-alpha.40", - "@typescript-eslint/types": "8.0.0-alpha.40", - "@typescript-eslint/typescript-estree": "8.0.0-alpha.40" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.0.0-alpha.40", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.0.0-alpha.40.tgz", - "integrity": "sha512-y1stojSPb5D3M8VlGGpaiBU5XxGLe+sPuW0YbLe09Lxvo4AwKGvhAr5lhqJZo4z6qHNz385+6+BS63+qIQdYLw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.0.0-alpha.40", - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz", + "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==", "dev": true, + "license": "MIT", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=18.12" }, - "funding": { - "url": "https://opencollective.com/eslint" + "peerDependencies": { + "typescript": ">=4.8.4" } }, "node_modules/@zkochan/retry": { @@ -5225,10 +4696,10 @@ } }, "node_modules/astring": { - "version": "1.8.6", - "resolved": "https://registry.npmjs.org/astring/-/astring-1.8.6.tgz", - "integrity": "sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==", - "dev": true, + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/astring/-/astring-1.9.0.tgz", + "integrity": "sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==", + "license": "MIT", "bin": { "astring": "bin/astring" } @@ -5320,37 +4791,6 @@ "node": ">=8" } }, - "node_modules/browserslist": { - "version": "4.23.1", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "caniuse-lite": "^1.0.30001629", - "electron-to-chromium": "^1.4.796", - "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.16" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, "node_modules/builtins": { "version": "5.1.0", "license": "MIT", @@ -5359,12 +4799,13 @@ } }, "node_modules/c8": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.2.tgz", - "integrity": "sha512-Qr6rj76eSshu5CgRYvktW0uM0CFY0yi4Fd5D0duDXO6sYinyopmftUiJVuzBQxQcwQLor7JWDVRP+dUfCmzgJw==", + "version": "10.1.3", + "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.3.tgz", + "integrity": "sha512-LvcyrOAaOnrrlMpW22n690PUvxiq4Uf9WMhQwNJ9vgagkL/ph1+D4uvjvDA5XCbykrc0sx+ay6pVi9YZ1GnhyA==", "dev": true, + "license": "ISC", "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", + "@bcoe/v8-coverage": "^1.0.1", "@istanbuljs/schema": "^0.1.3", "find-up": "^5.0.0", "foreground-child": "^3.1.1", @@ -5619,25 +5060,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/caniuse-lite": { - "version": "1.0.30001638", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "CC-BY-4.0" - }, "node_modules/chalk": { "version": "2.4.2", "license": "MIT", @@ -5963,11 +5385,6 @@ "version": "0.2.0", "license": "MIT" }, - "node_modules/electron-to-chromium": { - "version": "1.4.812", - "dev": true, - "license": "ISC" - }, "node_modules/emoji-regex": { "version": "9.2.2", "license": "MIT" @@ -6233,26 +5650,6 @@ "integrity": "sha512-+TQ+x4JdTnDoFEXXb3fDvfGOwnyNV7duH8fXWTPD1ieaBmB8omj7Gw/pMBBu4uI2uJCCU8APDaQJzWuXnTsH4A==", "dev": true }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=10" - } - }, "node_modules/eslint/node_modules/ansi-styles": { "version": "4.3.0", "dev": true, @@ -6457,14 +5854,6 @@ "node": ">=4.0" } }, - "node_modules/estraverse": { - "version": "4.3.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=4.0" - } - }, "node_modules/estree-walker": { "version": "3.0.3", "license": "MIT", @@ -6755,14 +6144,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/get-caller-file": { "version": "2.0.5", "dev": true, @@ -6814,29 +6195,6 @@ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" } }, - "node_modules/glob": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.0.tgz", - "integrity": "sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==", - "dev": true, - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^4.0.1", - "minimatch": "^10.0.0", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^2.0.0" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/glob-parent": { "version": "6.0.2", "dev": true, @@ -6848,38 +6206,6 @@ "node": ">=10.13.0" } }, - "node_modules/glob/node_modules/minimatch": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", - "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob/node_modules/minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", - "dev": true, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/globals": { - "version": "11.12.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/globby": { "version": "11.1.0", "dev": true, @@ -7309,24 +6635,6 @@ "integrity": "sha512-dFTSYzmbfeNE3q/qxwAr/QdKsK6/rp+LTz8SJdTg1+lo9omXFYpDcOKw47/7TevlnC0LorR5pRSf68+yB3N0GA==", "license": "MIT" }, - "node_modules/jackspeak": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.1.tgz", - "integrity": "sha512-cub8rahkh0Q/bw1+GxP7aeSe29hHHn2V4m29nnDlvCdlgU+3UGxkZp7Z53jLUdpX3jdTO0nJZUDl3xvbWc2Xog==", - "dev": true, - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" - } - }, "node_modules/jest-diff": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", @@ -7441,17 +6749,6 @@ "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" }, - "node_modules/jsesc": { - "version": "2.5.2", - "dev": true, - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", @@ -7702,11 +6999,12 @@ } }, "node_modules/lru-cache": { - "version": "5.1.1", - "dev": true, + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz", + "integrity": "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==", "license": "ISC", - "dependencies": { - "yallist": "^3.0.2" + "engines": { + "node": "20 || >=22" } }, "node_modules/make-dir": { @@ -8328,11 +7626,6 @@ "node": ">=18" } }, - "node_modules/node-releases": { - "version": "2.0.14", - "dev": true, - "license": "MIT" - }, "node_modules/nopt": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz", @@ -8914,40 +8207,6 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, - "node_modules/path-scurry": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", - "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", - "dev": true, - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/path-scurry/node_modules/lru-cache": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.0.tgz", - "integrity": "sha512-Qv32eSV1RSCfhY3fpPE2GNZ8jgM9X7rdAfemLWqTUxwiyIC4jJ6Sy0fZ8H+oLWevO6i4/bizg7c8d8i6bxrzbA==", - "dev": true, - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/path-scurry/node_modules/minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", - "dev": true, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, "node_modules/path-type": { "version": "4.0.0", "dev": true, @@ -10069,14 +9328,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "dev": true, @@ -10106,30 +9357,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ts-api-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", - "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", - "dev": true, - "engines": { - "node": ">=16" - }, - "peerDependencies": { - "typescript": ">=4.2.0" - } - }, "node_modules/ts-pattern": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ts-pattern/-/ts-pattern-5.2.0.tgz", "integrity": "sha512-aGaSpOlDcns7ZoeG/OMftWyQG1KqPVhgplhJxNCvyIXqWrumM5uIoOSarw/hmmi/T1PnuQ/uD8NaFHvLpHicDg==" }, "node_modules/tsd": { - "version": "0.31.1", - "resolved": "https://registry.npmjs.org/tsd/-/tsd-0.31.1.tgz", - "integrity": "sha512-sSL84A0SFwx2xGMWrxlGaarKFSQszWjJS2vgNDDLwatytzg2aq6ShlwHsBYxRNmjzXISODwMva5ZOdAg/4AoOA==", + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/tsd/-/tsd-0.32.0.tgz", + "integrity": "sha512-R5lBZCbxGBowOcW0gpQaiIjGYrG5NmU+PfFDKcc3zbtzWjML1o/zAwzdDnS2ZheSlPu9GW51azpFqEPUBq9DoQ==", "dev": true, + "license": "MIT", "dependencies": { - "@tsd/typescript": "~5.4.3", + "@tsd/typescript": "~5.8.3", "eslint-formatter-pretty": "^4.1.0", "globby": "^11.0.1", "jest-diff": "^29.0.3", @@ -10390,9 +9630,9 @@ } }, "node_modules/tsx": { - "version": "4.19.3", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.3.tgz", - "integrity": "sha512-4H8vUNGNjQ4V2EOoGw005+c+dGuPSnhpPBPHBtsZdGZBk/iJb4kguGlPWaZTZ3q5nMtFOEsY0nRDlh9PJyd6SQ==", + "version": "4.19.4", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.4.tgz", + "integrity": "sha512-gK5GVzDkJK1SI1zwHf32Mqxf2tSJkNx+eYcNly5+nHvWqXUJYUkWBQtKauoESz3ymezAI++ZwT855x5p5eop+Q==", "dev": true, "license": "MIT", "dependencies": { @@ -10435,9 +9675,9 @@ } }, "node_modules/type-fest": { - "version": "4.40.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.40.1.tgz", - "integrity": "sha512-9YvLNnORDpI+vghLU/Nf+zSv0kL47KbVJ1o3sKgoTefl6i+zebxbiDQWoe/oWWqPhIgQdRZRT1KA9sCPL810SA==", + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=16" @@ -10447,10 +9687,11 @@ } }, "node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -10688,11 +9929,21 @@ "typescript": ">=4.8.4" } }, + "node_modules/undici": { + "version": "6.21.2", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.2.tgz", + "integrity": "sha512-uROZWze0R0itiAKVPsYhFov9LxrPMHLMEQFszeI2gCN6bnIIZ8twzBCJcN2LJrBBLfrP0t1FW0g+JmKVl8Vk1g==", + "license": "MIT", + "engines": { + "node": ">=18.17" + } + }, "node_modules/undici-types": { - "version": "6.18.2", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz", - "integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ==", - "dev": true + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" }, "node_modules/unique-filename": { "version": "4.0.0", @@ -10718,35 +9969,6 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/update-browserslist-db": { - "version": "1.0.16", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "escalade": "^3.1.2", - "picocolors": "^1.0.1" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -10996,11 +10218,6 @@ "node": ">=10" } }, - "node_modules/yallist": { - "version": "3.1.1", - "dev": true, - "license": "ISC" - }, "node_modules/yargs": { "version": "17.7.2", "dev": true, @@ -11083,44 +10300,19 @@ "dependencies": { "@nodesecure/mama": "^1.0.0", "@openally/result": "^1.2.1", + "astring": "^1.9.0", "fastest-levenshtein": "^1.0.16", "spdx-expression-parse": "^4.0.0" }, "devDependencies": { - "@myunisoft/httpie": "^5.0.0", + "@myunisoft/httpie": "^5.0.1", "@types/spdx-expression-parse": "^3.0.5", - "astring": "^1.8.6", "node-estree": "^4.0.0" }, "engines": { "node": ">=20" } }, - "workspaces/conformance/node_modules/@myunisoft/httpie": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@myunisoft/httpie/-/httpie-5.0.0.tgz", - "integrity": "sha512-U4C1PA5lYPAYXZDAQvlKy35wWnZfAR9HN8Sn/xaZYxO2jK/MMfZRzak/c0FzmxNUhroCeMmfiN0JTjChKBl+mA==", - "dev": true, - "dependencies": { - "@openally/result": "^1.2.1", - "content-type": "^1.0.5", - "lru-cache": "^10.1.0", - "statuses": "^2.0.1", - "undici": "^6.9.0" - }, - "engines": { - "node": ">=20" - } - }, - "workspaces/conformance/node_modules/lru-cache": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.1.tgz", - "integrity": "sha512-9/8QXrtbGeMB6LxwQd4x1tIMnsmUxMvIH/qWGsccz6bt9Uln3S+sgAaqfQNhbGA8ufzs2fHuP/yqapGgP9Hh2g==", - "dev": true, - "engines": { - "node": ">=18" - } - }, "workspaces/conformance/node_modules/spdx-expression-parse": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz", @@ -11130,15 +10322,6 @@ "spdx-license-ids": "^3.0.0" } }, - "workspaces/conformance/node_modules/undici": { - "version": "6.19.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.19.2.tgz", - "integrity": "sha512-JfjKqIauur3Q6biAtHJ564e3bWa8VvT+7cSiOJHFbX4Erv6CLGDpg8z+Fmg/1OI/47RA+GI2QZaF48SSaLvyBA==", - "dev": true, - "engines": { - "node": ">=18.17" - } - }, "workspaces/contact": { "name": "@nodesecure/contact", "version": "1.0.0", @@ -11147,7 +10330,7 @@ "@nodesecure/npm-types": "^1.1.0" }, "devDependencies": { - "@faker-js/faker": "^8.4.1" + "@faker-js/faker": "^9.7.0" }, "engines": { "node": ">=20" @@ -11164,7 +10347,6 @@ }, "devDependencies": { "@types/lodash.get": "^4.4.9", - "c8": "^10.1.2", "zup": "^0.0.2" }, "engines": { @@ -11186,10 +10368,7 @@ "workspaces/npm-types": { "name": "@nodesecure/npm-types", "version": "1.1.1", - "license": "MIT", - "devDependencies": { - "tsd": "^0.31.1" - } + "license": "MIT" }, "workspaces/rc": { "name": "@nodesecure/rc", @@ -11202,19 +10381,12 @@ "@openally/config": "^1.0.1", "@openally/result": "^1.2.1", "lodash.merge": "^4.6.2", - "type-fest": "^4.23.0" + "type-fest": "^4.41.0" }, "devDependencies": { - "@nodesecure/eslint-config": "^2.0.0-beta.0", "@types/lodash.merge": "^4.6.7", - "@types/node": "^22.0.0", "@types/zen-observable": "^0.8.4", - "ajv": "^8.12.0", - "c8": "^10.1.2", - "glob": "^11.0.0", - "tsd": "^0.31.0", - "tsx": "^4.16.3", - "typescript": "^5.5.4" + "ajv": "^8.12.0" }, "engines": { "node": ">=20" @@ -11265,7 +10437,13 @@ "@openally/mutex": "^1.0.0", "pacote": "^21.0.0", "semver": "^7.5.4", - "type-fest": "^4.30.2" + "type-fest": "^4.41.0" + }, + "devDependencies": { + "@types/node": "^22.15.17", + "c8": "^10.1.3", + "tsx": "^4.19.4", + "typescript": "^5.8.3" }, "engines": { "node": ">=20" @@ -11304,7 +10482,7 @@ "semver": "^7.6.0" }, "devDependencies": { - "@types/npmcli__arborist": "^5.6.9" + "@types/npmcli__arborist": "^6.3.0" } } } diff --git a/package.json b/package.json index e28b3ba2..90b16fb9 100644 --- a/package.json +++ b/package.json @@ -21,12 +21,12 @@ "@openally/config.eslint": "^2.1.0", "@openally/config.typescript": "^1.0.3", "@slimio/is": "^2.0.0", - "@types/node": "^22.0.0", + "@types/node": "^22.15.17", "@types/pacote": "^11.1.8", "@types/semver": "^7.5.8", "c8": "^10.1.2", - "glob": "^11.0.0", "pkg-ok": "^3.0.0", + "tsd": "^0.32.0", "tsx": "^4.16.2", "typescript": "^5.5.3" }, diff --git a/workspaces/conformance/package.json b/workspaces/conformance/package.json index 42b0c85c..7ad24865 100644 --- a/workspaces/conformance/package.json +++ b/workspaces/conformance/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "tsc -b", "prepublishOnly": "npm run build", - "test-only": "glob -c \"tsx --test\" \"./test/**/*.spec.ts\"", + "test-only": "tsx --test ./test/**/*.spec.ts", "test": "c8 -r html npm run test-only", "spdx:refresh": "node ./scripts/fetchSpdxLicenses.js" }, @@ -34,14 +34,14 @@ }, "homepage": "https://github.com/NodeSecure/tree/master/workspaces/conformance#readme", "devDependencies": { - "@myunisoft/httpie": "^5.0.0", + "@myunisoft/httpie": "^5.0.1", "@types/spdx-expression-parse": "^3.0.5", - "astring": "^1.8.6", "node-estree": "^4.0.0" }, "dependencies": { "@nodesecure/mama": "^1.0.0", "@openally/result": "^1.2.1", + "astring": "^1.9.0", "fastest-levenshtein": "^1.0.16", "spdx-expression-parse": "^4.0.0" } diff --git a/workspaces/contact/package.json b/workspaces/contact/package.json index d2d5ff50..d2f8a0ff 100644 --- a/workspaces/contact/package.json +++ b/workspaces/contact/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "tsc -b", "prepublishOnly": "npm run build", - "test-only": "glob -c \"tsx --test\" \"./test/**/*.spec.ts\"", + "test-only": "tsx --test ./test/**/*.spec.ts", "test": "c8 -r html npm run test-only" }, "files": [ @@ -32,10 +32,10 @@ "url": "https://github.com/NodeSecure/scanner/issues" }, "homepage": "https://github.com/NodeSecure/tree/master/workspaces/contact#readme", - "devDependencies": { - "@faker-js/faker": "^8.4.1" - }, "dependencies": { "@nodesecure/npm-types": "^1.1.0" + }, + "devDependencies": { + "@faker-js/faker": "^9.7.0" } } diff --git a/workspaces/i18n/package.json b/workspaces/i18n/package.json index 6689e246..c4edcb6a 100644 --- a/workspaces/i18n/package.json +++ b/workspaces/i18n/package.json @@ -7,7 +7,7 @@ "scripts": { "build": "tsc", "prepublishOnly": "npm run build", - "test-only": "glob -c \"tsx --test\" \"test/**/*.spec.ts\"", + "test-only": "tsx --test ./test/**/*.spec.ts", "test": "c8 -r html npm run test-only", "build:documentation": "tsx ./scripts/buildDocumentation.ts" }, @@ -33,7 +33,6 @@ "homepage": "https://github.com/NodeSecure/tree/master/workspaces/i18n#readme", "devDependencies": { "@types/lodash.get": "^4.4.9", - "c8": "^10.1.2", "zup": "^0.0.2" }, "type": "module", diff --git a/workspaces/mama/package.json b/workspaces/mama/package.json index 13d92078..37871891 100644 --- a/workspaces/mama/package.json +++ b/workspaces/mama/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "tsc -b", "prepublishOnly": "npm run build", - "test-only": "glob -c \"tsx --test\" \"./test/**/*.spec.ts\"", + "test-only": "tsx --test ./test/**/*.spec.ts", "test": "c8 -r html npm run test-only" }, "files": [ diff --git a/workspaces/npm-types/package.json b/workspaces/npm-types/package.json index dbfcecde..c44d8375 100644 --- a/workspaces/npm-types/package.json +++ b/workspaces/npm-types/package.json @@ -24,8 +24,5 @@ "url": "https://github.com/NodeSecure/scanner/issues" }, "homepage": "https://github.com/NodeSecure/tree/master/workspaces/npm-types#readme", - "devDependencies": { - "tsd": "^0.31.1" - }, "private": false } diff --git a/workspaces/rc/package.json b/workspaces/rc/package.json index 93552d23..95492743 100644 --- a/workspaces/rc/package.json +++ b/workspaces/rc/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "tsc", "prepublishOnly": "npm run build", - "test-only": "glob -c \"tsx --test\" \"test/**/*.spec.ts\"", + "test-only": "tsx --test ./test/**/*.spec.ts", "test:tsd": "npm run build && tsd", "test": "c8 -r html npm run test-only && npm run test:tsd" }, @@ -34,16 +34,9 @@ }, "homepage": "https://github.com/NodeSecure/tree/master/workspaces/rc#readme", "devDependencies": { - "@nodesecure/eslint-config": "^2.0.0-beta.0", "@types/lodash.merge": "^4.6.7", - "@types/node": "^22.0.0", "@types/zen-observable": "^0.8.4", - "ajv": "^8.12.0", - "c8": "^10.1.2", - "glob": "^11.0.0", - "tsd": "^0.31.0", - "tsx": "^4.16.3", - "typescript": "^5.5.4" + "ajv": "^8.12.0" }, "dependencies": { "@nodesecure/js-x-ray": "^8.1.0", @@ -52,7 +45,7 @@ "@openally/config": "^1.0.1", "@openally/result": "^1.2.1", "lodash.merge": "^4.6.2", - "type-fest": "^4.23.0" + "type-fest": "^4.41.0" }, "tsd": { "directory": "test/types" diff --git a/workspaces/scanner/package.json b/workspaces/scanner/package.json index 7ea29adb..12107c2c 100644 --- a/workspaces/scanner/package.json +++ b/workspaces/scanner/package.json @@ -13,7 +13,7 @@ "lint": "eslint src test", "prepublishOnly": "npm run build && pkg-ok", "test": "npm run test-only", - "test-only": "glob -c \"tsx --test\" \"./test/**/*.spec.ts\"", + "test-only": "tsx --test ./test/**/*.spec.ts", "coverage": "c8 -r html npm run test-only" }, "files": [ @@ -64,6 +64,12 @@ "@openally/mutex": "^1.0.0", "pacote": "^21.0.0", "semver": "^7.5.4", - "type-fest": "^4.30.2" + "type-fest": "^4.41.0" + }, + "devDependencies": { + "@types/node": "^22.15.17", + "c8": "^10.1.3", + "tsx": "^4.19.4", + "typescript": "^5.8.3" } } diff --git a/workspaces/tarball/package.json b/workspaces/tarball/package.json index a419ed76..5df79398 100644 --- a/workspaces/tarball/package.json +++ b/workspaces/tarball/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "tsc -b", "prepublishOnly": "npm run build", - "test-only": "glob -c \"tsx --test\" \"./test/**/*.spec.ts\"", + "test-only": "tsx --test ./test/**/*.spec.ts", "test": "c8 -r html npm run test-only" }, "files": [ diff --git a/workspaces/tree-walker/package.json b/workspaces/tree-walker/package.json index 48abeffc..ce79d792 100644 --- a/workspaces/tree-walker/package.json +++ b/workspaces/tree-walker/package.json @@ -8,7 +8,7 @@ "scripts": { "build": "tsc -b", "prepublishOnly": "npm run build", - "test-only": "glob -c \"tsx --test\" \"./test/**/*.spec.ts\"", + "test-only": "tsx --test ./test/**/*.spec.ts", "test": "c8 -r html npm run test-only" }, "files": [ @@ -41,6 +41,6 @@ "semver": "^7.6.0" }, "devDependencies": { - "@types/npmcli__arborist": "^5.6.9" + "@types/npmcli__arborist": "^6.3.0" } } diff --git a/workspaces/tree-walker/src/npm/walker.ts b/workspaces/tree-walker/src/npm/walker.ts index e848db77..77abb184 100644 --- a/workspaces/tree-walker/src/npm/walker.ts +++ b/workspaces/tree-walker/src/npm/walker.ts @@ -373,8 +373,8 @@ export class TreeWalker { const iterators = [ ...iter .filter(edgesOut.entries(), ([, { to }]) => to !== null && (includeDevDeps ? true : (!to.dev || to.isWorkspace))) - .map(([packageName, { to }]) => [packageName, to.isWorkspace ? to.target : to] as const) - .map(([packageName, to]) => this.walkLocalDependency(packageName, to, { + .map(([packageName, { to }]) => [packageName, to!.isWorkspace ? to!.target : to] as const) + .map(([packageName, to]) => this.walkLocalDependency(packageName, to!, { maxDepth, parent: rootDependency, includeDevDeps,