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

gulp-shell

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-shell - npm Package Compare versions

Comparing version 0.7.1 to 0.8.0

14

lib/index.js
"use strict";
var _this = this;
var tslib_1 = require("tslib");

@@ -28,3 +27,3 @@ var chalk_1 = tslib_1.__importDefault(require("chalk"));

var newPath = pathToBin + path.delimiter + process.env[pathName];
var env = tslib_1.__assign({}, process.env, (_a = {}, _a[pathName] = newPath, _a), options.env);
var env = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, process.env), (_a = {}, _a[pathName] = newPath, _a)), options.env);
return tslib_1.__assign({ cwd: process.cwd(), env: env, shell: true, quiet: false, verbose: false, ignoreErrors: false, errorMessage: 'Command `<%= command %>` failed with exit code <%= error.code %>', templateData: {} }, options);

@@ -56,3 +55,3 @@ };

};
var runCommands = function (commands, options, file) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
var runCommands = function (commands, options, file) { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var _i, commands_1, command;

@@ -86,8 +85,7 @@ return tslib_1.__generator(this, function (_a) {

_this.push(file);
done();
})
.catch(function (error) {
_this.emit('error', error);
done();
});
})
.finally(done);
});

@@ -97,6 +95,4 @@ stream.resume();

};
shell.task = function (commands, options) { return function () {
return runCommands(normalizeCommands(commands), normalizeOptions(options), null);
}; };
shell.task = function (commands, options) { return function () { return runCommands(normalizeCommands(commands), normalizeOptions(options), null); }; };
module.exports = shell;
//# sourceMappingURL=index.js.map
{
"name": "gulp-shell",
"version": "0.7.1",
"version": "0.8.0",
"description": "A handy command line interface for gulp",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/index.*"
"lib/index.d.ts",
"lib/index.d.ts.map",
"lib/index.js",
"lib/index.js.map"
],

@@ -36,31 +39,31 @@ "scripts": {

"@types/gulp": "^4.0.6",
"@types/jest": "^24.0.13",
"@types/jest": "^25.1.2",
"@types/lodash.template": "^4.4.6",
"@types/node": "^12.0.7",
"@types/node": "^13.7.1",
"@types/through2": "^2.0.34",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"coveralls": "^3.0.4",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-jest": "^22.6.4",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"coveralls": "^3.0.9",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-jest": "^23.7.0",
"gulp": "^4.0.2",
"jest": "^24.8.0",
"prettier": "^1.18.0",
"ts-jest": "^24.0.2",
"ts-node": "^8.2.0",
"typescript": "^3.5.1",
"jest": "^25.1.0",
"prettier": "^1.19.1",
"ts-jest": "^25.2.0",
"ts-node": "^8.6.2",
"typescript": "^3.7.5",
"vinyl": "^2.2.0"
},
"dependencies": {
"chalk": "^2.4.2",
"chalk": "^3.0.0",
"fancy-log": "^1.3.3",
"lodash.template": "^4.4.0",
"lodash.template": "^4.5.0",
"plugin-error": "^1.0.1",
"through2": "^3.0.1",
"tslib": "^1.9.3"
"tslib": "^1.10.0"
},
"engines": {
"node": ">=6.0.0"
"node": ">=10.0.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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