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

wait-port

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wait-port - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

2

lib/wait-port.js

@@ -15,3 +15,3 @@ const debug = require('debug')('wait-port');

// Try and open the socket, with the params and callback.
const socket = net.createConnection({ host, port, family: ipVersion }, (err) => {
const socket = net.createConnection({ host, port, family: ipVersion, autoSelectFamily: true }, (err) => {
if (!err) clearTimeout(timer);

@@ -18,0 +18,0 @@ return callback(err);

{
"name": "wait-port",
"version": "1.0.4",
"version": "1.1.0",
"description": "Utility to wait for a TCP port to open.",

@@ -5,0 +5,0 @@ "main": "./lib/wait-port.js",

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