@socketsecurity/cli-with-sentry 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:82287460:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
902
+ const cliVersion = '0.14.96:b940b80:d716bd90: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
  })
@@ -11381,7 +11380,7 @@ void (async () => {
11381
11380
  await vendor.updater({
11382
11381
  name: SOCKET_CLI_BIN_NAME,
11383
11382
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
11384
- version: '0.14.95',
11383
+ version: '0.14.96',
11385
11384
  ttl: 86_400_000 /* 24 hours in milliseconds */
11386
11385
  })
11387
11386
  try {
@@ -11449,5 +11448,5 @@ void (async () => {
11449
11448
  await shadowNpmInject.captureException(e)
11450
11449
  }
11451
11450
  })()
11452
- //# debugId=c34fd255-4999-4681-9636-3dc45d80a01d
11451
+ //# debugId=f7c27252-6de0-4577-9a6d-4ca8ce4c19fe
11453
11452
  //# sourceMappingURL=cli.js.map