dify/web/app/components/workflow/utils
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
..
common.ts fix(workflow_run): sequence_number race. (#21228) 2025-06-19 17:53:49 +08:00
data-source.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
debug.ts Fix type error (#27250) 2025-10-22 13:06:15 +08:00
edge.ts Chore/slice workflow utils (#17730) 2025-04-10 10:03:19 +08:00
elk-layout.ts feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
gen-node-meta-data.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
index.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
node-navigation.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
node.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
tool.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
trigger.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
variable.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-entry.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-init.spec.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
workflow-init.ts feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
workflow.ts chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00