socket 0.14.95 → 0.14.96

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.
@@ -899,7 +899,7 @@ function emitBanner(name) {
899
899
  logger.logger.error(getAsciiHeader(name))
900
900
  }
901
901
  function getAsciiHeader(command) {
902
- const cliVersion = '0.14.95:3360fca:2f20c717:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
902
+ const cliVersion = '0.14.96:b940b80:4d1e4dd0:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
903
903
  const nodeVersion = process$1.version
904
904
  const apiToken = shadowNpmInject.getDefaultToken()
905
905
  const shownToken = apiToken ? getLastFiveOfApiToken(apiToken) : 'no'
@@ -3808,7 +3808,6 @@ async function openGitHubPullRequest(
3808
3808
  if (!pat) {
3809
3809
  throw new Error('Missing SOCKET_SECURITY_GITHUB_PAT environment variable')
3810
3810
  }
3811
- const commitMsg = `chore: upgrade ${name} to ${version}`
3812
3811
  const url = `https://x-access-token:${pat}@github.com/${owner}/${repo}`
3813
3812
  await spawn.spawn('git', ['remote', 'set-url', 'origin', url], {
3814
3813
  cwd
@@ -3817,8 +3816,8 @@ async function openGitHubPullRequest(
3817
3816
  return await octokit.pulls.create({
3818
3817
  owner,
3819
3818
  repo,
3820
- title: commitMsg,
3821
- head: `${owner}:${branch}`,
3819
+ title: `chore: upgrade ${name} to ${version}`,
3820
+ head: branch,
3822
3821
  base: baseBranch,
3823
3822
  body: `[socket] Upgrade \`${name}\` to ${version}`
3824
3823
  })
@@ -11377,7 +11376,7 @@ void (async () => {
11377
11376
  await vendor.updater({
11378
11377
  name: SOCKET_CLI_BIN_NAME,
11379
11378
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
11380
- version: '0.14.95',
11379
+ version: '0.14.96',
11381
11380
  ttl: 86_400_000 /* 24 hours in milliseconds */
11382
11381
  })
11383
11382
  try {
@@ -11445,5 +11444,5 @@ void (async () => {
11445
11444
  await shadowNpmInject.captureException(e)
11446
11445
  }
11447
11446
  })()
11448
- //# debugId=9f53b90b-62bf-4628-b569-5d16084361e8
11447
+ //# debugId=c17c1611-cf3e-4a35-ac26-b683d683981a
11449
11448
  //# sourceMappingURL=cli.js.map