New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kill-port

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kill-port - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

6

index.js
'use strict'
const sh = require('execa').shell
const sh = require('shell-exec')
module.exports = function (port) {
if (!Number.parseInt(port)) {
port = Number.parseInt(port)
if (!port) {
return Promise.reject(new Error('Invalid argument provided for port'))

@@ -8,0 +10,0 @@ }

{
"name": "kill-port",
"version": "1.3.1",
"version": "1.3.2",
"description": "Kill the process running on given port",

@@ -34,4 +34,4 @@ "license": "MIT",

"dependencies": {
"execa": "^0.10.0",
"get-them-args": "^1.3.1"
"get-them-args": "^1.3.1",
"shell-exec": "^1.0.2"
},

@@ -41,3 +41,3 @@ "devDependencies": {

"jest": "^22.4.3",
"standard": "^11.0.1"
"standard": "^12.0.0"
},

@@ -44,0 +44,0 @@ "standard": {

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