Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

detect-port

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-port - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

5

HISTORY.md
1.1.3 / 2017-05-24
==================
* fix: should ignore getaddrinfo ENOTFOUND error (#22)
1.1.2 / 2017-05-11

@@ -3,0 +8,0 @@ ==================

4

lib/detect-port.js

@@ -75,2 +75,6 @@ 'use strict';

server.close();
if (err.code === 'ENOTFOUND') {
debug('ignore dns ENOTFOUND error, get free %s:%s', hostname, port);
return callback(null, port);
}
return callback(err);

@@ -77,0 +81,0 @@ });

3

package.json
{
"name": "detect-port",
"version": "1.1.2",
"version": "1.1.3",
"description": "detect available port",

@@ -28,2 +28,3 @@ "keywords": [

"eslint-config-egg": "^3.1.0",
"mm": "^2.1.0",
"pedding": "^1.1.0"

@@ -30,0 +31,0 @@ },

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