Yoshiya Hinosawa
333c4db283
chore(semver): move breaking versions ( #4372 )
2024-02-23 13:39:50 +09:00
Tim Reichen
6e6eff5d59
refactor(semver): rename comparatorFormat()
to formatComparator()
( #4373 )
...
initial commit
2024-02-23 11:47:28 +11:00
Javier Hernández
3e42606ddd
test(semver): add test for parse_range ( #4345 )
2024-02-23 00:36:36 +09:00
Javier Hernández
fe84d285f7
refactor(semver): prepare for noUncheckedIndexedAccess
( #4354 )
...
ref #4040
2024-02-21 07:57:21 +11:00
Yoshiya Hinosawa
8205edc184
test(semver): add test for fix #4350 ( #4352 )
2024-02-19 14:50:30 +09:00
Tim Reichen
dd89077f99
deprecation(semver): deprecate ==
, ===
, !==
, and ""
operators ( #4271 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-02-18 15:43:09 +09:00
mersey
24abc640f7
fix(semver): fix parse_range for >x.y
pattern ( #4350 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-02-18 15:15:41 +09:00
Yoshiya Hinosawa
453cc36370
fix(semver): fix prerelease
handlings in range utils ( #4323 )
2024-02-16 19:48:20 +09:00
mersey
f6c4447524
chore(semver): rename range_test.ts ( #4339 )
2024-02-16 19:34:29 +09:00
Yoshiya Hinosawa
192a912d9c
chore(semver): align removal version ( #4338 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-16 13:20:20 +09:00
Yoshiya Hinosawa
44998e539d
chore(semver): align removal version of reverseSort to others ( #4334 )
2024-02-16 12:11:03 +09:00
Yoshiya Hinosawa
6de2aefdbf
docs(semver): fix arg names in jsdoc ( #4328 )
2024-02-14 13:04:52 +09:00
Yoshiya Hinosawa
53c474ed4b
docs(semver): remove obsolete docs ( #4324 )
2024-02-13 16:10:19 +09:00
Tim Reichen
36d4ec5012
chore(semver): add tests for rangeMax()
( #4315 )
2024-02-13 16:06:00 +09:00
Tim Reichen
283888de59
refactor(semver): simplify args for comparatorMin()
and comparatorMax()
( #4316 )
...
initial commit
2024-02-13 07:49:22 +11:00
Tim Reichen
775058040a
fix(semver): return new object instance in comparatorMin()
and comparatorMax()
( #4314 )
2024-02-12 19:57:56 +09:00
Asher Gomez
083a2b12ba
BREAKING(semver): remove SemVerRange
and isSemVerRange()
( #4295 )
2024-02-09 23:30:39 +00:00
Asher Gomez
b9f3a74c8b
BREAKING(semver): remove eq()
, gt()
, gte()
, lt()
, lte()
and neq()
( #4294 )
2024-02-09 23:26:42 +00:00
Asher Gomez
57fc775b31
BREAKING(semver): remove outside()
( #4293 )
2024-02-09 21:22:20 +11:00
Tim Reichen
8623f4b4f2
deprecation(semver): deprecate reverseSort()
( #4280 )
...
* initial commit
* update
2024-02-08 09:43:44 +11:00
Tim Reichen
a6fe34b959
deprecation(semver): deprecate ltr()
and gtr()
( #4228 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-05 10:54:43 +09:00
Asher Gomez
980545f4b8
BREAKING(semver): remove Comparator
functions ( #4278 )
...
* BREAKING(semver): remove comparator functions
* fix
2024-02-05 12:48:53 +11:00
Asher Gomez
9bc4116057
refactor(semver): cleanup comparison functions ( #4266 )
2024-02-02 17:00:47 +11:00
Asher Gomez
8055c29fc0
chore(semver): postpone removal versions of some APIs ( #4267 )
...
deprecation(semver): postpone removal versions of some APIs
2024-02-02 16:59:56 +11:00
Asher Gomez
1185f1a8f0
BREAKING(semver): remove rangeFormat()
( #4265 )
2024-02-02 16:56:56 +11:00
Asher Gomez
ef93ef3e72
BREAKING(semver): remove sort()
( #4264 )
2024-02-02 14:54:52 +09:00
Asher Gomez
6935a0cdd1
deprecation(semver): postpone removals to 0.215.0 ( #4257 )
2024-02-01 16:33:16 +11:00
David Luis
ad4abccb66
docs: replace markdown hyperlink syntax with {@link}
tag where necessary. ( #4253 )
...
docs: replaces markdown hyperlink syntax with `{@link}` tag when necessary.
2024-02-01 09:19:46 +11:00
Tim Reichen
d23718945e
feat(tools,log,http,semver): check mod exports, export items consistently from mod.ts ( #4229 )
2024-01-25 18:36:46 +09:00
Tim Reichen
0a32c8f5e8
deprecation(semver): rename eq()
, neq()
, lt()
, lte()
, gt()
and gte()
( #4083 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-01-23 13:04:12 +09:00
Tim Reichen
690d659fc4
refactor(semver): replace parseComparator()
with comparator objects ( #4204 )
...
* initial commit
* update
* add uniform return types
2024-01-16 09:24:05 +11:00
Tim Reichen
aa3f026e93
deprecation(semver): deprecate SemVerRange
, introduce Range
( #4161 )
...
* initial commit
* Update semver/is_range.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* bump deprecation notice
* add test cases
* fmt
* Update types.ts
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
* Update types.ts
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
* Update is_semver_range.ts
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-01-14 21:19:00 +00:00
Tim Reichen
05ffa5fbff
deprecation(semver): deprecate outside()
( #4185 )
...
* initial commit
* Update outside.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-15 08:03:03 +11:00
Asher Gomez
b0a52a3903
BREAKING(semver): remove FormatStyle
( #4182 )
2024-01-14 20:16:56 +09:00
Asher Gomez
5f9b85f5ab
BREAKING(semver): remove compareBuild()
( #4181 )
2024-01-14 20:16:27 +09:00
Asher Gomez
33d7d001a4
BREAKING(semver): remove rsort()
( #4180 )
2024-01-14 19:56:19 +09:00
Asher Gomez
c9a1aaa874
BREAKING(semver): remove parse(semver: string)
overload ( #4172 )
2024-01-12 15:44:39 +11:00
Asher Gomez
8cd9c412b6
BREAKING(semver): remove cmp()
( #4171 )
2024-01-12 15:43:25 +11:00
Tim Reichen
a1877c8dec
refactor(semver): remove cmp()
dependency from testComparator()
( #4162 )
...
initial commit
2024-01-11 12:16:34 +11:00
Tim Reichen
4df9f27f13
deprecation(semver): deprecate Comparator
functions ( #4131 )
...
* initial commit
* Update semver/comparator_format.ts
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
* bump deprecation note
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-01-09 16:20:05 +11:00
Tim Reichen
8c55d22b2d
refactor(semver): make outside()
more readable ( #4095 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-09 10:59:41 +09:00
Tim Reichen
ead45038e6
refactor(semver): remove ltr()
and gtr()
outside()
dependency ( #4096 )
2024-01-09 10:57:00 +09:00
Tim Reichen
3d74dbd2ca
deprecation(semver): rename rangeFormat()
to formatRange()
( #4090 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-08 11:55:23 +09:00
Asher Gomez
5351ef3a57
BREAKING(semver): remove SemVerComparator
( #4109 )
2024-01-05 02:17:15 +00:00
Asher Gomez
98766d145e
BREAKING(semver): remove canParse()
non-string overload ( #4108 )
2024-01-05 13:08:09 +11:00
Asher Gomez
122e36224b
BREAKING(semver): remove isSemVerComparator()
( #4107 )
2024-01-05 13:07:52 +11:00
Asher Gomez
6fa5b47191
BREAKING(semver): remove rcompare()
( #4106 )
2024-01-05 13:07:37 +11:00
Tim Reichen
dba0e31a17
deprecation(semver): deprecate sort()
( #4098 )
2024-01-05 11:03:04 +09:00
Tim Reichen
032e57c7bc
refactor(semver): reduce minSatisfying()
and maxSatisfying()
overhead ( #4097 )
...
* initial commit
* update
2024-01-05 10:01:26 +11:00
Tim Reichen
7b82fac94d
refactor(semver): make rangeMin()
and rangeMax()
more readable ( #4094 )
...
* initial commit
* update
* tweak
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-04 22:26:14 +00:00
Tim Reichen
bd5ddd1e66
deprecation(semver): deprecate compareBuild()
( #4088 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-01-04 21:27:35 +09:00
Tim Reichen
023096b75c
fix(semver): remove undefined
return type from rangeMax()
( #4089 )
...
initial commit
2024-01-04 22:22:42 +11: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
7af112a933
refactor(semver): make increment()
more readable ( #4057 )
...
* initial commit
* update
* Apply suggestions from code review
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-03 01:27:08 +00:00
Tim Reichen
fa488b6f47
refactor(semver): make difference()
more readable ( #4054 )
...
* initial commit
* remove eq
* revert parameter names
2024-01-03 07:50:29 +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
9b0f3ee4b1
deprecation(semver): deprecate format()
style
argument ( #4050 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-01-02 20:54:56 +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
7a0294a7f4
deprecation(semver): deprecate testComparator()
( #4037 )
...
* initial commit
* update deprecation version
2023-12-29 10:29:00 +11: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
17c5675360
deprecation(semver): deprecate cmp ( #4025 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-28 13:47:37 +09:00
Tim Reichen
707c3140d6
deprecation(semver): rename rsort to reverseSort ( #4032 )
2023-12-28 13:45:30 +09:00
Tim Reichen
386df47969
deprecation(semver): comparator min and max properties ( #3974 )
...
* initial commit
* Update semver/types.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* revert breaking change
* remove non-related changes
* revert unintentional change
* Update semver/types.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* initial commit
* make optional properties required
* remove unintentional file
* revert SemVerComparator deprecation
* update
* refactor: remove `max` and `min` from new type
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-12-20 18:11:48 +11: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
David Sherret
b0803619af
refactor: add some missing explicit types ( #3997 )
...
* refactor: add some missing return types and mark some non-exported types as `@internal`
* Update expect/fn.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* Remove @internals
* nits
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 00:26:13 +00:00
Tim Reichen
4e75a00956
deprecation(semver): rename isSemVerComparator()
( #3957 )
2023-12-19 05:10:52 +11:00
Tim Reichen
57c285cd66
refactor(semver): rename isX to isWildcard ( #3981 )
2023-12-18 21:46:47 +11:00
Tim Reichen
822eca7ff7
refactor(semver): use string literals ( #3979 )
...
* use string literals
* replace strings with string literals
2023-12-18 21:04:47 +11: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
45c8201a70
deprecation(semver): deprecate rcompare()
( #3958 )
...
* initial commit
* Update semver/rcompare.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-14 14:38:57 +11: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
c81bb3f572
deprecation(semver): deprecate SemVer
argument for parse()
and canParse()
( #3939 )
...
* initial commit
* fix testdata type
* add export function canParse(version: string): boolean;
* move jsdoc above function overload
* Update semver/can_parse.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* Update semver/parse.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* Apply suggestions from code review
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-13 20:29:47 +00: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
Lino Le Van
aeb64da6f6
feat(semver): canParse ( #3709 )
2023-10-24 13:39:55 +09:00
futsuuu
2884033389
fix(semver): add a necessary grouping, fix prerelease parsing ( #3674 )
2023-09-25 14:29:58 +09:00
Yoshiya Hinosawa
0d63e640fc
BREAKING(semver): remove deprecated APIs ( #3591 )
2023-08-31 19:44:22 +09:00
Lino Le Van
2b5d71224f
refactor: cleanup usage of double equals ( #3566 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-08-25 18:04:43 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts
to std/assert
( #3445 )
2023-07-13 16:04:30 +09: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
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks ( #3263 )
2023-03-18 21:36:00 +09:00
Justin Chase
4b1bb8be9c
fix(semver): allow unsetting build metadata ( #3157 )
2023-02-03 15:47:03 +09:00
Justin Chase
07f059ffab
feat(semver): add support for build metadata ( #3126 )
2023-01-26 16:39:37 +09:00
ayame113
b4239898d6
chore: update copyright header ( #3082 )
2023-01-03 19:47:44 +09:00
Asher Gomez
bf046b7ffa
chore(semver): remove deprecated functions ( #2941 )
2022-11-27 16:06:15 -05:00
Leo Kettmeir
aba5017d43
docs: reorganize docs ( #2658 )
2022-11-25 12:40:23 +01:00
Tim Reichen
0ca0641842
chore(semver): rename inc and diff ( #2826 )
2022-11-07 12:09:54 -05:00
Asher Gomez
3b9fb39ddd
chore: remove void
and Promise<void>
return types ( #2550 )
2022-08-24 10:21:57 +09:00
Kitson Kelly
e83306672e
docs: improve module documentation ( #2511 )
2022-08-11 21:51:20 +10:00
迷渡
e169864767
feat(semver): add "semver" module ( #2434 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-07-18 13:17:42 +02:00