Skip to content

Commit 7453c76

Browse files
committed
Fix CVEs: add npm overrides for picomatch, yaml, brace-expansion, lodash
Add overrides to resolve known vulnerabilities: - picomatch@2 -> 2.3.2 (ReDoS via extglob quantifiers) - picomatch@4 -> 4.0.4 (ReDoS via extglob quantifiers) - yaml@1 -> 1.10.3 (stack overflow via deeply nested collections) - brace-expansion@2 -> 2.0.3 (zero-step sequence hang) - lodash -> 4.18.1 (prototype pollution and code injection) Remaining: brace-expansion 1.x (1.1.12) has no fixed version available.
1 parent fd8b26d commit 7453c76

File tree

3 files changed

+33
-26
lines changed

3 files changed

+33
-26
lines changed

ui/extensions/hello/package-lock.json

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/extensions/hello/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,13 @@
6868
},
6969
"overrides": {
7070
"js-yaml": "^3.14.2",
71-
"lodash": "4.17.23",
71+
"lodash": "4.18.1",
7272
"svgo": "2.8.1",
7373
"minimatch@3": "3.1.4",
74-
"minimatch@9": "9.0.9"
74+
"minimatch@9": "9.0.9",
75+
"picomatch@2": "2.3.2",
76+
"picomatch@4": "4.0.4",
77+
"yaml@1": "1.10.3",
78+
"brace-expansion@2": "2.0.3"
7579
}
7680
}

ui/extensions/hello/src/dist/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3857,6 +3857,9 @@ class Navigation {
38573857
},
38583858
});
38593859
}
3860+
/**
3861+
* @deprecated Use navigateTo directly
3862+
*/
38603863
async onClick(event, defaultTarget = '_self', defaultType = 'falcon') {
38613864
if (!(event instanceof Event)) {
38623865
throw Error('"event" property should be subclass of Event');

0 commit comments

Comments
 (0)