Socket
Socket
Sign inDemoInstall

detect-port-alt

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-port-alt - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

4

lib/detect-port.js

@@ -101,2 +101,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);

@@ -103,0 +107,0 @@ });

2

package.json
{
"name": "detect-port-alt",
"version": "1.1.5",
"version": "1.1.6",
"description": "detect available port",

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

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