Ian Bull
77547f1e7d
refactor(semver): align additional error messages ( #5785 )
2024-08-23 12:39:56 +09:00
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax
( #4406 )
...
* Start
* Update
* Format
* Revert deno.json change
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00
Yoshiya Hinosawa
453cc36370
fix(semver): fix prerelease
handlings in range utils ( #4323 )
2024-02-16 19:48:20 +09:00
Tim Reichen
e6ec6a205e
refactor(semver): remove unnecessary code ( #4076 )
...
* initial commit
* update
* initial commit
* update
* update checks
* remove type check
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-04 09:01:51 +11:00
Tim Reichen
e71a8fd2eb
refactor(semver): rename OPERATOR_REGEXP
to OPERATOR_XRANGE_REGEXP
( #4056 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-01-02 21:38:16 +09:00
Tim Reichen
6bd9a953df
refactor(semver): update internal variables and comments ( #4052 )
...
* initial commit
* Update semver/_shared.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* fix typo
* rename to FULL_VERSION
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 13:58:16 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year ( #4046 )
...
* chore: update copyright year
* fix
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Tim Reichen
847585d68f
refactor(semver): cleanup parseRange()
( #4001 )
...
* initial commit
* remove global flag
* replace string operations with array
* extract switch cases to separate funvtions
* rename operator functions
* extract equal switch case to separate function
* Update semver/parse_range.ts
* update argument name
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-12-30 23:58:32 +00:00
Asher Gomez
c9f4020446
refactor(semver): remove isOperator()
and cleanup isComparator()
( #4038 )
...
refactor: remove `semver.isOperator()`
2023-12-30 22:04:44 +00:00
Tim Reichen
27c3c0257d
refactor(semver): use capturing groups in parseComparator()
( #4026 )
2023-12-30 18:43:56 +09:00
Tim Reichen
81bcbc1ca1
feat(semver): optional SemVer build and prerelease properties ( #4024 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-12-28 19:00:18 +09:00
Tim Reichen
8497153a9b
refactor(semver): add operators array ( #4033 )
2023-12-28 18:31:06 +09:00
Tim Reichen
1b56394a2b
refactor(semver): replace replace()
with match()
capturing groups ( #3983 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-20 15:25:06 +09:00
Tim Reichen
275127f31d
refactor(semver): add regexp capturing groups ( #3956 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-18 17:12:55 +09:00
Tim Reichen
fd3c6fb6a0
chore(semver): rename internal constants for better readability ( #3955 )
...
initial commit
2023-12-14 08:22:14 +11:00
Tim Reichen
5b897c8bbe
chore(semver): regex template strings ( #3953 )
...
* initial commit
* revert non-interpolated strings
* make STAR_REGEXP literal regexp
2023-12-14 07:48:40 +11:00
Tim Reichen
24d63a2636
chore(semver): remove regexp array ( #3946 )
...
* initial commit
* rename STAR to STAR_REGEXP
* revert wasi/testdata
2023-12-14 07:08:35 +11:00
Martin Fischer
a5b1d80736
chore: fix typos ( #3458 )
...
The typos were found with the typos[1] spell checker. That spell
checker will be incorporated into the CI in a followup PR.
[1]: https://github.com/crate-ci/typos
2023-06-22 01:27:37 +09:00
Yoshiya Hinosawa
aea85151e8
BREAKING(semver): rewrite semver ( #3385 )
...
See
- https://github.com/denoland/deno_std/pull/3169
- https://github.com/denoland/deno_std/pull/3385
---------
Co-authored-by: justinmchase <justin.m.chase@gmail.com>
Co-authored-by: Jesse Jackson <jsejcksn@users.noreply.github.com>
Co-authored-by: Max Duval <hi@mxdvl.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Tim Reichen <timreichen@users.noreply.github.com>
2023-06-12 12:47:03 +09:00