socket 1.0.5 → 1.0.6

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
@@ -4250,6 +4250,7 @@ async function npmFix(pkgEnvDetails, options) {
4250
4250
  shorthands: vendor.definitionsExports.shorthands
4251
4251
  });
4252
4252
  await config.load();
4253
+ debug.debugFn('npm config:', config);
4253
4254
  const arb = new shadowNpmInject.Arborist({
4254
4255
  path: pkgEnvDetails.pkgPath,
4255
4256
  ...shadowNpmInject.SAFE_ARBORIST_REIFY_OPTIONS_OVERRIDES,
@@ -8857,7 +8858,7 @@ function formatReportCard(artifact, color) {
8857
8858
  };
8858
8859
  const alertString = getAlertString(artifact.alerts, !color);
8859
8860
  if (!artifact.ecosystem) {
8860
- debug.debugLog('miss: Artifact ecosystem', artifact);
8861
+ debug.debugFn('miss: Artifact ecosystem', artifact);
8861
8862
  }
8862
8863
  const purl = `pkg:${artifact.ecosystem}/${artifact.name}${artifact.version ? '@' + artifact.version : ''}`;
8863
8864
  return ['Package: ' + (color ? vendor.yoctocolorsCjsExports.bold(purl) : purl), '', ...Object.entries(scoreResult).map(score => `- ${score[0]}:`.padEnd(20, ' ') + ` ${formatScore(score[1], !color, true)}`), alertString].join('\n');
@@ -14140,5 +14141,5 @@ void (async () => {
14140
14141
  await utils.captureException(e);
14141
14142
  }
14142
14143
  })();
14143
- //# debugId=c5f23610-4829-4515-ba55-44bc5f849c95
14144
+ //# debugId=bac54bf5-401a-488b-a2bb-65fdb17e2e2c
14144
14145
  //# sourceMappingURL=cli.js.map