Skip to content

Commit e30ad0b

Browse files
committed
updates snapshots
1 parent 45b44cf commit e30ad0b

37 files changed

+1503
-1913
lines changed

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

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Make sure to inspect the output below. Do not ignore changes!
66
*/
77
'use strict'
8-
exports[`test/lib/commands/audit.js TAP audit fix - bulk endpoint > lockfile has [email protected] 1`] = `
8+
exports[`test/lib/commands/audit.js > TAP > audit fix - bulk endpoint > lockfile has [email protected] 1`] = `
99
{
1010
"name": "test-dep",
1111
"version": "1.0.0",
@@ -34,20 +34,20 @@ exports[`test/lib/commands/audit.js TAP audit fix - bulk endpoint > lockfile has
3434
3535
`
3636

37-
exports[`test/lib/commands/audit.js TAP audit fix - bulk endpoint > must match snapshot 1`] = `
37+
exports[`test/lib/commands/audit.js > TAP > audit fix - bulk endpoint > must match snapshot 1`] = `
3838
3939
added 1 package, and audited 2 packages in xxx
4040
4141
found 0 vulnerabilities
4242
`
4343

44-
exports[`test/lib/commands/audit.js TAP audit signatures ignores optional dependencies > must match snapshot 1`] = `
44+
exports[`test/lib/commands/audit.js > TAP > audit signatures > ignores optional dependencies > must match snapshot 1`] = `
4545
audited 1 package in xxx
4646
4747
1 package has a verified registry signature
4848
`
4949

50-
exports[`test/lib/commands/audit.js TAP audit signatures json output with invalid and missing signatures > must match snapshot 1`] = `
50+
exports[`test/lib/commands/audit.js > TAP > audit signatures > json output with invalid and missing signatures > must match snapshot 1`] = `
5151
{
5252
"invalid": [
5353
{
@@ -76,7 +76,7 @@ exports[`test/lib/commands/audit.js TAP audit signatures json output with invali
7676
}
7777
`
7878

79-
exports[`test/lib/commands/audit.js TAP audit signatures json output with invalid attestations > must match snapshot 1`] = `
79+
exports[`test/lib/commands/audit.js > TAP > audit signatures > json output with invalid attestations > must match snapshot 1`] = `
8080
{
8181
"invalid": [
8282
{
@@ -98,7 +98,7 @@ exports[`test/lib/commands/audit.js TAP audit signatures json output with invali
9898
}
9999
`
100100

101-
exports[`test/lib/commands/audit.js TAP audit signatures json output with invalid signatures > must match snapshot 1`] = `
101+
exports[`test/lib/commands/audit.js > TAP > audit signatures > json output with invalid signatures > must match snapshot 1`] = `
102102
{
103103
"invalid": [
104104
{
@@ -119,34 +119,34 @@ exports[`test/lib/commands/audit.js TAP audit signatures json output with invali
119119
}
120120
`
121121

122-
exports[`test/lib/commands/audit.js TAP audit signatures json output with valid signatures > must match snapshot 1`] = `
122+
exports[`test/lib/commands/audit.js > TAP > audit signatures > json output with valid signatures > must match snapshot 1`] = `
123123
{
124124
"invalid": [],
125125
"missing": []
126126
}
127127
`
128128

129-
exports[`test/lib/commands/audit.js TAP audit signatures multiple registries with keys and signatures > must match snapshot 1`] = `
129+
exports[`test/lib/commands/audit.js > TAP > audit signatures > multiple registries with keys and signatures > must match snapshot 1`] = `
130130
audited 2 packages in xxx
131131
132132
2 packages have verified registry signatures
133133
`
134134

135-
exports[`test/lib/commands/audit.js TAP audit signatures omit dev dependencies with missing signature > must match snapshot 1`] = `
135+
exports[`test/lib/commands/audit.js > TAP > audit signatures > omit dev dependencies with missing signature > must match snapshot 1`] = `
136136
audited 1 package in xxx
137137
138138
1 package has a verified registry signature
139139
`
140140

141-
exports[`test/lib/commands/audit.js TAP audit signatures output details about missing signatures > must match snapshot 1`] = `
141+
exports[`test/lib/commands/audit.js > TAP > audit signatures > output details about missing signatures > must match snapshot 1`] = `
142142
audited 1 package in xxx
143143
144144
1 package has a missing registry signature but the registry is providing signing keys:
145145
146146
[email protected] (https://registry.npmjs.org/)
147147
`
148148

149-
exports[`test/lib/commands/audit.js TAP audit signatures third-party registry with invalid signatures errors > must match snapshot 1`] = `
149+
exports[`test/lib/commands/audit.js > TAP > audit signatures > third-party registry with invalid signatures errors > must match snapshot 1`] = `
150150
audited 1 package in xxx
151151
152152
1 package has an invalid registry signature:
@@ -156,33 +156,33 @@ audited 1 package in xxx
156156
Someone might have tampered with this package since it was published on the registry!
157157
`
158158

159-
exports[`test/lib/commands/audit.js TAP audit signatures third-party registry with keys and missing signatures errors > must match snapshot 1`] = `
159+
exports[`test/lib/commands/audit.js > TAP > audit signatures > third-party registry with keys and missing signatures errors > must match snapshot 1`] = `
160160
audited 1 package in xxx
161161
162162
1 package has a missing registry signature but the registry is providing signing keys:
163163
164164
@npmcli/[email protected] (https://verdaccio-clone.org/)
165165
`
166166

167-
exports[`test/lib/commands/audit.js TAP audit signatures third-party registry with keys and signatures > must match snapshot 1`] = `
167+
exports[`test/lib/commands/audit.js > TAP > audit signatures > third-party registry with keys and signatures > must match snapshot 1`] = `
168168
audited 1 package in xxx
169169
170170
1 package has a verified registry signature
171171
`
172172

173-
exports[`test/lib/commands/audit.js TAP audit signatures third-party registry with sub-path (trailing slash) > must match snapshot 1`] = `
173+
exports[`test/lib/commands/audit.js > TAP > audit signatures > third-party registry with sub-path (trailing slash) > must match snapshot 1`] = `
174174
audited 1 package in xxx
175175
176176
1 package has a verified registry signature
177177
`
178178

179-
exports[`test/lib/commands/audit.js TAP audit signatures third-party registry with sub-path > must match snapshot 1`] = `
179+
exports[`test/lib/commands/audit.js > TAP > audit signatures > third-party registry with sub-path > must match snapshot 1`] = `
180180
audited 1 package in xxx
181181
182182
1 package has a verified registry signature
183183
`
184184

185-
exports[`test/lib/commands/audit.js TAP audit signatures with both invalid and missing signatures > must match snapshot 1`] = `
185+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with both invalid and missing signatures > must match snapshot 1`] = `
186186
audited 2 packages in xxx
187187
188188
1 package has a missing registry signature but the registry is providing signing keys:
@@ -196,13 +196,13 @@ [email protected] (https://registry.npmjs.org/)
196196
Someone might have tampered with this package since it was published on the registry!
197197
`
198198

199-
exports[`test/lib/commands/audit.js TAP audit signatures with bundled and peer deps and no signatures > must match snapshot 1`] = `
199+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with bundled and peer deps and no signatures > must match snapshot 1`] = `
200200
audited 1 package in xxx
201201
202202
1 package has a verified registry signature
203203
`
204204

205-
exports[`test/lib/commands/audit.js TAP audit signatures with invalid attestations > must match snapshot 1`] = `
205+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with invalid attestations > must match snapshot 1`] = `
206206
audited 1 package in xxx
207207
208208
1 package has an invalid attestation:
@@ -212,7 +212,7 @@ [email protected] (https://registry.npmjs.org/)
212212
Someone might have tampered with this package since it was published on the registry!
213213
`
214214

215-
exports[`test/lib/commands/audit.js TAP audit signatures with invalid signatures > must match snapshot 1`] = `
215+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with invalid signatures > must match snapshot 1`] = `
216216
audited 1 package in xxx
217217
218218
1 package has an invalid registry signature:
@@ -222,7 +222,7 @@ [email protected] (https://registry.npmjs.org/)
222222
Someone might have tampered with this package since it was published on the registry!
223223
`
224224

225-
exports[`test/lib/commands/audit.js TAP audit signatures with invalid signatures and color output enabled > must match snapshot 1`] = `
225+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with invalid signatures and color output enabled > must match snapshot 1`] = `
226226
audited 1 package in xxx
227227
228228
1 package has an invalid registry signature:
@@ -232,21 +232,21 @@ audited 1 package in xxx
232232
Someone might have tampered with this package since it was published on the registry!
233233
`
234234

235-
exports[`test/lib/commands/audit.js TAP audit signatures with key fallback to legacy API > must match snapshot 1`] = `
235+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with key fallback to legacy API > must match snapshot 1`] = `
236236
audited 1 package in xxx
237237
238238
1 package has a verified registry signature
239239
`
240240

241-
exports[`test/lib/commands/audit.js TAP audit signatures with keys but missing signature > must match snapshot 1`] = `
241+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with keys but missing signature > must match snapshot 1`] = `
242242
audited 1 package in xxx
243243
244244
1 package has a missing registry signature but the registry is providing signing keys:
245245
246246
[email protected] (https://registry.npmjs.org/)
247247
`
248248

249-
exports[`test/lib/commands/audit.js TAP audit signatures with multiple invalid attestations > must match snapshot 1`] = `
249+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with multiple invalid attestations > must match snapshot 1`] = `
250250
audited 2 packages in xxx
251251
252252
2 packages have invalid attestations:
@@ -257,7 +257,7 @@ [email protected] (https://registry.npmjs.org/)
257257
Someone might have tampered with these packages since they were published on the registry!
258258
`
259259

260-
exports[`test/lib/commands/audit.js TAP audit signatures with multiple invalid signatures > must match snapshot 1`] = `
260+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with multiple invalid signatures > must match snapshot 1`] = `
261261
audited 2 packages in xxx
262262
263263
2 packages have invalid registry signatures:
@@ -268,7 +268,7 @@ [email protected] (https://registry.npmjs.org/)
268268
Someone might have tampered with these packages since they were published on the registry!
269269
`
270270

271-
exports[`test/lib/commands/audit.js TAP audit signatures with multiple missing signatures > must match snapshot 1`] = `
271+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with multiple missing signatures > must match snapshot 1`] = `
272272
audited 2 packages in xxx
273273
274274
2 packages have missing registry signatures but the registry is providing signing keys:
@@ -277,7 +277,7 @@ [email protected] (https://registry.npmjs.org/)
277277
[email protected] (https://registry.npmjs.org/)
278278
`
279279

280-
exports[`test/lib/commands/audit.js TAP audit signatures with multiple valid signatures and one invalid > must match snapshot 1`] = `
280+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with multiple valid signatures and one invalid > must match snapshot 1`] = `
281281
audited 3 packages in xxx
282282
283283
2 packages have verified registry signatures
@@ -289,7 +289,7 @@ [email protected] (https://registry.npmjs.org/)
289289
Someone might have tampered with this package since it was published on the registry!
290290
`
291291

292-
exports[`test/lib/commands/audit.js TAP audit signatures with valid and missing signatures > must match snapshot 1`] = `
292+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with valid and missing signatures > must match snapshot 1`] = `
293293
audited 2 packages in xxx
294294
295295
1 package has a verified registry signature
@@ -299,39 +299,39 @@ audited 2 packages in xxx
299299
[email protected] (https://registry.npmjs.org/)
300300
`
301301

302-
exports[`test/lib/commands/audit.js TAP audit signatures with valid attestations > must match snapshot 1`] = `
302+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with valid attestations > must match snapshot 1`] = `
303303
audited 1 package in xxx
304304
305305
1 package has a verified registry signature
306306
307307
1 package has a verified attestation
308308
`
309309

310-
exports[`test/lib/commands/audit.js TAP audit signatures with valid signatures > must match snapshot 1`] = `
310+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with valid signatures > must match snapshot 1`] = `
311311
audited 1 package in xxx
312312
313313
1 package has a verified registry signature
314314
`
315315

316-
exports[`test/lib/commands/audit.js TAP audit signatures with valid signatures using alias > must match snapshot 1`] = `
316+
exports[`test/lib/commands/audit.js > TAP > audit signatures > with valid signatures using alias > must match snapshot 1`] = `
317317
audited 1 package in xxx
318318
319319
1 package has a verified registry signature
320320
`
321321

322-
exports[`test/lib/commands/audit.js TAP audit signatures workspaces verifies registry deps and ignores local workspace deps > must match snapshot 1`] = `
322+
exports[`test/lib/commands/audit.js > TAP > audit signatures > workspaces > verifies registry deps and ignores local workspace deps > must match snapshot 1`] = `
323323
audited 3 packages in xxx
324324
325325
3 packages have verified registry signatures
326326
`
327327

328-
exports[`test/lib/commands/audit.js TAP audit signatures workspaces verifies registry deps when filtering by workspace name > must match snapshot 1`] = `
328+
exports[`test/lib/commands/audit.js > TAP > audit signatures > workspaces > verifies registry deps when filtering by workspace name > must match snapshot 1`] = `
329329
audited 2 packages in xxx
330330
331331
2 packages have verified registry signatures
332332
`
333333

334-
exports[`test/lib/commands/audit.js TAP json audit > must match snapshot 1`] = `
334+
exports[`test/lib/commands/audit.js > TAP > json audit > must match snapshot 1`] = `
335335
{
336336
"auditReportVersion": 2,
337337
"vulnerabilities": {
@@ -385,7 +385,7 @@ exports[`test/lib/commands/audit.js TAP json audit > must match snapshot 1`] = `
385385
}
386386
`
387387

388-
exports[`test/lib/commands/audit.js TAP normal audit > must match snapshot 1`] = `
388+
exports[`test/lib/commands/audit.js > TAP > normal audit > must match snapshot 1`] = `
389389
# npm audit report
390390
391391
test-dep-a 1.0.0

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,54 +5,54 @@
55
* Make sure to inspect the output below. Do not ignore changes!
66
*/
77
'use strict'
8-
exports[`test/lib/commands/cache.js TAP cache ls > logs cache entries 1`] = `
8+
exports[`test/lib/commands/cache.js > TAP > cache ls > logs cache entries 1`] = `
99
make-fetch-happen:request-cache:https://registry.npmjs.org/test-package
1010
make-fetch-happen:request-cache:https://registry.npmjs.org/test-package/-/test-package-1.0.0.tgz
1111
`
1212

13-
exports[`test/lib/commands/cache.js TAP cache ls corrupted > logs cache entries with bad data 1`] = `
13+
exports[`test/lib/commands/cache.js > TAP > cache ls corrupted > logs cache entries with bad data 1`] = `
1414
make-fetch-happen:request-cache:https://registry.npmjs.org/corrupted
1515
make-fetch-happen:request-cache:https://registry.npmjs.org/corrupted/-/corrupted-3.1.0.tgz
1616
`
1717

18-
exports[`test/lib/commands/cache.js TAP cache ls missing packument version not an object > logs cache entry for packument 1`] = `
18+
exports[`test/lib/commands/cache.js > TAP > cache ls missing packument version not an object > logs cache entry for packument 1`] = `
1919
make-fetch-happen:request-cache:https://registry.npmjs.org/missing-version
2020
`
2121

22-
exports[`test/lib/commands/cache.js TAP cache ls nonpublic registry > logs cache entry for extemporaneously and its tarball 1`] = `
22+
exports[`test/lib/commands/cache.js > TAP > cache ls nonpublic registry > logs cache entry for extemporaneously and its tarball 1`] = `
2323
make-fetch-happen:request-cache:https://somerepo.github.org/aabbcc/
2424
make-fetch-happen:request-cache:https://somerepo.github.org/extemporaneously
2525
`
2626

27-
exports[`test/lib/commands/cache.js TAP cache ls pkgs > logs cache entries for npm and webpack and one webpack tgz 1`] = `
27+
exports[`test/lib/commands/cache.js > TAP > cache ls pkgs > logs cache entries for npm and webpack and one webpack tgz 1`] = `
2828
make-fetch-happen:request-cache:https://registry.npmjs.org/npm
2929
make-fetch-happen:request-cache:https://registry.npmjs.org/npm/-/npm-1.2.0.tgz
3030
make-fetch-happen:request-cache:https://registry.npmjs.org/webpack
3131
make-fetch-happen:request-cache:https://registry.npmjs.org/webpack/-/webpack-4.47.0.tgz
3232
`
3333

34-
exports[`test/lib/commands/cache.js TAP cache ls scoped and scoped slash > logs cache entries for @gar and @fritzy 1`] = `
34+
exports[`test/lib/commands/cache.js > TAP > cache ls scoped and scoped slash > logs cache entries for @gar and @fritzy 1`] = `
3535
make-fetch-happen:request-cache:https://registry.npmjs.org/@fritzy%2fstaydown
3636
make-fetch-happen:request-cache:https://registry.npmjs.org/@gar%2fnpm-expansion
3737
`
3838

39-
exports[`test/lib/commands/cache.js TAP cache ls special > logs cache entries for foo 1`] = `
39+
exports[`test/lib/commands/cache.js > TAP > cache ls special > logs cache entries for foo 1`] = `
4040
make-fetch-happen:request-cache:https://registry.npmjs.org/foo
4141
make-fetch-happen:request-cache:https://registry.npmjs.org/foo/-/foo-1.2.3-beta.tgz
4242
`
4343

44-
exports[`test/lib/commands/cache.js TAP cache rm > logs deleting single entry 1`] = `
44+
exports[`test/lib/commands/cache.js > TAP > cache rm > logs deleting single entry 1`] = `
4545
Deleted: make-fetch-happen:request-cache:https://registry.npmjs.org/test-package/-/test-package-1.0.0.tgz
4646
`
4747

48-
exports[`test/lib/commands/cache.js TAP cache verify > shows verified cache output 1`] = `
48+
exports[`test/lib/commands/cache.js > TAP > cache verify > shows verified cache output 1`] = `
4949
Cache verified and compressed ({PATH})
5050
Content verified: 0 (0 bytes)
5151
Index entries: 0
5252
Finished in xxxs
5353
`
5454

55-
exports[`test/lib/commands/cache.js TAP cache verify w/ extra output > shows extra output 1`] = `
55+
exports[`test/lib/commands/cache.js > TAP > cache verify w/ extra output > shows extra output 1`] = `
5656
Cache verified and compressed ({PATH})
5757
Content verified: 17057 (1644485260 bytes)
5858
Corrupted content removed: 12345

0 commit comments

Comments
 (0)