Skip to content

Commit cc2f719

Browse files
authored
chore: unlock cross-spawn range (#6606)
cross-spawn has a vulnerability moxystudio/node-cross-spawn#167. This should allow the latest version of the cross-spawn package to work. ## What's the problem this PR addresses? <!-- Describe the rationale of your PR. --> <!-- Link all issues that it closes. (Closes/Resolves #xxxx.) --> ... ## How did you fix it? <!-- A detailed description of your implementation. --> ... ## Checklist <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed.
1 parent 2f490dd commit cc2f719

File tree

4 files changed

+50
-15
lines changed

4 files changed

+50
-15
lines changed

.yarn/versions/ce18c01f.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
releases:
2+
"@yarnpkg/core": patch
3+
"@yarnpkg/shell": patch
4+
5+
declined:
6+
- "@yarnpkg/plugin-compat"
7+
- "@yarnpkg/plugin-constraints"
8+
- "@yarnpkg/plugin-dlx"
9+
- "@yarnpkg/plugin-essentials"
10+
- "@yarnpkg/plugin-exec"
11+
- "@yarnpkg/plugin-file"
12+
- "@yarnpkg/plugin-git"
13+
- "@yarnpkg/plugin-github"
14+
- "@yarnpkg/plugin-http"
15+
- "@yarnpkg/plugin-init"
16+
- "@yarnpkg/plugin-interactive-tools"
17+
- "@yarnpkg/plugin-link"
18+
- "@yarnpkg/plugin-nm"
19+
- "@yarnpkg/plugin-npm"
20+
- "@yarnpkg/plugin-npm-cli"
21+
- "@yarnpkg/plugin-pack"
22+
- "@yarnpkg/plugin-patch"
23+
- "@yarnpkg/plugin-pnp"
24+
- "@yarnpkg/plugin-pnpm"
25+
- "@yarnpkg/plugin-stage"
26+
- "@yarnpkg/plugin-typescript"
27+
- "@yarnpkg/plugin-version"
28+
- "@yarnpkg/plugin-workspace-tools"
29+
- "@yarnpkg/builder"
30+
- "@yarnpkg/cli"
31+
- "@yarnpkg/doctor"
32+
- "@yarnpkg/extensions"
33+
- "@yarnpkg/nm"
34+
- "@yarnpkg/pnpify"
35+
- "@yarnpkg/sdks"

packages/yarnpkg-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"chalk": "^3.0.0",
2121
"ci-info": "^4.0.0",
2222
"clipanion": "^4.0.0-rc.2",
23-
"cross-spawn": "7.0.3",
23+
"cross-spawn": "^7.0.3",
2424
"diff": "^5.1.0",
2525
"dotenv": "^16.3.1",
2626
"fast-glob": "^3.2.2",

packages/yarnpkg-shell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@yarnpkg/parsers": "workspace:^",
1515
"chalk": "^3.0.0",
1616
"clipanion": "^4.0.0-rc.2",
17-
"cross-spawn": "7.0.3",
17+
"cross-spawn": "^7.0.3",
1818
"fast-glob": "^3.2.2",
1919
"micromatch": "^4.0.2",
2020
"tslib": "^2.4.0"

yarn.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5512,7 +5512,7 @@ __metadata:
55125512
ci-info: "npm:^4.0.0"
55135513
clipanion: "npm:^4.0.0-rc.2"
55145514
comment-json: "npm:^2.2.0"
5515-
cross-spawn: "npm:7.0.3"
5515+
cross-spawn: "npm:^7.0.3"
55165516
diff: "npm:^5.1.0"
55175517
dotenv: "npm:^16.3.1"
55185518
esbuild: "npm:esbuild-wasm@^0.23.0"
@@ -6279,7 +6279,7 @@ __metadata:
62796279
"@yarnpkg/parsers": "workspace:^"
62806280
chalk: "npm:^3.0.0"
62816281
clipanion: "npm:^4.0.0-rc.2"
6282-
cross-spawn: "npm:7.0.3"
6282+
cross-spawn: "npm:^7.0.3"
62836283
fast-glob: "npm:^3.2.2"
62846284
micromatch: "npm:^4.0.2"
62856285
strip-ansi: "npm:^6.0.0"
@@ -8449,17 +8449,6 @@ __metadata:
84498449
languageName: node
84508450
linkType: hard
84518451

8452-
"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3":
8453-
version: 7.0.3
8454-
resolution: "cross-spawn@npm:7.0.3"
8455-
dependencies:
8456-
path-key: "npm:^3.1.0"
8457-
shebang-command: "npm:^2.0.0"
8458-
which: "npm:^2.0.1"
8459-
checksum: 10/e1a13869d2f57d974de0d9ef7acbf69dc6937db20b918525a01dacb5032129bd552d290d886d981e99f1b624cb03657084cc87bd40f115c07ecf376821c729ce
8460-
languageName: node
8461-
linkType: hard
8462-
84638452
"cross-spawn@npm:^6.0.0":
84648453
version: 6.0.5
84658454
resolution: "cross-spawn@npm:6.0.5"
@@ -8473,6 +8462,17 @@ __metadata:
84738462
languageName: node
84748463
linkType: hard
84758464

8465+
"cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3":
8466+
version: 7.0.3
8467+
resolution: "cross-spawn@npm:7.0.3"
8468+
dependencies:
8469+
path-key: "npm:^3.1.0"
8470+
shebang-command: "npm:^2.0.0"
8471+
which: "npm:^2.0.1"
8472+
checksum: 10/e1a13869d2f57d974de0d9ef7acbf69dc6937db20b918525a01dacb5032129bd552d290d886d981e99f1b624cb03657084cc87bd40f115c07ecf376821c729ce
8473+
languageName: node
8474+
linkType: hard
8475+
84768476
"crossws@npm:^0.2.4":
84778477
version: 0.2.4
84788478
resolution: "crossws@npm:0.2.4"

0 commit comments

Comments
 (0)