File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,17 @@ npm-deprecate(1) -- Deprecate a version of a package
10
10
This command will update the npm registry entry for a package, providing
11
11
a deprecation warning to all who attempt to install it.
12
12
13
- It works on version ranges as well as specific versions, so you can do
14
- something like this:
13
+ It works on [ version ranges] ( https://semver.npmjs.com/ ) as well as specific
14
+ versions, so you can do something like this:
15
15
16
16
npm deprecate my-thing@"< 0.2.3" "critical bug fixed in v0.2.3"
17
17
18
18
Note that you must be the package owner to deprecate something. See the
19
19
` owner ` and ` adduser ` help topics.
20
20
21
- To un-deprecate a package, specify an empty string (` "" ` ) for the ` message ` argument.
21
+ To un-deprecate a package, specify an empty string (` "" ` ) for the ` message `
22
+ argument. Note that you must use double quotes with no space between them to
23
+ format an empty string.
22
24
23
25
## SEE ALSO
24
26
You can’t perform that action at this time.
0 commit comments