spawncommand
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.default = spawnCommand; | ||
exports.default = spawn; | ||
exports.fork = fork; | ||
@@ -48,3 +48,3 @@ | ||
function spawnCommand(command, args = [], options = {}) { | ||
function spawn(command, args = [], options = {}) { | ||
if (!command) throw new Error('Please specify a command to spawn'); | ||
@@ -65,3 +65,3 @@ const proc = (0, _child_process.spawn)(command, args, options); | ||
* @param {string[]} [args] List of string arguments. | ||
* @param {ForkOptions} [options] | ||
* @param {ForkOptions} [options] Options used to fork. | ||
*/ | ||
@@ -68,0 +68,0 @@ |
@@ -0,1 +1,8 @@ | ||
## 17 May 2018 | ||
### 2.0.1 | ||
- [dependencies] move `babel-plugin-transform-rename-import` to dev dependencies. | ||
- [code] rename default export. | ||
## 15 May 2018 | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "spawncommand", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Spawn a child process with a promise property resolved on exit with stdout, stderr and code", | ||
@@ -39,7 +39,8 @@ "main": "build", | ||
"devDependencies": { | ||
"@babel/cli": "7.0.0-beta.46", | ||
"@babel/core": "7.0.0-beta.46", | ||
"@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.46", | ||
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.46", | ||
"@babel/register": "7.0.0-beta.46", | ||
"@babel/cli": "7.0.0-beta.47", | ||
"@babel/core": "7.0.0-beta.47", | ||
"@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.47", | ||
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.47", | ||
"@babel/register": "7.0.0-beta.47", | ||
"babel-plugin-transform-rename-import": "2.2.0", | ||
"yarn-s": "1.1.0", | ||
@@ -49,5 +50,4 @@ "zoroaster": "1.1.0" | ||
"dependencies": { | ||
"babel-plugin-transform-rename-import": "2.2.0", | ||
"catchment": "2.0.1" | ||
} | ||
} |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
7426
1
8
2
- Removedbabel-plugin-transform-rename-import@2.2.0(transitive)