plugins
plugins copied to clipboard
由于本项目的依赖有点旧,让项目安装依赖的时候出现少量 deprecated
WARN deprecated @formatjs/[email protected]: 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 [email protected]: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
WARN deprecated @formatjs/[email protected]: We have renamed the package to @formatjs/intl-numberformat
WARN deprecated @babel/[email protected]: 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/[email protected]: 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 主要有这些:
-
react-intl,其底层依赖的@formatjs/[email protected][email protected]改名了,所以原 package deprecated。 -
styled-component,它依赖了@babel/plugin-proposal-class-properties,现在项目内的 styled-component 还是 6.x 的 beta 版,看起来需要升级。
虽然这些信息并没有影响,但是我有点洁癖看着有些不爽,我愿意 PR 来解决这些问题。