mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Update @metamask/approval-controller
to v3 (#19365)
The `@metamask/approval-controller` package has been updated to v3. This version was part of the [core monorepo v53](MetaMask/core#1385) release. The remaining packages released as part of v53 will be updated in later PRs. The only breaking change in this release was to update the minimum supported Node.js version to v16. Note that this will temporarily introduce peer dependency warnings because of the major version bump. These are safe to avoid for now because nothing is affected by the Node.js minimum version bump. A resolution has been added to force v3 to be used throughout the dependency tree so that this bump doesn't unnecessarily bloat our dependencies. In practice this is only being used in one place, the other references are just for types. The resolution can be removed once the last package using this controller has been updated, which will happen as part of #19271. The peer dependency warnings will be resolved once #19271 is completed as well. Relates to #19271
This commit is contained in:
parent
81dbb27c73
commit
20f028bf6f
@ -758,16 +758,11 @@
|
||||
},
|
||||
"@metamask/approval-controller": {
|
||||
"packages": {
|
||||
"@metamask/approval-controller>@metamask/base-controller": true,
|
||||
"@metamask/approval-controller>nanoid": true,
|
||||
"@metamask/base-controller": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"@metamask/approval-controller>@metamask/base-controller": {
|
||||
"packages": {
|
||||
"immer": true
|
||||
}
|
||||
},
|
||||
"@metamask/approval-controller>nanoid": {
|
||||
"globals": {
|
||||
"crypto.getRandomValues": true
|
||||
|
@ -758,16 +758,11 @@
|
||||
},
|
||||
"@metamask/approval-controller": {
|
||||
"packages": {
|
||||
"@metamask/approval-controller>@metamask/base-controller": true,
|
||||
"@metamask/approval-controller>nanoid": true,
|
||||
"@metamask/base-controller": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"@metamask/approval-controller>@metamask/base-controller": {
|
||||
"packages": {
|
||||
"immer": true
|
||||
}
|
||||
},
|
||||
"@metamask/approval-controller>nanoid": {
|
||||
"globals": {
|
||||
"crypto.getRandomValues": true
|
||||
|
@ -758,16 +758,11 @@
|
||||
},
|
||||
"@metamask/approval-controller": {
|
||||
"packages": {
|
||||
"@metamask/approval-controller>@metamask/base-controller": true,
|
||||
"@metamask/approval-controller>nanoid": true,
|
||||
"@metamask/base-controller": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"@metamask/approval-controller>@metamask/base-controller": {
|
||||
"packages": {
|
||||
"immer": true
|
||||
}
|
||||
},
|
||||
"@metamask/approval-controller>nanoid": {
|
||||
"globals": {
|
||||
"crypto.getRandomValues": true
|
||||
|
@ -758,16 +758,11 @@
|
||||
},
|
||||
"@metamask/approval-controller": {
|
||||
"packages": {
|
||||
"@metamask/approval-controller>@metamask/base-controller": true,
|
||||
"@metamask/approval-controller>nanoid": true,
|
||||
"@metamask/base-controller": true,
|
||||
"eth-rpc-errors": true
|
||||
}
|
||||
},
|
||||
"@metamask/approval-controller>@metamask/base-controller": {
|
||||
"packages": {
|
||||
"immer": true
|
||||
}
|
||||
},
|
||||
"@metamask/approval-controller>nanoid": {
|
||||
"globals": {
|
||||
"crypto.getRandomValues": true
|
||||
|
@ -100,6 +100,7 @@
|
||||
"resolutions": {
|
||||
"@babel/core": "patch:@babel/core@npm%3A7.21.5#./.yarn/patches/@babel-core-npm-7.21.5-c72c337956.patch",
|
||||
"@babel/runtime": "patch:@babel/runtime@npm%3A7.18.9#./.yarn/patches/@babel-runtime-npm-7.18.9-28ca6b5f61.patch",
|
||||
"@metamask/approval-controller": "^3.0.0",
|
||||
"@types/react": "^16.9.53",
|
||||
"analytics-node/axios": "^0.21.2",
|
||||
"ganache-core/lodash": "^4.17.21",
|
||||
@ -225,7 +226,7 @@
|
||||
"@metamask-institutional/transaction-update": "^0.1.21",
|
||||
"@metamask/address-book-controller": "^3.0.0",
|
||||
"@metamask/announcement-controller": "^4.0.0",
|
||||
"@metamask/approval-controller": "^2.1.0",
|
||||
"@metamask/approval-controller": "^3.0.0",
|
||||
"@metamask/assets-controllers": "^7.0.0",
|
||||
"@metamask/base-controller": "^3.0.0",
|
||||
"@metamask/browser-passworder": "^4.1.0",
|
||||
|
14
yarn.lock
14
yarn.lock
@ -3853,16 +3853,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@metamask/approval-controller@npm:^2.0.0, @metamask/approval-controller@npm:^2.1.0, @metamask/approval-controller@npm:^2.1.1":
|
||||
version: 2.1.1
|
||||
resolution: "@metamask/approval-controller@npm:2.1.1"
|
||||
"@metamask/approval-controller@npm:^3.0.0":
|
||||
version: 3.1.0
|
||||
resolution: "@metamask/approval-controller@npm:3.1.0"
|
||||
dependencies:
|
||||
"@metamask/base-controller": ^2.0.0
|
||||
"@metamask/controller-utils": ^3.4.0
|
||||
"@metamask/base-controller": ^3.0.0
|
||||
"@metamask/utils": ^5.0.2
|
||||
eth-rpc-errors: ^4.0.2
|
||||
immer: ^9.0.6
|
||||
nanoid: ^3.1.31
|
||||
checksum: 2e3798e67821660be7c7a35cbe5d001085fd2814fb58bc21e1525383fe2fba66ddb4074896c530de29407d929790ee3a036e180c5576962e3b50a85afe3fd9df
|
||||
checksum: 2043e62e8815a600e839617b4df26515fc33f655e21562dc230cd6dbfc4677e955e1e45a5df8fbb2def2122b3578f6a632acb939f8175419febb1471d0c48ce0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -23911,7 +23911,7 @@ __metadata:
|
||||
"@metamask-institutional/transaction-update": ^0.1.21
|
||||
"@metamask/address-book-controller": ^3.0.0
|
||||
"@metamask/announcement-controller": ^4.0.0
|
||||
"@metamask/approval-controller": ^2.1.0
|
||||
"@metamask/approval-controller": ^3.0.0
|
||||
"@metamask/assets-controllers": ^7.0.0
|
||||
"@metamask/auto-changelog": ^2.1.0
|
||||
"@metamask/base-controller": ^3.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user