dify/web/app/components/base/features/new-feature-panel
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
..
annotation-reply chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
conversation-opener feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
file-upload chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
image-upload chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
moderation feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
text-to-speech chore: fix type check for i18n (#30058) 2025-12-24 16:31:16 +08:00
citation.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
dialog-wrapper.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
feature-bar.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
feature-card.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
follow-up.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
index.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
more-like-this.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
speech-to-text.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00