Skip to content

Commit

Permalink
chore: bump nanoid dependency (#5073)
Browse files Browse the repository at this point in the history
## Explanation

Bump minor version of nanoid package in Permission Controller,
Pemrission log controller and Approval controller to fix audit advisory:
GHSA-mwcw-c2x4-8c55
## References

<!--
Are there any issues that this pull request is tied to?
Are there other links that reviewers should consult to understand these
changes better?
Are there client or consumer pull requests to adopt any breaking
changes?

For example:

* Fixes #12345
* Related to #67890
-->

## Changelog

<!--
If you're making any consumer-facing changes, list those changes here as
if you were updating a changelog, using the template below as a guide.

(CATEGORY is one of BREAKING, ADDED, CHANGED, DEPRECATED, REMOVED, or
FIXED. For security-related issues, follow the Security Advisory
process.)

Please take care to name the exact pieces of the API you've added or
changed (e.g. types, interfaces, functions, or methods).

If there are any breaking changes, make sure to offer a solution for
consumers to follow once they upgrade to the changes.

Finally, if you're only making changes to development scripts or tests,
you may replace the template below with "None".
-->

### `@metamask/permission-controller`

- **<CHANGED>**: Bump `nanoid`pacakge to version ^3.3.8

### `@metamask/approval-controller`

- **<CHANGED>**: Bump `nanoid`pacakge to version ^3.3.8

### `@metamask/permission-log-controller`

- **<CHANGED>**: Bump `nanoid`pacakge to version ^3.3.8

## Checklist

- [ ] I've updated the test suite for new or updated code as appropriate
- [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [ ] I've highlighted breaking changes using the "BREAKING" category
above as appropriate
- [ ] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes
  • Loading branch information
tommasini authored Dec 17, 2024
1 parent ba4dab8 commit 6c2197f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/approval-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@metamask/base-controller": "^7.0.2",
"@metamask/rpc-errors": "^7.0.1",
"@metamask/utils": "^10.0.0",
"nanoid": "^3.1.31"
"nanoid": "^3.3.8"
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/permission-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@types/deep-freeze-strict": "^1.1.0",
"deep-freeze-strict": "^1.1.1",
"immer": "^9.0.6",
"nanoid": "^3.1.31"
"nanoid": "^3.3.8"
},
"devDependencies": {
"@metamask/approval-controller": "^7.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/permission-log-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"deep-freeze-strict": "^1.1.1",
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
"nanoid": "^3.1.31",
"nanoid": "^3.3.8",
"ts-jest": "^27.1.4",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2133,7 +2133,7 @@ __metadata:
"@types/jest": "npm:^27.4.1"
deepmerge: "npm:^4.2.2"
jest: "npm:^27.5.1"
nanoid: "npm:^3.1.31"
nanoid: "npm:^3.3.8"
sinon: "npm:^9.2.4"
ts-jest: "npm:^27.1.4"
typedoc: "npm:^0.24.8"
Expand Down Expand Up @@ -3280,7 +3280,7 @@ __metadata:
deepmerge: "npm:^4.2.2"
immer: "npm:^9.0.6"
jest: "npm:^27.5.1"
nanoid: "npm:^3.1.31"
nanoid: "npm:^3.3.8"
ts-jest: "npm:^27.1.4"
typedoc: "npm:^0.24.8"
typedoc-plugin-missing-exports: "npm:^2.0.0"
Expand All @@ -3303,7 +3303,7 @@ __metadata:
deep-freeze-strict: "npm:^1.1.1"
deepmerge: "npm:^4.2.2"
jest: "npm:^27.5.1"
nanoid: "npm:^3.1.31"
nanoid: "npm:^3.3.8"
ts-jest: "npm:^27.1.4"
typedoc: "npm:^0.24.8"
typedoc-plugin-missing-exports: "npm:^2.0.0"
Expand Down Expand Up @@ -10092,12 +10092,12 @@ __metadata:
languageName: node
linkType: hard

"nanoid@npm:^3.1.31, nanoid@npm:^3.3.7":
version: 3.3.7
resolution: "nanoid@npm:3.3.7"
"nanoid@npm:^3.1.31, nanoid@npm:^3.3.7, nanoid@npm:^3.3.8":
version: 3.3.8
resolution: "nanoid@npm:3.3.8"
bin:
nanoid: bin/nanoid.cjs
checksum: 10/ac1eb60f615b272bccb0e2b9cd933720dad30bf9708424f691b8113826bb91aca7e9d14ef5d9415a6ba15c266b37817256f58d8ce980c82b0ba3185352565679
checksum: 10/2d1766606cf0d6f47b6f0fdab91761bb81609b2e3d367027aff45e6ee7006f660fb7e7781f4a34799fe6734f1268eeed2e37a5fdee809ade0c2d4eb11b0f9c40
languageName: node
linkType: hard

Expand Down

0 comments on commit 6c2197f

Please sign in to comment.