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

[BUG] npm-deprecate doesn't allow to undeprecate packages anymore #2730

Closed
jantimon opened this issue Feb 19, 2021 · 0 comments
Closed

[BUG] npm-deprecate doesn't allow to undeprecate packages anymore #2730

jantimon opened this issue Feb 19, 2021 · 0 comments
Labels
Bug thing that needs fixing Priority 2 secondary priority issue Release 7.x work is associated with a specific npm 7 release

Comments

@jantimon
Copy link

Current Behavior:

npm deprecate my-package@"4.0.1" ""
npm ERR! 
npm ERR! Usage: npm deprecate <pkg>[@<version>] <message>

Expected Behavior:

I would expect it to work similiar to npm@6 as according the documentation passing an empty string is still allowed.

from https://docs.npmjs.com/cli/v7/commands/npm-deprecate

To un-deprecate a package, specify an empty string ("") for the message argument. Note that you must use double quotes with no space between them to format an empty string.

Steps To Reproduce:

npm deprecate my-package@"4.0.1" ""

Environment:

  • OS: OS-X 11.1
  • node: 15.9.0
    -npm 7.5.3
@jantimon jantimon added Bug thing that needs fixing Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release labels Feb 19, 2021
@darcyclarke darcyclarke removed the Needs Triage needs review for next steps label Feb 19, 2021
@darcyclarke darcyclarke added this to the OSS - Sprint 24 milestone Feb 19, 2021
@darcyclarke darcyclarke added the Priority 2 secondary priority issue label Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Priority 2 secondary priority issue Release 7.x work is associated with a specific npm 7 release
Projects
None yet
Development

No branches or pull requests

3 participants