Skip to content

Commit

Permalink
build: update yarn to v4.5.1 (#28365)
Browse files Browse the repository at this point in the history
## **Description**

Updates yarn to the latest v4.5.1, and adjusts LavaMoat policies to
accommodate.

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/28365?quickstart=1)

<!--## **Related issues**
## **Manual testing steps**
## **Screenshots/Recordings**
### **Before**
### **After**
## **Pre-merge author checklist**
## **Pre-merge reviewer checklist**-->
  • Loading branch information
HowardBraham authored Nov 8, 2024
1 parent 82fdd64 commit f3f6507
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
2 changes: 1 addition & 1 deletion development/generate-attributions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"engines": {
"node": ">= 20",
"yarn": "^4.4.1"
"yarn": "^4.5.1"
},
"lavamoat": {
"allowScripts": {
Expand Down
20 changes: 2 additions & 18 deletions lavamoat/build-system/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -3004,25 +3004,14 @@
"eslint-plugin-prettier": true,
"eslint-plugin-react": true,
"eslint-plugin-react-hooks": true,
"eslint>@eslint/eslintrc>ajv": true,
"eslint>ajv": true,
"eslint>globals": true,
"eslint>ignore": true,
"eslint>minimatch": true,
"mocha>strip-json-comments": true,
"nock>debug": true
}
},
"eslint>@eslint/eslintrc>ajv": {
"globals": {
"console": true
},
"packages": {
"@metamask/snaps-utils>fast-json-stable-stringify": true,
"eslint>@eslint/eslintrc>ajv>json-schema-traverse": true,
"eslint>fast-deep-equal": true,
"uri-js": true
}
},
"eslint>@eslint/eslintrc>import-fresh": {
"builtin": {
"path.dirname": true
Expand Down Expand Up @@ -8491,17 +8480,12 @@
"process.stdout.write": true
},
"packages": {
"eslint>ajv": true,
"lodash": true,
"stylelint>table>ajv": true,
"stylelint>table>slice-ansi": true,
"stylelint>table>string-width": true
}
},
"stylelint>table>ajv": {
"packages": {
"eslint>fast-deep-equal": true
}
},
"stylelint>table>slice-ansi": {
"packages": {
"stylelint>table>slice-ansi>ansi-styles": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -751,5 +751,5 @@
"jest-preview": false
}
},
"packageManager": "yarn@4.4.1"
"packageManager": "yarn@4.5.1"
}

0 comments on commit f3f6507

Please sign in to comment.