Skip to content

Commit

Permalink
Bump TypeScript and related dependencies (#2690)
Browse files Browse the repository at this point in the history
This bumps the following dependencies:

- `typescript` from `~5.0.4` to `~5.3.3`.
- `@typescript-eslint/parser` from `^5.42.1` to `^6.21.0`.
- `eslint-plugin-jsdoc` from `^39.6.2` to `^41.1.2`.
- `@types/readable-stream` from `^2.3.15` to `^4.0.15`.

The bumps to the related dependencies are necessary because some APIs in
TypeScript/ESLint were deprecated and removed.

---------

Co-authored-by: MetaMask Bot <[email protected]>
  • Loading branch information
Mrtenz and metamaskbot authored Sep 3, 2024
1 parent 1982796 commit bd23ab7
Show file tree
Hide file tree
Showing 83 changed files with 465 additions and 454 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@
"@types/jest": "^27.5.1",
"@types/node": "18.14.2",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"chromedriver": "^127.0.0",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
Expand All @@ -105,7 +105,7 @@
"simple-git-hooks": "^2.7.0",
"ts-node": "^10.9.1",
"tsup": "^8.0.1",
"typescript": "~5.0.4",
"typescript": "~5.3.3",
"vite": "^4.3.9"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions packages/create-snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@
"@types/rimraf": "^3.0.0",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
Expand All @@ -84,7 +84,7 @@
"ts-node": "^10.9.1",
"tsc-watch": "^4.5.0",
"tsup": "^8.0.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,20 @@
"@metamask/eslint-config-nodejs": "^12.1.0",
"@metamask/eslint-config-typescript": "^12.1.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/bip32/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,22 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.0.2",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/bip44/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
Expand All @@ -64,7 +64,7 @@
"prettier-plugin-packagejson": "^2.2.11",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/browserify-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"deepmerge": "^4.2.2",
Expand All @@ -53,15 +53,15 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.0.2",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "P5VI5V3LvpKQyYQyho+/1HuK1IZKeGu/pQdV80S5tDk=",
"shasum": "5RPHrRu37v31Y+MBPQnvNWxbJr1qiBJ6qc7sFqBR76M=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/browserify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
Expand All @@ -61,7 +61,7 @@
"prettier-plugin-packagejson": "^2.2.11",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/browserify/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "f8CO4d/W40OFiL1e95CDN+4QzQyNVj24RGTowNaTtqU=",
"shasum": "jHJ8pWAqkkbT2tUNeszJmlGWIrPGQzVv0tG7EqjZjVo=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/client-status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
Expand All @@ -61,7 +61,7 @@
"prettier-plugin-packagejson": "^2.2.11",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/cronjobs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
Expand All @@ -61,7 +61,7 @@
"prettier-plugin-packagejson": "^2.2.11",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/dialogs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,22 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.0.2",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,22 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.0.2",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/ethereum-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.0.2",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/ethers-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.0.2",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.2.11",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.3.3",
"webpack": "^5.88.0"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions packages/examples/packages/file-upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@
"@swc/core": "1.3.78",
"@swc/jest": "^0.2.26",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^6.21.0",
"deepmerge": "^4.2.2",
"depcheck": "^1.4.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.6.2",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
Expand All @@ -62,7 +62,7 @@
"prettier-plugin-packagejson": "^2.2.11",
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "~5.3.3"
},
"engines": {
"node": "^18.16 || >=20"
Expand Down
Loading

0 comments on commit bd23ab7

Please sign in to comment.