@socketsecurity/cli-with-sentry 0.14.144 → 0.14.145

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.
package/dist/cli.js CHANGED
@@ -904,7 +904,7 @@ function emitBanner(name) {
904
904
  logger.logger.error(getAsciiHeader(name))
905
905
  }
906
906
  function getAsciiHeader(command) {
907
- const cliVersion = '0.14.144:e577de2:37d9efbe:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
907
+ const cliVersion = '0.14.145:72b5678:a64db69f:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
908
908
  const nodeVersion = process$1.version
909
909
  const apiToken = shadowNpmInject.getDefaultToken()
910
910
  const defaultOrg = shadowNpmInject.getConfigValue('defaultOrg')
@@ -7462,17 +7462,17 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
7462
7462
  addedInWorkspaces: new Set(),
7463
7463
  updated: new Set(),
7464
7464
  updatedInWorkspaces: new Set(),
7465
- warnedPnpmWorkspaceRequiresNpm: false,
7466
- workspacePkgJsonPaths: await shadowNpmInject.globWorkspace(
7467
- agent,
7468
- rootPath
7469
- )
7465
+ warnedPnpmWorkspaceRequiresNpm: false
7470
7466
  }
7471
7467
  } = {
7472
7468
  __proto__: null,
7473
7469
  ...options
7474
7470
  }
7475
- const isWorkspace = state.workspacePkgJsonPaths.length > 0
7471
+ const workspacePkgJsonPaths = await shadowNpmInject.globWorkspace(
7472
+ agent,
7473
+ pkgPath
7474
+ )
7475
+ const isWorkspace = workspacePkgJsonPaths.length > 0
7476
7476
  const isWorkspaceRoot = pkgPath === rootPath
7477
7477
  const isLockScanned = isWorkspaceRoot && !prod
7478
7478
  const workspaceName = isWorkspaceRoot
@@ -7636,7 +7636,7 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
7636
7636
  if (isWorkspace) {
7637
7637
  // Chunk package names to process them in parallel 3 at a time.
7638
7638
  await promises.pEach(
7639
- state.workspacePkgJsonPaths,
7639
+ workspacePkgJsonPaths,
7640
7640
  3,
7641
7641
  async workspacePkgJsonPath => {
7642
7642
  const otherState = await addOverrides(
@@ -7646,8 +7646,7 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
7646
7646
  logger,
7647
7647
  pin,
7648
7648
  prod,
7649
- spinner,
7650
- state
7649
+ spinner
7651
7650
  }
7652
7651
  )
7653
7652
  for (const key of [
@@ -12258,7 +12257,7 @@ void (async () => {
12258
12257
  await vendor.updater({
12259
12258
  name: SOCKET_CLI_BIN_NAME,
12260
12259
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
12261
- version: '0.14.144',
12260
+ version: '0.14.145',
12262
12261
  ttl: 86_400_000 /* 24 hours in milliseconds */
12263
12262
  })
12264
12263
  try {
@@ -12326,5 +12325,5 @@ void (async () => {
12326
12325
  await shadowNpmInject.captureException(e)
12327
12326
  }
12328
12327
  })()
12329
- //# debugId=b98a5e11-2f79-43fe-9402-d9e2d8286d96
12328
+ //# debugId=bb39faad-4ddb-4baf-baf5-3920921c2cb2
12330
12329
  //# sourceMappingURL=cli.js.map