@socketsecurity/cli-with-sentry 0.14.84 → 0.14.85

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.
@@ -912,7 +912,7 @@ function emitBanner(name) {
912
912
  logger.logger.error(getAsciiHeader(name))
913
913
  }
914
914
  function getAsciiHeader(command) {
915
- const cliVersion = '0.14.84:15b8c69:37077c67:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
915
+ const cliVersion = '0.14.85:f285d45:d2e4291f:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
916
916
  const nodeVersion = process$1.version
917
917
  const apiToken = shadowNpmInject.getDefaultToken()
918
918
  const shownToken = apiToken ? getLastFiveOfApiToken(apiToken) : 'no'
@@ -4232,7 +4232,7 @@ function runAgentInstall(pkgEnvDetails, options) {
4232
4232
  }
4233
4233
 
4234
4234
  const { CI, NPM: NPM$c, OVERRIDES: OVERRIDES$2, PNPM: PNPM$9 } = constants
4235
- async function install(pkgEnvDetails, options) {
4235
+ async function install(pkgEnvDetails, arb, options) {
4236
4236
  const { spinner } = {
4237
4237
  __proto__: null,
4238
4238
  ...options
@@ -4242,6 +4242,8 @@ async function install(pkgEnvDetails, options) {
4242
4242
  spinner,
4243
4243
  stdio: debug.isDebug() ? 'inherit' : 'ignore'
4244
4244
  })
4245
+ arb.actualTree = null
4246
+ await arb.loadActual()
4245
4247
  }
4246
4248
  async function pnpmFix(
4247
4249
  pkgEnvDetails,
@@ -4384,7 +4386,7 @@ async function pnpmFix(
4384
4386
  saved = true
4385
4387
 
4386
4388
  // eslint-disable-next-line no-await-in-loop
4387
- await install(pkgEnvDetails, {
4389
+ await install(pkgEnvDetails, arb, {
4388
4390
  spinner
4389
4391
  })
4390
4392
  installed = true
@@ -4421,12 +4423,9 @@ async function pnpmFix(
4421
4423
  }
4422
4424
  if (installed) {
4423
4425
  // eslint-disable-next-line no-await-in-loop
4424
- await install(pkgEnvDetails, {
4426
+ await install(pkgEnvDetails, arb, {
4425
4427
  spinner
4426
4428
  })
4427
- arb.actualTree = null
4428
- // eslint-disable-next-line no-await-in-loop
4429
- await arb.loadActual()
4430
4429
  }
4431
4430
  spinner?.failAndStop(`Failed to fix ${oldSpec}`)
4432
4431
  }
@@ -11308,7 +11307,7 @@ void (async () => {
11308
11307
  await vendor.updater({
11309
11308
  name: SOCKET_CLI_BIN_NAME,
11310
11309
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
11311
- version: '0.14.84',
11310
+ version: '0.14.85',
11312
11311
  ttl: 86_400_000 /* 24 hours in milliseconds */
11313
11312
  })
11314
11313
  try {
@@ -11376,5 +11375,5 @@ void (async () => {
11376
11375
  await shadowNpmInject.captureException(e)
11377
11376
  }
11378
11377
  })()
11379
- //# debugId=831b688d-1508-4066-a22d-2e166b1f82d1
11378
+ //# debugId=4588b62f-01ad-45c5-b794-41f01c684e1f
11380
11379
  //# sourceMappingURL=cli.js.map