From 81dbb27c731a5b0aec6ec3a15e2f3cf0f3dee803 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Wed, 31 May 2023 20:10:05 -0230 Subject: [PATCH] Update `@metamask/notification-controller` to v3 (#19364) The `@metamask/notification-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. Relates to #19271 --- lavamoat/browserify/desktop/policy.json | 28 +++---------------------- lavamoat/browserify/flask/policy.json | 28 +++---------------------- package.json | 2 +- yarn.lock | 14 ++++++------- 4 files changed, 14 insertions(+), 58 deletions(-) diff --git a/lavamoat/browserify/desktop/policy.json b/lavamoat/browserify/desktop/policy.json index 99e43cbf0..b3854aee4 100644 --- a/lavamoat/browserify/desktop/policy.json +++ b/lavamoat/browserify/desktop/policy.json @@ -1726,31 +1726,9 @@ }, "@metamask/notification-controller": { "packages": { - "@metamask/notification-controller>@metamask/base-controller": true, - "@metamask/notification-controller>@metamask/controller-utils": true, - "@metamask/notification-controller>nanoid": true - } - }, - "@metamask/notification-controller>@metamask/base-controller": { - "packages": { - "immer": true - } - }, - "@metamask/notification-controller>@metamask/controller-utils": { - "globals": { - "URL": true, - "console.error": true, - "fetch": true, - "setTimeout": true - }, - "packages": { - "@metamask/controller-utils>@spruceid/siwe-parser": true, - "@metamask/utils": true, - "browserify>buffer": true, - "eslint>fast-deep-equal": true, - "eth-ens-namehash": true, - "ethereumjs-util": true, - "ethjs>ethjs-unit": true + "@metamask/base-controller": true, + "@metamask/notification-controller>nanoid": true, + "@metamask/utils": true } }, "@metamask/notification-controller>nanoid": { diff --git a/lavamoat/browserify/flask/policy.json b/lavamoat/browserify/flask/policy.json index 99e43cbf0..b3854aee4 100644 --- a/lavamoat/browserify/flask/policy.json +++ b/lavamoat/browserify/flask/policy.json @@ -1726,31 +1726,9 @@ }, "@metamask/notification-controller": { "packages": { - "@metamask/notification-controller>@metamask/base-controller": true, - "@metamask/notification-controller>@metamask/controller-utils": true, - "@metamask/notification-controller>nanoid": true - } - }, - "@metamask/notification-controller>@metamask/base-controller": { - "packages": { - "immer": true - } - }, - "@metamask/notification-controller>@metamask/controller-utils": { - "globals": { - "URL": true, - "console.error": true, - "fetch": true, - "setTimeout": true - }, - "packages": { - "@metamask/controller-utils>@spruceid/siwe-parser": true, - "@metamask/utils": true, - "browserify>buffer": true, - "eslint>fast-deep-equal": true, - "eth-ens-namehash": true, - "ethereumjs-util": true, - "ethjs>ethjs-unit": true + "@metamask/base-controller": true, + "@metamask/notification-controller>nanoid": true, + "@metamask/utils": true } }, "@metamask/notification-controller>nanoid": { diff --git a/package.json b/package.json index ed0858470..63f4cf150 100644 --- a/package.json +++ b/package.json @@ -247,7 +247,7 @@ "@metamask/logo": "^3.1.1", "@metamask/message-manager": "^5.0.0", "@metamask/metamask-eth-abis": "^3.0.0", - "@metamask/notification-controller": "^2.0.0", + "@metamask/notification-controller": "^3.0.0", "@metamask/obs-store": "^8.1.0", "@metamask/permission-controller": "^3.2.0", "@metamask/phishing-controller": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index a7085be10..00924d67a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4359,15 +4359,15 @@ __metadata: languageName: node linkType: hard -"@metamask/notification-controller@npm:^2.0.0": - version: 2.0.0 - resolution: "@metamask/notification-controller@npm:2.0.0" +"@metamask/notification-controller@npm:^3.0.0": + version: 3.0.0 + resolution: "@metamask/notification-controller@npm:3.0.0" dependencies: - "@metamask/base-controller": ^2.0.0 - "@metamask/controller-utils": ^3.0.0 + "@metamask/base-controller": ^3.0.0 + "@metamask/utils": ^5.0.2 immer: ^9.0.6 nanoid: ^3.1.31 - checksum: 22d299bc2816f1822d63b71820bb8c5b55b28696a91c6a2f38fcc743e79140de4f5d0a30daffcd0a141ca7efe07024c80340fb19a457375698fb5bf9fc181859 + checksum: 5661d6cf095ca322f3e6dc1a4d3c2c95f3fd6d5caf641ffe1ed424da9be07ad10220b6d53a58580f89b8ad9485b67fc2e7dc87d7188ad2dfe5ce80da546cbc7c languageName: node linkType: hard @@ -23940,7 +23940,7 @@ __metadata: "@metamask/logo": ^3.1.1 "@metamask/message-manager": ^5.0.0 "@metamask/metamask-eth-abis": ^3.0.0 - "@metamask/notification-controller": ^2.0.0 + "@metamask/notification-controller": ^3.0.0 "@metamask/obs-store": ^8.1.0 "@metamask/permission-controller": ^3.2.0 "@metamask/phishing-controller": ^3.0.0