socket 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:1b356875:pub' // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION_HASH']".
907
+ const cliVersion = '0.14.145:72b5678:19fa9236: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')
@@ -7458,17 +7458,17 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
7458
7458
  addedInWorkspaces: new Set(),
7459
7459
  updated: new Set(),
7460
7460
  updatedInWorkspaces: new Set(),
7461
- warnedPnpmWorkspaceRequiresNpm: false,
7462
- workspacePkgJsonPaths: await shadowNpmInject.globWorkspace(
7463
- agent,
7464
- rootPath
7465
- )
7461
+ warnedPnpmWorkspaceRequiresNpm: false
7466
7462
  }
7467
7463
  } = {
7468
7464
  __proto__: null,
7469
7465
  ...options
7470
7466
  }
7471
- const isWorkspace = state.workspacePkgJsonPaths.length > 0
7467
+ const workspacePkgJsonPaths = await shadowNpmInject.globWorkspace(
7468
+ agent,
7469
+ pkgPath
7470
+ )
7471
+ const isWorkspace = workspacePkgJsonPaths.length > 0
7472
7472
  const isWorkspaceRoot = pkgPath === rootPath
7473
7473
  const isLockScanned = isWorkspaceRoot && !prod
7474
7474
  const workspaceName = isWorkspaceRoot
@@ -7632,7 +7632,7 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
7632
7632
  if (isWorkspace) {
7633
7633
  // Chunk package names to process them in parallel 3 at a time.
7634
7634
  await promises.pEach(
7635
- state.workspacePkgJsonPaths,
7635
+ workspacePkgJsonPaths,
7636
7636
  3,
7637
7637
  async workspacePkgJsonPath => {
7638
7638
  const otherState = await addOverrides(
@@ -7642,8 +7642,7 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
7642
7642
  logger,
7643
7643
  pin,
7644
7644
  prod,
7645
- spinner,
7646
- state
7645
+ spinner
7647
7646
  }
7648
7647
  )
7649
7648
  for (const key of [
@@ -12254,7 +12253,7 @@ void (async () => {
12254
12253
  await vendor.updater({
12255
12254
  name: SOCKET_CLI_BIN_NAME,
12256
12255
  // The '@rollup/plugin-replace' will replace "process.env['INLINED_SOCKET_CLI_VERSION']".
12257
- version: '0.14.144',
12256
+ version: '0.14.145',
12258
12257
  ttl: 86_400_000 /* 24 hours in milliseconds */
12259
12258
  })
12260
12259
  try {
@@ -12322,5 +12321,5 @@ void (async () => {
12322
12321
  await shadowNpmInject.captureException(e)
12323
12322
  }
12324
12323
  })()
12325
- //# debugId=9446c8d2-a74a-4181-940f-b44814e0d818
12324
+ //# debugId=be11d525-2d0b-4048-8e64-5391d6a93d04
12326
12325
  //# sourceMappingURL=cli.js.map