Comparing version 7.0.1 to 7.1.0
@@ -51,4 +51,4 @@ declare namespace fkill { | ||
options?: fkill.Options | ||
): Promise<void> | ||
): Promise<void>; | ||
export = fkill; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
const AggregateError = require('aggregate-error'); | ||
const pidFromPort = require('pid-from-port'); | ||
const pidPort = require('pid-port'); | ||
const processExists = require('process-exists'); | ||
@@ -82,3 +82,3 @@ const psList = require('ps-list'); | ||
if (typeof input === 'string' && input[0] === ':') { | ||
return pidFromPort(parseInt(input.slice(1), 10)); | ||
return pidPort.portToPid(Number.parseInt(input.slice(1), 10)); | ||
} | ||
@@ -85,0 +85,0 @@ |
{ | ||
"name": "fkill", | ||
"version": "7.0.1", | ||
"version": "7.1.0", | ||
"description": "Fabulously kill processes. Cross-platform.", | ||
"license": "MIT", | ||
"funding": "https://github.com/sponsors/sindresorhus", | ||
"funding": { | ||
"url": "https://github.com/sponsors/sindresorhus" | ||
}, | ||
"repository": "sindresorhus/fkill", | ||
@@ -11,3 +13,3 @@ "author": { | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
"url": "https://sindresorhus.com" | ||
}, | ||
@@ -42,18 +44,18 @@ "engines": { | ||
"dependencies": { | ||
"aggregate-error": "^3.0.0", | ||
"aggregate-error": "^3.1.0", | ||
"arrify": "^2.0.1", | ||
"execa": "^4.0.0", | ||
"pid-from-port": "^1.1.3", | ||
"execa": "^5.0.0", | ||
"pid-port": "^0.1.0", | ||
"process-exists": "^4.0.0", | ||
"ps-list": "^7.0.0", | ||
"taskkill": "^3.0.0" | ||
"ps-list": "^7.2.0", | ||
"taskkill": "^3.1.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^1.4.1", | ||
"delay": "^4.1.0", | ||
"ava": "^2.4.0", | ||
"delay": "^4.4.0", | ||
"get-port": "^5.1.1", | ||
"noop-process": "^4.0.0", | ||
"tsd": "^0.11.0", | ||
"xo": "^0.25.4" | ||
"tsd": "^0.14.0", | ||
"xo": "^0.36.1" | ||
} | ||
} |
@@ -11,4 +11,2 @@ <h1 align="center"> | ||
[![Build Status](https://travis-ci.org/sindresorhus/fkill.svg?branch=master)](https://travis-ci.org/sindresorhus/fkill) | ||
Works on macOS (10.13 or later), Linux, Windows. | ||
@@ -15,0 +13,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
7366
87
+ Addedpid-port@^0.1.0
+ Addedexeca@5.1.1(transitive)
+ Addedget-stream@6.0.1(transitive)
+ Addedhuman-signals@2.1.0(transitive)
+ Addedpid-port@0.1.1(transitive)
- Removedpid-from-port@^1.1.3
- Removedcross-spawn@5.1.0(transitive)
- Removedexeca@0.9.04.1.0(transitive)
- Removedget-stream@3.0.0(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removednpm-run-path@2.0.2(transitive)
- Removedp-finally@1.0.0(transitive)
- Removedpath-key@2.0.1(transitive)
- Removedpid-from-port@1.1.3(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedstrip-eof@1.0.0(transitive)
- Removedwhich@1.3.1(transitive)
- Removedyallist@2.1.2(transitive)
Updatedaggregate-error@^3.1.0
Updatedexeca@^5.0.0
Updatedps-list@^7.2.0
Updatedtaskkill@^3.1.0