socket 1.0.61 → 1.0.62

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
@@ -7387,7 +7387,6 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
7387
7387
  } else {
7388
7388
  overridesDataObjects.push(getOverridesDataNpm(pkgEnvDetails), getOverridesDataYarnClassic(pkgEnvDetails));
7389
7389
  }
7390
- spinner?.setText(`Adding overrides to ${workspace}...`);
7391
7390
  const depAliasMap = new Map();
7392
7391
  const depEntries = getDependencyEntries(pkgEnvDetails);
7393
7392
  const manifestEntries = manifestNpmOverrides.filter(({
@@ -7396,6 +7395,7 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
7396
7395
  // Roughly check Node range as semver.coerce will strip leading
7397
7396
  // v's, carets (^), comparators (<,<=,>,>=,=), and tildes (~).
7398
7397
  vendor.semverExports.coerce(data.engines.node), pkgEnvDetails.pkgRequirements.node));
7398
+ let loggedAddingText = false;
7399
7399
 
7400
7400
  // Chunk package names to process them in parallel 3 at a time.
7401
7401
  await require$$7.pEach(manifestEntries, 3, async ({
@@ -7434,6 +7434,10 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
7434
7434
  if (!isWorkspaceRoot) {
7435
7435
  state.addedInWorkspaces.add(workspace);
7436
7436
  }
7437
+ if (!loggedAddingText) {
7438
+ spinner?.setText(`Adding overrides to ${workspace}...`);
7439
+ loggedAddingText = true;
7440
+ }
7437
7441
  }
7438
7442
  depAliasMap.set(origPkgName, thisSpec);
7439
7443
  }
@@ -7491,6 +7495,10 @@ async function addOverrides(pkgEnvDetails, pkgPath, options) {
7491
7495
  overrides[origPkgName] = newSpec;
7492
7496
  const addedOrUpdated = overrideExists ? 'updated' : 'added';
7493
7497
  state[addedOrUpdated].add(sockRegPkgName);
7498
+ if (!loggedAddingText) {
7499
+ spinner?.setText(`Adding overrides to ${workspace}...`);
7500
+ loggedAddingText = true;
7501
+ }
7494
7502
  }
7495
7503
  }
7496
7504
  });
@@ -14212,5 +14220,5 @@ void (async () => {
14212
14220
  await utils.captureException(e);
14213
14221
  }
14214
14222
  })();
14215
- //# debugId=758b903c-de42-4d5b-988b-b07da95f2793
14223
+ //# debugId=b7b44255-1457-4053-b165-219fa42c4a9
14216
14224
  //# sourceMappingURL=cli.js.map