Commit Graph

24 Commits

Author SHA1 Message Date
2bd5d9c9bf chore: bump version to 1.7.0-beta.2 2025-06-22 01:50:58 +03:00
7248a0096c feat: add typescript declaration files
Types are automatically generated from the existsing
JSDoc comments in the js source code. Use `types:build`
script from `package.json` to produce d.ts files.
2025-06-22 01:50:29 +03:00
a1b999ca4e refactor: introduce typescript for static type checking
We use JSDoc for documentation, but these annotations
were not being validated. This meant that type information
could become outdated or incorrect without any warning.

This commit introduces the TypeScript compiler (`tsc`) as a static
analysis tool to leverage our existing JSDoc comments.

To support this, JSDoc annotations across the codebase have been
improved for accuracy. Additionally, the `varint` module now uses a
custom `VarIntError` class for better type inference and error handling.
A new `typecheck` script has been added to `package.json` to run this
validation.
2025-06-19 03:55:24 +03:00
7322034aba feat: add debug logging
Add debug logs using the `debug` library.

To use this new feature, set the `DEBUG` environment variable:
- `DEBUG=mineping:*` enables all logs from this library.
- `DEBUG=mineping:java` enables logs for the Java module only.
- `DEBUG=mineping:bedrock` enables logs for the Bedrock module only.
2025-06-19 02:14:04 +03:00
435e59739c test: implement tests using vitest framework 2025-06-15 02:56:07 +03:00
d8d4a9a467 chore: bump version to 1.6.1 2025-02-07 08:57:18 +03:00
0b5c5e2938 chore: bump version to 1.6.0 2025-02-07 08:02:26 +03:00
838ffc497a chore: bump version to 1.5.0 2024-10-09 22:00:11 +03:00
009f542c55 chore: bump version to 1.4.1 2024-03-31 02:02:08 +03:00
fa4c34d896 chore: bump version to 1.4.0 2024-03-31 01:56:43 +03:00
9d25aaf4ea chore: bump version to 1.3.0 2024-03-30 16:42:44 +03:00
afdaa9eb3e chore(package.json): bump version to 1.2.2 2023-12-12 00:44:41 +03:00
d7256eabe7 chore(package.json): bump version to 1.2.1 2023-12-09 12:58:53 +03:00
6c297d0b8c chore(package.json): bump version to 1.2.0 2023-12-08 15:22:53 +03:00
78ca03b004 chore(package.json): update version from 1.1.0 to 1.1.1 2023-10-22 21:32:33 +03:00
915edbec9c update version from 1.0.4 to 1.1.0 2023-10-22 02:29:54 +03:00
0fe675385f bedrock.js refactoring, remove bytebuffer dependency
add parallel.js file to demonstrate parallel pinging of multiple Bedrock servers
2023-10-22 02:29:20 +03:00
e927748935 1.0.4 2022-01-11 02:47:40 +03:00
24a4880230 1.0.3 2022-01-11 02:36:21 +03:00
19877019e1 1.0.2 2022-01-11 02:25:03 +03:00
e5653c32a1 1.0.1 2022-01-10 23:33:04 +03:00
383fa55ceb added repo link 2022-01-10 23:32:42 +03:00
a31802fe11 change scope 2022-01-10 23:24:53 +03:00
e9cd348935 initial commit 2022-01-10 23:21:47 +03:00