Skip to content

Commit

Permalink
chore: Upgrade @metamask/announcement-controller to v5.0.1 (MetaMas…
Browse files Browse the repository at this point in the history
…k#22499)

## **Description**

The package `@metamask/announcement-controller` has been updated to v5.
The only breaking changes were to types, so this required no changes.

See here for the changelog:
/~https://github.com/MetaMask/core/blob/main/packages/announcement-controller/CHANGELOG.md#501

## **Related issues**

N/A

## **Manual testing steps**

N/A

## **Screenshots/Recordings**

N/A

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Coding
Standards](/~https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [x] I've linked related issues
- [x] I've included manual testing steps
- [x] I've included screenshots/recordings if applicable
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](/~https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [x] I’ve properly set the pull request status:
  - [x] In case it's not yet "ready for review", I've set it to "draft".
- [x] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.

---------

Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
  • Loading branch information
Gudahtt and metamaskbot authored Jan 12, 2024
1 parent a6bffb1 commit e889bfe
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 52 deletions.
10 changes: 1 addition & 9 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -771,15 +771,7 @@
},
"@metamask/announcement-controller": {
"packages": {
"@metamask/announcement-controller>@metamask/base-controller": true
}
},
"@metamask/announcement-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
"@metamask/base-controller": true
}
},
"@metamask/approval-controller": {
Expand Down
10 changes: 1 addition & 9 deletions lavamoat/browserify/desktop/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -771,15 +771,7 @@
},
"@metamask/announcement-controller": {
"packages": {
"@metamask/announcement-controller>@metamask/base-controller": true
}
},
"@metamask/announcement-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
"@metamask/base-controller": true
}
},
"@metamask/approval-controller": {
Expand Down
10 changes: 1 addition & 9 deletions lavamoat/browserify/flask/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -771,15 +771,7 @@
},
"@metamask/announcement-controller": {
"packages": {
"@metamask/announcement-controller>@metamask/base-controller": true
}
},
"@metamask/announcement-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
"@metamask/base-controller": true
}
},
"@metamask/approval-controller": {
Expand Down
10 changes: 1 addition & 9 deletions lavamoat/browserify/main/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -771,15 +771,7 @@
},
"@metamask/announcement-controller": {
"packages": {
"@metamask/announcement-controller>@metamask/base-controller": true
}
},
"@metamask/announcement-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
"@metamask/base-controller": true
}
},
"@metamask/approval-controller": {
Expand Down
10 changes: 1 addition & 9 deletions lavamoat/browserify/mmi/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -903,15 +903,7 @@
},
"@metamask/announcement-controller": {
"packages": {
"@metamask/announcement-controller>@metamask/base-controller": true
}
},
"@metamask/announcement-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
"@metamask/base-controller": true
}
},
"@metamask/approval-controller": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
"@metamask-institutional/transaction-update": "^0.1.32",
"@metamask/accounts-controller": "^4.0.0",
"@metamask/address-book-controller": "^3.0.0",
"@metamask/announcement-controller": "^4.0.0",
"@metamask/announcement-controller": "^5.0.1",
"@metamask/approval-controller": "^5.1.0",
"@metamask/assets-controllers": "^24.0.0",
"@metamask/base-controller": "^4.0.0",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3807,12 +3807,12 @@ __metadata:
languageName: node
linkType: hard

"@metamask/announcement-controller@npm:^4.0.0":
version: 4.0.0
resolution: "@metamask/announcement-controller@npm:4.0.0"
"@metamask/announcement-controller@npm:^5.0.1":
version: 5.0.1
resolution: "@metamask/announcement-controller@npm:5.0.1"
dependencies:
"@metamask/base-controller": "npm:^3.0.0"
checksum: c694dbb858c25dd87d8481f76fa9437f790af6475430f0e7cde0a69283f1aa7857265d48d07ef50e8e8e44365e3e19659e00fa05e11a8abd7bdc84b1b0a192e9
"@metamask/base-controller": "npm:^4.0.1"
checksum: 25198a8e8a4feddb984269dad516fc20aa458cdeb183fe0c3b0dbc9973cbaf753cdaf4b97b54ce0b3c4456b0d1c65b18e750248131127792cb5f7327ed0b56de
languageName: node
linkType: hard

Expand Down Expand Up @@ -24631,7 +24631,7 @@ __metadata:
"@metamask-institutional/transaction-update": "npm:^0.1.32"
"@metamask/accounts-controller": "npm:^4.0.0"
"@metamask/address-book-controller": "npm:^3.0.0"
"@metamask/announcement-controller": "npm:^4.0.0"
"@metamask/announcement-controller": "npm:^5.0.1"
"@metamask/approval-controller": "npm:^5.1.0"
"@metamask/assets-controllers": "npm:^24.0.0"
"@metamask/auto-changelog": "npm:^2.1.0"
Expand Down

0 comments on commit e889bfe

Please sign in to comment.