Comparing version 8.1.1 to 9.0.0
@@ -1,2 +0,2 @@ | ||
export interface Options { | ||
export type Options = { | ||
/** | ||
@@ -38,3 +38,3 @@ Force kill the processes. | ||
readonly silent?: boolean; | ||
} | ||
}; | ||
@@ -41,0 +41,0 @@ /** |
12
index.js
import process from 'node:process'; | ||
import taskkill from 'taskkill'; | ||
import execa from 'execa'; | ||
import {taskkill} from 'taskkill'; | ||
import {execa} from 'execa'; | ||
import AggregateError from 'aggregate-error'; | ||
import {portToPid} from 'pid-port'; | ||
import processExists from 'process-exists'; | ||
import {processExistsMultiple, filterExistingProcesses} from 'process-exists'; | ||
import psList from 'ps-list'; | ||
@@ -39,3 +39,3 @@ | ||
force: options.force, | ||
tree: typeof options.tree === 'undefined' ? true : options.tree, | ||
tree: options.tree === undefined ? true : options.tree, | ||
}); | ||
@@ -148,3 +148,3 @@ } catch (error) { | ||
const exists = await processExists.all(inputs); | ||
const exists = await processExistsMultiple(inputs); | ||
@@ -184,3 +184,3 @@ const errors = []; | ||
alive = await processExists.filterExists(alive); // eslint-disable-line no-await-in-loop | ||
alive = await filterExistingProcesses(alive); // eslint-disable-line no-await-in-loop | ||
@@ -187,0 +187,0 @@ interval *= 2; |
{ | ||
"name": "fkill", | ||
"version": "8.1.1", | ||
"version": "9.0.0", | ||
"description": "Fabulously kill processes. Cross-platform.", | ||
@@ -14,5 +14,9 @@ "license": "MIT", | ||
"type": "module", | ||
"exports": "./index.js", | ||
"exports": { | ||
"types": "./index.d.ts", | ||
"default": "./index.js" | ||
}, | ||
"sideEffects": false, | ||
"engines": { | ||
"node": "^12.20.0 || ^14.13.1 || >=16.0.0" | ||
"node": ">=18" | ||
}, | ||
@@ -44,17 +48,17 @@ "scripts": { | ||
"dependencies": { | ||
"aggregate-error": "^4.0.0", | ||
"execa": "^5.1.1", | ||
"pid-port": "^0.2.0", | ||
"process-exists": "^4.1.0", | ||
"ps-list": "^7.2.0", | ||
"taskkill": "^4.0.0" | ||
"aggregate-error": "^5.0.0", | ||
"execa": "^8.0.1", | ||
"pid-port": "^1.0.0", | ||
"process-exists": "^5.0.0", | ||
"ps-list": "^8.1.1", | ||
"taskkill": "^5.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^3.15.0", | ||
"delay": "^5.0.0", | ||
"get-port": "^6.0.0", | ||
"ava": "^5.3.1", | ||
"delay": "^6.0.0", | ||
"get-port": "^7.0.0", | ||
"noop-process": "^5.0.0", | ||
"tsd": "^0.18.0", | ||
"xo": "^0.45.0" | ||
"tsd": "^0.29.0", | ||
"xo": "^0.56.0" | ||
} | ||
} |
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
10089
+ Addedaggregate-error@5.0.0(transitive)
+ Addedclean-stack@5.2.0(transitive)
+ Addedexeca@6.1.08.0.1(transitive)
+ Addedget-stream@8.0.1(transitive)
+ Addedhuman-signals@3.0.15.0.0(transitive)
+ Addedis-stream@3.0.0(transitive)
+ Addedmimic-fn@4.0.0(transitive)
+ Addednpm-run-path@5.3.0(transitive)
+ Addedonetime@6.0.0(transitive)
+ Addedpath-key@4.0.0(transitive)
+ Addedpid-port@1.0.0(transitive)
+ Addedprocess-exists@5.0.0(transitive)
+ Addedps-list@8.1.1(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstrip-final-newline@3.0.0(transitive)
+ Addedtaskkill@5.0.0(transitive)
- Removedaggregate-error@4.0.1(transitive)
- Removedarrify@3.0.0(transitive)
- Removedclean-stack@4.2.0(transitive)
- Removedexeca@5.1.1(transitive)
- Removedhuman-signals@2.1.0(transitive)
- Removedis-stream@2.0.1(transitive)
- Removedmimic-fn@2.1.0(transitive)
- Removednpm-run-path@4.0.1(transitive)
- Removedonetime@5.1.2(transitive)
- Removedpid-port@0.2.0(transitive)
- Removedprocess-exists@4.1.0(transitive)
- Removedps-list@6.3.07.2.0(transitive)
- Removedstrip-final-newline@2.0.0(transitive)
- Removedtaskkill@4.0.0(transitive)
Updatedaggregate-error@^5.0.0
Updatedexeca@^8.0.1
Updatedpid-port@^1.0.0
Updatedprocess-exists@^5.0.0
Updatedps-list@^8.1.1
Updatedtaskkill@^5.0.0