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

detect-port

Package Overview
Dependencies
Maintainers
2
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.0.2 to 1.0.3

lib/detect-port.js

2

index.js

@@ -16,2 +16,2 @@ /* ================================================================

module.exports = require('./lib');
module.exports = require('./lib/detect-port');
{
"name": "detect-port",
"version": "1.0.2",
"version": "1.0.3",
"description": "detect available port",

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

@@ -1,9 +0,13 @@

# detect-port
[![logo][logo-image]][logo-url]
---
[![NPM version][npm-image]][npm-url]
[![node version][node-image]][node-url]
[![build status][travis-image]][travis-url]
[![Coveralls][coveralls-image]][coveralls-url]
[![node version][node-image]][node-url]
[![npm download][download-image]][download-url]
[logo-image]: ./logo.png
[logo-url]: https://npmjs.org/package/detect-port
[npm-image]: https://img.shields.io/npm/v/detect-port.svg?style=flat-square

@@ -51,6 +55,6 @@ [npm-url]: https://npmjs.org/package/detect-port

var co = require('co');
const co = require('co');
co(function *() {
var _port = yield detect(port);
const _port = yield detect(port);

@@ -62,3 +66,3 @@ if (port === _port) {

}
})();
});

@@ -83,3 +87,3 @@ /**

## Cli Tool
## Command Line Tool

@@ -86,0 +90,0 @@ ```shell

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