Comparing version 4.0.0 to 4.1.0
@@ -5,2 +5,3 @@ 'use strict'; | ||
const execa = require('execa'); | ||
const AggregateError = require('aggregate-error'); | ||
@@ -41,5 +42,5 @@ function win(input, opts) { | ||
if (errors.length > 0) { | ||
throw new Error(errors.join('\n')); | ||
throw new AggregateError(errors); | ||
} | ||
}); | ||
}; |
{ | ||
"name": "fkill", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "Fabulously kill processes. Cross-platform.", | ||
@@ -38,2 +38,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"aggregate-error": "^0.1.0", | ||
"arrify": "^1.0.0", | ||
@@ -40,0 +41,0 @@ "execa": "^0.2.1", |
@@ -13,3 +13,3 @@ <h1 align="center"> | ||
Works on OS X, Linux, Windows. | ||
Works on macOS, Linux, Windows. | ||
@@ -47,4 +47,3 @@ | ||
*Required* | ||
Type: `number`, `string`, (`array` of `number` and `string`) | ||
Type: `number` `string` `Array<number|string>` | ||
@@ -57,3 +56,3 @@ One or more process IDs/names to kill. | ||
Type: `boolean` | ||
Type: `boolean`<br> | ||
Default: `false` | ||
@@ -71,2 +70,2 @@ | ||
MIT © [Sindre Sorhus](http://sindresorhus.com) | ||
MIT © [Sindre Sorhus](https://sindresorhus.com) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4148
36
4
68
+ Addedaggregate-error@^0.1.0
+ Addedaggregate-error@0.1.0(transitive)
+ Addedclean-stack@1.3.0(transitive)
+ Addedindent-string@3.2.0(transitive)