Ian Bull
77547f1e7d
refactor(semver): align additional error messages ( #5785 )
2024-08-23 12:39:56 +09:00
Tim Reichen
f3a22c0553
refactor(semver): unify param names ( #5700 )
2024-08-19 13:33:42 +09:00
Asher Gomez
3a446538b1
fix(semver): throw on invalid input in parseRange()
( #5567 )
...
* fix(semver): throw on invalid input in `parseRange()`
* fix
* fix
* fix
2024-07-30 12:31:20 +10:00
Asher Gomez
2b33b55881
fix(semver): correctly remove spaces between operators and versions in parseRange()
( #5564 )
2024-07-29 13:06:42 +09:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert
( #5199 )
...
* refactor: import from `@std/assert`
* update
2024-06-30 08:30:10 +00:00
Asher Gomez
7af9f89053
docs(semver): minor documentation cleanups ( #5178 )
...
* docs(semver): minor documentation cleanups
* fix
2024-06-28 15:47:34 +10:00
Yoshiya Hinosawa
04b7229504
BREAKING(semver): make invalid SemVer constants private ( #5168 )
2024-06-27 17:50:19 +09:00
Yoshiya Hinosawa
083b63f428
docs(semver): improve docs ( #4846 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-27 19:03:20 +09:00
Asher Gomez
46d9fa594c
chore: update browser-compatible files with declaration ( #4560 )
2024-04-10 12:43:44 +10:00
Yoshiya Hinosawa
b8c110ddc8
[unstable] BREAKING(semver): remove comparator.semver field ( #4533 )
2024-03-28 13:18:55 +09:00
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
Tim Reichen
2c6d068e5a
chore(semver): move comparator functions into range files ( #4387 )
...
* initial commit
* update
* update
* add tests
* fix
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-03-01 18:43:28 +12:00
Tim Reichen
513805661b
chore(semver): remove legacy Range.ranges
object definition ( #4374 )
...
* initial commit
* remove obsolete type
* minify
* update
2024-02-23 20:35:19 +11:00
Javier Hernández
fe84d285f7
refactor(semver): prepare for noUncheckedIndexedAccess
( #4354 )
...
ref #4040
2024-02-21 07:57:21 +11: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
Asher Gomez
083a2b12ba
BREAKING(semver): remove SemVerRange
and isSemVerRange()
( #4295 )
2024-02-09 23:30:39 +00:00
Asher Gomez
980545f4b8
BREAKING(semver): remove Comparator
functions ( #4278 )
...
* BREAKING(semver): remove comparator functions
* fix
2024-02-05 12:48:53 +11: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
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
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
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
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
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