You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mostly grammar fixes, also adds not about needing to
be logged in, as per comment in #1880
PR-URL: #2474
Credit: @wraithgarClose: #2474
Reviewed-by: @darcyclarke
Consider using the `deprecate` command instead, if your intent is to encourage users to upgrade, or if you no longer want to maintain a package.
27
+
Consider using the [`deprecate`](/commands/npm-deprecate) command instead,
28
+
if your intent is to encourage users to upgrade, or if you no longer
29
+
want to maintain a package.
24
30
25
31
### Description
26
32
27
-
This removes a package version from the registry, deleting its
28
-
entry and removing the tarball.
29
-
30
-
If no version is specified, or if all versions are removed then
31
-
the root package entry is removed from the registry entirely.
33
+
This removes a package version from the registry, deleting its entry and
34
+
removing the tarball.
32
35
33
-
Even if a package version is unpublished, that specific name and
34
-
version combination can never be reused. In order to publish the
35
-
package again, a new version number must be used. If you unpublish the entire package, you may not publish any new versions of that package until 24 hours have passed.
36
+
The npm registry will return an error if you are not [logged
37
+
in](/commands/npm-login).
36
38
37
-
To learn more about how unpublish is treated on the npm registry, see our <ahref="https://www.npmjs.com/policies/unpublish"target="_blank"rel="noopener noreferrer"> unpublish policies</a>.
39
+
If you do not specify a version or if you remove all of a package's
40
+
versions then the registry will remove the root package entry entirely.
38
41
42
+
Even if you unpublish a package version, that specific name and version
43
+
combination can never be reused. In order to publish the package again,
44
+
you must use a new version number. If you unpublish the entire package,
45
+
you may not publish any new versions of that package until 24 hours have
46
+
passed.
39
47
40
48
### See Also
41
49
@@ -44,3 +52,4 @@ To learn more about how unpublish is treated on the npm registry, see our <a hre
0 commit comments