snyk 1.1226.0 → 1.1227.0

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.
@@ -233585,7 +233585,7 @@ function makeSpawnOptions(options) {
233585
233585
  spawnOptions.cwd = options.cwd;
233586
233586
  }
233587
233587
  if (options && options.env) {
233588
- spawnOptions.env = options.env;
233588
+ spawnOptions.env = Object.assign({}, options.env);
233589
233589
  }
233590
233590
  // Before spawning an external process, we look if we need to restore the system proxy configuration,
233591
233591
  // which overides the cli internal proxy configuration.