Skip to content

Commit

Permalink
chore: downgrade superstruct to 1.0.3
Browse files Browse the repository at this point in the history
We do use a resolution for this to make sure @metamask/utils also uses
the 1.0.3 (and avoid having different versions of superstruct, that
might cause typing issues see like:
https://github.com/MetaMask/chain-api/actions/runs/8836209841/job/24262243391?pr=1)
  • Loading branch information
ccharly committed Apr 26, 2024
1 parent 1056156 commit 8e7dd90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@
"test": "jest && jest-it-up",
"test:watch": "jest --watch"
},
"resolutions": {
"superstruct@^1.0.3": "1.0.3"
},
"dependencies": {
"@metamask/utils": "^8.4.0",
"superstruct": "^1.0.3"
"superstruct": "1.0.3"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^3.0.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6328,10 +6328,10 @@ __metadata:
languageName: node
linkType: hard

"superstruct@npm:^1.0.3":
version: 1.0.4
resolution: "superstruct@npm:1.0.4"
checksum: 10/9b3fd70a08c5ad3ea78b5c6b7ab90d31dde71af10448208d296c3d29ba2e55dfd817dfef75957163ee032163d04c4b2e0cb2fddff30313516aa60f748c1a48da
"superstruct@npm:1.0.3":
version: 1.0.3
resolution: "superstruct@npm:1.0.3"
checksum: 10/632b6171ac136b6750e62a55f806cc949b3dbf2b4a7dc70cc85f54adcdf19d21eab9711f04e8a643b7dd622bbd8658366ead924f467adaccb2c8005c133b7976
languageName: node
linkType: hard

Expand Down

0 comments on commit 8e7dd90

Please sign in to comment.