dify/web/app/components/workflow-app/hooks
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
..
index.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-DSL.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-auto-onboarding.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
use-available-nodes-meta-data.ts chore: fix type check for i18n (#30058) 2025-12-24 16:31:16 +08:00
use-configs-map.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-get-run-and-trace-url.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
use-inspect-vars-crud.ts feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
use-is-chat-mode.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
use-nodes-sync-draft.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-workflow-init.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-workflow-refresh-draft.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-workflow-run.ts feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
use-workflow-start-run.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
use-workflow-template.ts chore: fix type check for i18n (#30058) 2025-12-24 16:31:16 +08:00