-
-
Notifications
You must be signed in to change notification settings - Fork 956
refactor: use lodash-es instead of lodash #4085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #4085 +/- ##
==========================================
- Coverage 89.30% 89.27% -0.03%
==========================================
Files 517 515 -2
Lines 12187 12181 -6
Branches 3162 3163 +1
==========================================
- Hits 10884 10875 -9
Misses 641 641
- Partials 662 665 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Check with Size Limit, replacing lodash with lodash-es actually increases the volume. |
This pull request focuses on replacing the usage of the
lodash
library withlodash-es
across various files in the codebase. The changes include updating import statements and modifying dependencies in thepackage.json
file.Dependency Updates:
package.json
: Replacedlodash
and its plugins withlodash-es
and updated related type definitions. [1] [2] [3]Codebase Modifications:
lodash-es
instead oflodash
:src/Affix/Affix.tsx
src/Animation/Collapse.tsx
src/Animation/Transition.tsx
src/AutoComplete/AutoComplete.tsx
src/AutoComplete/utils.ts
src/Calendar/CalendarContainer.tsx
[1] [2]src/Calendar/Grid/GridCell.tsx
src/Calendar/Grid/GridHeaderRow.tsx
src/Calendar/TimeDropdown/TimeDropdown.tsx
src/CascadeTree/TreeView.tsx
src/Cascader/Cascader.tsx
[1] [2]src/CheckPicker/CheckPicker.tsx
src/CheckTree/CheckTreeView.tsx
[1] [2]src/CheckTree/hooks/useTreeCheckState.ts
src/CheckTree/utils.ts
src/CheckTreePicker/CheckTreePicker.tsx
src/CheckboxGroup/CheckboxGroup.tsx
src/Col/Col.tsx
Configuration Changes:
babel.config.js
: Removed thelodash
plugin from the Babel configuration.