Commit Graph

18 Commits

Author SHA1 Message Date
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
b4726c7950
refactor(semver): throw TypeError if release is invalid in increment() (#5565) 2024-07-29 15:13:17 +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
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
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
Javier Hernández
fe84d285f7
refactor(semver): prepare for noUncheckedIndexedAccess (#4354)
ref #4040
2024-02-21 07:57:21 +11:00
Asher Gomez
c9a1aaa874
BREAKING(semver): remove parse(semver: string) overload (#4172) 2024-01-12 15:44:39 +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
27c3c0257d
refactor(semver): use capturing groups in parseComparator() (#4026) 2023-12-30 18:43:56 +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
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
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
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