Skip to content

Commit 71a886c

Browse files
antonisclaude
andcommitted
chore(deps): bump js-yaml to fix prototype pollution in merge
Fixes prototype pollution via merge (<<) in two series: - 3.x: bumps 3.14.1 -> 3.14.2 via parent-scoped resolutions for the four 3.x consumers (@istanbuljs/load-nyc-config, @yarnpkg/parsers, cosmiconfig, front-matter), preserving 3.x API compatibility - 4.x: bumps 4.1.0 -> 4.1.1 via unscoped resolution Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cb7404a commit 71a886c

2 files changed

Lines changed: 11 additions & 17 deletions

File tree

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@
6060
},
6161
"resolutions": {
6262
"appium-chromedriver@npm:5.6.73/@xmldom/xmldom": "0.8.10",
63+
"@istanbuljs/load-nyc-config@npm:1.1.0/js-yaml": "^3.14.2",
64+
"@yarnpkg/parsers@npm:3.0.0-rc.46/js-yaml": "^3.14.2",
65+
"cosmiconfig@npm:5.2.1/js-yaml": "^3.14.2",
66+
"front-matter@npm:4.0.2/js-yaml": "^3.14.2",
6367
"form-data": "4.0.4",
68+
"js-yaml": "^4.1.1",
6469
"tar-fs": "^3.1.1",
6570
"tar": "^7.5.7"
6671
},

yarn.lock

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23499,26 +23499,15 @@ __metadata:
2349923499
languageName: node
2350023500
linkType: hard
2350123501

23502-
"js-yaml@npm:4.1.0, js-yaml@npm:^4.1.0":
23503-
version: 4.1.0
23504-
resolution: "js-yaml@npm:4.1.0"
23502+
"js-yaml@npm:^3.14.2":
23503+
version: 3.14.2
23504+
resolution: "js-yaml@npm:3.14.2"
2350523505
dependencies:
23506-
argparse: "npm:^2.0.1"
23507-
bin:
23508-
js-yaml: bin/js-yaml.js
23509-
checksum: c7830dfd456c3ef2c6e355cc5a92e6700ceafa1d14bba54497b34a99f0376cecbb3e9ac14d3e5849b426d5a5140709a66237a8c991c675431271c4ce5504151a
23510-
languageName: node
23511-
linkType: hard
23512-
23513-
"js-yaml@npm:^3.10.0, js-yaml@npm:^3.13.1":
23514-
version: 3.14.1
23515-
resolution: "js-yaml@npm:3.14.1"
23516-
dependencies:
23517-
argparse: "npm:^1.0.7"
23518-
esprima: "npm:^4.0.0"
23506+
argparse: ^1.0.7
23507+
esprima: ^4.0.0
2351923508
bin:
2352023509
js-yaml: bin/js-yaml.js
23521-
checksum: bef146085f472d44dee30ec34e5cf36bf89164f5d585435a3d3da89e52622dff0b188a580e4ad091c3341889e14cb88cac6e4deb16dc5b1e9623bb0601fc255c
23510+
checksum: 626fc207734a3452d6ba84e1c8c226240e6d431426ed94d0ab043c50926d97c509629c08b1d636f5d27815833b7cfd225865631da9fb33cb957374490bf3e90b
2352223511
languageName: node
2352323512
linkType: hard
2352423513

0 commit comments

Comments
 (0)