Skip to content
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

♻️ cleanup: replace omit.js & remove some duplicate util #8965

Merged
merged 8 commits into from
Jan 16, 2025

Conversation

Wxh16144
Copy link
Member

@Wxh16144 Wxh16144 commented Jan 9, 2025

background: #8931

在 8931 中讨论到用 es-toolkit 替换 lodash-es, 全文搜索了一下发现没多少地方调用,所以将部分方法进行移除

  1. rc-util/lib/omit 替换 omit.js 依赖 - 718fa12
  2. 部分 lodash/mergerc-util/lib/utils/set 代替 - b4752e6
  3. 参考 es-toolkit 的 toNumber 实现,替换掉 lodash/toNumber - 24fa2d1

以上~

Copy link

github-actions bot commented Jan 9, 2025

😭 Deploy PR Preview failed.

Copy link

socket-security bot commented Jan 9, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@octokit/[email protected] None +5 3.92 MB octokitbot
npm/@testing-library/[email protected] environment +4 2.71 MB testing-library-bot
npm/@testing-library/[email protected] None +4 698 kB testing-library-bot
npm/@testing-library/[email protected] None 0 138 kB testing-library-bot
npm/@testing-library/[email protected] environment 0 329 kB testing-library-bot
npm/@testing-library/[email protected] None 0 435 kB testing-library-bot
npm/@types/[email protected] None 0 22.1 kB types
npm/@types/[email protected] None +1 19.2 kB types
npm/@types/[email protected] None 0 11.2 kB types
npm/@types/[email protected] None +1 35.4 kB types
npm/@types/[email protected] None 0 71.9 kB types
npm/@types/[email protected] None 0 868 kB types
npm/@types/[email protected] None 0 868 kB types
npm/@types/[email protected] None 0 9.95 kB types
npm/@types/[email protected] None 0 1.61 MB types
npm/@types/[email protected] None +1 22.7 kB types
npm/@types/[email protected] None 0 37.9 kB types
npm/@types/[email protected] None 0 6.15 kB types
npm/@types/[email protected] None 0 6.08 kB types
npm/@types/[email protected] None +1 447 kB types
npm/@types/[email protected] None 0 3.87 kB types
npm/@types/[email protected] None 0 2.71 kB types
npm/@umijs/[email protected] Transitive: environment, filesystem +11 34.8 MB peachscript
npm/@umijs/[email protected] filesystem, shell 0 13 kB chenshuai2144
npm/@umijs/[email protected] environment, filesystem Transitive: unsafe +27 8.75 MB chenshuai2144
npm/@umijs/[email protected] environment 0 10.4 kB kuitos
npm/@umijs/[email protected] None 0 150 kB chenshuai2144
npm/@umijs/[email protected] filesystem 0 6.06 kB peachscript
npm/@umijs/[email protected] environment, filesystem Transitive: eval, shell, unsafe +62 42.5 MB peachscript
npm/@umijs/[email protected] None 0 18.6 kB chenshuai2144
npm/@umijs/[email protected] environment, eval, filesystem, network, shell, unsafe +3 11.6 MB xusd320
npm/@vitest/[email protected] None +1 30.8 kB vitestbot
npm/[email protected] None 0 42.2 kB stanko
npm/[email protected] environment +4 216 kB arvinxx
npm/[email protected] Transitive: environment +10 49.2 MB afc163, chenshuai2144, madccc, ...3 more
npm/[email protected] filesystem 0 38.8 kB nicolo-ribaudo
npm/[email protected] None +1 187 kB hzoo
npm/[email protected] None 0 309 kB gka
npm/[email protected] None 0 23.6 kB jedwatson

🚮 Removed packages: npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

pkg-pr-new bot commented Jan 9, 2025

@ant-design/pro-card

npm i https://pkg.pr.new/@ant-design/pro-card@8965

@ant-design/pro-components

npm i https://pkg.pr.new/@ant-design/pro-components@8965

@ant-design/pro-field

npm i https://pkg.pr.new/@ant-design/pro-field@8965

@ant-design/pro-form

npm i https://pkg.pr.new/@ant-design/pro-form@8965

@ant-design/pro-descriptions

npm i https://pkg.pr.new/@ant-design/pro-descriptions@8965

@ant-design/pro-layout

npm i https://pkg.pr.new/@ant-design/pro-layout@8965

@ant-design/pro-list

npm i https://pkg.pr.new/@ant-design/pro-list@8965

@ant-design/pro-provider

npm i https://pkg.pr.new/@ant-design/pro-provider@8965

@ant-design/pro-skeleton

npm i https://pkg.pr.new/@ant-design/pro-skeleton@8965

@ant-design/pro-table

npm i https://pkg.pr.new/@ant-design/pro-table@8965

@ant-design/pro-utils

npm i https://pkg.pr.new/@ant-design/pro-utils@8965

commit: e8ba387

@Wxh16144

This comment was marked as outdated.

@chenshuai2144 chenshuai2144 merged commit 66490ba into ant-design:master Jan 16, 2025
12 checks passed
and others added 2 commits October 1, 2049 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants