2020-10-02 17:52:19 -04:00
|
|
|
|
/* IMPORTANT
|
|
|
|
|
* This snapshot file is auto-generated, but designed for humans.
|
|
|
|
|
* It should be checked into source control and tracked carefully.
|
|
|
|
|
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
|
|
|
|
|
* Make sure to inspect the output below. Do not ignore changes!
|
|
|
|
|
*/
|
|
|
|
|
'use strict'
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP deprecated package with license, bugs, repository and other fields > must match snapshot 1`] = `
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mgreen@1.0.0[39m[24m | [32mACME[39m | deps: [36m2[39m | versions: [36m2[39m
|
2022-05-11 17:17:18 +00:00
|
|
|
|
green is a very important color
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[91mDEPRECATED[39m!! - true
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
keywords: [36mcolors[39m, [36mgreen[39m, [36mcrayola[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
bin: [36mgreen[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.green.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1.0 GB[39m
|
2022-05-11 17:17:18 +00:00
|
|
|
|
|
|
|
|
|
dependencies:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mred[39m: 1.0.0
|
|
|
|
|
[34myellow[39m: 1.0.0
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
maintainers:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
- [34mclaudia[39m <[2mc@yellow.com[22m>
|
|
|
|
|
- [34misaacs[39m <[2mi@yellow.com[22m>
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2020-10-02 17:52:19 -04:00
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP deprecated package with unicode > must match snapshot 1`] = `
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mgreen@1.0.0[39m[24m | [32mACME[39m | deps: [36m2[39m | versions: [36m2[39m
|
2022-05-11 17:17:18 +00:00
|
|
|
|
green is a very important color
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[91mDEPRECATED[39m ⚠️ - true
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
keywords: [36mcolors[39m, [36mgreen[39m, [36mcrayola[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
bin: [36mgreen[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.green.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1.0 GB[39m
|
2022-05-11 17:17:18 +00:00
|
|
|
|
|
|
|
|
|
dependencies:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mred[39m: 1.0.0
|
|
|
|
|
[34myellow[39m: 1.0.0
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
maintainers:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
- [34mclaudia[39m <[2mc@yellow.com[22m>
|
|
|
|
|
- [34misaacs[39m <[2mi@yellow.com[22m>
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2020-10-02 17:52:19 -04:00
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package from git > must match snapshot 1`] = `
|
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mgreen@1.0.0[39m[24m | [32mACME[39m | deps: [36m2[39m | versions: [36m2[39m
|
2022-05-11 17:17:18 +00:00
|
|
|
|
green is a very important color
|
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[91mDEPRECATED[39m!! - true
|
2022-03-17 20:22:31 +00:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
keywords: [36mcolors[39m, [36mgreen[39m, [36mcrayola[39m
|
2022-03-17 20:22:31 +00:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
bin: [36mgreen[39m
|
2022-03-17 20:22:31 +00:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.green.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1.0 GB[39m
|
2022-05-11 17:17:18 +00:00
|
|
|
|
|
|
|
|
|
dependencies:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mred[39m: 1.0.0
|
|
|
|
|
[34myellow[39m: 1.0.0
|
2022-05-11 17:17:18 +00:00
|
|
|
|
|
|
|
|
|
maintainers:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
- [34mclaudia[39m <[2mc@yellow.com[22m>
|
|
|
|
|
- [34misaacs[39m <[2mi@yellow.com[22m>
|
2022-03-17 20:22:31 +00:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2022-03-17 20:22:31 +00:00
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package in cwd directory > must match snapshot 1`] = `
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mblue@1.0.0[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.blue.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2025-01-10 08:20:27 -08:00
|
|
|
|
[34mz[39m: 1.0.0
|
|
|
|
|
[34my[39m: 1.0.0
|
|
|
|
|
[34mv1[39m: 1.0.0
|
|
|
|
|
[34mprev[39m: 1.0.0
|
|
|
|
|
[34md[39m: 1.0.0
|
|
|
|
|
[34mc[39m: 1.0.0
|
|
|
|
|
[34mb[39m: 1.0.0
|
|
|
|
|
[34ma[39m: 1.0.0
|
|
|
|
|
[34mx[39m: 1.0.1
|
|
|
|
|
[34mnext[39m: 1.0.1
|
|
|
|
|
[34mh[39m: 1.0.1
|
|
|
|
|
[2m(...and 3 more.)[22m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2021-12-02 22:04:46 +00:00
|
|
|
|
published {TIME} ago[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package in cwd non-specific version > must match snapshot 1`] = `
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mblue@1.0.0[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.blue.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2025-01-10 08:20:27 -08:00
|
|
|
|
[34mz[39m: 1.0.0
|
|
|
|
|
[34my[39m: 1.0.0
|
|
|
|
|
[34mv1[39m: 1.0.0
|
|
|
|
|
[34mprev[39m: 1.0.0
|
|
|
|
|
[34md[39m: 1.0.0
|
|
|
|
|
[34mc[39m: 1.0.0
|
|
|
|
|
[34mb[39m: 1.0.0
|
|
|
|
|
[34ma[39m: 1.0.0
|
|
|
|
|
[34mx[39m: 1.0.1
|
|
|
|
|
[34mnext[39m: 1.0.1
|
|
|
|
|
[34mh[39m: 1.0.1
|
|
|
|
|
[2m(...and 3 more.)[22m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2021-12-02 22:04:46 +00:00
|
|
|
|
published {TIME} ago[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package in cwd specific version > must match snapshot 1`] = `
|
2021-05-10 17:31:02 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mblue@1.0.0[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
2021-05-10 17:31:02 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.blue.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
2021-05-10 17:31:02 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2025-01-10 08:20:27 -08:00
|
|
|
|
[34mz[39m: 1.0.0
|
|
|
|
|
[34my[39m: 1.0.0
|
|
|
|
|
[34mv1[39m: 1.0.0
|
|
|
|
|
[34mprev[39m: 1.0.0
|
|
|
|
|
[34md[39m: 1.0.0
|
|
|
|
|
[34mc[39m: 1.0.0
|
|
|
|
|
[34mb[39m: 1.0.0
|
|
|
|
|
[34ma[39m: 1.0.0
|
|
|
|
|
[34mx[39m: 1.0.1
|
|
|
|
|
[34mnext[39m: 1.0.1
|
|
|
|
|
[34mh[39m: 1.0.1
|
|
|
|
|
[2m(...and 3 more.)[22m
|
2021-05-10 17:31:02 -04:00
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
published {TIME} ago[39m
|
|
|
|
|
`
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package with --json and semver range > must match snapshot 1`] = `
|
2020-10-02 17:52:19 -04:00
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"_npmUser": "claudia <claudia@cyan.com>",
|
|
|
|
|
"name": "cyan",
|
2021-05-10 17:31:02 -04:00
|
|
|
|
"dist-tags": {
|
|
|
|
|
"latest": "1.0.0"
|
|
|
|
|
},
|
2020-10-02 17:52:19 -04:00
|
|
|
|
"versions": [
|
|
|
|
|
"1.0.0",
|
|
|
|
|
"1.0.1"
|
|
|
|
|
],
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"dist": {
|
|
|
|
|
"shasum": "123",
|
|
|
|
|
"tarball": "http://hm.cyan.com/1.0.0.tgz",
|
|
|
|
|
"integrity": "---",
|
|
|
|
|
"fileCount": 1,
|
2022-05-11 17:17:18 +00:00
|
|
|
|
"unpackedSize": 1000000
|
2020-10-02 17:52:19 -04:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"_npmUser": "claudia <claudia@cyan.com>",
|
|
|
|
|
"name": "cyan",
|
2021-05-10 17:31:02 -04:00
|
|
|
|
"dist-tags": {
|
|
|
|
|
"latest": "1.0.0"
|
|
|
|
|
},
|
2020-10-02 17:52:19 -04:00
|
|
|
|
"versions": [
|
|
|
|
|
"1.0.0",
|
|
|
|
|
"1.0.1"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package with homepage > must match snapshot 1`] = `
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36morange@1.0.0[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
|
|
|
|
[34mhttp://hm.orange.com[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.orange.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1 B[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2020-10-02 17:52:19 -04:00
|
|
|
|
`
|
|
|
|
|
|
2024-02-29 07:28:15 -08:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package with invalid version > must match snapshot 1`] = `
|
|
|
|
|
[ [32m'1.0.0'[39m, [32m'1.0.1'[39m ]
|
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package with maintainers info as object > must match snapshot 1`] = `
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mpink@1.0.0[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.pink.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1 B[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2020-10-02 17:52:19 -04:00
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package with more than 25 deps > must match snapshot 1`] = `
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mblack@1.0.0[39m[24m | [31mProprietary[39m | deps: [36m25[39m | versions: [36m2[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.black.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1 B[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dependencies:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34m0[39m: 1.0.0
|
|
|
|
|
[34m10[39m: 1.0.0
|
|
|
|
|
[34m11[39m: 1.0.0
|
|
|
|
|
[34m12[39m: 1.0.0
|
|
|
|
|
[34m13[39m: 1.0.0
|
|
|
|
|
[34m14[39m: 1.0.0
|
|
|
|
|
[34m15[39m: 1.0.0
|
|
|
|
|
[34m16[39m: 1.0.0
|
|
|
|
|
[34m17[39m: 1.0.0
|
|
|
|
|
[34m18[39m: 1.0.0
|
|
|
|
|
[34m19[39m: 1.0.0
|
|
|
|
|
[34m1[39m: 1.0.0
|
|
|
|
|
[34m20[39m: 1.0.0
|
|
|
|
|
[34m21[39m: 1.0.0
|
|
|
|
|
[34m22[39m: 1.0.0
|
|
|
|
|
[34m23[39m: 1.0.0
|
|
|
|
|
[34m2[39m: 1.0.0
|
|
|
|
|
[34m3[39m: 1.0.0
|
|
|
|
|
[34m4[39m: 1.0.0
|
|
|
|
|
[34m5[39m: 1.0.0
|
|
|
|
|
[34m6[39m: 1.0.0
|
|
|
|
|
[34m7[39m: 1.0.0
|
|
|
|
|
[34m8[39m: 1.0.0
|
|
|
|
|
[34m9[39m: 1.0.0
|
|
|
|
|
[2m(...and 1 more.)[22m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2020-10-02 17:52:19 -04:00
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package with no modified time > must match snapshot 1`] = `
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mcyan@1.0.0[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.cyan.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1.0 MB[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
published by [34mclaudia[39m <[2mclaudia@cyan.com[22m>
|
2020-10-02 17:52:19 -04:00
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package with no repo or homepage > must match snapshot 1`] = `
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mblue@1.0.0[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.blue.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2025-01-10 08:20:27 -08:00
|
|
|
|
[34mz[39m: 1.0.0
|
|
|
|
|
[34my[39m: 1.0.0
|
|
|
|
|
[34mv1[39m: 1.0.0
|
|
|
|
|
[34mprev[39m: 1.0.0
|
|
|
|
|
[34md[39m: 1.0.0
|
|
|
|
|
[34mc[39m: 1.0.0
|
|
|
|
|
[34mb[39m: 1.0.0
|
|
|
|
|
[34ma[39m: 1.0.0
|
|
|
|
|
[34mx[39m: 1.0.1
|
|
|
|
|
[34mnext[39m: 1.0.1
|
|
|
|
|
[34mh[39m: 1.0.1
|
|
|
|
|
[2m(...and 3 more.)[22m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
|
2021-12-02 22:04:46 +00:00
|
|
|
|
published {TIME} ago[39m
|
2021-09-20 19:18:58 +00:00
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package with semver range > must match snapshot 1`] = `
|
2021-09-20 19:18:58 +00:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mblue@1.0.0[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
2021-09-20 19:18:58 +00:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.blue.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
2021-09-20 19:18:58 +00:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2025-01-10 08:20:27 -08:00
|
|
|
|
[34mz[39m: 1.0.0
|
|
|
|
|
[34my[39m: 1.0.0
|
|
|
|
|
[34mv1[39m: 1.0.0
|
|
|
|
|
[34mprev[39m: 1.0.0
|
|
|
|
|
[34md[39m: 1.0.0
|
|
|
|
|
[34mc[39m: 1.0.0
|
|
|
|
|
[34mb[39m: 1.0.0
|
|
|
|
|
[34ma[39m: 1.0.0
|
|
|
|
|
[34mx[39m: 1.0.1
|
|
|
|
|
[34mnext[39m: 1.0.1
|
|
|
|
|
[34mh[39m: 1.0.1
|
|
|
|
|
[2m(...and 3 more.)[22m
|
2021-09-20 19:18:58 +00:00
|
|
|
|
|
2021-12-02 22:04:46 +00:00
|
|
|
|
published {TIME} ago[39m
|
2021-11-04 20:42:47 +00:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mblue@1.0.1[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
2021-11-04 20:42:47 +00:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.blue.com/1.0.1.tgz[39m
|
|
|
|
|
.shasum: [32m124[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1.0 kB[39m
|
2021-11-04 20:42:47 +00:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2025-01-10 08:20:27 -08:00
|
|
|
|
[34mz[39m: 1.0.0
|
|
|
|
|
[34my[39m: 1.0.0
|
|
|
|
|
[34mv1[39m: 1.0.0
|
|
|
|
|
[34mprev[39m: 1.0.0
|
|
|
|
|
[34md[39m: 1.0.0
|
|
|
|
|
[34mc[39m: 1.0.0
|
|
|
|
|
[34mb[39m: 1.0.0
|
|
|
|
|
[34ma[39m: 1.0.0
|
|
|
|
|
[34mx[39m: 1.0.1
|
|
|
|
|
[34mnext[39m: 1.0.1
|
|
|
|
|
[34mh[39m: 1.0.1
|
|
|
|
|
[2m(...and 3 more.)[22m
|
2021-11-04 20:42:47 +00:00
|
|
|
|
|
2025-01-10 08:20:27 -08:00
|
|
|
|
published {TIME} ago[39m
|
2020-10-02 17:52:19 -04:00
|
|
|
|
`
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2024-05-16 05:38:49 -07:00
|
|
|
|
exports[`test/lib/commands/view.js TAP package with single version full json > must match snapshot 1`] = `
|
|
|
|
|
{
|
|
|
|
|
"_id": "single-version",
|
|
|
|
|
"name": "single-version",
|
|
|
|
|
"dist-tags": {
|
|
|
|
|
"latest": "1.0.0"
|
|
|
|
|
},
|
|
|
|
|
"versions": [
|
|
|
|
|
"1.0.0"
|
|
|
|
|
],
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"dist": {
|
|
|
|
|
"shasum": "123",
|
|
|
|
|
"tarball": "http://hm.single-version.com/1.0.0.tgz",
|
|
|
|
|
"fileCount": 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP specific field names array field - 1 element > must match snapshot 1`] = `
|
|
|
|
|
claudia
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
exports[`test/lib/commands/view.js TAP specific field names array field - 2 elements > must match snapshot 1`] = `
|
|
|
|
|
maintainers[0].name = 'claudia'
|
|
|
|
|
maintainers[1].name = 'isaacs'
|
|
|
|
|
`
|
|
|
|
|
|
2023-11-03 07:03:57 -07:00
|
|
|
|
exports[`test/lib/commands/view.js TAP specific field names fields with empty values > must match snapshot 1`] = `
|
|
|
|
|
|
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP specific field names maintainers with email > must match snapshot 1`] = `
|
|
|
|
|
maintainers = [
|
|
|
|
|
{ name: 'claudia', email: 'c@yellow.com', twitter: 'cyellow' },
|
|
|
|
|
{ name: 'isaacs', email: 'i@yellow.com', twitter: 'iyellow' }
|
|
|
|
|
]
|
|
|
|
|
name = 'yellow'
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
exports[`test/lib/commands/view.js TAP specific field names maintainers with url > must match snapshot 1`] = `
|
|
|
|
|
[ 'claudia (http://c.pink.com)', 'isaacs (http://i.pink.com)' ]
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
exports[`test/lib/commands/view.js TAP specific field names nested field with brackets > must match snapshot 1`] = `
|
|
|
|
|
123
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
exports[`test/lib/commands/view.js TAP specific field names readme > must match snapshot 1`] = `
|
|
|
|
|
a very useful readme
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
exports[`test/lib/commands/view.js TAP specific field names several fields > must match snapshot 1`] = `
|
|
|
|
|
name = 'yellow'
|
|
|
|
|
version = '1.0.0'
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
exports[`test/lib/commands/view.js TAP specific field names several fields with several versions > must match snapshot 1`] = `
|
|
|
|
|
yellow@1.0.0 'claudia'
|
|
|
|
|
yellow@1.0.1 'claudia'
|
|
|
|
|
yellow@1.0.2 'claudia'
|
|
|
|
|
`
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2024-05-30 04:21:05 -07:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces 404 workspaces basic > must match snapshot 1`] = `
|
|
|
|
|
|
|
|
|
|
[4m[36mgreen@1.0.0[39m[24m | [32mACME[39m | deps: [36m2[39m | versions: [36m2[39m
|
|
|
|
|
green is a very important color
|
|
|
|
|
|
|
|
|
|
[91mDEPRECATED[39m!! - true
|
|
|
|
|
|
|
|
|
|
keywords: [36mcolors[39m, [36mgreen[39m, [36mcrayola[39m
|
|
|
|
|
|
|
|
|
|
bin: [36mgreen[39m
|
|
|
|
|
|
|
|
|
|
dist
|
|
|
|
|
.tarball: [34mhttp://hm.green.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1.0 GB[39m
|
|
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
|
[34mred[39m: 1.0.0
|
|
|
|
|
[34myellow[39m: 1.0.0
|
|
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
|
- [34mclaudia[39m <[2mc@yellow.com[22m>
|
|
|
|
|
- [34misaacs[39m <[2mi@yellow.com[22m>
|
|
|
|
|
|
|
|
|
|
dist-tags:
|
|
|
|
|
[34mlatest[39m: 1.0.0
|
|
|
|
|
error [94mcode[39m E404
|
|
|
|
|
error [94m404[39m 404
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces 404 workspaces json > must match snapshot 1`] = `
|
|
|
|
|
{
|
|
|
|
|
"green": {
|
|
|
|
|
"_id": "green",
|
|
|
|
|
"name": "green",
|
|
|
|
|
"dist-tags": {
|
|
|
|
|
"latest": "1.0.0"
|
|
|
|
|
},
|
|
|
|
|
"maintainers": [
|
|
|
|
|
{
|
|
|
|
|
"name": "claudia",
|
|
|
|
|
"email": "c@yellow.com",
|
|
|
|
|
"twitter": "cyellow"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "isaacs",
|
|
|
|
|
"email": "i@yellow.com",
|
|
|
|
|
"twitter": "iyellow"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"keywords": [
|
|
|
|
|
"colors",
|
|
|
|
|
"green",
|
|
|
|
|
"crayola"
|
|
|
|
|
],
|
|
|
|
|
"versions": [
|
|
|
|
|
"1.0.0",
|
|
|
|
|
"1.0.1"
|
|
|
|
|
],
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"description": "green is a very important color",
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "http://bugs.green.com"
|
|
|
|
|
},
|
|
|
|
|
"deprecated": true,
|
|
|
|
|
"repository": {
|
|
|
|
|
"url": "http://repository.green.com"
|
|
|
|
|
},
|
|
|
|
|
"license": {
|
|
|
|
|
"type": "ACME"
|
|
|
|
|
},
|
|
|
|
|
"bin": {
|
|
|
|
|
"green": "bin/green.js"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"red": "1.0.0",
|
|
|
|
|
"yellow": "1.0.0"
|
|
|
|
|
},
|
|
|
|
|
"dist": {
|
|
|
|
|
"shasum": "123",
|
|
|
|
|
"tarball": "http://hm.green.com/1.0.0.tgz",
|
|
|
|
|
"integrity": "---",
|
|
|
|
|
"fileCount": 1,
|
|
|
|
|
"unpackedSize": 1000000000
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"error": {
|
|
|
|
|
"missing-package": {
|
|
|
|
|
"code": "E404",
|
|
|
|
|
"summary": "404",
|
|
|
|
|
"detail": ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces 404 workspaces json with package named error > must match snapshot 1`] = `
|
|
|
|
|
warn overwriting existing error on json output
|
|
|
|
|
{
|
|
|
|
|
"error": {
|
|
|
|
|
"missing-package": {
|
|
|
|
|
"code": "E404",
|
|
|
|
|
"summary": "404",
|
|
|
|
|
"detail": ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces 404 workspaces non-404 error rejects > must match snapshot 1`] = `
|
|
|
|
|
|
|
|
|
|
[4m[36mgreen@1.0.0[39m[24m | [32mACME[39m | deps: [36m2[39m | versions: [36m2[39m
|
|
|
|
|
green is a very important color
|
|
|
|
|
|
|
|
|
|
[91mDEPRECATED[39m!! - true
|
|
|
|
|
|
|
|
|
|
keywords: [36mcolors[39m, [36mgreen[39m, [36mcrayola[39m
|
|
|
|
|
|
|
|
|
|
bin: [36mgreen[39m
|
|
|
|
|
|
|
|
|
|
dist
|
|
|
|
|
.tarball: [34mhttp://hm.green.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1.0 GB[39m
|
|
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
|
[34mred[39m: 1.0.0
|
|
|
|
|
[34myellow[39m: 1.0.0
|
|
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
|
- [34mclaudia[39m <[2mc@yellow.com[22m>
|
|
|
|
|
- [34misaacs[39m <[2mi@yellow.com[22m>
|
|
|
|
|
|
|
|
|
|
dist-tags:
|
|
|
|
|
[34mlatest[39m: 1.0.0
|
|
|
|
|
error Unknown error
|
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces 404 workspaces non-404 error rejects with single arg > must match snapshot 1`] = `
|
|
|
|
|
green:
|
|
|
|
|
1.0.0
|
|
|
|
|
unknown-error:
|
|
|
|
|
error Unknown error
|
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces all workspaces --json > must match snapshot 1`] = `
|
2021-04-01 17:27:18 -04:00
|
|
|
|
{
|
|
|
|
|
"green": {
|
|
|
|
|
"_id": "green",
|
|
|
|
|
"name": "green",
|
|
|
|
|
"dist-tags": {
|
|
|
|
|
"latest": "1.0.0"
|
|
|
|
|
},
|
|
|
|
|
"maintainers": [
|
|
|
|
|
{
|
|
|
|
|
"name": "claudia",
|
|
|
|
|
"email": "c@yellow.com",
|
|
|
|
|
"twitter": "cyellow"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "isaacs",
|
|
|
|
|
"email": "i@yellow.com",
|
|
|
|
|
"twitter": "iyellow"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"keywords": [
|
|
|
|
|
"colors",
|
|
|
|
|
"green",
|
|
|
|
|
"crayola"
|
|
|
|
|
],
|
|
|
|
|
"versions": [
|
|
|
|
|
"1.0.0",
|
|
|
|
|
"1.0.1"
|
|
|
|
|
],
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"description": "green is a very important color",
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "http://bugs.green.com"
|
|
|
|
|
},
|
|
|
|
|
"deprecated": true,
|
|
|
|
|
"repository": {
|
|
|
|
|
"url": "http://repository.green.com"
|
|
|
|
|
},
|
|
|
|
|
"license": {
|
|
|
|
|
"type": "ACME"
|
|
|
|
|
},
|
|
|
|
|
"bin": {
|
|
|
|
|
"green": "bin/green.js"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"red": "1.0.0",
|
|
|
|
|
"yellow": "1.0.0"
|
|
|
|
|
},
|
|
|
|
|
"dist": {
|
|
|
|
|
"shasum": "123",
|
|
|
|
|
"tarball": "http://hm.green.com/1.0.0.tgz",
|
|
|
|
|
"integrity": "---",
|
|
|
|
|
"fileCount": 1,
|
2022-05-11 17:17:18 +00:00
|
|
|
|
"unpackedSize": 1000000000
|
2021-04-01 17:27:18 -04:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"orange": {
|
|
|
|
|
"name": "orange",
|
|
|
|
|
"dist-tags": {
|
|
|
|
|
"latest": "1.0.0"
|
|
|
|
|
},
|
|
|
|
|
"versions": [
|
|
|
|
|
"1.0.0",
|
|
|
|
|
"1.0.1"
|
|
|
|
|
],
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"homepage": "http://hm.orange.com",
|
|
|
|
|
"license": {},
|
|
|
|
|
"dist": {
|
|
|
|
|
"shasum": "123",
|
|
|
|
|
"tarball": "http://hm.orange.com/1.0.0.tgz",
|
|
|
|
|
"integrity": "---",
|
|
|
|
|
"fileCount": 1,
|
|
|
|
|
"unpackedSize": 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
|
2021-11-04 20:42:47 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces all workspaces > must match snapshot 1`] = `
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mgreen@1.0.0[39m[24m | [32mACME[39m | deps: [36m2[39m | versions: [36m2[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
green is a very important color
|
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[91mDEPRECATED[39m!! - true
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
keywords: [36mcolors[39m, [36mgreen[39m, [36mcrayola[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
bin: [36mgreen[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.green.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1.0 GB[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
dependencies:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mred[39m: 1.0.0
|
|
|
|
|
[34myellow[39m: 1.0.0
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
maintainers:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
- [34mclaudia[39m <[2mc@yellow.com[22m>
|
|
|
|
|
- [34misaacs[39m <[2mi@yellow.com[22m>
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36morange@1.0.0[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
|
|
|
|
[34mhttp://hm.orange.com[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.orange.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1 B[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2021-04-01 17:27:18 -04:00
|
|
|
|
`
|
|
|
|
|
|
2021-11-04 20:42:47 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces all workspaces nonexistent field --json > must match snapshot 1`] = `
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
`
|
|
|
|
|
|
2021-11-04 20:42:47 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces all workspaces nonexistent field > must match snapshot 1`] = `
|
2021-04-01 17:27:18 -04:00
|
|
|
|
green:
|
|
|
|
|
orange:
|
|
|
|
|
`
|
|
|
|
|
|
2021-11-04 20:42:47 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces all workspaces single field --json > must match snapshot 1`] = `
|
2021-04-01 17:27:18 -04:00
|
|
|
|
{
|
|
|
|
|
"green": "green",
|
|
|
|
|
"orange": "orange"
|
|
|
|
|
}
|
|
|
|
|
`
|
|
|
|
|
|
2021-11-04 20:42:47 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces all workspaces single field > must match snapshot 1`] = `
|
2021-04-01 17:27:18 -04:00
|
|
|
|
green:
|
|
|
|
|
green
|
|
|
|
|
orange:
|
|
|
|
|
orange
|
|
|
|
|
`
|
|
|
|
|
|
2021-11-04 20:42:47 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces one specific workspace > must match snapshot 1`] = `
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mgreen@1.0.0[39m[24m | [32mACME[39m | deps: [36m2[39m | versions: [36m2[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
green is a very important color
|
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[91mDEPRECATED[39m!! - true
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
keywords: [36mcolors[39m, [36mgreen[39m, [36mcrayola[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
bin: [36mgreen[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.green.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1.0 GB[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
dependencies:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mred[39m: 1.0.0
|
|
|
|
|
[34myellow[39m: 1.0.0
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
maintainers:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
- [34mclaudia[39m <[2mc@yellow.com[22m>
|
|
|
|
|
- [34misaacs[39m <[2mi@yellow.com[22m>
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2021-04-01 17:27:18 -04:00
|
|
|
|
`
|
|
|
|
|
|
2021-11-04 20:42:47 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces remote package name > must match snapshot 1`] = `
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[4m[36mpink@1.0.0[39m[24m | [31mProprietary[39m | deps: [36mnone[39m | versions: [36m2[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
dist
|
2024-04-30 23:53:22 -07:00
|
|
|
|
.tarball: [34mhttp://hm.pink.com/1.0.0.tgz[39m
|
|
|
|
|
.shasum: [32m123[39m
|
|
|
|
|
.integrity: [32m---[39m
|
|
|
|
|
.unpackedSize: [34m1 B[39m
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
|
|
|
|
dist-tags:
|
2024-04-30 23:53:22 -07:00
|
|
|
|
[34mlatest[39m: 1.0.0
|
2021-04-01 17:27:18 -04:00
|
|
|
|
`
|
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces remote package name > should have warning of ignoring workspaces 1`] = `
|
|
|
|
|
Array [
|
2024-04-30 23:53:22 -07:00
|
|
|
|
"\\u001b[94mIgnoring workspaces for specified package(s)\\u001b[39m",
|
2022-05-11 17:17:18 +00:00
|
|
|
|
]
|
|
|
|
|
`
|
2021-04-01 17:27:18 -04:00
|
|
|
|
|
2022-05-11 17:17:18 +00:00
|
|
|
|
exports[`test/lib/commands/view.js TAP workspaces single workspace --json > must match snapshot 1`] = `
|
2021-04-01 17:27:18 -04:00
|
|
|
|
{
|
|
|
|
|
"green": {
|
|
|
|
|
"_id": "green",
|
|
|
|
|
"name": "green",
|
|
|
|
|
"dist-tags": {
|
|
|
|
|
"latest": "1.0.0"
|
|
|
|
|
},
|
|
|
|
|
"maintainers": [
|
|
|
|
|
{
|
|
|
|
|
"name": "claudia",
|
|
|
|
|
"email": "c@yellow.com",
|
|
|
|
|
"twitter": "cyellow"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "isaacs",
|
|
|
|
|
"email": "i@yellow.com",
|
|
|
|
|
"twitter": "iyellow"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"keywords": [
|
|
|
|
|
"colors",
|
|
|
|
|
"green",
|
|
|
|
|
"crayola"
|
|
|
|
|
],
|
|
|
|
|
"versions": [
|
|
|
|
|
"1.0.0",
|
|
|
|
|
"1.0.1"
|
|
|
|
|
],
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"description": "green is a very important color",
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "http://bugs.green.com"
|
|
|
|
|
},
|
|
|
|
|
"deprecated": true,
|
|
|
|
|
"repository": {
|
|
|
|
|
"url": "http://repository.green.com"
|
|
|
|
|
},
|
|
|
|
|
"license": {
|
|
|
|
|
"type": "ACME"
|
|
|
|
|
},
|
|
|
|
|
"bin": {
|
|
|
|
|
"green": "bin/green.js"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"red": "1.0.0",
|
|
|
|
|
"yellow": "1.0.0"
|
|
|
|
|
},
|
|
|
|
|
"dist": {
|
|
|
|
|
"shasum": "123",
|
|
|
|
|
"tarball": "http://hm.green.com/1.0.0.tgz",
|
|
|
|
|
"integrity": "---",
|
|
|
|
|
"fileCount": 1,
|
2022-05-11 17:17:18 +00:00
|
|
|
|
"unpackedSize": 1000000000
|
2021-04-01 17:27:18 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`
|