-
Notifications
You must be signed in to change notification settings - Fork 30.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b2a966
commit 303165d
Showing
239 changed files
with
2,324 additions
and
1,018 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For | |
example, running `npm ls promzard` in npm's source tree will show: | ||
|
||
```bash | ||
npm@11.0.0 /path/to/npm | ||
npm@11.1.0 /path/to/npm | ||
└─┬ [email protected] | ||
└── [email protected] | ||
``` | ||
|
@@ -107,7 +107,7 @@ folder instead of the current working directory. See | |
|
||
#### `depth` | ||
|
||
* Default: `Infinity` if `--all` is set, otherwise `1` | ||
* Default: `Infinity` if `--all` is set, otherwise `0` | ||
* Type: null or Number | ||
|
||
The depth to go when recursing packages for `npm ls`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
title: npm-undeprecate | ||
section: 1 | ||
description: Undeprecate a version of a package | ||
--- | ||
|
||
### Synopsis | ||
|
||
```bash | ||
npm undeprecate <package-spec> | ||
``` | ||
|
||
Note: This command is unaware of workspaces. | ||
|
||
### Description | ||
|
||
This command will update the npm registry entry for a package, removing any | ||
deprecation warnings that currently exist. | ||
|
||
It works in the same way as [npm deprecate](/commands/npm-deprecate), except | ||
that this command removes deprecation warnings instead of adding them. | ||
|
||
### Configuration | ||
|
||
#### `registry` | ||
|
||
* Default: "https://registry.npmjs.org/" | ||
* Type: URL | ||
|
||
The base URL of the npm registry. | ||
|
||
|
||
|
||
#### `otp` | ||
|
||
* Default: null | ||
* Type: null or String | ||
|
||
This is a one-time password from a two-factor authenticator. It's needed | ||
when publishing or changing package permissions with `npm access`. | ||
|
||
If not set, and a registry response fails with a challenge for a one-time | ||
password, npm will prompt on the command line for one. | ||
|
||
|
||
|
||
#### `dry-run` | ||
|
||
* Default: false | ||
* Type: Boolean | ||
|
||
Indicates that you don't want npm to make any changes and that it should | ||
only report what it would have done. This can be passed into any of the | ||
commands that modify your local installation, eg, `install`, `update`, | ||
`dedupe`, `uninstall`, as well as `pack` and `publish`. | ||
|
||
Note: This is NOT honored by other network related commands, eg `dist-tags`, | ||
`owner`, etc. | ||
|
||
|
||
### See Also | ||
|
||
* [npm deprecate](/commands/npm-deprecate) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces. | |
|
||
### Version | ||
|
||
11.0.0 | ||
11.1.0 | ||
|
||
### Description | ||
|
||
|
Oops, something went wrong.