Skip to content

Commit 4371dc7

Browse files
tommasiniPatrykLucka
authored andcommitted
chore: bump nanoid dependency (#5073)
## 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
1 parent 1c35870 commit 4371dc7

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

packages/approval-controller/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@metamask/base-controller": "^7.0.2",
5151
"@metamask/rpc-errors": "^7.0.1",
5252
"@metamask/utils": "^10.0.0",
53-
"nanoid": "^3.1.31"
53+
"nanoid": "^3.3.8"
5454
},
5555
"devDependencies": {
5656
"@metamask/auto-changelog": "^3.4.4",

packages/permission-controller/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@types/deep-freeze-strict": "^1.1.0",
5656
"deep-freeze-strict": "^1.1.1",
5757
"immer": "^9.0.6",
58-
"nanoid": "^3.1.31"
58+
"nanoid": "^3.3.8"
5959
},
6060
"devDependencies": {
6161
"@metamask/approval-controller": "^7.1.1",

packages/permission-log-controller/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"deep-freeze-strict": "^1.1.1",
5959
"deepmerge": "^4.2.2",
6060
"jest": "^27.5.1",
61-
"nanoid": "^3.1.31",
61+
"nanoid": "^3.3.8",
6262
"ts-jest": "^27.1.4",
6363
"typedoc": "^0.24.8",
6464
"typedoc-plugin-missing-exports": "^2.0.0",

yarn.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -2133,7 +2133,7 @@ __metadata:
21332133
"@types/jest": "npm:^27.4.1"
21342134
deepmerge: "npm:^4.2.2"
21352135
jest: "npm:^27.5.1"
2136-
nanoid: "npm:^3.1.31"
2136+
nanoid: "npm:^3.3.8"
21372137
sinon: "npm:^9.2.4"
21382138
ts-jest: "npm:^27.1.4"
21392139
typedoc: "npm:^0.24.8"
@@ -3280,7 +3280,7 @@ __metadata:
32803280
deepmerge: "npm:^4.2.2"
32813281
immer: "npm:^9.0.6"
32823282
jest: "npm:^27.5.1"
3283-
nanoid: "npm:^3.1.31"
3283+
nanoid: "npm:^3.3.8"
32843284
ts-jest: "npm:^27.1.4"
32853285
typedoc: "npm:^0.24.8"
32863286
typedoc-plugin-missing-exports: "npm:^2.0.0"
@@ -3303,7 +3303,7 @@ __metadata:
33033303
deep-freeze-strict: "npm:^1.1.1"
33043304
deepmerge: "npm:^4.2.2"
33053305
jest: "npm:^27.5.1"
3306-
nanoid: "npm:^3.1.31"
3306+
nanoid: "npm:^3.3.8"
33073307
ts-jest: "npm:^27.1.4"
33083308
typedoc: "npm:^0.24.8"
33093309
typedoc-plugin-missing-exports: "npm:^2.0.0"
@@ -10092,12 +10092,12 @@ __metadata:
1009210092
languageName: node
1009310093
linkType: hard
1009410094

10095-
"nanoid@npm:^3.1.31, nanoid@npm:^3.3.7":
10096-
version: 3.3.7
10097-
resolution: "nanoid@npm:3.3.7"
10095+
"nanoid@npm:^3.1.31, nanoid@npm:^3.3.7, nanoid@npm:^3.3.8":
10096+
version: 3.3.8
10097+
resolution: "nanoid@npm:3.3.8"
1009810098
bin:
1009910099
nanoid: bin/nanoid.cjs
10100-
checksum: 10/ac1eb60f615b272bccb0e2b9cd933720dad30bf9708424f691b8113826bb91aca7e9d14ef5d9415a6ba15c266b37817256f58d8ce980c82b0ba3185352565679
10100+
checksum: 10/2d1766606cf0d6f47b6f0fdab91761bb81609b2e3d367027aff45e6ee7006f660fb7e7781f4a34799fe6734f1268eeed2e37a5fdee809ade0c2d4eb11b0f9c40
1010110101
languageName: node
1010210102
linkType: hard
1010310103

0 commit comments

Comments
 (0)