Skip to content

Commit b40c5c4

Browse files
committed
Deduplicate cross-spawn package
Fixes vulnerability in cross-spawn >=7.0.0 <7.0.5
1 parent 0cae9b2 commit b40c5c4

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

.yarn/sdks/eslint/package.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
11
{
22
"name": "eslint",
3-
"version": "9.9.0-sdk",
3+
"version": "9.17.0-sdk",
44
"main": "./lib/api.js",
55
"type": "commonjs",
66
"bin": {
77
"eslint": "./bin/eslint.js"
88
},
99
"exports": {
10+
".": {
11+
"types": "./lib/types/index.d.ts",
12+
"default": "./lib/api.js"
13+
},
1014
"./package.json": "./package.json",
11-
".": "./lib/api.js",
12-
"./use-at-your-own-risk": "./lib/unsupported-api.js"
15+
"./use-at-your-own-risk": {
16+
"types": "./lib/types/use-at-your-own-risk.d.ts",
17+
"default": "./lib/unsupported-api.js"
18+
},
19+
"./rules": {
20+
"types": "./lib/types/rules/index.d.ts"
21+
},
22+
"./universal": {
23+
"types": "./lib/types/universal.d.ts",
24+
"default": "./lib/universal.js"
25+
}
1326
}
1427
}

yarn.lock

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,18 +1047,7 @@ __metadata:
10471047
languageName: node
10481048
linkType: hard
10491049

1050-
"cross-spawn@npm:^7.0.0":
1051-
version: 7.0.3
1052-
resolution: "cross-spawn@npm:7.0.3"
1053-
dependencies:
1054-
path-key: "npm:^3.1.0"
1055-
shebang-command: "npm:^2.0.0"
1056-
which: "npm:^2.0.1"
1057-
checksum: 10/e1a13869d2f57d974de0d9ef7acbf69dc6937db20b918525a01dacb5032129bd552d290d886d981e99f1b624cb03657084cc87bd40f115c07ecf376821c729ce
1058-
languageName: node
1059-
linkType: hard
1060-
1061-
"cross-spawn@npm:^7.0.6":
1050+
"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.6":
10621051
version: 7.0.6
10631052
resolution: "cross-spawn@npm:7.0.6"
10641053
dependencies:

0 commit comments

Comments
 (0)