Skip to content

Commit cadc4ed

Browse files
authored
deps: upgrade npm to 11.1.0
PR-URL: #56818 Reviewed-By: Jordan Harband <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 2bd5694 commit cadc4ed

File tree

239 files changed

+2324
-1018
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+2324
-1018
lines changed

deps/npm/README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
# npm - a JavaScript package manager
22

3-
[![npm version](https://img.shields.io/npm/v/npm.svg)](https://npm.im/npm)
4-
[![license](https://img.shields.io/npm/l/npm.svg)](https://npm.im/npm)
5-
[![CI - cli](https://github.com/npm/cli/actions/workflows/ci.yml/badge.svg)](https://github.com/npm/cli/actions/workflows/ci.yml)
6-
[![Benchmark Suite](https://github.com/npm/cli/actions/workflows/benchmark.yml/badge.svg)](https://github.com/npm/cli/actions/workflows/benchmark.yml)
7-
83
### Requirements
94

10-
One of the following versions of [Node.js](https://nodejs.org/en/download/) must be installed to run **`npm`**:
11-
12-
* `18.x.x` >= `18.17.0`
13-
* `20.5.0` or higher
5+
You should be running a currently supported version of [Node.js](https://nodejs.org/en/download/) to run **`npm`**. For a list of which versions of Node.js are currently supported, please see the [Node.js releases](https://nodejs.org/en/about/previous-releases) page.
146

157
### Installation
168

deps/npm/docs/content/commands/npm-deprecate.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,21 @@ password, npm will prompt on the command line for one.
6464

6565

6666

67+
#### `dry-run`
68+
69+
* Default: false
70+
* Type: Boolean
71+
72+
Indicates that you don't want npm to make any changes and that it should
73+
only report what it would have done. This can be passed into any of the
74+
commands that modify your local installation, eg, `install`, `update`,
75+
`dedupe`, `uninstall`, as well as `pack` and `publish`.
76+
77+
Note: This is NOT honored by other network related commands, eg `dist-tags`,
78+
`owner`, etc.
79+
80+
81+
6782
### See Also
6883

6984
* [package spec](/using-npm/package-spec)

deps/npm/docs/content/commands/npm-ls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For
2727
example, running `npm ls promzard` in npm's source tree will show:
2828

2929
```bash
30-
npm@11.0.0 /path/to/npm
30+
npm@11.1.0 /path/to/npm
3131
3232
3333
```
@@ -107,7 +107,7 @@ folder instead of the current working directory. See
107107

108108
#### `depth`
109109

110-
* Default: `Infinity` if `--all` is set, otherwise `1`
110+
* Default: `Infinity` if `--all` is set, otherwise `0`
111111
* Type: null or Number
112112

113113
The depth to go when recursing packages for `npm ls`.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: npm-undeprecate
3+
section: 1
4+
description: Undeprecate a version of a package
5+
---
6+
7+
### Synopsis
8+
9+
```bash
10+
npm undeprecate <package-spec>
11+
```
12+
13+
Note: This command is unaware of workspaces.
14+
15+
### Description
16+
17+
This command will update the npm registry entry for a package, removing any
18+
deprecation warnings that currently exist.
19+
20+
It works in the same way as [npm deprecate](/commands/npm-deprecate), except
21+
that this command removes deprecation warnings instead of adding them.
22+
23+
### Configuration
24+
25+
#### `registry`
26+
27+
* Default: "https://registry.npmjs.org/"
28+
* Type: URL
29+
30+
The base URL of the npm registry.
31+
32+
33+
34+
#### `otp`
35+
36+
* Default: null
37+
* Type: null or String
38+
39+
This is a one-time password from a two-factor authenticator. It's needed
40+
when publishing or changing package permissions with `npm access`.
41+
42+
If not set, and a registry response fails with a challenge for a one-time
43+
password, npm will prompt on the command line for one.
44+
45+
46+
47+
#### `dry-run`
48+
49+
* Default: false
50+
* Type: Boolean
51+
52+
Indicates that you don't want npm to make any changes and that it should
53+
only report what it would have done. This can be passed into any of the
54+
commands that modify your local installation, eg, `install`, `update`,
55+
`dedupe`, `uninstall`, as well as `pack` and `publish`.
56+
57+
Note: This is NOT honored by other network related commands, eg `dist-tags`,
58+
`owner`, etc.
59+
60+
61+
### See Also
62+
63+
* [npm deprecate](/commands/npm-deprecate)

deps/npm/docs/content/commands/npm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
1414

1515
### Version
1616

17-
11.0.0
17+
11.1.0
1818

1919
### Description
2020

0 commit comments

Comments
 (0)