diff options
Diffstat (limited to 'cli/tests/testdata/npm/info')
| -rw-r--r-- | cli/tests/testdata/npm/info/chalk.out | 10 | ||||
| -rw-r--r-- | cli/tests/testdata/npm/info/chalk_json.out | 54 |
2 files changed, 64 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/info/chalk.out b/cli/tests/testdata/npm/info/chalk.out new file mode 100644 index 000000000..89ea05e71 --- /dev/null +++ b/cli/tests/testdata/npm/info/chalk.out @@ -0,0 +1,10 @@ +type: Unknown +dependencies: 5 unique +size: [WILDCARD] + +npm:chalk@4 - 4.1.2 ([WILDCARD]) +├─┬ npm:ansi-styles@4.3.0 ([WILDCARD]) +│ └─┬ npm:color-convert@2.0.1 ([WILDCARD]) +│ └── npm:color-name@1.1.4 ([WILDCARD]) +└─┬ npm:supports-color@7.2.0 ([WILDCARD]) + └── npm:has-flag@4.0.0 ([WILDCARD]) diff --git a/cli/tests/testdata/npm/info/chalk_json.out b/cli/tests/testdata/npm/info/chalk_json.out new file mode 100644 index 000000000..f6673d032 --- /dev/null +++ b/cli/tests/testdata/npm/info/chalk_json.out @@ -0,0 +1,54 @@ +{ + "roots": [ + "npm:chalk@4" + ], + "modules": [ + { + "kind": "npm", + "specifier": "npm:chalk@4", + "npmPackage": "chalk@4.1.2" + } + ], + "redirects": {}, + "npmPackages": { + "ansi-styles@4.3.0": { + "name": "ansi-styles", + "version": "4.3.0", + "dependencies": [ + "color-convert@2.0.1" + ] + }, + "chalk@4.1.2": { + "name": "chalk", + "version": "4.1.2", + "dependencies": [ + "ansi-styles@4.3.0", + "supports-color@7.2.0" + ] + }, + "color-convert@2.0.1": { + "name": "color-convert", + "version": "2.0.1", + "dependencies": [ + "color-name@1.1.4" + ] + }, + "color-name@1.1.4": { + "name": "color-name", + "version": "1.1.4", + "dependencies": [] + }, + "has-flag@4.0.0": { + "name": "has-flag", + "version": "4.0.0", + "dependencies": [] + }, + "supports-color@7.2.0": { + "name": "supports-color", + "version": "7.2.0", + "dependencies": [ + "has-flag@4.0.0" + ] + } + } +} |
