@socketsecurity/cli-with-sentry 0.14.67 → 0.14.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blessed/lib/alias.js +521 -0
- package/dist/blessed/lib/blessed.js +34 -0
- package/dist/blessed/lib/colors.js +492 -0
- package/dist/blessed/lib/events.js +197 -0
- package/dist/blessed/lib/gpmclient.js +247 -0
- package/dist/blessed/lib/helpers.js +172 -0
- package/dist/blessed/lib/keys.js +514 -0
- package/dist/blessed/lib/program.js +4532 -0
- package/dist/blessed/lib/tput.js +3113 -0
- package/dist/blessed/lib/unicode.js +914 -0
- package/dist/blessed/lib/widget.js +62 -0
- package/dist/blessed/lib/widgets/ansiimage.js +175 -0
- package/dist/blessed/lib/widgets/bigtext.js +172 -0
- package/dist/blessed/lib/widgets/box.js +36 -0
- package/dist/blessed/lib/widgets/button.js +64 -0
- package/dist/blessed/lib/widgets/checkbox.js +97 -0
- package/dist/blessed/lib/widgets/element.js +2873 -0
- package/dist/blessed/lib/widgets/filemanager.js +225 -0
- package/dist/blessed/lib/widgets/form.js +303 -0
- package/dist/blessed/lib/widgets/image.js +73 -0
- package/dist/blessed/lib/widgets/input.js +36 -0
- package/dist/blessed/lib/widgets/layout.js +251 -0
- package/dist/blessed/lib/widgets/line.js +61 -0
- package/dist/blessed/lib/widgets/list.js +654 -0
- package/dist/blessed/lib/widgets/listbar.js +454 -0
- package/dist/blessed/lib/widgets/listtable.js +267 -0
- package/dist/blessed/lib/widgets/loading.js +90 -0
- package/dist/blessed/lib/widgets/log.js +84 -0
- package/dist/blessed/lib/widgets/message.js +147 -0
- package/dist/blessed/lib/widgets/node.js +316 -0
- package/dist/blessed/lib/widgets/overlayimage.js +796 -0
- package/dist/blessed/lib/widgets/progressbar.js +168 -0
- package/dist/blessed/lib/widgets/prompt.js +129 -0
- package/dist/blessed/lib/widgets/question.js +131 -0
- package/dist/blessed/lib/widgets/radiobutton.js +64 -0
- package/dist/blessed/lib/widgets/radioset.js +38 -0
- package/dist/blessed/lib/widgets/screen.js +2489 -0
- package/dist/blessed/lib/widgets/scrollablebox.js +417 -0
- package/dist/blessed/lib/widgets/scrollabletext.js +37 -0
- package/dist/blessed/lib/widgets/table.js +385 -0
- package/dist/blessed/lib/widgets/terminal.js +454 -0
- package/dist/blessed/lib/widgets/text.js +37 -0
- package/dist/blessed/lib/widgets/textarea.js +378 -0
- package/dist/blessed/lib/widgets/textbox.js +81 -0
- package/dist/blessed/lib/widgets/video.js +132 -0
- package/dist/blessed/usr/fonts/AUTHORS +1 -0
- package/dist/blessed/usr/fonts/LICENSE +94 -0
- package/dist/blessed/usr/fonts/README +340 -0
- package/dist/blessed/usr/fonts/ter-u14b.json +17826 -0
- package/dist/blessed/usr/fonts/ter-u14n.json +17826 -0
- package/dist/blessed/usr/linux +0 -0
- package/dist/blessed/usr/windows-ansi +0 -0
- package/dist/blessed/usr/xterm +0 -0
- package/dist/blessed/usr/xterm-256color +0 -0
- package/dist/blessed/usr/xterm.termcap +243 -0
- package/dist/blessed/usr/xterm.terminfo +1977 -0
- package/dist/blessed/vendor/tng.js +1878 -0
- package/dist/constants.d.ts +271 -207
- package/dist/constants.js +271 -227
- package/dist/constants.js.map +1 -1
- package/dist/instrument-with-sentry.d.ts +1 -1
- package/dist/instrument-with-sentry.js +27 -24
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/module-sync/artifact.d.ts +60 -26
- package/dist/module-sync/cli.d.ts +1 -1
- package/dist/module-sync/cli.js +6803 -4726
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/cmd.d.ts +4 -4
- package/dist/module-sync/config.d.ts +42 -17
- package/dist/module-sync/edge.d.ts +73 -60
- package/dist/module-sync/errors.d.ts +26 -11
- package/dist/module-sync/index.d.ts +31 -20
- package/dist/module-sync/node.d.ts +118 -83
- package/dist/module-sync/override-set.d.ts +39 -33
- package/dist/module-sync/package-environment.d.ts +83 -52
- package/dist/module-sync/path-resolve.d.ts +14 -9
- package/dist/module-sync/sdk.d.ts +9 -5
- package/dist/module-sync/shadow-bin.d.ts +5 -2
- package/dist/module-sync/shadow-bin.js +82 -66
- package/dist/module-sync/shadow-bin.js.map +1 -1
- package/dist/module-sync/shadow-npm-inject.d.ts +1 -1
- package/dist/module-sync/shadow-npm-inject.js +1231 -986
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/module-sync/shadow-npm-paths.d.ts +28 -14
- package/dist/module-sync/shadow-npm-paths.js +300 -208
- package/dist/module-sync/shadow-npm-paths.js.map +1 -1
- package/dist/module-sync/socket-package-alert.d.ts +95 -39
- package/dist/module-sync/types.d.ts +75 -47
- package/dist/module-sync/vendor.js +15055 -0
- package/dist/module-sync/vendor.js.map +1 -0
- package/dist/require/cli.d.ts +1 -1
- package/dist/require/cli.js +6802 -4724
- package/dist/require/cli.js.map +1 -1
- package/dist/require/vendor.js +2 -9145
- package/package.json +48 -38
- package/dist/require/vendor.js.map +0 -1
package/dist/constants.d.ts
CHANGED
|
@@ -1,210 +1,274 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import registryConstants from '@socketsecurity/registry/lib/constants'
|
|
3
|
-
import { Agent } from
|
|
4
|
-
import { Remap } from '@socketsecurity/registry/lib/objects'
|
|
5
|
-
type RegistryEnv = typeof registryConstants.ENV
|
|
6
|
-
type RegistryInternals = (typeof registryConstants)['Symbol(kInternalsSymbol)']
|
|
7
|
-
type Sentry = any
|
|
8
|
-
type Internals = Remap<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
2
|
+
import registryConstants from '@socketsecurity/registry/lib/constants'
|
|
3
|
+
import { Agent } from './package-environment.js'
|
|
4
|
+
import { Remap } from '@socketsecurity/registry/lib/objects'
|
|
5
|
+
type RegistryEnv = typeof registryConstants.ENV
|
|
6
|
+
type RegistryInternals = (typeof registryConstants)['Symbol(kInternalsSymbol)']
|
|
7
|
+
type Sentry = any
|
|
8
|
+
type Internals = Remap<
|
|
9
|
+
Omit<RegistryInternals, 'getIpc'> &
|
|
10
|
+
Readonly<{
|
|
11
|
+
getIpc: {
|
|
12
|
+
(): Promise<IPC>
|
|
13
|
+
<K extends keyof IPC | undefined>(
|
|
14
|
+
key?: K | undefined
|
|
15
|
+
): Promise<K extends keyof IPC ? IPC[K] : IPC>
|
|
16
|
+
}
|
|
17
|
+
getSentry: () => Sentry
|
|
18
|
+
setSentry(Sentry: Sentry): boolean
|
|
19
|
+
}>
|
|
20
|
+
>
|
|
21
|
+
type ENV = Remap<
|
|
22
|
+
RegistryEnv &
|
|
23
|
+
Readonly<{
|
|
24
|
+
LOCALAPPDATA: string
|
|
25
|
+
SOCKET_CLI_ACCEPT_RISKS: boolean
|
|
26
|
+
SOCKET_CLI_DEBUG: boolean
|
|
27
|
+
SOCKET_CLI_NO_API_TOKEN: boolean
|
|
28
|
+
SOCKET_CLI_VIEW_ALL_RISKS: boolean
|
|
29
|
+
SOCKET_SECURITY_API_BASE_URL: string
|
|
30
|
+
SOCKET_SECURITY_API_PROXY: string
|
|
31
|
+
SOCKET_SECURITY_API_TOKEN: string
|
|
32
|
+
XDG_DATA_HOME: string
|
|
33
|
+
}>
|
|
34
|
+
>
|
|
21
35
|
type IPC = Readonly<{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
36
|
+
SOCKET_CLI_FIX?: string | undefined
|
|
37
|
+
SOCKET_CLI_OPTIMIZE?: boolean | undefined
|
|
38
|
+
SOCKET_CLI_SAFE_BIN?: string | undefined
|
|
39
|
+
SOCKET_CLI_SAFE_PROGRESS?: boolean | undefined
|
|
40
|
+
}>
|
|
26
41
|
declare const constants: {
|
|
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
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
42
|
+
readonly [kInternalsSymbol]: registryConstants.Internals
|
|
43
|
+
readonly AT_LATEST: '@latest'
|
|
44
|
+
readonly BIOME_JSON: 'biome.json'
|
|
45
|
+
readonly CI: 'CI'
|
|
46
|
+
readonly COLUMN_LIMIT: 80
|
|
47
|
+
readonly EMPTY_FILE: '/* empty */\n'
|
|
48
|
+
readonly ESLINT_CONFIG_JS: 'eslint.config.js'
|
|
49
|
+
readonly ESNEXT: 'esnext'
|
|
50
|
+
readonly EXT_CMD: '.cmd'
|
|
51
|
+
readonly EXT_PS1: '.ps1'
|
|
52
|
+
readonly EXTENSIONS: 'extensions'
|
|
53
|
+
readonly EXTENSIONS_JSON: 'extensions.json'
|
|
54
|
+
readonly GITIGNORE: '.gitignore'
|
|
55
|
+
readonly HIDDEN_PACKAGE_LOCK_JSON: '.package-lock.json'
|
|
56
|
+
readonly LATEST: 'latest'
|
|
57
|
+
readonly LICENSE: 'LICENSE'
|
|
58
|
+
readonly LICENSE_GLOB: 'LICEN[CS]E{[.-]*,}'
|
|
59
|
+
readonly LICENSE_GLOB_RECURSIVE: '**/LICEN[CS]E{[.-]*,}'
|
|
60
|
+
readonly LICENSE_ORIGINAL: 'LICENSE.original'
|
|
61
|
+
readonly LICENSE_ORIGINAL_GLOB: '*.original{.*,}'
|
|
62
|
+
readonly LICENSE_ORIGINAL_GLOB_RECURSIVE: '**/*.original{.*,}'
|
|
63
|
+
readonly LOOP_SENTINEL: 1000000
|
|
64
|
+
readonly MANIFEST_JSON: 'manifest.json'
|
|
65
|
+
readonly MIT: 'MIT'
|
|
66
|
+
readonly NODE_AUTH_TOKEN: 'NODE_AUTH_TOKEN'
|
|
67
|
+
readonly NODE_ENV: 'NODE_ENV'
|
|
68
|
+
readonly NODE_MODULES: 'node_modules'
|
|
69
|
+
readonly NODE_MODULES_GLOB_RECURSIVE: '**/node_modules'
|
|
70
|
+
readonly NODE_WORKSPACES: 'node_workspaces'
|
|
71
|
+
readonly NODE_VERSION: string
|
|
72
|
+
readonly NPM: 'npm'
|
|
73
|
+
readonly NPX: 'npx'
|
|
74
|
+
readonly OVERRIDES: 'overrides'
|
|
75
|
+
readonly PACKAGE_DEFAULT_SOCKET_CATEGORIES: readonly ['cleanup']
|
|
76
|
+
readonly PACKAGE_DEFAULT_NODE_RANGE: string
|
|
77
|
+
readonly PACKAGE_DEFAULT_VERSION: '1.0.0'
|
|
78
|
+
readonly PACKAGE_JSON: 'package.json'
|
|
79
|
+
readonly PACKAGE_LOCK_JSON: 'package-lock.json'
|
|
80
|
+
readonly PRE_COMMIT: 'PRE_COMMIT'
|
|
81
|
+
readonly README_GLOB: 'README{.*,}'
|
|
82
|
+
readonly README_GLOB_RECURSIVE: '**/README{.*,}'
|
|
83
|
+
readonly README_MD: 'README.md'
|
|
84
|
+
readonly REGISTRY: 'registry'
|
|
85
|
+
readonly REGISTRY_SCOPE_DELIMITER: '__'
|
|
86
|
+
readonly RESOLUTIONS: 'resolutions'
|
|
87
|
+
readonly SOCKET_GITHUB_ORG: 'SocketDev'
|
|
88
|
+
readonly SOCKET_IPC_HANDSHAKE: 'SOCKET_IPC_HANDSHAKE'
|
|
89
|
+
readonly SOCKET_OVERRIDE_SCOPE: '@socketoverride'
|
|
90
|
+
readonly SOCKET_PUBLIC_API_KEY: string
|
|
91
|
+
readonly SOCKET_PUBLIC_API_TOKEN: string
|
|
92
|
+
readonly SOCKET_REGISTRY_NPM_ORG: 'socketregistry'
|
|
93
|
+
readonly SOCKET_REGISTRY_PACKAGE_NAME: '@socketsecurity/registry'
|
|
94
|
+
readonly SOCKET_REGISTRY_REPO_NAME: 'socket-registry'
|
|
95
|
+
readonly SOCKET_REGISTRY_SCOPE: '@socketregistry'
|
|
96
|
+
readonly SOCKET_SECURITY_SCOPE: '@socketsecurity'
|
|
97
|
+
readonly SUPPORTS_NODE_DISABLE_WARNING_FLAG: boolean
|
|
98
|
+
readonly SUPPORTS_NODE_REQUIRE_MODULE: boolean
|
|
99
|
+
readonly SUPPORTS_NODE_RUN: boolean
|
|
100
|
+
readonly SUPPORTS_PROCESS_SEND: boolean
|
|
101
|
+
readonly TAP: 'TAP'
|
|
102
|
+
readonly TEMPLATE_CJS: 'CJS'
|
|
103
|
+
readonly TEMPLATE_CJS_BROWSER: 'cjs-browser'
|
|
104
|
+
readonly TEMPLATE_CJS_ESM: 'cjs-esm'
|
|
105
|
+
readonly TEMPLATE_ES_SHIM_CONSTRUCTOR: 'es-shim-constructor'
|
|
106
|
+
readonly TEMPLATE_ES_SHIM_PROTOTYPE_METHOD: 'es-shim-prototype-method'
|
|
107
|
+
readonly TEMPLATE_ES_SHIM_STATIC_METHOD: 'es-shim-static-method'
|
|
108
|
+
readonly TSCONFIG_JSON: 'tsconfig.json'
|
|
109
|
+
readonly UNDEFINED_TOKEN: {}
|
|
110
|
+
readonly UNLICENCED: 'UNLICENCED'
|
|
111
|
+
readonly UNLICENSED: 'UNLICENSED'
|
|
112
|
+
readonly UTF8: 'utf8'
|
|
113
|
+
readonly VITEST: 'VITEST'
|
|
114
|
+
readonly WIN32: boolean
|
|
115
|
+
readonly abortController: AbortController
|
|
116
|
+
readonly abortSignal: AbortSignal
|
|
117
|
+
readonly copyLeftLicenses: ReadonlySet<string>
|
|
118
|
+
readonly execPath: string
|
|
119
|
+
readonly ignoreGlobs: readonly [
|
|
120
|
+
'**/.git',
|
|
121
|
+
'**/.npmrc',
|
|
122
|
+
'**/bun.lockb?',
|
|
123
|
+
'**/node_modules',
|
|
124
|
+
'**/package-lock.json',
|
|
125
|
+
'**/pnpm-lock.ya?ml',
|
|
126
|
+
'**/yarn.lock',
|
|
127
|
+
'**/.DS_Store',
|
|
128
|
+
'**/.gitignore',
|
|
129
|
+
'**/.hg',
|
|
130
|
+
'**/.lock-wscript',
|
|
131
|
+
'**/.npmignore',
|
|
132
|
+
'**/.svn',
|
|
133
|
+
'**/.wafpickle-*',
|
|
134
|
+
'**/.*.swp',
|
|
135
|
+
'**/._*/**',
|
|
136
|
+
'**/archived-packages/**',
|
|
137
|
+
'**/build/config.gypi',
|
|
138
|
+
'**/CVS',
|
|
139
|
+
'**/npm-debug.log',
|
|
140
|
+
'**/*.orig',
|
|
141
|
+
'**/.env',
|
|
142
|
+
'**/.eslintcache',
|
|
143
|
+
'**/.nvm',
|
|
144
|
+
'**/.tap',
|
|
145
|
+
'**/.tapci.yaml',
|
|
146
|
+
'**/.vscode',
|
|
147
|
+
'**/*.tsbuildinfo',
|
|
148
|
+
'**/Thumbs.db'
|
|
149
|
+
]
|
|
150
|
+
readonly kInternalsSymbol: unique symbol
|
|
151
|
+
readonly lifecycleScriptNames: ReadonlySet<string>
|
|
152
|
+
readonly maintainedNodeVersions: Readonly<MaintainedNodeVersions>
|
|
153
|
+
readonly nodeHardenFlags: readonly [
|
|
154
|
+
'--disable-proto',
|
|
155
|
+
'delete',
|
|
156
|
+
'--frozen-intrinsics',
|
|
157
|
+
'--no-deprecation'
|
|
158
|
+
] &
|
|
159
|
+
string[]
|
|
160
|
+
readonly nodeNoWarningsFlags: readonly [
|
|
161
|
+
'--disable-warning',
|
|
162
|
+
'ExperimentalWarning'
|
|
163
|
+
]
|
|
164
|
+
readonly npmExecPath: string
|
|
165
|
+
readonly packageExtensions: readonly [string, object][]
|
|
166
|
+
readonly packumentCache: Map<unknown, unknown>
|
|
167
|
+
readonly pacoteCachePath: string
|
|
168
|
+
readonly parseArgsConfig: import(
|
|
169
|
+
'@socketsecurity/registry/lib/constants/parse-args-config'
|
|
170
|
+
)
|
|
171
|
+
readonly skipTestsByEcosystem: Map<string, ReadonlySet<string>>
|
|
172
|
+
readonly spinner: {
|
|
173
|
+
[x: string]: YoctoSpinner
|
|
174
|
+
[x: number]: YoctoSpinner
|
|
175
|
+
[x: symbol]: YoctoSpinner
|
|
176
|
+
error: (text?: string | undefined, ...extras: any[]) => any
|
|
177
|
+
errorAndStop: (text?: string | undefined, ...extras: any[]) => any
|
|
178
|
+
fail: (text?: string | undefined, ...extras: any[]) => any
|
|
179
|
+
failAndStop: (text?: string | undefined, ...extras: any[]) => any
|
|
180
|
+
getText: () => string
|
|
181
|
+
info: (text?: string | undefined, ...extras: any[]) => any
|
|
182
|
+
infoAndStop: (text?: string | undefined, ...extras: any[]) => any
|
|
183
|
+
log: (text?: string | undefined, ...extras: any[]) => any
|
|
184
|
+
logAndStop: (text?: string | undefined, ...extras: any[]) => any
|
|
185
|
+
setText: (text?: string | undefined) => any
|
|
186
|
+
start: (text?: string | undefined, ...extras: any[]) => any
|
|
187
|
+
stop: (finalText?: string | undefined, ...extras: any[]) => any
|
|
188
|
+
success: (text?: string | undefined, ...extras: any[]) => any
|
|
189
|
+
successAndStop: (text?: string | undefined, ...extras: any[]) => any
|
|
190
|
+
warn: (text?: string | undefined, ...extras: any[]) => any
|
|
191
|
+
warnAndStop: (text?: string | undefined, ...extras: any[]) => any
|
|
192
|
+
warning: (text?: string | undefined, ...extras: any[]) => any
|
|
193
|
+
warningAndStop: (text?: string | undefined, ...extras: any[]) => any
|
|
194
|
+
}
|
|
195
|
+
readonly tsLibsAvailable: ReadonlySet<string>
|
|
196
|
+
readonly tsTypesAvailable: ReadonlySet<string>
|
|
197
|
+
readonly win32EnsureTestsByEcosystem: Map<string, ReadonlySet<string>>
|
|
198
|
+
readonly 'Symbol(kInternalsSymbol)': Internals
|
|
199
|
+
readonly ALERT_TYPE_CRITICAL_CVE: 'criticalCVE'
|
|
200
|
+
readonly ALERT_TYPE_CVE: 'cve'
|
|
201
|
+
readonly ALERT_TYPE_MEDIUM_CVE: 'mediumCVE'
|
|
202
|
+
readonly ALERT_TYPE_MILD_CVE: 'mildCVE'
|
|
203
|
+
readonly API_V0_URL: 'https://api.socket.dev/v0/'
|
|
204
|
+
readonly BINARY_LOCK_EXT: '.lockb'
|
|
205
|
+
readonly BUN: 'bun'
|
|
206
|
+
readonly CLI: 'cli'
|
|
207
|
+
readonly CVE_ALERT_PROPS_FIRST_PATCHED_VERSION_IDENTIFIER: 'firstPatchedVersionIdentifier'
|
|
208
|
+
readonly ENV: ENV
|
|
209
|
+
readonly DIST_TYPE: 'module-sync' | 'require'
|
|
210
|
+
readonly DRY_RUN_LABEL: '[DryRun]'
|
|
211
|
+
readonly DRY_RUN_BAIL_TEXT: '[DryRun] Bailing now'
|
|
212
|
+
readonly INLINED_SOCKET_CLI_LEGACY_BUILD: 'INLINED_SOCKET_CLI_LEGACY_BUILD'
|
|
213
|
+
readonly INLINED_SOCKET_CLI_PUBLISHED_BUILD: 'INLINED_SOCKET_CLI_PUBLISHED_BUILD'
|
|
214
|
+
readonly INLINED_SOCKET_CLI_SENTRY_BUILD: 'INLINED_SOCKET_CLI_SENTRY_BUILD'
|
|
215
|
+
readonly IPC: IPC
|
|
216
|
+
readonly LOCALAPPDATA: 'LOCALAPPDATA'
|
|
217
|
+
readonly LOCK_EXT: '.lock'
|
|
218
|
+
readonly MODULE_SYNC: 'module-sync'
|
|
219
|
+
readonly NPM_BUGGY_OVERRIDES_PATCHED_VERSION: '11.2.0'
|
|
220
|
+
readonly NPM_REGISTRY_URL: 'https://registry.npmjs.org'
|
|
221
|
+
readonly PNPM: 'pnpm'
|
|
222
|
+
readonly REDACTED: '<redacted>'
|
|
223
|
+
readonly REQUIRE: 'require'
|
|
224
|
+
readonly SHADOW_NPM_BIN: 'shadow-bin'
|
|
225
|
+
readonly SHADOW_NPM_INJECT: 'shadow-npm-inject'
|
|
226
|
+
readonly SHADOW_NPM_PATHS: 'shadow-npm-paths'
|
|
227
|
+
readonly SOCKET: 'socket'
|
|
228
|
+
readonly SOCKET_APP_DIR: 'socket/settings'
|
|
229
|
+
readonly SOCKET_CLI_ACCEPT_RISKS: 'SOCKET_CLI_ACCEPT_RISKS'
|
|
230
|
+
readonly SOCKET_CLI_BIN_NAME: 'socket'
|
|
231
|
+
readonly SOCKET_CLI_BIN_NAME_ALIAS: 'cli'
|
|
232
|
+
readonly SOCKET_CLI_DEBUG: 'SOCKET_CLI_DEBUG'
|
|
233
|
+
readonly SOCKET_CLI_FIX: 'SOCKET_CLI_FIX'
|
|
234
|
+
readonly SOCKET_CLI_ISSUES_URL: 'https://github.com/SocketDev/socket-cli/issues'
|
|
235
|
+
readonly SOCKET_CLI_SENTRY_BIN_NAME_ALIAS: 'cli-with-sentry'
|
|
236
|
+
readonly SOCKET_CLI_LEGACY_PACKAGE_NAME: '@socketsecurity/cli'
|
|
237
|
+
readonly SOCKET_CLI_NO_API_TOKEN: 'SOCKET_CLI_NO_API_TOKEN'
|
|
238
|
+
readonly SOCKET_CLI_NPM_BIN_NAME: 'socket-npm'
|
|
239
|
+
readonly SOCKET_CLI_NPX_BIN_NAME: 'socket-npx'
|
|
240
|
+
readonly SOCKET_CLI_OPTIMIZE: 'SOCKET_CLI_OPTIMIZE'
|
|
241
|
+
readonly SOCKET_CLI_PACKAGE_NAME: 'socket'
|
|
242
|
+
readonly SOCKET_CLI_SAFE_BIN: 'SOCKET_CLI_SAFE_BIN'
|
|
243
|
+
readonly SOCKET_CLI_SAFE_PROGRESS: 'SOCKET_CLI_SAFE_PROGRESS'
|
|
244
|
+
readonly SOCKET_CLI_SENTRY_BIN_NAME: 'socket-with-sentry'
|
|
245
|
+
readonly SOCKET_CLI_SENTRY_NPM_BIN_NAME: 'socket-npm-with-sentry'
|
|
246
|
+
readonly SOCKET_CLI_SENTRY_NPX_BIN_NAME: 'socket-npx-with-sentry'
|
|
247
|
+
readonly SOCKET_CLI_SENTRY_PACKAGE_NAME: '@socketsecurity/cli-with-sentry'
|
|
248
|
+
readonly SOCKET_CLI_VIEW_ALL_RISKS: 'SOCKET_CLI_VIEW_ALL_RISKS'
|
|
249
|
+
readonly SOCKET_SECURITY_API_BASE_URL: 'SOCKET_SECURITY_API_BASE_URL'
|
|
250
|
+
readonly SOCKET_SECURITY_API_PROXY: 'SOCKET_SECURITY_API_PROXY'
|
|
251
|
+
readonly SOCKET_SECURITY_API_TOKEN: 'SOCKET_SECURITY_API_TOKEN'
|
|
252
|
+
readonly VLT: 'vlt'
|
|
253
|
+
readonly WITH_SENTRY: 'with-sentry'
|
|
254
|
+
readonly XDG_DATA_HOME: 'XDG_DATA_HOME'
|
|
255
|
+
readonly YARN: 'yarn'
|
|
256
|
+
readonly YARN_BERRY: 'yarn/berry'
|
|
257
|
+
readonly YARN_CLASSIC: 'yarn/classic'
|
|
258
|
+
readonly YARN_LOCK: 'yarn.lock'
|
|
259
|
+
readonly bashRcPath: string
|
|
260
|
+
readonly distCliPath: string
|
|
261
|
+
readonly distInstrumentWithSentryPath: string
|
|
262
|
+
readonly distPath: string
|
|
263
|
+
readonly distShadowNpmBinPath: string
|
|
264
|
+
readonly distShadowNpmInjectPath: string
|
|
265
|
+
readonly homePath: string
|
|
266
|
+
readonly minimumVersionByAgent: Map<Agent, string>
|
|
267
|
+
readonly nmBinPath: string
|
|
268
|
+
readonly rootBinPath: string
|
|
269
|
+
readonly rootDistPath: string
|
|
270
|
+
readonly rootPath: string
|
|
271
|
+
readonly shadowBinPath: string
|
|
272
|
+
readonly zshRcPath: string
|
|
273
|
+
}
|
|
274
|
+
export { constants as default }
|