Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shelljs.exec

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shelljs.exec - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

2

package.json
{
"name": "shelljs.exec",
"version": "1.1.6",
"version": "1.1.7",
"description": "Replacement for shelljs' slow exec method - benchmarked 20x faster",

@@ -5,0 +5,0 @@ "author": "Daniel Lewis BSc (Hons)",

@@ -45,3 +45,4 @@ # shelljs.exec

```javascript 1.5
expect(cmdObj).to.eql({
var assert = require('assert')
assert.deepEqual(cmdObj, {
error: null,

@@ -48,0 +49,0 @@ stdout: 'hello\n',

@@ -13,8 +13,17 @@ 'use strict'

imp.expect(cmdObj).to.eql({
error: null, // same as child_process.exec
error: null,
stdout: 'hello' + imp.EOL,
stderr: '', // same as child_process.exec
stderr: '',
code: 0,
ok: true
})
var assert = require('assert')
assert.deepEqual(cmdObj, {
error: null,
stdout: 'hello' + imp.EOL,
stderr: '',
code: 0,
ok: true
})
})

@@ -21,0 +30,0 @@

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