-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
Bugthing that needs fixingthing that needs fixingPriority 2secondary priority issuesecondary priority issueRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release
Description
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
mark-ship-it, pyoor, philippjfr, dsherret, thimpat and 1 more
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingPriority 2secondary priority issuesecondary priority issueRelease 7.xwork is associated with a specific npm 7 releasework is associated with a specific npm 7 release