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
|
/* 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/tap/flat-options.js TAP basic > flat options 1`] = `
Object {
"@scope:registry": "@scope:registry",
"//nerf.dart:_authToken": "//nerf.dart:_authToken",
"access": "access",
"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",
"cacheLockRetries": "cache-lock-retries",
"cacheLockStale": "cache-lock-stale",
"cacheLockWait": "cache-lock-wait",
"cacheMax": "cache-max",
"cacheMin": "cache-min",
"cafile": "cafile",
"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",
"localPrefix": "/path/to/npm/cli",
"lockFile": Object {
"retries": "cache-lock-retries",
"stale": "cache-lock-stale",
"wait": "cache-lock-wait",
},
"log": Object {},
"long": undefined,
"message": "message",
"metricsRegistry": "metrics-registry",
"nodeBin": "/path/to/some/node",
"nodeVersion": "1.2.3",
"npmBin": "/path/to/npm/bin.js",
"npmCommand": "test",
"npmSession": "12345",
"npmVersion": "7.6.5",
"offline": "offline",
"omit": Array [],
"otp": "otp",
"packageLock": "package-lock",
"packageLockOnly": "package-lock-only",
"parseable": undefined,
"preferDedupe": undefined,
"preferOffline": "prefer-offline",
"preferOnline": "prefer-online",
"prefix": "/path/to/npm/cli",
"preid": "preid",
"projectScope": "@npmcli",
"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": "@npmcli",
"scriptShell": "script-shell",
"search": Object {
"description": "description",
"exclude": "searchexclude",
"limit": "searchlimit",
"opts": "searchopts",
"staleness": "searchstaleness",
},
"sendMetrics": "send-metrics",
"signGitCommit": "sign-git-commit",
"signGitTag": "sign-git-tag",
"ssoPollFrequency": undefined,
"ssoType": undefined,
"strictSSL": "strict-ssl",
"tag": "tag",
"tagVersionPrefix": "tag-version-prefix",
"tmp": "/tmp",
"umask": 18,
"unicode": undefined,
"userAgent": "user-agent",
"viewer": "viewer",
}
`
|