Skip to content

Commit 1cc8136

Browse files
michaelphamcfclaude
andcommitted
fix(deps): bump lodash to >=4.18.0 to address CVE-2026-4800
commitizen pins lodash at 4.17.21, which is vulnerable to code injection via _.template imports key names. Add npm override to force all transitive lodash to match the direct dependency range (^4.18.0). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5f3e49c commit 1cc8136

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

package-lock.json

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

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"in-publish": "^2.0.1",
100100
"jsonwebtoken": "^9.0.2",
101101
"lint-staged": "^16.3.3",
102-
"lodash": "^4.17.20",
102+
"lodash": "^4.18.0",
103103
"nodemon": "^3.1.2",
104104
"playwright": "^1.49.0",
105105
"prettier": "3.6.2",
@@ -167,6 +167,9 @@
167167
"@semantic-release/github"
168168
]
169169
},
170+
"overrides": {
171+
"lodash": "$lodash"
172+
},
170173
"size-limit": [
171174
{
172175
"path": "./dist/cjs/index.cjs",

0 commit comments

Comments
 (0)