socket 0.14.108 → 0.14.109

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.108:342eeb0:75e98336:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
920
+ const cliVersion = '0.14.109:c6dcd25:241925b4: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')
@@ -3828,6 +3828,11 @@ async function gitCreateAndPushBranchIfNeeded(
3828
3828
  basename === 'pnpm-lock.yaml'
3829
3829
  )
3830
3830
  })
3831
+ debug.debugLog('branch', branch)
3832
+ debug.debugLog(
3833
+ 'gitCreateAndPushBranchIfNeeded > moddedFilepaths',
3834
+ moddedFilepaths
3835
+ )
3831
3836
  if (moddedFilepaths.length) {
3832
3837
  await spawn.spawn('git', ['add', ...moddedFilepaths], {
3833
3838
  cwd
@@ -4667,13 +4672,16 @@ async function pnpmFix(
4667
4672
  error = e
4668
4673
  errored = true
4669
4674
  }
4675
+ debug.debugLog('check "errored":', errored)
4670
4676
  if (!errored && shouldOpenPr) {
4677
+ debug.debugLog('1: gitCreateAndPushBranchIfNeeded')
4671
4678
  // eslint-disable-next-line no-await-in-loop
4672
4679
  await gitCreateAndPushBranchIfNeeded(
4673
4680
  branch,
4674
4681
  getSocketCommitMessage(oldPurl, newVersion, workspaceName),
4675
4682
  cwd
4676
4683
  )
4684
+ debug.debugLog('2: openGitHubPullRequest')
4677
4685
  // eslint-disable-next-line no-await-in-loop
4678
4686
  const prResponse = await openGitHubPullRequest(
4679
4687
  owner,
@@ -12291,7 +12299,7 @@ void (async () => {
12291
12299
  await vendor.updater({
12292
12300
  name: SOCKET_CLI_BIN_NAME,
12293
12301
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
12294
- version: '0.14.108',
12302
+ version: '0.14.109',
12295
12303
  ttl: 86_400_000 /* 24 hours in milliseconds */
12296
12304
  })
12297
12305
  try {
@@ -12359,5 +12367,5 @@ void (async () => {
12359
12367
  await shadowNpmInject.captureException(e)
12360
12368
  }
12361
12369
  })()
12362
- //# debugId=d0709b7a-bb78-4292-adb6-17ec75cd13e9
12370
+ //# debugId=5749d845-bfec-49fb-b09e-8adb970927b1
12363
12371
  //# sourceMappingURL=cli.js.map