socket 1.0.66 → 1.0.67

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
@@ -4139,7 +4139,8 @@ async function install$1(pkgEnvDetails, options) {
4139
4139
  __proto__: null,
4140
4140
  ...options
4141
4141
  };
4142
- const args = ['--ignore-scripts', '--no-audit', '--no-fund', '--no-progress', '--no-save', '--silent', ...(extraArgs ?? [])];
4142
+ const useDebug = debug.isDebug('stdio');
4143
+ const args = ['--ignore-scripts', '--no-audit', '--no-fund', '--no-progress', ...(useDebug ? [] : ['--silent']), ...(extraArgs ?? [])];
4143
4144
  const quotedCmd = `\`${pkgEnvDetails.agent} install ${args.join(' ')}\``;
4144
4145
  debug.debugFn('stdio', `spawn: ${quotedCmd}`);
4145
4146
  const isSpinning = spinner?.isSpinning;
@@ -4149,7 +4150,7 @@ async function install$1(pkgEnvDetails, options) {
4149
4150
  await utils.runAgentInstall(pkgEnvDetails, {
4150
4151
  args,
4151
4152
  spinner,
4152
- stdio: debug.isDebug('stdio') ? 'inherit' : 'ignore'
4153
+ stdio: useDebug ? 'inherit' : 'ignore'
4153
4154
  });
4154
4155
  } catch (e) {
4155
4156
  debug.debugFn('error', `caught: ${quotedCmd} failed`);
@@ -14522,5 +14523,5 @@ void (async () => {
14522
14523
  await utils.captureException(e);
14523
14524
  }
14524
14525
  })();
14525
- //# debugId=5e02c3b4-98c2-48aa-856d-526ed5a48fa7
14526
+ //# debugId=8e302883-9371-47ef-9c9a-742aa1ae2a85
14526
14527
  //# sourceMappingURL=cli.js.map