8000 Update jsonpath-plus to ~10.1.0 (#4981) · atingmicrosoft/rushstack@ad50ff8 · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit ad50ff8

Browse files
authored
Update jsonpath-plus to ~10.1.0 (microsoft#4981)
1 parent 577410f commit ad50ff8

File tree

7 files changed

+95
-26
lines changed

7 files changed

+95
-26
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@rushstack/heft-config-file",
5+
"comment": "Update the `jsonpath-plus` dependency to mitigate CVE-2024-21534.\"",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@rushstack/heft-config-file"
10+
}

common/config/subspaces/build-tests-subspace/pnpm-lock.yaml

Lines changed: 41 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
22
{
3-
"pnpmShrinkwrapHash": "5b75a8ef91af53a8caf52319e5eb0042c4d06852",
3+
"pnpmShrinkwrapHash": "158eddd923799186d56f184f9ad0df261598e7ef",
44
"preferredVersionsHash": "ce857ea0536b894ec8f346aaea08cfd85a5af648",
5-
"packageJsonInjectedDependenciesHash": "31e2e4a94050edab124897e4049a6c1d94c21c91"
5+
"packageJsonInjectedDependenciesHash": "780ed5a8b4dcd8c24fe68939798e54a2073c1c3c"
66
}

common/config/subspaces/default/pnpm-lock.yaml

Lines changed: 36 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
22
{
3-
"pnpmShrinkwrapHash": "673f7de41244835915a7947c11b6dbe80f944010",
3+
"pnpmShrinkwrapHash": "eca705e24ac99810f28fecff4de2d89706db9065",
44
"preferredVersionsHash": "ce857ea0536b894ec8f346aaea08cfd85a5af648"
55
}

libraries/heft-config-file/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@rushstack/node-core-library": "workspace:*",
2525
"@rushstack/rig-package": "workspace:*",
2626
"@rushstack/terminal": "workspace:*",
27-
"jsonpath-plus": "~4.0.0"
27+
"jsonpath-plus": "~10.1.0"
2828
},
2929
"devDependencies": {
3030
"local-eslint-config": "workspace:*",

libraries/heft-config-file/src/test/ConfigurationFile.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ describe(ConfigurationFile.name, () => {
804804
},
805805
{
806806
plugin: FileSystem.getRealPath(
807-
nodeJsPath.resolve(projectRoot, 'node_modules', 'jsonpath-plus', 'dist', 'index-umd.js')
807+
nodeJsPath.resolve(projectRoot, 'node_modules', 'jsonpath-plus', 'dist', 'index-node-cjs.cjs')
808808
)
809809
}
810810
]
@@ -885,7 +885,7 @@ describe(ConfigurationFile.name, () => {
885885
},
886886
{
887887
plugin: await FileSystem.getRealPathAsync(
888-
nodeJsPath.resolve(projectRoot, 'node_modules', 'jsonpath-plus', 'dist', 'index-umd.js')
888+
nodeJsPath.resolve(projectRoot, 'node_modules', 'jsonpath-plus', 'dist', 'index-node-cjs.cjs')
889889
)
890890
}
891891
]
@@ -968,7 +968,7 @@ describe(ConfigurationFile.name, () => {
968968
},
969969
{
970970
plugin: FileSystem.getRealPath(
971-
nodeJsPath.resolve(projectRoot, 'node_modules', 'jsonpath-plus', 'dist', 'index-umd.js')
971+
nodeJsPath.resolve(projectRoot, 'node_modules', 'jsonpath-plus', 'dist', 'index-node-cjs.cjs')
972972
)
973973
}
974974
]
@@ -1049,7 +1049,7 @@ describe(ConfigurationFile.name, () => {
10491049
},
10501050
{
10511051
plugin: await FileSystem.getRealPathAsync(
1052-
nodeJsPath.resolve(projectRoot, 'node_modules', 'jsonpath-plus', 'dist', 'index-umd.js')
1052+
nodeJsPath.resolve(projectRoot, 'node_modules', 'jsonpath-plus', 'dist', 'index-node-cjs.cjs')
10531053
)
10541054
}
10551055
]

0 commit comments

Comments
 (0)
0