2.1.0 (2024-12-10)
2.0.1 (2024-12-08)
2.0.0 (2024-12-08)
- Drop Node.js < 16 support
- 使用 ts 重构
- 使用 tshy 支持 esm 和 cjs
- test 使用 test-runner (这里需要 node v18 版本)
merge from #51
-
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.
- Reverted a feature in the
-
Documentation
- Updated
README.md
for improved clarity and updated badge links. - Modified
CONTRIBUTING.md
to reflect changes in testing commands.
- Updated
-
Chores
- Introduced a new TypeScript configuration file (
tsconfig.json
).
- Introduced a new TypeScript configuration file (
-
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 anddetectPort
function.
1.6.1 (2024-05-08)
1.6.0 (2024-05-08)
fixes
- [
9dd9ce3
] - fix: add #!/usr/bin/env node header (#49) (达峰的夏天 <xudafeng@126.com>)
features
- [
618dec5
] - feat: support wait port (#46) (达峰的夏天 <xudafeng@126.com>)
fixes
- [
a54e2ef
] - fix: typo on line 54 (#45) (Yavuz Akyuz <56271907+yavuzakyuz@users.noreply.github.com>)
others
- [
28f07b3
] - 🤖 TEST: Run CI on Github Action (#47) (fengmk2 <fengmk2@gmail.com>) - [
ae55c95
] - Create codeql-analysis.yml (fengmk2 <fengmk2@gmail.com>) - [
f35409d
] - chore: update project config (xudafeng <xudafeng@126.com>) - [
cd21d30
] - chore: update readme (#43) (XiaoRui <xiangwu619@gmail.com>) - [
da01e68
] - chore: add .editorconfig (#42) (达峰的夏天 <xudafeng@126.com>) - [
a2c6b04
] - chore: update repo config (#41) (达峰的夏天 <xudafeng@126.com>) - [
8da6f33
] - chore: update readme (#38) (达峰的夏天 <xudafeng@126.com>) - [
ee88ccb
] - chore: remove unuse file (fengmk2 <fengmk2@gmail.com>)
features
- [
a00357a
] - feat: support detect port with custom hostname (#35) (Ender Lee <34906299+chnliquan@users.noreply.github.com>)
others
- [
671094f
] - update readme (xudafeng <xudafeng@126.com>) - [
285e59b
] - chore: add files to package.json (fengmk2 <fengmk2@gmail.com>)
fixes
- [
64777f8
] - fix: ignore EADDRNOTAVAIL error when listen localhost (#33) (Haoliang Gao <sakura9515@gmail.com>) - [
398bc4f
] - fix: handle 0.0.0.0:port binding (#26) (fengmk2 <fengmk2@gmail.com>)
others
- [
aedf44f
] - doc: tweak description (xudafeng <xudafeng@126.com>) - [
b7ff76f
] - update FAQ & contributor (xudafeng <xudafeng@126.com>) - [
4a9e127
] - cli tweak to verbose (#25) (xdf <xudafeng@126.com>),
- fix: should ignore getaddrinfo ENOTFOUND error (#22)
- fix: should double check 0.0.0.0 and localhost (#20)
- docs: ignore type of port when checking if it's occupied (#18)
- fix: try to use next available port (#16)
- Use server listen to detect port
- Early return for rejected promise
- Prevent promsie swallow in callback
- Bump version for new Repo
- Support promise
- Fix commander
- Add command line support
- Initial release