1/* IMPORTANT
2 * This snapshot file is auto-generated, but designed for humans.
3 * It should be checked into source control and tracked carefully.
4 * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
5 * Make sure to inspect the output below.  Do not ignore changes!
6 */
7'use strict'
8exports[`test/lib/commands/config.js TAP config list --json > output matches snapshot 1`] = `
9{
10  "prefix": "{LOCALPREFIX}",
11  "userconfig": "{HOME}/.npmrc",
12  "cache": "{NPMDIR}/test/lib/commands/tap-testdir-config-config-list---json-sandbox/cache",
13  "json": true,
14  "projectloaded": "yes",
15  "userloaded": "yes",
16  "globalloaded": "yes",
17  "access": null,
18  "all": false,
19  "allow-same-version": false,
20  "also": null,
21  "audit": true,
22  "audit-level": null,
23  "auth-type": "web",
24  "before": null,
25  "bin-links": true,
26  "browser": null,
27  "ca": null,
28  "cache-max": null,
29  "cache-min": 0,
30  "cafile": null,
31  "call": "",
32  "cert": null,
33  "cidr": null,
34  "color": true,
35  "commit-hooks": true,
36  "cpu": null,
37  "os": null,
38  "libc": null,
39  "depth": null,
40  "description": true,
41  "dev": false,
42  "diff": [],
43  "diff-ignore-all-space": false,
44  "diff-name-only": false,
45  "diff-no-prefix": false,
46  "diff-dst-prefix": "b/",
47  "diff-src-prefix": "a/",
48  "diff-text": false,
49  "diff-unified": 3,
50  "dry-run": false,
51  "editor": "{EDITOR}",
52  "engine-strict": false,
53  "expect-results": null,
54  "expect-result-count": null,
55  "fetch-retries": 2,
56  "fetch-retry-factor": 10,
57  "fetch-retry-maxtimeout": 60000,
58  "fetch-retry-mintimeout": 10000,
59  "fetch-timeout": 300000,
60  "force": false,
61  "foreground-scripts": false,
62  "format-package-lock": true,
63  "fund": true,
64  "git": "git",
65  "git-tag-version": true,
66  "global": false,
67  "globalconfig": "{GLOBALPREFIX}/npmrc",
68  "global-style": false,
69  "heading": "npm",
70  "https-proxy": null,
71  "if-present": false,
72  "ignore-scripts": false,
73  "include": [],
74  "include-staged": false,
75  "include-workspace-root": false,
76  "init-author-email": "",
77  "init-author-name": "",
78  "init-author-url": "",
79  "init-license": "ISC",
80  "init-module": "{HOME}/.npm-init.js",
81  "init-version": "1.0.0",
82  "init.author.email": "",
83  "init.author.name": "",
84  "init.author.url": "",
85  "init.license": "ISC",
86  "init.module": "{HOME}/.npm-init.js",
87  "init.version": "1.0.0",
88  "install-links": false,
89  "install-strategy": "hoisted",
90  "key": null,
91  "legacy-bundling": false,
92  "legacy-peer-deps": false,
93  "link": false,
94  "local-address": null,
95  "sbom-format": null,
96  "sbom-type": "library",
97  "location": "user",
98  "lockfile-version": null,
99  "loglevel": "notice",
100  "logs-dir": null,
101  "logs-max": 10,
102  "long": false,
103  "maxsockets": 15,
104  "message": "%s",
105  "node-options": null,
106  "noproxy": [
107    ""
108  ],
109  "offline": false,
110  "omit": [],
111  "omit-lockfile-registry-resolved": false,
112  "only": null,
113  "optional": null,
114  "otp": null,
115  "package": [],
116  "package-lock": true,
117  "package-lock-only": false,
118  "pack-destination": ".",
119  "parseable": false,
120  "prefer-dedupe": false,
121  "prefer-offline": false,
122  "prefer-online": false,
123  "preid": "",
124  "production": null,
125  "progress": true,
126  "provenance": false,
127  "provenance-file": null,
128  "proxy": null,
129  "read-only": false,
130  "rebuild-bundle": true,
131  "registry": "https://registry.npmjs.org/",
132  "replace-registry-host": "npmjs",
133  "save": true,
134  "save-bundle": false,
135  "save-dev": false,
136  "save-exact": false,
137  "save-optional": false,
138  "save-peer": false,
139  "save-prefix": "^",
140  "save-prod": false,
141  "scope": "",
142  "script-shell": null,
143  "searchexclude": "",
144  "searchlimit": 20,
145  "searchopts": "",
146  "searchstaleness": 900,
147  "shell": "{SHELL}",
148  "shrinkwrap": true,
149  "sign-git-commit": false,
150  "sign-git-tag": false,
151  "strict-peer-deps": false,
152  "strict-ssl": true,
153  "tag": "latest",
154  "tag-version-prefix": "v",
155  "timing": false,
156  "umask": 0,
157  "unicode": false,
158  "update-notifier": true,
159  "usage": false,
160  "user-agent": "npm/{npm-version} node/{node-version} {platform} {arch} workspaces/{workspaces} {ci}",
161  "version": false,
162  "versions": false,
163  "viewer": "{VIEWER}",
164  "which": null,
165  "workspace": [],
166  "workspaces": null,
167  "workspaces-update": true,
168  "yes": null,
169  "npm-version": "{NPM-VERSION}"
170}
171`
172
173exports[`test/lib/commands/config.js TAP config list --long > output matches snapshot 1`] = `
174; "default" config from default values
175
176_auth = (protected)
177access = null
178all = false
179allow-same-version = false
180also = null
181audit = true
182audit-level = null
183auth-type = "web"
184before = null
185bin-links = true
186browser = null
187ca = null
188; cache = "{CACHE}" ; overridden by cli
189cache-max = null
190cache-min = 0
191cafile = null
192call = ""
193cert = null
194cidr = null
195color = true
196commit-hooks = true
197cpu = null
198depth = null
199description = true
200dev = false
201diff = []
202diff-dst-prefix = "b/"
203diff-ignore-all-space = false
204diff-name-only = false
205diff-no-prefix = false
206diff-src-prefix = "a/"
207diff-text = false
208diff-unified = 3
209dry-run = false
210editor = "{EDITOR}"
211engine-strict = false
212expect-result-count = null
213expect-results = null
214fetch-retries = 2
215fetch-retry-factor = 10
216fetch-retry-maxtimeout = 60000
217fetch-retry-mintimeout = 10000
218fetch-timeout = 300000
219force = false
220foreground-scripts = false
221format-package-lock = true
222fund = true
223git = "git"
224git-tag-version = true
225global = false
226global-style = false
227globalconfig = "{GLOBALPREFIX}/npmrc"
228heading = "npm"
229https-proxy = null
230if-present = false
231ignore-scripts = false
232include = []
233include-staged = false
234include-workspace-root = false
235init-author-email = ""
236init-author-name = ""
237init-author-url = ""
238init-license = "ISC"
239init-module = "{HOME}/.npm-init.js"
240init-version = "1.0.0"
241init.author.email = ""
242init.author.name = ""
243init.author.url = ""
244init.license = "ISC"
245init.module = "{HOME}/.npm-init.js"
246init.version = "1.0.0"
247install-links = false
248install-strategy = "hoisted"
249json = false
250key = null
251legacy-bundling = false
252legacy-peer-deps = false
253libc = null
254link = false
255local-address = null
256location = "user"
257lockfile-version = null
258loglevel = "notice"
259logs-dir = null
260logs-max = 10
261; long = false ; overridden by cli
262maxsockets = 15
263message = "%s"
264node-options = null
265noproxy = [""]
266npm-version = "{NPM-VERSION}"
267offline = false
268omit = []
269omit-lockfile-registry-resolved = false
270only = null
271optional = null
272os = null
273otp = null
274pack-destination = "."
275package = []
276package-lock = true
277package-lock-only = false
278parseable = false
279prefer-dedupe = false
280prefer-offline = false
281prefer-online = false
282; prefix = "{REALGLOBALREFIX}" ; overridden by cli
283preid = ""
284production = null
285progress = true
286provenance = false
287provenance-file = null
288proxy = null
289read-only = false
290rebuild-bundle = true
291registry = "https://registry.npmjs.org/"
292replace-registry-host = "npmjs"
293save = true
294save-bundle = false
295save-dev = false
296save-exact = false
297save-optional = false
298save-peer = false
299save-prefix = "^"
300save-prod = false
301sbom-format = null
302sbom-type = "library"
303scope = ""
304script-shell = null
305searchexclude = ""
306searchlimit = 20
307searchopts = ""
308searchstaleness = 900
309shell = "{SHELL}"
310shrinkwrap = true
311sign-git-commit = false
312sign-git-tag = false
313strict-peer-deps = false
314strict-ssl = true
315tag = "latest"
316tag-version-prefix = "v"
317timing = false
318umask = 0
319unicode = false
320update-notifier = true
321usage = false
322user-agent = "npm/{npm-version} node/{node-version} {platform} {arch} workspaces/{workspaces} {ci}"
323; userconfig = "{HOME}/.npmrc" ; overridden by cli
324version = false
325versions = false
326viewer = "{VIEWER}"
327which = null
328workspace = []
329workspaces = null
330workspaces-update = true
331yes = null
332
333; "global" config from {GLOBALPREFIX}/npmrc
334
335globalloaded = "yes"
336
337; "user" config from {HOME}/.npmrc
338
339userloaded = "yes"
340
341; "project" config from {LOCALPREFIX}/.npmrc
342
343projectloaded = "yes"
344
345; "cli" config from command line options
346
347cache = "{NPMDIR}/test/lib/commands/tap-testdir-config-config-list---long-sandbox/cache"
348long = true
349prefix = "{LOCALPREFIX}"
350userconfig = "{HOME}/.npmrc"
351`
352
353exports[`test/lib/commands/config.js TAP config list > output matches snapshot 1`] = `
354; "global" config from {GLOBALPREFIX}/npmrc
355
356globalloaded = "yes"
357
358; "user" config from {HOME}/.npmrc
359
360userloaded = "yes"
361
362; "project" config from {LOCALPREFIX}/.npmrc
363
364projectloaded = "yes"
365
366; "cli" config from command line options
367
368cache = "{NPMDIR}/test/lib/commands/tap-testdir-config-config-list-sandbox/cache"
369prefix = "{LOCALPREFIX}"
370userconfig = "{HOME}/.npmrc"
371
372; node bin location = {EXECPATH}
373; node version = {NODE-VERSION}
374; npm local prefix = {LOCALPREFIX}
375; npm version = {NPM-VERSION}
376; cwd = {NPMDIR}
377; HOME = {HOME}
378; Run \`npm config ls -l\` to show all defaults.
379`
380
381exports[`test/lib/commands/config.js TAP config list with publishConfig > output matches snapshot 1`] = `
382; "cli" config from command line options
383
384cache = "{NPMDIR}/test/lib/commands/tap-testdir-config-config-list-with-publishConfig-sandbox/cache"
385prefix = "{LOCALPREFIX}"
386userconfig = "{HOME}/.npmrc"
387
388; node bin location = {EXECPATH}
389; node version = {NODE-VERSION}
390; npm local prefix = {LOCALPREFIX}
391; npm version = {NPM-VERSION}
392; cwd = {NPMDIR}
393; HOME = {HOME}
394; Run \`npm config ls -l\` to show all defaults.
395
396; "publishConfig" from {LOCALPREFIX}/package.json
397; This set of config values will be used at publish-time.
398
399_authToken = (protected)
400registry = "https://some.registry"
401; "env" config from environment
402
403; cache = "{NPMDIR}/test/lib/commands/tap-testdir-config-config-list-with-publishConfig-sandbox/cache" ; overridden by cli
404global-prefix = "{LOCALPREFIX}"
405globalconfig = "{GLOBALPREFIX}/npmrc"
406init-module = "{HOME}/.npm-init.js"
407local-prefix = "{LOCALPREFIX}"
408npm-version = "{NPM-VERSION}"
409; prefix = "{LOCALPREFIX}" ; overridden by cli
410user-agent = "npm/{NPM-VERSION} node/{NODE-VERSION} {PLATFORM} {ARCH} workspaces/false"
411; userconfig = "{HOME}/.npmrc" ; overridden by cli
412
413; "cli" config from command line options
414
415cache = "{NPMDIR}/test/lib/commands/tap-testdir-config-config-list-with-publishConfig-sandbox/cache"
416global = true
417prefix = "{LOCALPREFIX}"
418userconfig = "{HOME}/.npmrc"
419
420; node bin location = {EXECPATH}
421; node version = {NODE-VERSION}
422; npm local prefix = {LOCALPREFIX}
423; npm version = {NPM-VERSION}
424; cwd = {NPMDIR}
425; HOME = {HOME}
426; Run \`npm config ls -l\` to show all defaults.
427`
428