socket 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.
@@ -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.84:15b8c69:ff509e18:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
918
+ const cliVersion = '0.14.85:f285d45:d2bf3ded: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'
@@ -4231,7 +4231,7 @@ function runAgentInstall(pkgEnvDetails, options) {
4231
4231
  }
4232
4232
 
4233
4233
  const { CI, NPM: NPM$c, OVERRIDES: OVERRIDES$2, PNPM: PNPM$9 } = constants
4234
- async function install(pkgEnvDetails, options) {
4234
+ async function install(pkgEnvDetails, arb, options) {
4235
4235
  const { spinner } = {
4236
4236
  __proto__: null,
4237
4237
  ...options
@@ -4241,6 +4241,8 @@ async function install(pkgEnvDetails, options) {
4241
4241
  spinner,
4242
4242
  stdio: debug.isDebug() ? 'inherit' : 'ignore'
4243
4243
  })
4244
+ arb.actualTree = null
4245
+ await arb.loadActual()
4244
4246
  }
4245
4247
  async function pnpmFix(
4246
4248
  pkgEnvDetails,
@@ -4383,7 +4385,7 @@ async function pnpmFix(
4383
4385
  saved = true
4384
4386
 
4385
4387
  // eslint-disable-next-line no-await-in-loop
4386
- await install(pkgEnvDetails, {
4388
+ await install(pkgEnvDetails, arb, {
4387
4389
  spinner
4388
4390
  })
4389
4391
  installed = true
@@ -4420,12 +4422,9 @@ async function pnpmFix(
4420
4422
  }
4421
4423
  if (installed) {
4422
4424
  // eslint-disable-next-line no-await-in-loop
4423
- await install(pkgEnvDetails, {
4425
+ await install(pkgEnvDetails, arb, {
4424
4426
  spinner
4425
4427
  })
4426
- arb.actualTree = null
4427
- // eslint-disable-next-line no-await-in-loop
4428
- await arb.loadActual()
4429
4428
  }
4430
4429
  spinner?.failAndStop(`Failed to fix ${oldSpec}`)
4431
4430
  }
@@ -11305,7 +11304,7 @@ void (async () => {
11305
11304
  await updateNotifier({
11306
11305
  name: SOCKET_CLI_BIN_NAME,
11307
11306
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
11308
- version: '0.14.84',
11307
+ version: '0.14.85',
11309
11308
  ttl: 86_400_000 /* 24 hours in milliseconds */
11310
11309
  })
11311
11310
  try {
@@ -11373,5 +11372,5 @@ void (async () => {
11373
11372
  await shadowNpmInject.captureException(e)
11374
11373
  }
11375
11374
  })()
11376
- //# debugId=8e20edbd-ad70-43a9-bf34-76c706516a49
11375
+ //# debugId=ff839060-5469-4c1b-a151-188589ff9d4a
11377
11376
  //# sourceMappingURL=cli.js.map