New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

await-shell

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

await-shell - npm Package Compare versions

Comparing version 2.1.2 to 2.1.5

7

index.js

@@ -67,3 +67,3 @@ /**

if (global.SHELL_LOG) {
if (thisCmd.trim() !== 'echo' && global.SHELL_LOG) {
console.log(chalk.grey(`> ${thisCmd} ${args.join(' ')}`));

@@ -78,6 +78,3 @@ }

else {
if (
thisCmd.trim() !== 'echo' &&
global.SHELL_STRICT
) process.exit(1);
if (global.SHELL_STRICT) process.exit(1);
reject(new Error('Exited with code: ' + code));

@@ -84,0 +81,0 @@ }

{
"name": "await-shell",
"version": "2.1.2",
"version": "2.1.5",
"description": "Execute bash commands with non-blocking I/O.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/TeleworkInc/await-shell",

@@ -20,3 +20,4 @@ const test = require('ava');

try {
await shell('exit 1');
global.SHELL_LOG = true;
await shell('echo test', 'exit 1');
} catch (e) {

@@ -23,0 +24,0 @@ return t.pass();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc