chore(client): bump lodash to 4.18.1 in design-system packages#41864
chore(client): bump lodash to 4.18.1 in design-system packages#41864subrata71 wants to merge 2 commits into
Conversation
Update lodash version declarations from >=4.17.21 to ^4.18.1 in root package.json and design-system sub-packages (theming, widgets). The Yarn resolution was already set but Dependabot flagged the declared version range in sub-package manifests. Also update lodash-es from 4.17.21 to ^4.18.1 in root dependencies. Resolves 6 remaining lodash Dependabot alerts.
WalkthroughThe PR updates ChangesLodash dependency upgrade
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
The Yarn resolution for
lodash: 4.18.1was already set inapp/client/package.json, which forces the lockfile version. However, Dependabot still flagged 6 alerts because the design-system sub-packages (theming,widgets) and the rootpackage.jsondeclaredlodash: ">=4.17.21"as a direct dependency — a range that includes vulnerable versions.This PR updates the declared version from
>=4.17.21to^4.18.1in:app/client/package.json(lodash + lodash-es)app/client/packages/design-system/theming/package.jsonapp/client/packages/design-system/widgets/package.jsonThe lockfile is regenerated to reflect the new declarations.
Dependabot Alerts Resolved
app/client/packages/design-system/theming/package.jsonapp/client/packages/design-system/theming/package.jsonapp/client/packages/design-system/theming/package.jsonapp/client/packages/design-system/widgets/package.jsonapp/client/packages/design-system/widgets/package.jsonapp/client/packages/design-system/widgets/package.jsonFixes https://linear.app/appsmith/issue/APP-15271
Slack thread: https://theappsmith.slack.com/archives/C09NG5BJ18S/p1780304878402439
Testing
yarn installcompletes cleanlylodashresolves to4.18.1in the lockfile (forced by existing resolution)/ok-to-test tags="@tag.All"
Communication
Should the DevRel and Backend teams be notified?
Summary by CodeRabbit
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/26931519993
Commit: 4270ef4
Cypress dashboard.
Tags:
@tag.AllSpec:
Thu, 04 Jun 2026 10:32:04 UTC