Skip to content

Commit 0909af8

Browse files
author
Spencer
authored
[7.5] require yarn 1.21.1 to avoid binary planting vuln (#5289… (#52924)
* require yarn 1.21.1 to avoid binary planting vuln (#52899) * force use of yarn 1.21.1
1 parent 6696d3e commit 0909af8

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@
8484
"**/graphql-toolkit/lodash": "^4.17.13",
8585
"**/isomorphic-git/**/base64-js": "^1.2.1",
8686
"**/babel-plugin-inline-react-svg/svgo/js-yaml": "^3.13.1",
87-
"**/serialize-javascript": "^2.1.1"
87+
"**/serialize-javascript": "^2.1.1",
88+
"**/yarn": "^1.21.1"
8889
},
8990
"workspaces": {
9091
"packages": [
@@ -455,6 +456,6 @@
455456
},
456457
"engines": {
457458
"node": "10.15.2",
458-
"yarn": "^1.10.1"
459+
"yarn": "^1.21.1"
459460
}
460461
}

x-pack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
"xregexp": "4.2.4"
377377
},
378378
"engines": {
379-
"yarn": "^1.10.1"
379+
"yarn": "^1.21.1"
380380
},
381381
"workspaces": {
382382
"nohoist": [

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30411,10 +30411,10 @@ yarn-install@^0.5.1:
3041130411
chalk "^1.1.3"
3041230412
cross-spawn "^4.0.2"
3041330413

30414-
yarn@^1.12.3:
30415-
version "1.17.3"
30416-
resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.17.3.tgz#60e0b77d079eb78e753bb616f7592b51b6a9adce"
30417-
integrity sha512-CgA8o7nRZaQvmeF/WBx2FC7f9W/0X59T2IaLYqgMo6637wfp5mMEsM3YXoJtKUspnpmDJKl/gGFhnqS+sON7hA==
30414+
yarn@^1.12.3, yarn@^1.21.1:
30415+
version "1.21.1"
30416+
resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.21.1.tgz#1d5da01a9a03492dc4a5957befc1fd12da83d89c"
30417+
integrity sha512-dQgmJv676X/NQczpbiDtc2hsE/pppGDJAzwlRiADMTvFzYbdxPj2WO4PcNyriSt2c4jsCMpt8UFRKHUozt21GQ==
3041830418

3041930419
yauzl@2.10.0, yauzl@^2.10.0:
3042030420
version "2.10.0"

0 commit comments

Comments
 (0)