fe321dda7b
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
ab6e993879
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
429bd82bbb
refactor: include missed space before function decl
2024-11-11 17:14:30 +05:30
3481217e40
feat: freeze lex order constant table
2024-11-11 17:09:37 +05:30
4ca2e2f483
docs: fix SemverResult
generic type missing an equals
2024-11-11 16:09:12 +05:30
a76f47e155
docs: include moonwave comments for library
2024-11-11 11:46:46 +05:30
4c2d25485d
feat: trim leading v
in versions
2024-11-10 20:46:01 +05:30
e429cb6f9b
refactor: add leading |
to error type union
2024-11-10 20:37:57 +05:30
36d3c84578
feat: complete parser and cmp implementation with package
2024-11-04 12:15:50 +05:30