9bde66aed4
chore(tests): apply formatting
2024-11-21 18:40:10 +00:00
79a4205f4d
chore(tests): multichar prerelease ordinal case
2024-11-21 18:23:27 +00:00
f6220d6295
fix: return error on invalid ordinal with points
...
Previously, if the ordinal contained dots (like 1.2.3-beta.3.4.5),
although it was invalid, an error would not be returned, which was
problematic. This has now been fixed.
Test cases are also included to prevent future regressions.
2024-11-21 18:21:19 +00:00
61f80fbf83
feat: implement tostring for SemverImpl
...
* `SemverImpl:__tostring` - Allows for stringifying a parsed semver instance
* Add TODO comment for future erroring for bad ordinal format
2024-11-21 17:20:48 +00:00
727692b31e
chore(tests): migrate parse_invalid to use official frktest package
2024-11-12 20:24:52 +05:30
fc9a8701f6
chore(tests): migrate parse_valid to use official frktest package
...
Also removes `any` casts since https://github.com/itsfrank/frktest/issues/2 was resolved.
2024-11-12 20:23:51 +05:30
7311c439e3
chore(tests): migrate cmp test to use official frktest package
2024-11-12 20:22:17 +05:30
d67abb3186
chore: include test suites for library
2024-11-04 12:18:52 +05:30