-
Notifications
You must be signed in to change notification settings - Fork 637
chore: Bump @metamask/phishing-controller from 13.1.0 to 14.1.3 #3700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9c1c0dd
17ba0d8
015a5a0
ca2abc4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -87,7 +87,7 @@ | |
| "@metamask/messenger": "^0.3.0", | ||
| "@metamask/object-multiplex": "^2.1.0", | ||
| "@metamask/permission-controller": "^12.0.0", | ||
| "@metamask/phishing-controller": "^13.1.0", | ||
| "@metamask/phishing-controller": "^15.0.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Missing Peer Dependency Causes Runtime IssuesThe upgrade to Additional Locations (2) |
||
| "@metamask/post-message-stream": "^10.0.0", | ||
| "@metamask/rpc-errors": "^7.0.3", | ||
| "@metamask/snaps-registry": "^3.2.3", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,6 +107,7 @@ | |
| }, | ||
| "@metamask/utils>@noble/hashes": { | ||
| "globals": { | ||
| "TextDecoder": true, | ||
| "TextEncoder": true | ||
| } | ||
| }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -113,6 +113,7 @@ | |
| }, | ||
| "@metamask/utils>@noble/hashes": { | ||
| "globals": { | ||
| "TextDecoder": true, | ||
| "TextEncoder": true | ||
| } | ||
| }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -113,6 +113,7 @@ | |
| }, | ||
| "@metamask/utils>@noble/hashes": { | ||
| "globals": { | ||
| "TextDecoder": true, | ||
| "TextEncoder": true | ||
| } | ||
| }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,6 +107,7 @@ | |
| }, | ||
| "@metamask/utils>@noble/hashes": { | ||
| "globals": { | ||
| "TextDecoder": true, | ||
| "TextEncoder": true | ||
| } | ||
| }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2885,17 +2885,6 @@ __metadata: | |
| languageName: unknown | ||
| linkType: soft | ||
|
|
||
| "@metamask/base-controller@npm:^8.0.1": | ||
| version: 8.4.1 | ||
| resolution: "@metamask/base-controller@npm:8.4.1" | ||
| dependencies: | ||
| "@metamask/messenger": "npm:^0.3.0" | ||
| "@metamask/utils": "npm:^11.8.1" | ||
| immer: "npm:^9.0.6" | ||
| checksum: 10/d720638b6a640f43e06b37bd77b7291be20df2f3cc89ab571ee47c895313ba2521cd49e6dede02dd7e06971c351f88eec2c39b65d8f46ba09492d89131d640b9 | ||
| languageName: node | ||
| linkType: hard | ||
|
|
||
| "@metamask/base-controller@npm:^9.0.0": | ||
| version: 9.0.0 | ||
| resolution: "@metamask/base-controller@npm:9.0.0" | ||
|
|
@@ -3024,7 +3013,7 @@ __metadata: | |
| languageName: unknown | ||
| linkType: soft | ||
|
|
||
| "@metamask/controller-utils@npm:^11.11.0, @metamask/controller-utils@npm:^11.14.1": | ||
| "@metamask/controller-utils@npm:^11.14.1": | ||
| version: 11.14.1 | ||
| resolution: "@metamask/controller-utils@npm:11.14.1" | ||
| dependencies: | ||
|
|
@@ -3937,18 +3926,21 @@ __metadata: | |
| languageName: node | ||
| linkType: hard | ||
|
|
||
| "@metamask/phishing-controller@npm:^13.1.0": | ||
| version: 13.1.0 | ||
| resolution: "@metamask/phishing-controller@npm:13.1.0" | ||
| "@metamask/phishing-controller@npm:^15.0.0": | ||
| version: 15.0.0 | ||
| resolution: "@metamask/phishing-controller@npm:15.0.0" | ||
| dependencies: | ||
| "@metamask/base-controller": "npm:^8.0.1" | ||
| "@metamask/controller-utils": "npm:^11.11.0" | ||
| "@noble/hashes": "npm:^1.4.0" | ||
| "@metamask/base-controller": "npm:^9.0.0" | ||
| "@metamask/controller-utils": "npm:^11.14.1" | ||
| "@metamask/messenger": "npm:^0.3.0" | ||
| "@noble/hashes": "npm:^1.8.0" | ||
| "@types/punycode": "npm:^2.1.0" | ||
| ethereum-cryptography: "npm:^2.1.2" | ||
| fastest-levenshtein: "npm:^1.0.16" | ||
| punycode: "npm:^2.1.1" | ||
| checksum: 10/c62f71291736dfd635cc69b2d422687d8d610591a5e1cd9a6b4806cdc19221a72fe7699c0cabe0a2a108b49c3cc4dcb88a5b283fba374fe13e54d5813fb77902 | ||
| peerDependencies: | ||
| "@metamask/transaction-controller": ^61.0.0 | ||
| checksum: 10/84e10ddcba9bb1351538c2de1105863dda030ad5f6dfa54bb17d731e436e948e6bcc4630fa914162046bda1b925514de37224f34cc00145e102b2f7f3f83059e | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Phishing Controller Update Breaks Snaps DependenciesThe @metamask/phishing-controller version bump from 13.1.0 to 15.0.0 includes a major version change (from v13 to v14 and then v15), which typically indicates breaking changes. The package now lists "@metamask/transaction-controller": "^61.0.0" as a peerDependency. However, the packages that depend on @metamask/phishing-controller (snaps-controllers, snaps-simulation, and snaps-jest) do not include @metamask/transaction-controller in their dependencies. This will cause peer dependency warnings or failures at runtime if the transaction-controller is required by the phishing-controller's functionality. |
||
| languageName: node | ||
| linkType: hard | ||
|
|
||
|
|
@@ -4266,7 +4258,7 @@ __metadata: | |
| "@metamask/messenger": "npm:^0.3.0" | ||
| "@metamask/object-multiplex": "npm:^2.1.0" | ||
| "@metamask/permission-controller": "npm:^12.0.0" | ||
| "@metamask/phishing-controller": "npm:^13.1.0" | ||
| "@metamask/phishing-controller": "npm:^15.0.0" | ||
| "@metamask/post-message-stream": "npm:^10.0.0" | ||
| "@metamask/rpc-errors": "npm:^7.0.3" | ||
| "@metamask/snaps-registry": "npm:^3.2.3" | ||
|
|
@@ -4393,7 +4385,7 @@ __metadata: | |
| "@jest/types": "npm:^29.6.3" | ||
| "@lavamoat/allow-scripts": "npm:^3.4.0" | ||
| "@metamask/auto-changelog": "npm:^5.0.2" | ||
| "@metamask/phishing-controller": "npm:^13.1.0" | ||
| "@metamask/phishing-controller": "npm:^15.0.0" | ||
| "@metamask/snaps-controllers": "workspace:^" | ||
| "@metamask/snaps-sdk": "workspace:^" | ||
| "@metamask/snaps-simulation": "workspace:^" | ||
|
|
@@ -4560,7 +4552,7 @@ __metadata: | |
| "@metamask/key-tree": "npm:^10.1.1" | ||
| "@metamask/messenger": "npm:^0.3.0" | ||
| "@metamask/permission-controller": "npm:^12.0.0" | ||
| "@metamask/phishing-controller": "npm:^13.1.0" | ||
| "@metamask/phishing-controller": "npm:^15.0.0" | ||
| "@metamask/snaps-controllers": "workspace:^" | ||
| "@metamask/snaps-execution-environments": "workspace:^" | ||
| "@metamask/snaps-rpc-methods": "workspace:^" | ||
|
|
@@ -4936,13 +4928,20 @@ __metadata: | |
| languageName: node | ||
| linkType: hard | ||
|
|
||
| "@noble/hashes@npm:1.7.1, @noble/hashes@npm:^1.1.2, @noble/hashes@npm:^1.3.1, @noble/hashes@npm:^1.3.2, @noble/hashes@npm:^1.4.0, @noble/hashes@npm:^1.7.1": | ||
| "@noble/hashes@npm:1.7.1": | ||
| version: 1.7.1 | ||
| resolution: "@noble/hashes@npm:1.7.1" | ||
| checksum: 10/ca3120da0c3e7881d6a481e9667465cc9ebbee1329124fb0de442e56d63fef9870f8cc96f264ebdb18096e0e36cebc0e6e979a872d545deb0a6fed9353f17e05 | ||
| languageName: node | ||
| linkType: hard | ||
|
|
||
| "@noble/hashes@npm:^1.1.2, @noble/hashes@npm:^1.3.1, @noble/hashes@npm:^1.3.2, @noble/hashes@npm:^1.7.1, @noble/hashes@npm:^1.8.0": | ||
| version: 1.8.0 | ||
| resolution: "@noble/hashes@npm:1.8.0" | ||
| checksum: 10/474b7f56bc6fb2d5b3a42132561e221b0ea4f91e590f4655312ca13667840896b34195e2b53b7f097ec080a1fdd3b58d902c2a8d0fbdf51d2e238b53808a177e | ||
| languageName: node | ||
| linkType: hard | ||
|
|
||
| "@noble/secp256k1@npm:^1.7.1": | ||
| version: 1.7.1 | ||
| resolution: "@noble/secp256k1@npm:1.7.1" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Dependency Version Mismatch
The
@metamask/phishing-controllerdependency was updated from^13.1.0to^15.0.0. This conflicts with the PR description, which states an update to14.1.3. The^15.0.0version constraint will not accept14.1.3, creating a mismatch between the intended and actual dependency version.Additional Locations (2)
packages/snaps-simulation/package.json#L63-L64packages/snaps-jest/package.json#L76-L77