Override lodash to fix security vulnerabilities

Add npm overrides for lodash and lodash-es to force version 4.18.1,
fixing CVE for code injection via _.template and prototype pollution
via _.unset and _.omit.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-04-02 18:50:36 +02:00
parent e6b88e7eec
commit 5c71575ade
2 changed files with 641 additions and 616 deletions

1253
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -30,7 +30,9 @@
"minimatch@9": "^9.0.9",
"langsmith": "^0.5.0",
"handlebars": "4.7.9",
"@langchain/community": "^1.1.25"
"@langchain/community": "^1.1.25",
"lodash": "^4.18.1",
"lodash-es": "^4.18.1"
},
"license": "MIT",
"packageManager": "npm@11.8.0",