Socket
Socket
Sign inDemoInstall

get-port-please

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

3.1.2

Diff

Changelog

Source

v3.1.2

compare changes

🩹 Fixes

  • Accept ipv6 as valid hostname (d537a51)
  • Use closed ranges as port ranges (#66)
  • Ranges now work even if port is unset in options (#72)
  • Don't use random port by default if user specified any port (#65)

💅 Refactors

  • Correct typos in GetPortError message (#77)
  • Fix typo in error message (#73)
  • Improve log when using alternative port (#78)

🏡 Chore

  • Update fallback message (1f45050)
  • Update dependencies and lockfile (62735f6)

✅ Tests

❤️ Contributors

pi0
published 3.1.1 •

Changelog

Source

v3.1.1

compare changes

🩹 Fixes

  • Ignore ipv6 link-local addresses from hosts (9e76e76)

❤️ Contributors

pi0
published 3.1.0 •

Changelog

Source

v3.1.0

compare changes

🚀 Enhancements

  • Automatically fallback hostname for invalid hosts (#62)

🩹 Fixes

  • Validate hostname and improve errors (#59)
  • Skip all listen errors (#61)

💅 Refactors

  • Split internals and types (cf4317c)

🏡 Chore

  • Run tests on windows (#60)
  • Use changelogen for releases (7d4d6bb)
  • release: V3.0.3 (86672c4)

✅ Tests

  • Block host on all interfaces (5a95184)
  • Skip invalid host tests on windows (e8b92ac)

🎨 Styles

❤️ Contributors

pi0
published 3.0.3 •

Changelog

Source

v3.0.3

compare changes

🩹 Fixes

  • Validate hostname and improve errors (#59)
  • Skip all listen errors (#61)

💅 Refactors

  • Split internals and types (cf4317c)

🏡 Chore

  • Run tests on windows (#60)
  • Use changelogen for releases (7d4d6bb)

✅ Tests

  • Block host on all interfaces (5a95184)
  • Skip invalid host tests on windows (e8b92ac)

🎨 Styles

❤️ Contributors

pi0
published 3.0.2 •

Changelog

Source

3.0.2 (2023-08-27)

Bug Fixes

  • use random port when port: 0 is set (081ed99)
pi0
published 3.0.1 •

Changelog

Source

3.0.1 (2023-01-03)

Bug Fixes

  • use process.env.PORT as default value if port option is missing (#27) (57e1232)
pi0
published 2.6.1 •

Changelog

Source

2.6.1 (2022-08-08)

Bug Fixes

  • ignore falsy config.port option (ca34365)
pi0
published 2.6.0 •

Changelog

Source

2.6.0 (2022-08-08)

Features

  • alternative port and verbose logging (49200e6)
  • verbose logging (opt-in) (779f3b7)

Bug Fixes

  • generate range before passing to findPort (848a8c2)
pi0
published 2.5.0 •

Changelog

Source

2.5.0 (2022-04-11)

Features

pi0
published 2.4.3 •

Changelog

Source

2.4.3 (2022-02-28)

Bug Fixes

  • waitForPort: check for all available hosts by default (ba5f3b0)
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc