[PR #30126] chore(web): migrate lodash-es to es-toolkit compat #32694

Closed
opened 2026-02-21 20:51:54 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/30126

State: closed
Merged: Yes


Summary

  • Migrate web imports from lodash-es to es-toolkit/compat
  • Add es-toolkit as a dependency and remove lodash-es and @types/lodash-es from direct dependencies
  • Align retrieval model callbacks with model parameter modal types

Testing

  • pnpm type-check:tsgo

Fixes

**Original Pull Request:** https://github.com/langgenius/dify/pull/30126 **State:** closed **Merged:** Yes --- ## Summary * Migrate web imports from `lodash-es` to `es-toolkit/compat` * Add `es-toolkit` as a dependency and remove `lodash-es` and `@types/lodash-es` from direct dependencies * Align retrieval model callbacks with model parameter modal types ## Testing * `pnpm type-check:tsgo` ## Fixes * Fixes #30125
yindo added the pull-request label 2026-02-21 20:51:54 -05:00
yindo closed this issue 2026-02-21 20:51:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#32694