@socketsecurity/cli-with-sentry 0.14.84 → 0.14.86
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/constants.d.ts +2 -2
- package/dist/instrument-with-sentry.js +2 -2
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/module-sync/cli.js +83 -50
- package/dist/module-sync/cli.js.map +1 -1
- package/dist/module-sync/shadow-npm-inject.js +8 -20
- package/dist/module-sync/shadow-npm-inject.js.map +1 -1
- package/dist/require/cli.js +83 -50
- package/dist/require/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ type IPC = Readonly<{
|
|
|
44
44
|
SOCKET_CLI_SAFE_PROGRESS?: boolean | undefined
|
|
45
45
|
}>
|
|
46
46
|
declare const constants: {
|
|
47
|
+
readonly NODE_ENV: 'NODE_ENV'
|
|
48
|
+
readonly kInternalsSymbol: unique symbol
|
|
47
49
|
readonly [kInternalsSymbol]: registryConstants.Internals
|
|
48
50
|
readonly AT_LATEST: '@latest'
|
|
49
51
|
readonly BIOME_JSON: 'biome.json'
|
|
@@ -69,7 +71,6 @@ declare const constants: {
|
|
|
69
71
|
readonly MANIFEST_JSON: 'manifest.json'
|
|
70
72
|
readonly MIT: 'MIT'
|
|
71
73
|
readonly NODE_AUTH_TOKEN: 'NODE_AUTH_TOKEN'
|
|
72
|
-
readonly NODE_ENV: 'NODE_ENV'
|
|
73
74
|
readonly NODE_MODULES: 'node_modules'
|
|
74
75
|
readonly NODE_MODULES_GLOB_RECURSIVE: '**/node_modules'
|
|
75
76
|
readonly NODE_WORKSPACES: 'node_workspaces'
|
|
@@ -152,7 +153,6 @@ declare const constants: {
|
|
|
152
153
|
'**/*.tsbuildinfo',
|
|
153
154
|
'**/Thumbs.db'
|
|
154
155
|
]
|
|
155
|
-
readonly kInternalsSymbol: unique symbol
|
|
156
156
|
readonly lifecycleScriptNames: ReadonlySet<string>
|
|
157
157
|
readonly maintainedNodeVersions: Readonly<MaintainedNodeVersions>
|
|
158
158
|
readonly nodeHardenFlags: readonly string[] & string[]
|
|
@@ -41,7 +41,7 @@ const relConstantsPath = './constants'
|
|
|
41
41
|
Sentry.setTag(
|
|
42
42
|
'version',
|
|
43
43
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
|
|
44
|
-
'0.14.
|
|
44
|
+
'0.14.86:69093e9:7f5177c3:pub'
|
|
45
45
|
)
|
|
46
46
|
const constants = require(relConstantsPath)
|
|
47
47
|
if (constants.ENV.SOCKET_CLI_DEBUG) {
|
|
@@ -56,5 +56,5 @@ const relConstantsPath = './constants'
|
|
|
56
56
|
} = constants
|
|
57
57
|
setSentry(Sentry)
|
|
58
58
|
}
|
|
59
|
-
//# debugId=
|
|
59
|
+
//# debugId=b5cab285-105f-4455-b8eb-98de3d625ca5
|
|
60
60
|
//# sourceMappingURL=instrument-with-sentry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrument-with-sentry.js","sources":["../../src/instrument-with-sentry.ts"],"sourcesContent":["// This should ONLY be included in the special Sentry build!\n// Otherwise the Sentry dependency won't even be present in the manifest.\n\nimport { logger } from '@socketsecurity/registry/lib/logger'\n\n// Require constants with require(relConstantsPath) instead of require('./constants')\n// so Rollup doesn't generate a constants2.js chunk.\nconst relConstantsPath = './constants'\n// The '@rollup/plugin-replace' will replace \"process.env['INLINED_SOCKET_CLI_SENTRY_BUILD']\".\nif (process.env['INLINED_SOCKET_CLI_SENTRY_BUILD']) {\n const Sentry = require('@sentry/node')\n Sentry.init({\n onFatalError(error: Error) {\n // Defer module loads until after Sentry.init is called.\n if (require(relConstantsPath).ENV.SOCKET_CLI_DEBUG) {\n logger.fail('[DEBUG] [Sentry onFatalError]:', error)\n }\n },\n dsn: 'https://66736701db8e4ffac046bd09fa6aaced@o555220.ingest.us.sentry.io/4508846967619585',\n enabled: true,\n integrations: []\n })\n Sentry.setTag(\n 'environment',\n // The '@rollup/plugin-replace' will replace \"process.env['INLINED_SOCKET_CLI_PUBLISHED_BUILD']\".\n process.env['INLINED_SOCKET_CLI_PUBLISHED_BUILD']\n ? 'pub'\n : // The NODE_ENV convention is used by apps to define the runtime environment.\n // https://nodejs.org/en/learn/getting-started/nodejs-the-difference-between-development-and-production\n process.env['NODE_ENV']\n )\n Sentry.setTag(\n 'version',\n // The '@rollup/plugin-replace' will replace \"process.env['INLINED_SOCKET_CLI_VERSION_HASH']\".\n process.env['INLINED_SOCKET_CLI_VERSION_HASH']\n )\n const constants = require(relConstantsPath)\n if (constants.ENV.SOCKET_CLI_DEBUG) {\n Sentry.setTag('debugging', true)\n logger.log('[DEBUG] Set up Sentry.')\n } else {\n Sentry.setTag('debugging', false)\n }\n const {\n kInternalsSymbol,\n [kInternalsSymbol as unknown as 'Symbol(kInternalsSymbol)']: { setSentry }\n } = constants\n setSentry(Sentry)\n} else if (require(relConstantsPath).ENV.SOCKET_CLI_DEBUG) {\n logger.log('[DEBUG] Sentry disabled explicitly.')\n}\n"],"names":["logger","dsn","enabled","integrations","process","Sentry","setSentry"],"mappings":";;;;;;;;;;;;;AAAA;AACA;;;AAIA;AACA;AACA;AACA;AACoD;AAClD;;;AAGI;;AAEEA;AACF;;AAEFC;AACAC;AACAC;AACF;;AAGE;AACAC;;AAQA;AACAA;AAEF;AACA;AACEC;AACAL;AACF;AACEK;AACF;;;AAGE;AAA+DC;AAAU;AAC3E;;AAEF","debugId":"
|
|
1
|
+
{"version":3,"file":"instrument-with-sentry.js","sources":["../../src/instrument-with-sentry.ts"],"sourcesContent":["// This should ONLY be included in the special Sentry build!\n// Otherwise the Sentry dependency won't even be present in the manifest.\n\nimport { logger } from '@socketsecurity/registry/lib/logger'\n\n// Require constants with require(relConstantsPath) instead of require('./constants')\n// so Rollup doesn't generate a constants2.js chunk.\nconst relConstantsPath = './constants'\n// The '@rollup/plugin-replace' will replace \"process.env['INLINED_SOCKET_CLI_SENTRY_BUILD']\".\nif (process.env['INLINED_SOCKET_CLI_SENTRY_BUILD']) {\n const Sentry = require('@sentry/node')\n Sentry.init({\n onFatalError(error: Error) {\n // Defer module loads until after Sentry.init is called.\n if (require(relConstantsPath).ENV.SOCKET_CLI_DEBUG) {\n logger.fail('[DEBUG] [Sentry onFatalError]:', error)\n }\n },\n dsn: 'https://66736701db8e4ffac046bd09fa6aaced@o555220.ingest.us.sentry.io/4508846967619585',\n enabled: true,\n integrations: []\n })\n Sentry.setTag(\n 'environment',\n // The '@rollup/plugin-replace' will replace \"process.env['INLINED_SOCKET_CLI_PUBLISHED_BUILD']\".\n process.env['INLINED_SOCKET_CLI_PUBLISHED_BUILD']\n ? 'pub'\n : // The NODE_ENV convention is used by apps to define the runtime environment.\n // https://nodejs.org/en/learn/getting-started/nodejs-the-difference-between-development-and-production\n process.env['NODE_ENV']\n )\n Sentry.setTag(\n 'version',\n // The '@rollup/plugin-replace' will replace \"process.env['INLINED_SOCKET_CLI_VERSION_HASH']\".\n process.env['INLINED_SOCKET_CLI_VERSION_HASH']\n )\n const constants = require(relConstantsPath)\n if (constants.ENV.SOCKET_CLI_DEBUG) {\n Sentry.setTag('debugging', true)\n logger.log('[DEBUG] Set up Sentry.')\n } else {\n Sentry.setTag('debugging', false)\n }\n const {\n kInternalsSymbol,\n [kInternalsSymbol as unknown as 'Symbol(kInternalsSymbol)']: { setSentry }\n } = constants\n setSentry(Sentry)\n} else if (require(relConstantsPath).ENV.SOCKET_CLI_DEBUG) {\n logger.log('[DEBUG] Sentry disabled explicitly.')\n}\n"],"names":["logger","dsn","enabled","integrations","process","Sentry","setSentry"],"mappings":";;;;;;;;;;;;;AAAA;AACA;;;AAIA;AACA;AACA;AACA;AACoD;AAClD;;;AAGI;;AAEEA;AACF;;AAEFC;AACAC;AACAC;AACF;;AAGE;AACAC;;AAQA;AACAA;AAEF;AACA;AACEC;AACAL;AACF;AACEK;AACF;;;AAGE;AAA+DC;AAAU;AAC3E;;AAEF","debugId":"b5cab285-105f-4455-b8eb-98de3d625ca5"}
|
package/dist/module-sync/cli.js
CHANGED
|
@@ -915,7 +915,7 @@ function emitBanner(name) {
|
|
|
915
915
|
logger.logger.error(getAsciiHeader(name))
|
|
916
916
|
}
|
|
917
917
|
function getAsciiHeader(command) {
|
|
918
|
-
const cliVersion = '0.14.
|
|
918
|
+
const cliVersion = '0.14.86:69093e9:7f5177c3:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
|
|
919
919
|
const nodeVersion = process$1.version
|
|
920
920
|
const apiToken = shadowNpmInject.getDefaultToken()
|
|
921
921
|
const shownToken = apiToken ? getLastFiveOfApiToken(apiToken) : 'no'
|
|
@@ -3945,10 +3945,14 @@ async function npmFix(
|
|
|
3945
3945
|
continue
|
|
3946
3946
|
}
|
|
3947
3947
|
const oldSpec = `${name}@${oldVersion}`
|
|
3948
|
+
let targetVersion
|
|
3949
|
+
let failed = false
|
|
3950
|
+
let installed = false
|
|
3951
|
+
let saved = false
|
|
3948
3952
|
if (
|
|
3949
3953
|
shadowNpmInject.updateNode(node, packument, vulnerableVersionRange)
|
|
3950
3954
|
) {
|
|
3951
|
-
|
|
3955
|
+
targetVersion = node.package.version
|
|
3952
3956
|
const fixSpec = `${name}@^${targetVersion}`
|
|
3953
3957
|
const revertData = {
|
|
3954
3958
|
...(pkgJson.dependencies
|
|
@@ -3968,8 +3972,6 @@ async function npmFix(
|
|
|
3968
3972
|
: undefined)
|
|
3969
3973
|
}
|
|
3970
3974
|
spinner?.info(`Installing ${fixSpec}`)
|
|
3971
|
-
let saved = false
|
|
3972
|
-
let installed = false
|
|
3973
3975
|
try {
|
|
3974
3976
|
shadowNpmInject.updatePackageJsonFromNode(
|
|
3975
3977
|
editablePkgJson,
|
|
@@ -3996,20 +3998,8 @@ async function npmFix(
|
|
|
3996
3998
|
}
|
|
3997
3999
|
spinner?.successAndStop(`Fixed ${name}`)
|
|
3998
4000
|
spinner?.start()
|
|
3999
|
-
// Lazily access constants.ENV[CI].
|
|
4000
|
-
if (constants.ENV[CI$1]) {
|
|
4001
|
-
// eslint-disable-next-line no-await-in-loop
|
|
4002
|
-
const prResponse = await openGitHubPullRequest(
|
|
4003
|
-
name,
|
|
4004
|
-
targetVersion,
|
|
4005
|
-
cwd
|
|
4006
|
-
)
|
|
4007
|
-
if (autoMerge) {
|
|
4008
|
-
// eslint-disable-next-line no-await-in-loop
|
|
4009
|
-
await enableAutoMerge(prResponse.data)
|
|
4010
|
-
}
|
|
4011
|
-
}
|
|
4012
4001
|
} catch {
|
|
4002
|
+
failed = true
|
|
4013
4003
|
spinner?.error(`Reverting ${fixSpec}`)
|
|
4014
4004
|
if (saved) {
|
|
4015
4005
|
editablePkgJson.update(revertData)
|
|
@@ -4025,8 +4015,35 @@ async function npmFix(
|
|
|
4025
4015
|
spinner?.failAndStop(`Failed to fix ${oldSpec}`)
|
|
4026
4016
|
}
|
|
4027
4017
|
} else {
|
|
4018
|
+
failed = true
|
|
4028
4019
|
spinner?.failAndStop(`Could not patch ${oldSpec}`)
|
|
4029
4020
|
}
|
|
4021
|
+
if (
|
|
4022
|
+
!failed &&
|
|
4023
|
+
// Check targetVersion to make TypeScript happy.
|
|
4024
|
+
targetVersion &&
|
|
4025
|
+
// Lazily access constants.ENV[CI].
|
|
4026
|
+
constants.ENV[CI$1]
|
|
4027
|
+
) {
|
|
4028
|
+
let prResponse
|
|
4029
|
+
try {
|
|
4030
|
+
// eslint-disable-next-line no-await-in-loop
|
|
4031
|
+
prResponse = await openGitHubPullRequest(name, targetVersion, cwd)
|
|
4032
|
+
} catch (e) {
|
|
4033
|
+
logger.logger.error('Failed to open pull request', e)
|
|
4034
|
+
}
|
|
4035
|
+
if (prResponse && autoMerge) {
|
|
4036
|
+
try {
|
|
4037
|
+
// eslint-disable-next-line no-await-in-loop
|
|
4038
|
+
await enableAutoMerge(prResponse.data)
|
|
4039
|
+
} catch (e) {
|
|
4040
|
+
logger.logger.error(
|
|
4041
|
+
'Failed to enable auto-merge in pull request',
|
|
4042
|
+
e
|
|
4043
|
+
)
|
|
4044
|
+
}
|
|
4045
|
+
}
|
|
4046
|
+
}
|
|
4030
4047
|
}
|
|
4031
4048
|
}
|
|
4032
4049
|
}
|
|
@@ -4214,7 +4231,7 @@ function runAgentInstall(pkgEnvDetails, options) {
|
|
|
4214
4231
|
...options
|
|
4215
4232
|
}
|
|
4216
4233
|
const skipNodeHardenFlags =
|
|
4217
|
-
|
|
4234
|
+
agent === PNPM$a && pkgEnvDetails.agentVersion.major < 11
|
|
4218
4235
|
return spawn.spawn(agentExecPath, ['install', ...args], {
|
|
4219
4236
|
spinner,
|
|
4220
4237
|
stdio: 'inherit',
|
|
@@ -4235,8 +4252,15 @@ function runAgentInstall(pkgEnvDetails, options) {
|
|
|
4235
4252
|
}
|
|
4236
4253
|
|
|
4237
4254
|
const { CI, NPM: NPM$c, OVERRIDES: OVERRIDES$2, PNPM: PNPM$9 } = constants
|
|
4255
|
+
async function getActualTree(cwd = process.cwd()) {
|
|
4256
|
+
const arb = new shadowNpmInject.SafeArborist({
|
|
4257
|
+
path: cwd,
|
|
4258
|
+
...shadowNpmInject.SAFE_ARBORIST_REIFY_OPTIONS_OVERRIDES
|
|
4259
|
+
})
|
|
4260
|
+
return await arb.loadActual()
|
|
4261
|
+
}
|
|
4238
4262
|
async function install(pkgEnvDetails, options) {
|
|
4239
|
-
const { spinner } = {
|
|
4263
|
+
const { cwd, spinner } = {
|
|
4240
4264
|
__proto__: null,
|
|
4241
4265
|
...options
|
|
4242
4266
|
}
|
|
@@ -4245,6 +4269,7 @@ async function install(pkgEnvDetails, options) {
|
|
|
4245
4269
|
spinner,
|
|
4246
4270
|
stdio: debug.isDebug() ? 'inherit' : 'ignore'
|
|
4247
4271
|
})
|
|
4272
|
+
return await getActualTree(cwd)
|
|
4248
4273
|
}
|
|
4249
4274
|
async function pnpmFix(
|
|
4250
4275
|
pkgEnvDetails,
|
|
@@ -4274,11 +4299,7 @@ async function pnpmFix(
|
|
|
4274
4299
|
editable: true
|
|
4275
4300
|
})
|
|
4276
4301
|
const { content: pkgJson } = editablePkgJson
|
|
4277
|
-
|
|
4278
|
-
path: cwd,
|
|
4279
|
-
...shadowNpmInject.SAFE_ARBORIST_REIFY_OPTIONS_OVERRIDES
|
|
4280
|
-
})
|
|
4281
|
-
await arb.loadActual()
|
|
4302
|
+
let actualTree = await getActualTree(cwd)
|
|
4282
4303
|
for (const { 0: name, 1: infos } of infoByPkg) {
|
|
4283
4304
|
if (registry.getManifestData(NPM$c, name)) {
|
|
4284
4305
|
spinner?.info(`Skipping ${name}. Socket Optimize package exists.`)
|
|
@@ -4286,7 +4307,7 @@ async function pnpmFix(
|
|
|
4286
4307
|
}
|
|
4287
4308
|
const specs = arrays.arrayUnique(
|
|
4288
4309
|
shadowNpmInject
|
|
4289
|
-
.findPackageNodes(
|
|
4310
|
+
.findPackageNodes(actualTree, name)
|
|
4290
4311
|
.map(n => `${n.name}@${n.version}`)
|
|
4291
4312
|
)
|
|
4292
4313
|
const packument =
|
|
@@ -4306,7 +4327,7 @@ async function pnpmFix(
|
|
|
4306
4327
|
vulnerableVersionRange
|
|
4307
4328
|
} of infos) {
|
|
4308
4329
|
const node = shadowNpmInject.findPackageNode(
|
|
4309
|
-
|
|
4330
|
+
actualTree,
|
|
4310
4331
|
name,
|
|
4311
4332
|
oldVersion
|
|
4312
4333
|
)
|
|
@@ -4323,6 +4344,9 @@ async function pnpmFix(
|
|
|
4323
4344
|
const targetPackument = targetVersion
|
|
4324
4345
|
? packument.versions[targetVersion]
|
|
4325
4346
|
: undefined
|
|
4347
|
+
let failed = false
|
|
4348
|
+
let installed = false
|
|
4349
|
+
let saved = false
|
|
4326
4350
|
if (targetVersion && targetPackument) {
|
|
4327
4351
|
const oldPnpm = pkgJson[PNPM$9]
|
|
4328
4352
|
const pnpmKeyCount = oldPnpm ? Object.keys(oldPnpm).length : 0
|
|
@@ -4372,13 +4396,11 @@ async function pnpmFix(
|
|
|
4372
4396
|
: undefined)
|
|
4373
4397
|
}
|
|
4374
4398
|
spinner?.info(`Installing ${fixSpec}`)
|
|
4375
|
-
let saved = false
|
|
4376
|
-
let installed = false
|
|
4377
4399
|
try {
|
|
4378
4400
|
editablePkgJson.update(updateData)
|
|
4379
4401
|
shadowNpmInject.updatePackageJsonFromNode(
|
|
4380
4402
|
editablePkgJson,
|
|
4381
|
-
|
|
4403
|
+
actualTree,
|
|
4382
4404
|
node,
|
|
4383
4405
|
rangeStyle
|
|
4384
4406
|
)
|
|
@@ -4387,7 +4409,7 @@ async function pnpmFix(
|
|
|
4387
4409
|
saved = true
|
|
4388
4410
|
|
|
4389
4411
|
// eslint-disable-next-line no-await-in-loop
|
|
4390
|
-
await install(pkgEnvDetails, {
|
|
4412
|
+
actualTree = await install(pkgEnvDetails, {
|
|
4391
4413
|
spinner
|
|
4392
4414
|
})
|
|
4393
4415
|
installed = true
|
|
@@ -4401,21 +4423,8 @@ async function pnpmFix(
|
|
|
4401
4423
|
}
|
|
4402
4424
|
spinner?.successAndStop(`Fixed ${name}`)
|
|
4403
4425
|
spinner?.start()
|
|
4404
|
-
|
|
4405
|
-
// Lazily access constants.ENV[CI].
|
|
4406
|
-
if (constants.ENV[CI]) {
|
|
4407
|
-
// eslint-disable-next-line no-await-in-loop
|
|
4408
|
-
const prResponse = await openGitHubPullRequest(
|
|
4409
|
-
name,
|
|
4410
|
-
targetVersion,
|
|
4411
|
-
cwd
|
|
4412
|
-
)
|
|
4413
|
-
if (autoMerge) {
|
|
4414
|
-
// eslint-disable-next-line no-await-in-loop
|
|
4415
|
-
await enableAutoMerge(prResponse.data)
|
|
4416
|
-
}
|
|
4417
|
-
}
|
|
4418
4426
|
} catch (e) {
|
|
4427
|
+
failed = true
|
|
4419
4428
|
spinner?.error(`Reverting ${fixSpec}`, e)
|
|
4420
4429
|
if (saved) {
|
|
4421
4430
|
editablePkgJson.update(revertData)
|
|
@@ -4424,18 +4433,42 @@ async function pnpmFix(
|
|
|
4424
4433
|
}
|
|
4425
4434
|
if (installed) {
|
|
4426
4435
|
// eslint-disable-next-line no-await-in-loop
|
|
4427
|
-
await install(pkgEnvDetails, {
|
|
4436
|
+
actualTree = await install(pkgEnvDetails, {
|
|
4428
4437
|
spinner
|
|
4429
4438
|
})
|
|
4430
|
-
arb.actualTree = null
|
|
4431
|
-
// eslint-disable-next-line no-await-in-loop
|
|
4432
|
-
await arb.loadActual()
|
|
4433
4439
|
}
|
|
4434
4440
|
spinner?.failAndStop(`Failed to fix ${oldSpec}`)
|
|
4435
4441
|
}
|
|
4436
4442
|
} else {
|
|
4443
|
+
failed = true
|
|
4437
4444
|
spinner?.failAndStop(`Could not patch ${oldSpec}`)
|
|
4438
4445
|
}
|
|
4446
|
+
if (
|
|
4447
|
+
!failed &&
|
|
4448
|
+
// Check targetVersion to make TypeScript happy.
|
|
4449
|
+
targetVersion &&
|
|
4450
|
+
// Lazily access constants.ENV[CI].
|
|
4451
|
+
constants.ENV[CI]
|
|
4452
|
+
) {
|
|
4453
|
+
let prResponse
|
|
4454
|
+
try {
|
|
4455
|
+
// eslint-disable-next-line no-await-in-loop
|
|
4456
|
+
prResponse = await openGitHubPullRequest(name, targetVersion, cwd)
|
|
4457
|
+
} catch (e) {
|
|
4458
|
+
logger.logger.error('Failed to open pull request', e)
|
|
4459
|
+
}
|
|
4460
|
+
if (prResponse && autoMerge) {
|
|
4461
|
+
try {
|
|
4462
|
+
// eslint-disable-next-line no-await-in-loop
|
|
4463
|
+
await enableAutoMerge(prResponse.data)
|
|
4464
|
+
} catch (e) {
|
|
4465
|
+
logger.logger.error(
|
|
4466
|
+
'Failed to enable auto-merge in pull request',
|
|
4467
|
+
e
|
|
4468
|
+
)
|
|
4469
|
+
}
|
|
4470
|
+
}
|
|
4471
|
+
}
|
|
4439
4472
|
}
|
|
4440
4473
|
}
|
|
4441
4474
|
}
|
|
@@ -11309,7 +11342,7 @@ void (async () => {
|
|
|
11309
11342
|
await updateNotifier({
|
|
11310
11343
|
name: SOCKET_CLI_BIN_NAME,
|
|
11311
11344
|
// The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
|
|
11312
|
-
version: '0.14.
|
|
11345
|
+
version: '0.14.86',
|
|
11313
11346
|
ttl: 86_400_000 /* 24 hours in milliseconds */
|
|
11314
11347
|
})
|
|
11315
11348
|
try {
|
|
@@ -11377,5 +11410,5 @@ void (async () => {
|
|
|
11377
11410
|
await shadowNpmInject.captureException(e)
|
|
11378
11411
|
}
|
|
11379
11412
|
})()
|
|
11380
|
-
//# debugId=
|
|
11413
|
+
//# debugId=25e9779a-36e3-488a-a24f-cffa66f1d6b5
|
|
11381
11414
|
//# sourceMappingURL=cli.js.map
|