Socket
Socket
Sign inDemoInstall

node-tool-utils

Package Overview
Dependencies
40
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.2 to 1.2.3

9

CHANGELOG.md

@@ -0,1 +1,10 @@

## [1.2.3](https://github.com/hubcarl/node-tool-utils/compare/1.2.2...1.2.3) (2019-08-01)
### Bug Fixes
* netstat replace to lsof -i for check port used ([3bf06c3](https://github.com/hubcarl/node-tool-utils/commit/3bf06c3))
## [1.2.2](https://github.com/hubcarl/node-tool-utils/compare/1.2.1...1.2.2) (2019-07-05)

@@ -2,0 +11,0 @@

6

lib/tool.js

@@ -157,9 +157,9 @@ 'use strict';

case 'darwin':
cmd = `netstat -anp tcp | grep ${port}`;
cmd = `lsof -i:${port}`;
break;
case 'linux':
cmd = `netstat -apn | grep ${port}`;
cmd = `lsof -i:${port}`;
break;
default:
cmd = `netstat -apn | grep ${port}`;
cmd = `lsof -i:${port}`;
break;

@@ -166,0 +166,0 @@ }

{
"name": "node-tool-utils",
"version": "1.2.2",
"version": "1.2.3",
"description": "node cross-platform tool library",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc