Skip to content

Commit 98741a1

Browse files
committed
Tests: TS: update Node and web-streams-polyfill types
To match updated TS dom types.
1 parent 38c37da commit 98741a1

File tree

2 files changed

+35
-27
lines changed

2 files changed

+35
-27
lines changed

package-lock.json

Lines changed: 31 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@openpgp/jsdoc": "^3.6.11",
3131
"@types/chai": "^4.3.11",
3232
"@types/mocha": "^10.0.6",
33-
"@types/node": "^20.11.4",
33+
"@types/node": "^20.19.11",
3434
"@typescript-eslint/eslint-plugin": "^5.59.6",
3535
"@typescript-eslint/parser": "^5.59.6",
3636
"chai": "^4.3.7",
@@ -47,7 +47,7 @@
4747
"ts-node": "^10.9.2",
4848
"tsx": "^4.7.0",
4949
"typescript": "^5.9.2",
50-
"web-streams-polyfill": "^4.0.0"
50+
"web-streams-polyfill": "^4.2.0"
5151
},
5252
"peerDependencies": {
5353
"typescript": ">=4.2"
@@ -58,8 +58,8 @@
5858
}
5959
},
6060
"scripts": {
61-
"test-type-definitions": "tsc --project test/tsconfig.test.json && tsx test/typescript.test.ts",
62-
"test-type-definitions-es5": "tsc --project test/tsconfig.es5.json && tsx --tsconfig test/tsconfig.es5.json test/typescript.test.ts",
61+
"test-type-definitions": "tsc --project test/tsconfig.test.json && tsx test/typescript.test.ts && npm run test-type-definitions-es5",
62+
"test-type-definitions-es5": "tsc --project test/tsconfig.es5.test.json && tsx --tsconfig test/tsconfig.es5.test.json test/typescript.test.ts",
6363
"test-browser": "karma start karma.conf.cjs",
6464
"test-node": "ts-mocha -n loader=ts-node/esm ./test/node.test.ts ./test/common.test.ts",
6565
"lint": "eslint lib test",

0 commit comments

Comments
 (0)