Skip to content

Commit c8876d7

Browse files
npm-cli-botrichardlau
authored andcommitted
deps: upgrade npm to 10.3.0
PR-URL: #51431 Reviewed-By: Luke Karrys <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Marco Ippolito <[email protected]>
1 parent 8fdea67 commit c8876d7

File tree

290 files changed

+1856
-17295
lines changed

Some content is hidden

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

290 files changed

+1856
-17295
lines changed

deps/npm/docs/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

deps/npm/docs/content/commands/npm-install-test.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,16 @@ field of package.json, which comes from `process.platform`.
290290

291291

292292

293+
#### `libc`
294+
295+
* Default: null
296+
* Type: null or String
297+
298+
Override libc of native modules to install. Acceptable values are same as
299+
`libc` field of package.json
300+
301+
302+
293303
#### `workspace`
294304

295305
* Default:

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,16 @@ field of package.json, which comes from `process.platform`.
680680
681681
682682
683+
#### `libc`
684+
685+
* Default: null
686+
* Type: null or String
687+
688+
Override libc of native modules to install. Acceptable values are same as
689+
`libc` field of package.json
690+
691+
692+
683693
#### `workspace`
684694
685695
* Default:

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

Lines changed: 1 addition & 1 deletion
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@10.2.4 /path/to/npm
30+
npm@10.3.0 /path/to/npm
3131
3232
3333
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ scope-configured registry (see
2222

2323

2424
A `package` is interpreted the same way as other commands (like
25-
`npm install` and can be:
25+
`npm install`) and can be:
2626

2727
* a) a folder containing a program described by a
2828
[`package.json`](/configuring-npm/package-json) file

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ SBOM format to use when generating SBOMs.
266266
* Type: "library", "application", or "framework"
267267

268268
The type of package described by the generated SBOM. For SPDX, this is the
269-
value for the `primaryPackagePurpose` fieled. For CycloneDX, this is the
269+
value for the `primaryPackagePurpose` field. For CycloneDX, this is the
270270
value for the `type` field.
271271

272272

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@ removing the tarball.
2727
The npm registry will return an error if you are not [logged
2828
in](/commands/npm-adduser).
2929

30-
If you do not specify a version or if you remove all of a package's
31-
versions then the registry will remove the root package entry entirely.
30+
If you do not specify a package name at all, the name and version to be
31+
unpublished will be pulled from the project in the current directory.
32+
33+
If you specify a package name but do not specify a version or if you
34+
remove all of a package's versions then the registry will remove the
35+
root package entry entirely.
3236

3337
Even if you unpublish a package version, that specific name and version
3438
combination can never be reused. In order to publish the package again,

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-
10.2.4
17+
10.3.0
1818

1919
### Description
2020

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ This resulted in some shifts in its functionality:
150150
always present in the executed process `PATH`.
151151
- The `--npm` option is removed. `npx` will always use the `npm` it ships
152152
with.
153-
- The `--node-arg` and `-n` options are removed.
153+
- The `--node-arg` and `-n` options have been removed. Use [`NODE_OPTIONS`](https://nodejs.org/api/cli.html#node_optionsoptions) instead: e.g.,
154+
`NODE_OPTIONS="--trace-warnings --trace-exit" npx foo --random=true`
154155
- The `--always-spawn` option is redundant, and thus removed.
155156
- The `--shell` option is replaced with `--script-shell`, but maintained
156157
in the `npx` executable for backwards compatibility.

deps/npm/docs/content/configuring-npm/npmrc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ For a list of available configuration options, see
1919

2020
The four relevant files are:
2121

22-
* per-project config file (/path/to/my/project/.npmrc)
23-
* per-user config file (~/.npmrc)
24-
* global config file ($PREFIX/etc/npmrc)
25-
* npm builtin config file (/path/to/npm/npmrc)
22+
* per-project config file (`/path/to/my/project/.npmrc`)
23+
* per-user config file (`~/.npmrc`)
24+
* global config file (`$PREFIX/etc/npmrc`)
25+
* npm builtin config file (`/path/to/npm/npmrc`)
2626

2727
All npm config files are an ini-formatted list of `key = value` parameters.
2828
Environment variables can be replaced using `${VARIABLE_NAME}`. For

0 commit comments

Comments
 (0)