dify/web/app/components/workflow
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
..
__tests__ chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
block-selector feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
constants chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
datasets-detail-store chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
header feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
help-line chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
hooks feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
hooks-store feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
nodes feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
note-node feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
operator chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
panel feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
plugin-dependency chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
run feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
simple-node chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
store chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
utils feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
variable-inspect chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
workflow-preview chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
block-icon.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
candidate-node-main.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
candidate-node.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
constants.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
context.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-connection-line.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-edge-linear-gradient-render.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-edge.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
dsl-export-confirm-modal.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
features.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
index.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
node-contextmenu.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
panel-contextmenu.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
selection-contextmenu.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
shortcuts-name.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
style.css fix: ReactFlow background in dark theme (#20013) 2025-05-21 10:32:07 +08:00
syncing-data-modal.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
types.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
update-dsl-modal.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-history-store.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00