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 bc265aa

Browse filesBrowse files
npm-cli-botaduh95
authored andcommitted
deps: upgrade npm to 11.12.1
PR-URL: #62448 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 312476c commit bc265aa
Copy full SHA for bc265aa

269 files changed

+976-2,720Lines changed: 976 additions & 2720 deletions

File tree

Expand file treeCollapse file tree
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
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-audit.md
+22Lines changed: 22 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@ The `audit signatures` command will also verify the provenance attestations of d
4444
Because provenance attestations are such a new feature, security features may be added to (or changed in) the attestation format over time.
4545
To ensure that you're always able to verify attestation signatures check that you're running the latest version of the npm CLI. Please note this often means updating npm beyond the version that ships with Node.js.
4646

47+
To include the full sigstore attestation bundles in JSON output, use:
48+
49+
```bash
50+
$ npm audit signatures --json --include-attestations
51+
```
52+
53+
This adds a `verified` array to the JSON output containing the attestation
54+
bundles (DSSE envelopes, verification material, and transparency log entries)
55+
for each verified package.
56+
4757
The npm CLI supports registry signatures and signing keys provided by any registry if the following conventions are followed:
4858

4959
1. Signatures are provided in the package's `packument` in each published version within the `dist` object:
@@ -357,6 +367,18 @@ run any pre- or post-scripts.
357367

358368

359369

370+
#### `include-attestations`
371+
372+
* Default: false
373+
* Type: Boolean
374+
375+
When used with `npm audit signatures --json`, includes the full sigstore
376+
attestation bundles in the JSON output for each verified package. The
377+
bundles contain DSSE envelopes, verification material, and transparency log
378+
entries.
379+
380+
381+
360382
#### `workspace`
361383

362384
* Default:
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
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ of a relative number of days.
281281

282282
This config cannot be used with: `before`
283283

284+
This value is not exported to the environment for child processes.
285+
284286
#### `bin-links`
285287

286288
* Default: true
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
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,8 @@ of a relative number of days.
623623
624624
This config cannot be used with: `before`
625625
626+
This value is not exported to the environment for child processes.
627+
626628
#### `bin-links`
627629
628630
* Default: true
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
@@ -23,7 +23,7 @@ Note that nested packages will *also* show the paths to the specified packages.
2323
For example, running `npm ls promzard` in npm's source tree will show:
2424

2525
```bash
26-
npm@11.11.1 /path/to/npm
26+
npm@11.12.1 /path/to/npm
2727
└─┬ init-package-json@0.0.4
2828
└── promzard@0.1.5
2929
```
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-outdated.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ of a relative number of days.
182182

183183
This config cannot be used with: `before`
184184

185+
This value is not exported to the environment for child processes.
186+
185187
### See Also
186188

187189
* [package spec](/using-npm/package-spec)
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
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ A `package` is interpreted the same way as other commands (like `npm install`) a
5454
* f) a `<name>` that has a "latest" tag satisfying (e)
5555
* g) a `<git remote url>` that resolves to (a)
5656

57+
If either (a) or (b) is specified as a relative path, it should begin with an explicit `./` prefix.
58+
5759
The publish will fail if the package name and version combination already exists in the specified registry.
5860

5961
Once a package is published with a given name and version, that specific name and version combination can never be used again, even if it is removed with [`npm unpublish`](/commands/npm-unpublish).
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-trust.md
-4Lines changed: 0 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ description: Manage trusted publishing relationships between packages and CI/CD
66

77
### Synopsis
88

9-
```bash
10-
11-
```
12-
139
Note: This command is unaware of workspaces.
1410

1511
### Prerequisites
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-update.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ of a relative number of days.
347347

348348
This config cannot be used with: `before`
349349

350+
This value is not exported to the environment for child processes.
351+
350352
#### `bin-links`
351353

352354
* Default: true
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-
11.11.1
17+
11.12.1
1818

1919
### Description
2020

Collapse file

‎deps/npm/docs/content/using-npm/config.md‎

Copy file name to clipboardExpand all lines: deps/npm/docs/content/using-npm/config.md
+14Lines changed: 14 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,18 @@ the order in which omit/include are specified on the command-line.
770770

771771

772772

773+
#### `include-attestations`
774+
775+
* Default: false
776+
* Type: Boolean
777+
778+
When used with `npm audit signatures --json`, includes the full sigstore
779+
attestation bundles in the JSON output for each verified package. The
780+
bundles contain DSSE envelopes, verification material, and transparency log
781+
entries.
782+
783+
784+
773785
#### `include-staged`
774786

775787
* Default: false
@@ -1086,6 +1098,8 @@ of a relative number of days.
10861098

10871099
This config cannot be used with: `before`
10881100

1101+
This value is not exported to the environment for child processes.
1102+
10891103
#### `name`
10901104

10911105
* Default: null

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.