dify/web/app/components/base/prompt-editor/plugins
yyh f05d43d26f
feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244)
Migrate 172 files from es-toolkit/compat to native es-toolkit.

Migrated:
- noop → es-toolkit/function
- cloneDeep, omit, clone, pick → es-toolkit/object
- uniq, intersection → es-toolkit/array
- capitalize, camelCase, kebabCase, escape → es-toolkit/string
- isEqual → es-toolkit/predicate

Kept in compat (API differences):
- uniqueId, isEmpty
- get, merge, flow, curry, debounce - different APIs
- uniqBy, groupBy, intersectionBy - property string support
- flatten - undefined handling

Benefits: 2-3x faster, smaller bundle

Part of #30243
Fixes #30244
2025-12-27 20:31:22 +08:00
..
component-picker-block chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
context-block feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
current-block chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-text feat: the frontend part of mcp (#22131) 2025-07-10 14:14:02 +08:00
error-message-block chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
history-block feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
last-run-block chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
query-block chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
variable-block chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
variable-value-block chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-variable-block chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
on-blur-or-focus-block.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
placeholder.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
tree-view.tsx feat: advanced prompt (#1330) 2023-10-12 23:14:28 +08:00
update-block.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00