1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
/* 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'
exports[`test/lib/utils/flat-options.js TAP basic > flat options 1`] = `
Object {
"_auth": undefined,
"@scope:registry": "@scope:registry",
"//nerf.dart:_authToken": "//nerf.dart:_authToken",
"access": "access",
"all": undefined,
"allowSameVersion": "allow-same-version",
"alwaysAuth": "always-auth",
"audit": "audit",
"auditLevel": "audit-level",
"authType": "auth-type",
"before": "before",
"binLinks": "bin-links",
"browser": "browser",
"ca": "ca",
"cache": "cache/_cacache",
"cafile": "cafile",
"call": "call",
"cert": "cert",
"cidr": "cidr",
"color": true,
"commitHooks": "commit-hooks",
"defaultTag": "tag",
"depth": "depth",
"dmode": 511,
"dryRun": "dry-run",
"editor": "editor",
"engineStrict": "engine-strict",
"fmode": 438,
"force": "force",
"formatPackageLock": "format-package-lock",
"fund": "fund",
"git": "git",
"gitTagVersion": "git-tag-version",
"global": "global",
"globalPrefix": "/usr/local",
"globalStyle": "global-style",
"hashAlgorithm": "sha1",
"ignoreScripts": undefined,
"includeStaged": undefined,
"json": undefined,
"key": "key",
"legacyBundling": "legacy-bundling",
"legacyPeerDeps": undefined,
"localPrefix": "/path/to/npm/cli",
"log": Object {},
"long": undefined,
"message": "message",
"nodeBin": "/path/to/some/node",
"nodeVersion": "1.2.3",
"noProxy": "noproxy",
"npmBin": "/path/to/npm/bin.js",
"npmCommand": null,
"npmSession": "12345",
"npmVersion": "7.6.5",
"offline": "offline",
"omit": Array [],
"otp": "otp",
"package": "package",
"packageLock": true,
"packageLockOnly": "package-lock-only",
"parseable": undefined,
"preferDedupe": undefined,
"preferOffline": "prefer-offline",
"preferOnline": "prefer-online",
"prefix": "/path/to/npm/cli",
"preid": "preid",
"projectScope": "@npmcli",
"proxy": "proxy",
"readOnly": "read-only",
"rebuildBundle": "rebuild-bundle",
"registry": "registry",
"retry": Object {
"factor": "fetch-retry-factor",
"maxTimeout": "fetch-retry-maxtimeout",
"minTimeout": "fetch-retry-mintimeout",
"retries": "fetch-retries",
},
"save": "save",
"saveBundle": false,
"savePrefix": "",
"saveType": "peerOptional",
"scope": "",
"scriptShell": "script-shell",
"search": Object {
"description": "description",
"exclude": "searchexclude",
"limit": "searchlimit",
"opts": Null Object {
"from": "1",
},
"staleness": "searchstaleness",
},
"shell": undefined,
"signGitCommit": "sign-git-commit",
"signGitTag": "sign-git-tag",
"ssoPollFrequency": undefined,
"ssoType": undefined,
"strictPeerDeps": undefined,
"strictSSL": "strict-ssl",
"tag": "tag",
"tagVersionPrefix": "tag-version-prefix",
"timeout": "fetch-timeout",
"tmp": "/tmp",
"umask": 18,
"unicode": undefined,
"userAgent": "user-agent",
"viewer": "viewer",
"which": undefined,
"yes": undefined,
}
`
|