Skip to content

Commit 37b67ea

Browse files
Downgrade node (20.19), upgrade many packages (#43)
* downgrade node (20.19), upgrade many packages * @metamask/snaps-cli ^8.2.0
1 parent 0dd0088 commit 37b67ea

File tree

7 files changed

+1729
-4907
lines changed

7 files changed

+1729
-4907
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.12
1+
v20.19

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Users can verify their addresses using the [OnChainTrust Dapp](https://app.oncha
1010

1111
- [MetaMask Flask](https://metamask.io/flask/)
1212
- ⚠️ You cannot have other versions of MetaMask installed
13-
- Nodejs `^18.16.0`.
13+
- Nodejs `^20.19.0`.
1414
- Once installed, you should also install [Yarn](http://yarnpkg.com/) with `npm i -g yarn` to make working with this repository easiest.
1515

1616
## Installing

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@metamask/eslint-config-jest": "^14.0.0",
4040
"@metamask/eslint-config-nodejs": "^14.0.0",
4141
"@metamask/eslint-config-typescript": "^14.0.0",
42-
"eslint": "^9.11.0",
42+
"eslint": "^9.33.0",
4343
"eslint-config-prettier": "^10.1.8",
4444
"eslint-import-resolver-typescript": "^3.6.3",
4545
"eslint-plugin-import-x": "^4.3.0",
@@ -48,14 +48,14 @@
4848
"eslint-plugin-n": "^17.10.3",
4949
"eslint-plugin-prettier": "^5.2.1",
5050
"eslint-plugin-promise": "^7.1.0",
51-
"prettier": "^3.3.3",
52-
"prettier-plugin-packagejson": "^2.4.11",
53-
"typescript": "^5.7.3",
51+
"prettier": "^3.6.2",
52+
"prettier-plugin-packagejson": "^2.5.19",
53+
"typescript": "^5.9.2",
5454
"typescript-eslint": "^8.6.0"
5555
},
5656
"packageManager": "yarn@3.2.1",
5757
"engines": {
58-
"node": ">=22.12.0"
58+
"node": "^20.19.0"
5959
},
6060
"lavamoat": {
6161
"allowScripts": {

packages/onchaintrust-snap/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@
3232
"buffer": "^6.0.3"
3333
},
3434
"devDependencies": {
35-
"@metamask/snaps-cli": "^6.0.0",
35+
"@metamask/snaps-cli": "^8.2.0",
3636
"@metamask/snaps-jest": "^9.4.0",
37-
"@types/react": "18.2.4",
38-
"@types/react-dom": "18.2.4",
39-
"eslint": "^9.11.0",
37+
"@types/react": "^19.1.10",
38+
"@types/react-dom": "^19.1.7",
39+
"eslint": "^9.33.0",
4040
"jest": "^30.0.5",
41-
"prettier": "3.2.5",
42-
"prettier-plugin-packagejson": "^2.4.11",
43-
"rimraf": "^5.0.5",
44-
"ts-jest": "^29.1.2",
45-
"typescript": "~5.9.2"
41+
"prettier": "^3.6.2",
42+
"prettier-plugin-packagejson": "^2.5.19",
43+
"rimraf": "^6.0.1",
44+
"ts-jest": "^29.4.1",
45+
"typescript": "^5.9.2"
4646
},
4747
"packageManager": "yarn@3.2.1",
4848
"engines": {
49-
"node": ">=22.12.0"
49+
"node": "^20.19.0"
5050
},
5151
"publishConfig": {
5252
"access": "public",

packages/onchaintrust-snap/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/OnChainTrust/onchaintrust-snap.git"
88
},
99
"source": {
10-
"shasum": "6pJhRJ84FitXm061wGS4cOa4lWD0bXFtVgIq5VlZTP4=",
10+
"shasum": "D7v/eNuK0/xBL3UBmYy4go2l3Tkt4frOauA4CTdv2tE=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/site/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"@testing-library/react": "^16.3.0",
4343
"@testing-library/user-event": "^14.5.2",
4444
"@types/jest": "^30.0.0",
45-
"@types/react": "^18.2.56",
46-
"@types/react-dom": "^18.2.19",
45+
"@types/react": "^19.1.10",
46+
"@types/react-dom": "^19.1.7",
4747
"@types/styled-components": "^5.1.34",
4848
"@typescript-eslint/eslint-plugin": "^5.62.0",
4949
"@typescript-eslint/parser": "^5.62.0",
@@ -59,12 +59,12 @@
5959
"gatsby-plugin-manifest": "^5.13.1",
6060
"gatsby-plugin-styled-components": "^6.13.1",
6161
"gatsby-plugin-svgr": "^3.0.0-beta.0",
62-
"prettier": "3.2.5",
63-
"prettier-plugin-packagejson": "^2.4.11",
64-
"rimraf": "^5.0.5",
62+
"prettier": "^3.6.2",
63+
"prettier-plugin-packagejson": "^2.5.19",
64+
"rimraf": "^6.0.1",
6565
"typescript": "^5.9.2"
6666
},
6767
"engines": {
68-
"node": ">=22.12.0"
68+
"node": ">=20.19.0"
6969
}
7070
}

0 commit comments

Comments
 (0)