npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

blacklisting a package version so that the version is avoided

I am basically wondering how to tell NPM to blacklist a version?

Also, please create a tag for “semver”, there is no tag for it.


npm deprecate covers a historical version when you discover problem later:

npm deprecate <pkg>[@<version>] <message>

This command will update the npm registry entry for a package, providing a deprecation warning to all who attempt to install it.


If it was only just published (72 hours) then there is also:

npm unpublish [<@scope>/]<pkg>[@<version>]

This removes a package version from the registry, deleting its entry and removing the tarball.