Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c8876d7

Browse filesBrowse files
npm-cli-botrichardlau
authored andcommitted
deps: upgrade npm to 10.3.0
PR-URL: #51431 Reviewed-By: Luke Karrys <luke@lukekarrys.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent 8fdea67 commit c8876d7
Copy full SHA for c8876d7

File tree

Expand file treeCollapse file tree

290 files changed

+1856
-17295
lines changed
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

290 files changed

+1856
-17295
lines changed
Open diff view settings
Collapse file

‎deps/npm/docs/README.md‎

Copy file name to clipboardExpand all lines: deps/npm/docs/README.md
-5Lines changed: 0 additions & 5 deletions
This file was deleted.
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-install-test.md
+10Lines changed: 10 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
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:
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-install.md
+10Lines changed: 10 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
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:
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-ls.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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
└─┬ init-package-json@0.0.4
3232
└── promzard@0.1.5
3333
```
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-publish.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-sbom.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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

Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-unpublish.md
+6-2Lines changed: 6 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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,
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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

Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npx.md
+2-1Lines changed: 2 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
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.
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/configuring-npm/npmrc.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.