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

freeport

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freeport - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

license

3

lib/freeport.js

@@ -13,3 +13,6 @@ var net = require('net')

})
server.on('error', function(err) {
cb(err, null)
})
server.listen(0, '127.0.0.1')
}

5

package.json
{
"name": "freeport",
"description": "Find a free port.",
"version": "1.0.4",
"version": "1.0.5",
"homepage": "https://github.com/daaku/nodejs-freeport",

@@ -15,3 +15,4 @@ "author": "Naitik Shah <n@daaku.org>",

"mocha": "0.12.x"
}
},
"license": "Apache-2.0"
}

@@ -7,5 +7,6 @@ freeport [![Build Status](https://secure.travis-ci.org/daaku/nodejs-freeport.png)](http://travis-ci.org/daaku/nodejs-freeport)

```javascript
freeport(function(er, port) {
...
freeport(function(err, port) {
if (err) throw err
console.log(port)
})
```

Sorry, the diff of this file is not supported yet

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