TS: update node types to v24

web-stream-tools types are affected
This commit is contained in:
larabr 2025-09-08 13:08:01 +02:00
parent d4f9c77af6
commit b4358cd865
No known key found for this signature in database
GPG Key ID: 2A4BEC40729185DD
2 changed files with 30 additions and 21 deletions

43
package-lock.json generated
View File

@ -15,7 +15,7 @@
"@openpgp/jsdoc": "^3.6.11",
"@openpgp/seek-bzip": "^1.0.5-git",
"@openpgp/tweetnacl": "^1.0.4-2",
"@openpgp/web-stream-tools": "~0.1.3",
"@openpgp/web-stream-tools": "~0.2.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
@ -24,7 +24,7 @@
"@rollup/plugin-typescript": "^12.1.4",
"@rollup/plugin-wasm": "^6.2.2",
"@types/chai": "^4.3.20",
"@types/node": "^22.18.0",
"@types/node": "^24.3.1",
"@types/sinon": "^17.0.4",
"@typescript-eslint/parser": "^7.18.0",
"@web/test-runner": "^0.19.0",
@ -55,7 +55,7 @@
"tslib": "^2.8.1",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"web-streams-polyfill": "^4.1.0"
"web-streams-polyfill": "^4.2.0"
},
"engines": {
"node": ">= 18.0.0"
@ -1100,18 +1100,22 @@
"license": "Unlicense"
},
"node_modules/@openpgp/web-stream-tools": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/@openpgp/web-stream-tools/-/web-stream-tools-0.1.3.tgz",
"integrity": "sha512-mT/ds43cH6c+AO5RFpxs+LkACr7KjC3/dZWHrP6KPrWJu4uJ/XJ+p7telaoYiqUfdjiiIvdNSOfhezW9fkmboQ==",
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@openpgp/web-stream-tools/-/web-stream-tools-0.2.0.tgz",
"integrity": "sha512-vX5a0oZKyqcBuS4BSGCufJVHhhIgZKj5Tc0lA7fzivj6iszedbIua6yKCe5ZujVCD7sZlOaYhxSZnLO8FH8rbQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 18.0.0"
},
"peerDependencies": {
"typescript": ">=4.2"
"@types/node": ">=18.0.0",
"typescript": ">=4.7"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
},
"typescript": {
"optional": true
}
@ -1976,13 +1980,13 @@
"license": "MIT"
},
"node_modules/@types/node": {
"version": "22.18.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.18.0.tgz",
"integrity": "sha512-m5ObIqwsUp6BZzyiy4RdZpzWGub9bqLJMvZDD0QMXhxjqMHMENlj+SqF5QxoUwaQNFe+8kz8XM8ZQhqkQPTgMQ==",
"version": "24.3.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.3.1.tgz",
"integrity": "sha512-3vXmQDXy+woz+gnrTvuvNrPzekOi+Ds0ReMxw0LzBiK3a+1k0kQn9f2NWk+lgD4rJehFUmYy2gMhJ2ZI+7YP9g==",
"dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~6.21.0"
"undici-types": "~7.10.0"
}
},
"node_modules/@types/normalize-package-data": {
@ -12219,9 +12223,9 @@
}
},
"node_modules/undici-types": {
"version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
"version": "7.10.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.10.0.tgz",
"integrity": "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==",
"dev": true,
"license": "MIT"
},
@ -12374,11 +12378,16 @@
}
},
"node_modules/web-streams-polyfill": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.1.0.tgz",
"integrity": "sha512-A7Jxrg7+eV+eZR/CIdESDnRGFb6/bcKukGvJBB5snI6cw3is1c2qamkYstC1bY1p08TyMRlN9eTMkxmnKJBPBw==",
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.2.0.tgz",
"integrity": "sha512-0rYDzGOh9EZpig92umN5g5D/9A1Kff7k0/mzPSSCY8jEQeYkgRMoY7LhbXtUCWzLCMX0TUE9aoHkjFNB7D9pfA==",
"dev": true,
"license": "MIT",
"workspaces": [
"test/benchmark-test",
"test/rollup-test",
"test/webpack-test"
],
"engines": {
"node": ">= 8"
}

View File

@ -69,7 +69,7 @@
"@openpgp/jsdoc": "^3.6.11",
"@openpgp/seek-bzip": "^1.0.5-git",
"@openpgp/tweetnacl": "^1.0.4-2",
"@openpgp/web-stream-tools": "~0.1.3",
"@openpgp/web-stream-tools": "~0.2.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
@ -78,7 +78,7 @@
"@rollup/plugin-typescript": "^12.1.4",
"@rollup/plugin-wasm": "^6.2.2",
"@types/chai": "^4.3.20",
"@types/node": "^22.18.0",
"@types/node": "^24.3.1",
"@types/sinon": "^17.0.4",
"@typescript-eslint/parser": "^7.18.0",
"@web/test-runner": "^0.19.0",
@ -107,9 +107,9 @@
"sinon": "^21.0.0",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"web-streams-polyfill": "^4.1.0",
"tsx": "^4.20.5",
"typescript": "^5.9.2"
"typescript": "^5.9.2",
"web-streams-polyfill": "^4.2.0"
},
"overrides": {
"@web/dev-server-core": "npm:@openpgp/wtr-dev-server-core@0.7.3-patch.1",