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

由于本项目的依赖有点旧,让项目安装依赖的时候出现少量 deprecated #959

Open
AkaraChen opened this issue Oct 15, 2023 · 0 comments

Comments

@AkaraChen
Copy link
Member

AkaraChen commented Oct 15, 2023

WARN  deprecated @formatjs/intl-utils@2.3.0: the package is rather renamed to @formatjs/ecma-abstract with some changes in functionality (primarily selectUnit is removed and we don't plan to make any further changes to this package
 WARN  deprecated intl-messageformat-parser@3.6.4: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
 WARN  deprecated @formatjs/intl-unified-numberformat@3.3.7: We have renamed the package to @formatjs/intl-numberformat
 WARN  deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
 WARN  deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.

经排查,主要需要升级的 package 主要有这些:

  1. react-intl,其底层依赖的 @formatjs/intl-utils@2.3.0 intl-messageformat-parser@3.6.4 改名了,所以原 package deprecated。
  2. styled-component,它依赖了 @babel/plugin-proposal-class-properties,现在项目内的 styled-component 还是 6.x 的 beta 版,看起来需要升级。

虽然这些信息并没有影响,但是我有点洁癖看着有些不爽,我愿意 PR 来解决这些问题。

@AkaraChen AkaraChen changed the title 由于本项目的依赖过旧,让 ant-design-pro 模板的项目安装依赖的时候出现大量 deprecated 由于本项目的依赖有点旧,让 ant-design-pro 模板的项目安装依赖的时候出现少量 deprecated Oct 15, 2023
@AkaraChen AkaraChen changed the title 由于本项目的依赖有点旧,让 ant-design-pro 模板的项目安装依赖的时候出现少量 deprecated 由于本项目的依赖有点旧,让项目安装依赖的时候出现少量 deprecated Oct 15, 2023
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

No branches or pull requests

1 participant