socket 0.14.73 → 0.14.74

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.
@@ -914,7 +914,7 @@ function emitBanner(name) {
914
914
  logger.logger.error(getAsciiHeader(name))
915
915
  }
916
916
  function getAsciiHeader(command) {
917
- const cliVersion = '0.14.73:3036c50:59a58dfc:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
917
+ const cliVersion = '0.14.74:e430910:1d68f7d1:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
918
918
  const nodeVersion = process$1.version
919
919
  const apiToken = shadowNpmInject.getDefaultToken()
920
920
  const shownToken = apiToken ? getLastFiveOfApiToken(apiToken) : 'no'
@@ -3345,6 +3345,19 @@ async function pnpmFix(pkgEnvDetails, options) {
3345
3345
  const commitMsg = `fix: upgrade ${name} to ${targetVersion}`
3346
3346
  const { owner, repo } = getRepoInfo()
3347
3347
  // eslint-disable-next-line no-await-in-loop
3348
+ await spawn.spawn(
3349
+ 'git',
3350
+ [
3351
+ 'remote',
3352
+ 'set-url',
3353
+ 'origin',
3354
+ `https://x-access-token:${process.env['SOCKET_AUTOFIX_PAT']}@github.com/${owner}/${repo}`
3355
+ ],
3356
+ {
3357
+ cwd
3358
+ }
3359
+ )
3360
+ // eslint-disable-next-line no-await-in-loop
3348
3361
  await commitAndPushFix(branchName, commitMsg, cwd)
3349
3362
  // eslint-disable-next-line no-await-in-loop
3350
3363
  await createPullRequest({
@@ -11017,7 +11030,7 @@ void (async () => {
11017
11030
  await updateNotifier({
11018
11031
  name: SOCKET_CLI_BIN_NAME,
11019
11032
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
11020
- version: '0.14.73',
11033
+ version: '0.14.74',
11021
11034
  ttl: 86_400_000 /* 24 hours in milliseconds */
11022
11035
  })
11023
11036
  try {
@@ -11088,5 +11101,5 @@ void (async () => {
11088
11101
  await shadowNpmInject.captureException(e)
11089
11102
  }
11090
11103
  })()
11091
- //# debugId=395d1a74-57c0-4afb-971d-1c8e99178d08
11104
+ //# debugId=41229246-2f4d-4389-a72e-22e243adcc29
11092
11105
  //# sourceMappingURL=cli.js.map