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

portscanner

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

portscanner - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

10

lib/portscanner.js

@@ -94,4 +94,3 @@ var net = require('net')

// Return after the socket has closed
socket.on('close', function(exception) {
if (exception) error = exception
socket.on('close', function() {
callback(error, status)

@@ -121,5 +120,2 @@ })

foundPort = true
callback(error, port)
}
else if (error) {
callback(error)

@@ -129,3 +125,3 @@ }

port++
callback(null, false)
callback(null)
}

@@ -139,3 +135,3 @@ })

if (error) {
callback(error)
callback(error, port)
}

@@ -142,0 +138,0 @@ else if (foundPort) {

@@ -11,3 +11,3 @@ {

],
"version": "0.2.1",
"version": "0.2.2",
"preferGlobal": false,

@@ -14,0 +14,0 @@ "homepage": "https://github.com/baalexander/node-portscanner",

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