Skip to content

Releases: sindresorhus/get-port

v7.1.0

20 Mar 08:09
Compare
Choose a tag to compare

v7.0.0

04 Jun 13:11
Compare
Choose a tag to compare

Breaking

Improvements

  • Use timeout instead of interval for releasing ports (#68) bd8a403

v6.1.2...v7.0.0

v6.1.2

24 Feb 15:33
Compare
Choose a tag to compare
  • Fix portNumbers argument validation and number generation (#64) 1fb0e70

v6.1.1...v6.1.2

v6.1.1

22 Feb 06:19
Compare
Choose a tag to compare

v6.1.0...v6.1.1

v6.1.0

16 Feb 09:44
Compare
Choose a tag to compare

v6.0.0

03 Oct 17:07
Compare
Choose a tag to compare

Breaking

  • Require Node.js 12.20 c08a4ae
  • This package is now pure ESM. Please read this.
  • require('get-port').makeRange => import {portsNumbers] from 'get-port'

Improvements

  • Check all local hosts for port availability (#56) c3bbed9

v5.1.1...v6.0.0

v5.1.1

15 Jan 08:08
Compare
Choose a tag to compare
  • Fix unref'ing the timer in some environments (#40) 0a447b1

v5.1.0...v5.1.1

v5.1.0

18 Dec 17:19
Compare
Choose a tag to compare
  • Fix in-process race condition (#36) 73e21d8
  • Fall back to a random port if preferred port is privileged (#39) 45a71bc

v5.0.0...v5.1.0

v5.0.0

05 Apr 21:21
Compare
Choose a tag to compare

Breaking:

  • Require Node.js 8 (#29) 1ec2a88
  • For TypeScript users only:
    • Refactor TypeScript definition to CommonJS compatible export (#29) 1ec2a88
      • You need to change import getPort from 'get-port'; to import getPort = require('get-port');

Enhancements:

v4.2.0...v5.0.0

v4.2.0

02 Mar 19:10
Compare
Choose a tag to compare

v4.1.0...v4.2.0