fix(deps): override serialize-javascript to ^7.0.3 (#5989)

Mocha 11.7.x pulls in serialize-javascript 6.0.2, which is affected by
code injection via RegExp.flags and Date.toISOString (CVE incomplete fix).
Force the patched 7.x release via npm overrides.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Daniel Imms
2026-06-02 13:34:19 +00:00
committed by GitHub
co-authored by Cursor Agent Daniel Imms
parent 564113e053
commit ea75b99e2b
2 changed files with 8 additions and 36 deletions
+3
View File
@@ -11,6 +11,9 @@
"workspaces": [
"addons/*"
],
"overrides": {
"serialize-javascript": "^7.0.3"
},
"keywords": [
"cli",
"command-line",