socket 0.14.125 → 0.14.126

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.
@@ -917,7 +917,7 @@ function emitBanner(name) {
917
917
  logger.logger.error(getAsciiHeader(name))
918
918
  }
919
919
  function getAsciiHeader(command) {
920
- const cliVersion = '0.14.125:11530dd:821f8925:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
920
+ const cliVersion = '0.14.126:cbde084:6c7196a9:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
921
921
  const nodeVersion = process$1.version
922
922
  const apiToken = shadowNpmInject.getDefaultToken()
923
923
  const defaultOrg = shadowNpmInject.getConfigValue('defaultOrg')
@@ -4683,28 +4683,32 @@ async function pnpmFix(
4683
4683
  error = e
4684
4684
  errored = true
4685
4685
  }
4686
- if (errored || isCi) {
4686
+ if (errored) {
4687
4687
  editablePkgJson.update(revertData)
4688
-
4689
4688
  // eslint-disable-next-line no-await-in-loop
4690
4689
  await Promise.all([
4691
4690
  shadowNpmInject.removeNodeModules(cwd),
4692
- ...(isCi
4693
- ? [gitCheckoutBaseBranchIfAvailable(baseBranch, cwd)]
4694
- : []),
4695
- ...(isCi ? [] : [editablePkgJson.save()])
4691
+ editablePkgJson.save()
4692
+ ])
4693
+ // eslint-disable-next-line no-await-in-loop
4694
+ actualTree = await install(pkgEnvDetails, {
4695
+ spinner
4696
+ })
4697
+ spinner?.failAndStop(
4698
+ `Update failed for ${oldSpec} in ${workspaceName}`,
4699
+ error
4700
+ )
4701
+ } else if (isCi) {
4702
+ // eslint-disable-next-line no-await-in-loop
4703
+ await Promise.all([
4704
+ shadowNpmInject.removeNodeModules(cwd),
4705
+ // Reset to base branch to isolate next PR
4706
+ gitCheckoutBaseBranchIfAvailable(baseBranch, cwd)
4696
4707
  ])
4697
-
4698
4708
  // eslint-disable-next-line no-await-in-loop
4699
4709
  actualTree = await install(pkgEnvDetails, {
4700
4710
  spinner
4701
4711
  })
4702
- if (errored) {
4703
- spinner?.failAndStop(
4704
- `Update failed for ${oldSpec} in ${workspaceName}`,
4705
- error
4706
- )
4707
- }
4708
4712
  }
4709
4713
  }
4710
4714
  }
@@ -12278,7 +12282,7 @@ void (async () => {
12278
12282
  await vendor.updater({
12279
12283
  name: SOCKET_CLI_BIN_NAME,
12280
12284
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
12281
- version: '0.14.125',
12285
+ version: '0.14.126',
12282
12286
  ttl: 86_400_000 /* 24 hours in milliseconds */
12283
12287
  })
12284
12288
  try {
@@ -12346,5 +12350,5 @@ void (async () => {
12346
12350
  await shadowNpmInject.captureException(e)
12347
12351
  }
12348
12352
  })()
12349
- //# debugId=8c8790a2-a162-431b-99ab-b980237160d8
12353
+ //# debugId=aa5acd0c-77d1-4ae1-8a7f-0c5b01e272c0
12350
12354
  //# sourceMappingURL=cli.js.map