Skip to content

Commit aff4849

Browse files
author
Mitch Denny
committed
Run npm run snap
1 parent 0afd822 commit aff4849

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

tap-snapshots/test/lib/commands/config.js.test.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ exports[`test/lib/commands/config.js TAP config list --json > output matches sna
7272
"include": [],
7373
"include-staged": false,
7474
"include-workspace-root": false,
75+
"include-attestations": false,
7576
"init-author-email": "",
7677
"init-author-name": "",
7778
"init-author-url": "",
@@ -248,6 +249,7 @@ https-proxy = null
248249
if-present = false
249250
ignore-scripts = false
250251
include = []
252+
include-attestations = false
251253
include-staged = false
252254
include-workspace-root = false
253255
init-author-email = ""

tap-snapshots/test/lib/docs.js.test.cjs

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,18 @@ the order in which omit/include are specified on the command-line.
821821
822822
823823
824+
#### \`include-attestations\`
825+
826+
* Default: false
827+
* Type: Boolean
828+
829+
When used with \`npm audit signatures --json\`, includes the full sigstore
830+
attestation bundles in the JSON output for each verified package. The
831+
bundles contain DSSE envelopes, verification material, and transparency log
832+
entries.
833+
834+
835+
824836
#### \`include-staged\`
825837
826838
* Default: false
@@ -2302,6 +2314,7 @@ Array [
23022314
"include",
23032315
"include-staged",
23042316
"include-workspace-root",
2317+
"include-attestations",
23052318
"init-author-email",
23062319
"init-author-name",
23072320
"init-author-url",
@@ -2476,6 +2489,7 @@ Array [
24762489
"include",
24772490
"include-staged",
24782491
"include-workspace-root",
2492+
"include-attestations",
24792493
"init-private",
24802494
"install-links",
24812495
"install-strategy",
@@ -2643,6 +2657,7 @@ Object {
26432657
"httpsProxy": null,
26442658
"ifPresent": false,
26452659
"ignoreScripts": false,
2660+
"includeAttestations": false,
26462661
"includeStaged": false,
26472662
"includeWorkspaceRoot": false,
26482663
"initPrivate": false,
@@ -2869,7 +2884,7 @@ Options:
28692884
[--json] [--package-lock-only] [--no-package-lock]
28702885
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
28712886
[--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
2872-
[--foreground-scripts] [--ignore-scripts]
2887+
[--foreground-scripts] [--ignore-scripts] [--include-attestations]
28732888
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
28742889
[--workspaces] [--include-workspace-root] [--install-links]
28752890
@@ -2903,6 +2918,9 @@ Options:
29032918
--ignore-scripts
29042919
If true, npm does not run scripts specified in package.json files.
29052920
2921+
--include-attestations
2922+
When used with \`npm audit signatures --json\`, includes the full
2923+
29062924
-w|--workspace
29072925
Enable running a command in the context of the configured workspaces of the
29082926
@@ -2932,6 +2950,7 @@ npm audit [fix|signatures]
29322950
#### \`include\`
29332951
#### \`foreground-scripts\`
29342952
#### \`ignore-scripts\`
2953+
#### \`include-attestations\`
29352954
#### \`workspace\`
29362955
#### \`workspaces\`
29372956
#### \`include-workspace-root\`

0 commit comments

Comments
 (0)