dify/web/app/components
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
..
app feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
app-sidebar chore: fix type check for i18n (#30058) 2025-12-24 16:31:16 +08:00
apps chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
base feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
billing chore: some test (#30144) 2025-12-25 15:34:24 +08:00
custom chore: some tests for components (#30194) 2025-12-26 14:36:24 +08:00
datasets feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
develop chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
explore feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
goto-anything chore: fix type check for i18n (#30058) 2025-12-24 16:31:16 +08:00
header feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
plugins feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
rag-pipeline feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
share feat: allow config NEXT_PUBLIC_BATCH_CONCURRENCY (#30086) 2025-12-26 10:49:10 +08:00
signin chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
tools feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
workflow feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
workflow-app feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
browser-initializer.spec.ts feat: Add polyfill for Array.prototype.toSpliced method (#30031) 2025-12-23 17:48:20 +08:00
browser-initializer.tsx feat: Add polyfill for Array.prototype.toSpliced method (#30031) 2025-12-23 17:48:20 +08:00
i18n-server.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
i18n.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
react-scan.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
sentry-initializer.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
splash.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
swr-initializer.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
with-i18n.tsx Initial commit 2023-05-15 08:51:32 +08:00