如果你安装了一个包,并且它会打印一条弃用消息,我们建议你尽可能按照说明进行操作。

If you install a package, and it prints a deprecation message, we recommend following the instructions, if possible.

这可能意味着更新到新版本,或更新你的包依赖。

That might mean updating to a new version, or updating your package dependencies.

Screenshot of a deprecated package showing that it is no longer supported

弃用消息并不总是意味着包或版本不可用;这可能意味着该软件包已无人维护,发布者将不再对其进行更新。

A deprecation message doesn't always mean the package or version is unusable; it may mean the package is unmaintained and will no longer be updated by the publisher.

npm 中文网 - 粤ICP备13048890号