@socketsecurity/cli-with-sentry 1.0.14 → 1.0.16

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
@@ -3737,6 +3737,9 @@ async function agentFix(pkgEnvDetails, actualTree, alertsMap, installer, {
3737
3737
  if (!infoByPartialPurl) {
3738
3738
  spinner?.stop();
3739
3739
  logger.logger.info('No fixable vulns found.');
3740
+ debug.debugFn('inspect:\n', {
3741
+ alertsMap
3742
+ });
3740
3743
  return {
3741
3744
  ok: true,
3742
3745
  data: {
@@ -4240,7 +4243,9 @@ async function npmFix(pkgEnvDetails, fixConfig) {
4240
4243
  definitions: vendor.definitionsExports.definitions,
4241
4244
  // Lazily access constants.execPath.
4242
4245
  execPath: constants.execPath,
4243
- env: process.env,
4246
+ env: {
4247
+ ...process.env
4248
+ },
4244
4249
  flatten: vendor.definitionsExports.flatten,
4245
4250
  npmPath,
4246
4251
  platform: process.platform,
@@ -4254,7 +4259,6 @@ async function npmFix(pkgEnvDetails, fixConfig) {
4254
4259
  flatConfig.nodeVersion = constants.NODE_VERSION;
4255
4260
  flatConfig.npmVersion = pkgEnvDetails.agentVersion.toString();
4256
4261
  flatConfig.npmCommand = 'install';
4257
- debug.debugFn('npm config:', flatConfig);
4258
4262
  const arb = new shadowNpmInject.Arborist({
4259
4263
  path: pkgEnvDetails.pkgPath,
4260
4264
  ...flatConfig,
@@ -14180,5 +14184,5 @@ void (async () => {
14180
14184
  await utils.captureException(e);
14181
14185
  }
14182
14186
  })();
14183
- //# debugId=6563e8a4-fb02-463b-9448-1c01e45e1721
14187
+ //# debugId=335a870f-91f1-494a-ab58-35161f055590
14184
14188
  //# sourceMappingURL=cli.js.map