Skip to content

Releases: node-modules/detect-port

v2.1.0

10 Dec 03:41
Compare
Choose a tag to compare

2.1.0 (2024-12-10)

Features

  • refactor with async/await instead of callback (#59) (9254c18)

This release is also available on:

v2.0.1

08 Dec 16:00
Compare
Choose a tag to compare

2.0.1 (2024-12-08)

Bug Fixes


This release is also available on:

v2.0.0

08 Dec 03:51
Compare
Choose a tag to compare

2.0.0 (2024-12-08)

⚠ BREAKING CHANGES

  • Drop Node.js < 16 support
  1. 使用 ts 重构
  2. 使用 tshy 支持 esm 和 cjs
  3. test 使用 test-runner (这里需要 node v18 版本)

merge from #51

Summary by CodeRabbit

  • New Features

  • Introduced a new waitPort function to asynchronously wait for a
    specified port to become available.

    • Added a new ESLint configuration to enforce TypeScript linting rules.
  • Bug Fixes

    • Reverted a feature in the detect-port package due to issues raised.
  • Documentation

    • Updated README.md for improved clarity and updated badge links.
    • Modified CONTRIBUTING.md to reflect changes in testing commands.
  • Chores

    • Introduced a new TypeScript configuration file (tsconfig.json).
  • Updated package.json to reflect changes in dependencies and project
    structure.

  • Tests

  • Added comprehensive tests for the new waitPort and updated tests for
    the CLI and detectPort function.

Features

  • refactor with typescript to support esm and cjs both (#56) (b5d32d2)

This release is also available on:

v1.6.1

08 May 15:35
Compare
Choose a tag to compare

1.6.1 (2024-05-08)

Reverts


This release is also available on:

v1.6.0

08 May 08:46
Compare
Choose a tag to compare

1.6.0 (2024-05-08)

Features


This release is also available on:

v1.5.1

08 May 08:25
Compare
Choose a tag to compare

1.5.1 (2024-05-08)

Features

Bug Fixes

  • add #!/usr/bin/env node header (#49) (9dd9ce3)
  • handle 0.0.0.0:port binding (#26) (398bc4f)
  • ignore EADDRNOTAVAIL error when listen localhost (#33) (64777f8)
  • should double check 0.0.0.0 and localhost (#20) (0765f0e)
  • should ignore getaddrinfo ENOTFOUND error (#22) (792bccd)
  • try to use next available port (#16) (817105e)
  • typo on line 54 (#45) (a54e2ef)

1.2.0

06 Jun 12:43
Compare
Choose a tag to compare
cli tweak to verbose (#25)

* cli tweak to verbose

* tweak testcase

1.1.0

17 Jan 14:14
Compare
Choose a tag to compare
bump version 1.1.0

1.0.7

11 Dec 02:54
Compare
Choose a tag to compare
Merge pull request #12 from node-modules/tweak-promise

Tweak callback throw error

1.0.6

29 Nov 12:28
Compare
Choose a tag to compare
bump verison for new repo