Renovate now supports raising issues to warn a repository if it is using any deprecated npm packages. A common cause of this is simply that a package has been renamed (e.g. from coffee-script to coffeescript) however users are often not aware of this. If users are not aware, they remain on the old package name and without the benefits of new features and bug fixes in the new one.

Now, Renovate will by default raise a warning issue whenever it detects that the version tagged as latest on the npm registry has its deprecated field set. Usually this is a message suggesting alternative packages to use.

deprecation warning

It is important that you resolve this problem (e.g. by renaming or removing the package) before closing this issue, because otherwise Renovate will raise a replacement issue the next time it runs. If you wish to ignore a particular dependency’s deprecation then you can add it to your ignorDeps array in config. e.g.

{
  "ignoreDeps": ["coffee-script"]
}

If you wish to disable deprecation warnings completely, then set raiseDeprecationWarnings to false instead.

Thanks go to Hutson Betts for suggesting the feature.

Rhys Arkins

Rhys Arkins, creator of Renovate