std/semver
Tim Reichen 4f6709ea57
refactor(semver): improve parseRange() logic (#4375)
* initial commit

* update

* fmt

* update

* Update parse_range.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Update parse_range.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-03-05 11:00:55 +11:00
..
_constants.ts deprecation(semver): deprecate ==, ===, !==, and "" operators (#4271) 2024-02-18 15:43:09 +09:00
_shared.ts refactor: make the code work under verbatimModuleSyntax (#4406) 2024-02-27 21:57:25 +00:00
can_parse_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
can_parse.ts BREAKING(semver): remove canParse() non-string overload (#4108) 2024-01-05 13:08:09 +11:00
compare_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
compare.ts docs(semver): fix arg names in jsdoc (#4328) 2024-02-14 13:04:52 +09:00
constants.ts refactor(semver): cleanup comparison functions (#4266) 2024-02-02 17:00:47 +11:00
difference_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
difference.ts refactor(semver): make difference() more readable (#4054) 2024-01-03 07:50:29 +11:00
equals_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
equals.ts deprecation(semver): rename eq(), neq(), lt(), lte(), gt() and gte() (#4083) 2024-01-23 13:04:12 +09:00
format_range_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
format_range.ts chore(semver): move comparator functions into range files (#4387) 2024-03-01 18:43:28 +12:00
format_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
format.ts BREAKING(semver): remove FormatStyle (#4182) 2024-01-14 20:16:56 +09:00
greater_or_equal_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
greater_or_equal.ts deprecation(semver): rename eq(), neq(), lt(), lte(), gt() and gte() (#4083) 2024-01-23 13:04:12 +09:00
greater_than_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
greater_than.ts deprecation(semver): rename eq(), neq(), lt(), lte(), gt() and gte() (#4083) 2024-01-23 13:04:12 +09:00
gtr_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
gtr.ts chore(semver): move breaking versions (#4372) 2024-02-23 13:39:50 +09:00
increment_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
increment.ts refactor(semver): make increment() more readable (#4057) 2024-01-03 01:27:08 +00:00
is_range_test.ts chore(semver): move comparator functions into range files (#4387) 2024-03-01 18:43:28 +12:00
is_range.ts chore(semver): move comparator functions into range files (#4387) 2024-03-01 18:43:28 +12:00
is_semver_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
is_semver.ts refactor(semver): remove unnecessary code (#4076) 2024-01-04 09:01:51 +11:00
less_or_equal_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
less_or_equal.ts deprecation(semver): rename eq(), neq(), lt(), lte(), gt() and gte() (#4083) 2024-01-23 13:04:12 +09:00
less_than_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
less_than.ts deprecation(semver): rename eq(), neq(), lt(), lte(), gt() and gte() (#4083) 2024-01-23 13:04:12 +09:00
ltr_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
ltr.ts chore(semver): move breaking versions (#4372) 2024-02-23 13:39:50 +09:00
max_satisfying_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
max_satisfying.ts BREAKING(semver): remove SemVerRange and isSemVerRange() (#4295) 2024-02-09 23:30:39 +00:00
min_satisfying_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
min_satisfying.ts BREAKING(semver): remove SemVerRange and isSemVerRange() (#4295) 2024-02-09 23:30:39 +00:00
mod.ts docs(semver): remove obsolete docs (#4324) 2024-02-13 16:10:19 +09:00
not_equals_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
not_equals.ts deprecation(semver): rename eq(), neq(), lt(), lte(), gt() and gte() (#4083) 2024-01-23 13:04:12 +09:00
parse_range_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
parse_range.ts refactor(semver): improve parseRange() logic (#4375) 2024-03-05 11:00:55 +11:00
parse_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
parse.ts refactor: make the code work under verbatimModuleSyntax (#4406) 2024-02-27 21:57:25 +00:00
range_intersects_test.ts chore(semver): move comparator functions into range files (#4387) 2024-03-01 18:43:28 +12:00
range_intersects.ts chore(semver): move comparator functions into range files (#4387) 2024-03-01 18:43:28 +12:00
range_max_test.ts chore(semver): add tests for rangeMax() (#4315) 2024-02-13 16:06:00 +09:00
range_max.ts chore(semver): move comparator functions into range files (#4387) 2024-03-01 18:43:28 +12:00
range_min_test.ts chore(semver): format test names (#4379) 2024-02-29 16:00:20 +12:00
range_min.ts chore(semver): move comparator functions into range files (#4387) 2024-03-01 18:43:28 +12:00
reverse_sort_test.ts chore: update copyright year (#4046) 2024-01-02 08:11:32 +11:00
reverse_sort.ts chore(semver): move breaking versions (#4372) 2024-02-23 13:39:50 +09:00
test_range_test.ts chore(semver): move comparator functions into range files (#4387) 2024-03-01 18:43:28 +12:00
test_range.ts fix(semver): fix prerelease handlings in range utils (#4323) 2024-02-16 19:48:20 +09:00
try_parse_range.ts refactor: make the code work under verbatimModuleSyntax (#4406) 2024-02-27 21:57:25 +00:00
try_parse.ts refactor: make the code work under verbatimModuleSyntax (#4406) 2024-02-27 21:57:25 +00:00
types.ts refactor: make the code work under verbatimModuleSyntax (#4406) 2024-02-27 21:57:25 +00:00