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

grunt-shell

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-shell - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

package.json
{
"name": "grunt-shell",
"version": "2.0.0",
"version": "2.1.0",
"description": "Run shell commands",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -7,3 +7,3 @@ # grunt-shell [![Build Status](https://travis-ci.org/sindresorhus/grunt-shell.svg?branch=master)](https://travis-ci.org/sindresorhus/grunt-shell)

**Use [Stack Overflow](http://stackoverflow.com/questions/tagged/gruntjs) for support questions.**
**Use [Stack Overflow](https://stackoverflow.com/questions/tagged/gruntjs) for support questions.**

@@ -193,2 +193,9 @@ ---

### cwd
Type: `string`
Shortcut. Same as `options.execOptions.cwd` (see below).
## Options

@@ -229,3 +236,3 @@

Set `stdin` to [act as a raw device](http://nodejs.org/api/tty.html#tty_rs_setrawmode_mode).
Set `stdin` to [act as a raw device](https://nodejs.org/api/tty.html#tty_readstream_setrawmode_mode).

@@ -245,3 +252,3 @@ ### callback(err, stdout, stderr, cb)

Execute local binaries by name like [`$ npm run-script`](http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/).
Execute local binaries by name like [`$ npm run-script`](https://www.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/).

@@ -248,0 +255,0 @@ ### execOptions

@@ -39,2 +39,6 @@ 'use strict';

if (this.data.cwd) {
opts.execOptions.cwd = this.data.cwd;
}
const cp = exec(cmd, opts.execOptions, (err, stdout, stderr) => {

@@ -41,0 +45,0 @@ if (typeof opts.callback === 'function') {

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