fix: Bump lodash and lodash-es to 4.18 for dependabot alerts.#385
Merged
fix: Bump lodash and lodash-es to 4.18 for dependabot alerts.#385
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates npm overrides and the lockfile to remediate Dependabot-reported vulnerabilities by forcing patched lodash/lodash-es (and maintaining the existing picomatch override) across the dependency tree.
Changes:
- Bump
lodashoverride to^4.18.0and addlodash-esoverride^4.18.0. - Regenerate
package-lock.jsonsolodashandlodash-esresolve to4.18.1.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Updates overrides to enforce patched lodash versions (and explicitly adds lodash-es). |
| package-lock.json | Updates resolved lodash / lodash-es tarballs + integrity to 4.18.1. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
semantic-release-updater Bot
pushed a commit
that referenced
this pull request
Apr 13, 2026
## [0.16.5](v0.16.4...v0.16.5) (2026-04-13) ### Bug Fixes * Bump lodash and lodash-es to 4.18 to address dependabot alerts. ([#385](#385)) ([f867a08](f867a08))
|
🎉 This PR is included in version 0.16.5 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves all 5 open Dependabot alerts on
package-lock.json:_.template_.unset/_.omit_.unset/_.omit_.templateChanges
Updated npm overrides in
package.json:The previous override
^4.17.22was not strict enough to force the patched 4.18.0 release. Adding an explicitlodash-esoverride (it was previously implicit vialodash).picomatch ^4.0.4was already in place — Dependabot will close that alert automatically.Regenerated
package-lock.jsonvianpm install.Test plan
npm installsucceeds with new overridesmake test— 349 mock tests passnpm audit— only 2 transitive vulns remain (innode_modules/npm/node_modules/, bundled innpm11.12.1 itself, not actionable from this project)Note
Two additional vulns are reported by
npm auditinsidenode_modules/npm/node_modules/(brace-expansion and picomatch). These are bundled inside thenpmpackage itself (a transitive dep of@semantic-release/npm). They cannot be fixed from this project —npm11.12.1 is the latest version. They are not flagged by Dependabot since they live in a nestednode_modules.