dify/web/app/components/workflow/nodes
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
..
_base feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
agent chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
answer chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
assigner feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
code chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
data-source chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
data-source-empty chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
document-extractor chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
end chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
http chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
if-else feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
iteration feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
iteration-start chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
knowledge-base chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
knowledge-retrieval feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
list-operator chore: fix type check for i18n (#30058) 2025-12-24 16:31:16 +08:00
llm feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
loop feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
loop-end chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
loop-start chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
parameter-extractor feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
question-classifier feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
start feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
template-transform chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
tool feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
trigger-plugin feat: add editing support for trigger subscriptions (#29957) 2025-12-24 19:15:54 +08:00
trigger-schedule chore: fix type check for i18n (#30058) 2025-12-24 16:31:16 +08:00
trigger-webhook chore: fix type check for i18n (#30058) 2025-12-24 16:31:16 +08:00
variable-assigner feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
components.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
constants.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
index.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
utils.ts fix: element of Array[string] and Array[number] and size attribution (#23074) 2025-07-30 15:21:50 +08:00