Commit Graph

16 Commits

Author SHA1 Message Date
Kenta Moriuchi
5bed4c81b5
fix(async,csv,fmt): assign default value when undefined is passed (#5893)
* fix(fmt): stop using `Object.assign` for options

* fix(csv): move evaluation of option default values to later

* fix(async): change spread syntax to destructuring assignment

* lint
2024-09-03 18:57:27 +10:00
Yoshiya Hinosawa
c084459c12
BREAKING(fmt): rename PrettyDurationOptions to FormatOptions (#5591)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-31 19:23:43 +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
31b906db99
chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
Yoshiya Hinosawa
1eaee146c3
docs(fmt): improve API docs (#4829)
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2024-05-28 15:14:34 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Asher Gomez
7cb9b2055a
docs(fmt): complete documentation (#4165)
* docs(fmt): complete documentation

* tweak
2024-01-11 17:57:29 +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
Benjamin Gudehus
e6c61ba64d
fix(fmt): format duration rounding error. (#3762) 2023-11-08 17:28:04 +09:00
Asher Gomez
a8a133e3d2
refactor: remove top-level arrow sytnax use (#3687) 2023-10-11 16:19:48 +09:00
Armaan Salam
66e8202a22
chore(fmt): fix spelling of 'milliseconds' (#3671) 2023-09-25 10:28:27 +09:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Tim Reichen
10514c7618
BREAKING(fmt/duration): rename prettyDuration to format (#2871) 2022-11-17 22:59:19 -05:00
Pranev
d039a45922
feat(fmt): add prettyDuration (#2861) 2022-11-10 10:05:42 -05:00