socket 1.0.48 → 1.0.49

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
@@ -3723,7 +3723,7 @@ async function getActualTree(cwd = process.cwd()) {
3723
3723
  // of the node_modules folder.
3724
3724
  const arb = new shadowNpmInject.Arborist({
3725
3725
  path: cwd,
3726
- ...shadowNpmInject.SAFE_ARBORIST_REIFY_OPTIONS_OVERRIDES
3726
+ ...shadowNpmInject.SAFE_NO_SAVE_ARBORIST_REIFY_OPTIONS_OVERRIDES
3727
3727
  });
3728
3728
  return await arb.loadActual();
3729
3729
  }
@@ -3964,7 +3964,7 @@ async function agentFix(pkgEnvDetails, actualTree, alertsMap, installer, {
3964
3964
  }
3965
3965
  const oldVersions = arrays.arrayUnique(shadowNpmInject.findPackageNodes(actualTree, name).map(n => n.version).filter(Boolean));
3966
3966
  if (!oldVersions.length) {
3967
- debug.debugFn('notice', `skip: ${name} not found\n`);
3967
+ debug.debugFn('notice', `skip: ${name} not found`);
3968
3968
  cleanupInfoEntriesLoop();
3969
3969
  // Skip to next package.
3970
3970
  continue infoEntriesLoop;
@@ -4055,7 +4055,7 @@ async function agentFix(pkgEnvDetails, actualTree, alertsMap, installer, {
4055
4055
 
4056
4056
  // eslint-disable-next-line no-await-in-loop
4057
4057
  if (!(await hasModifiedFiles(cwd))) {
4058
- debug.debugFn('notice', `skip: nothing to commit for ${name}@${newVersion} PR`);
4058
+ debug.debugFn('notice', `skip: no changes for ${name}@${newVersion}`);
4059
4059
  seenVersions.add(newVersion);
4060
4060
  // Reset things just in case.
4061
4061
  if (fixEnv.isCi) {
@@ -4311,7 +4311,8 @@ async function npmFix(pkgEnvDetails, fixConfig) {
4311
4311
  } else {
4312
4312
  const arb = new shadowNpmInject.Arborist({
4313
4313
  path: pkgEnvDetails.pkgPath,
4314
- ...flatConfig
4314
+ ...flatConfig,
4315
+ ...shadowNpmInject.SAFE_WITH_SAVE_ARBORIST_REIFY_OPTIONS_OVERRIDES
4315
4316
  });
4316
4317
  actualTree = await arb.reify();
4317
4318
  // Calling arb.reify() creates the arb.diff object, nulls-out arb.idealTree,
@@ -4356,7 +4357,8 @@ async function npmFix(pkgEnvDetails, fixConfig) {
4356
4357
  if (isWorkspaceRoot) {
4357
4358
  const arb = new shadowNpmInject.Arborist({
4358
4359
  path: pkgEnvDetails.pkgPath,
4359
- ...flatConfig
4360
+ ...flatConfig,
4361
+ ...shadowNpmInject.SAFE_WITH_SAVE_ARBORIST_REIFY_OPTIONS_OVERRIDES
4360
4362
  });
4361
4363
  const idealTree = await arb.buildIdealTree();
4362
4364
  const node = shadowNpmInject.findPackageNode(idealTree, packument.name, oldVersion);
@@ -14314,5 +14316,5 @@ void (async () => {
14314
14316
  await utils.captureException(e);
14315
14317
  }
14316
14318
  })();
14317
- //# debugId=ca4172ba-aeb9-477f-acd0-333975cf37de
14319
+ //# debugId=58e3aaaf-7fac-4e39-b6b9-5bb2c754bc3d
14318
14320
  //# sourceMappingURL=cli.js.map