Commit Graph

129 Commits

Author SHA1 Message Date
denobot
67e9cfa0ff
chore: release 2024.09.04 (#5908)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-04 19:37:53 +09:00
Kenta Moriuchi
4d4bd0eb92
refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml): enable "exactOptionalPropertyTypes" option (#5892) 2024-09-04 14:15:01 +09:00
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
Ian Bull
3b3a7617ab
refactor(assert,datetime,fmt,io,streams): consistently throw new Error() instead of throw Error() (#5855)
refactor(assert, datetime, fmt, io, streams): use `throw new Error` instead of `throw`

To ensure consistency across the codebase, this commit refactors the
codebase to use `throw new Error` instead of `throw` for throwing
errors.

https://github.com/denoland/std/issues/5854
2024-08-29 08:55:24 +10:00
denobot
2b3683b6fb
chore: release 2024.08.26 (#5824)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +09:00
Ian Bull
70011e9155
refactor(archive,cache,datetime,fmt,front-matter): align error messages to the style guide (#5706)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-21 14:42:02 +09:00
Yoshiya Hinosawa
fd323c80f5
chore: release fmt@1.0.0 (#5454)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-31 19:24:26 +09: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
606838bace
docs(fmt,fs,text,yaml): fix Markdown alerts (#5568) 2024-07-29 21:31:14 +10:00
Asher Gomez
ad1dad6ce6
docs(cli,csv,datetime,fmt,fs,http,ini,semver,testing): assert optional properties on types/interfaces have @default tag (#4933)
* docs: assert optional properties on types/interfaces have `@default` tag

* work

* work

* work

* work

* work

* work

* fix

* fix

* Update fs/expand_glob.ts

* cleanups

* cleanups

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-11 09:21:37 +00:00
Asher Gomez
acdea7c9f5
docs(fmt): improve documentation (#5373)
* docs(fmt): improve documentation

* work

* work

* work
2024-07-10 15:26:41 +10:00
Asher Gomez
2308f8263f
chore(fmt): release fmt@1.0.0-rc.1 (#5372)
* chore(fmt): release `fmt@1.0.0-rc.1`

* update graph
2024-07-10 15:05:25 +10:00
Asher Gomez
d32a8c9c34
BREAKING(fmt): remove stripColor (#5374) 2024-07-10 14:49:54 +10:00
denobot
dc14633394
chore: release 2024.07.09 (#5363)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-09 15:13:21 +09:00
Yoshiya Hinosawa
442a497c03
fix(fmt): fix the case when mantissa exceeds 10 by rounding and exponent is negative (#5279) 2024-07-04 14:29:31 +09:00
Yoshiya Hinosawa
cdb6ee4abf
test(fmt): add test cases for printf() (#5278) 2024-07-04 11:46:04 +09:00
denobot
940568c62d
chore: release 2024.07.02 (#5254)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-02 20:43: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
denobot
0ea4868542
chore: release 2024.06.06 (#4984)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-06 20:26:57 +09:00
Asher Gomez
c5ad9d48dc
docs(cli,encoding,fmt,jsonc,path,semver,testing,text,toml,url): remove "This module is browser compatible" note (#4945) 2024-06-04 13:21:54 +10:00
denobot
b9374d3715
chore: release 2024.06.03 (#4935)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-03 15:44:03 +09:00
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
Asher Gomez
79d6a70729
docs(assert,cli,data-structures,expect,fmt,front-matter,html,http,jsonc,semver,streams,text,toml,webgpu): add snippet checks in module, function and class docs to doc checker (#4855)
* chore: add snippet checks to module docs

* fix

* work

* tweak
2024-05-31 12:01:46 +10:00
denobot
673c436739
chore: release 2024.05.29 (#4883)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-05-29 18:56:12 +09: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
434a52eefa
chore(fmt,fs,path,internal): skip yanked version manually (#4753) 2024-05-16 20:04:16 +09:00
denobot
53e08775e3
chore: release 2024.05.07 (#4689)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-08 13:32:51 +09:00
Yoshiya Hinosawa
4c769f8175
chore(assert,fmt,fs,internal,path): skip yanked versions manually (#4683) 2024-05-07 16:26:05 +09:00
Yoshiya Hinosawa
8c9e96c402
chore: skip yanked versions (#4660) 2024-04-30 20:06:28 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Asher Gomez
3f9d4a8494
chore: simplify deprecation notice check (#4577) 2024-04-17 15:36:50 +09:00
Niklas
7fe7e31c21
tests(fmt): add duration() tests (#4551) 2024-04-07 18:02:57 +10:00
cinchen
e1561a9520
refactor(fmt): prepare for noUncheckedIndexedAccess (#4276)
* refactor: fmt-noUncheckedIndexedAccess

* fix: cr
2024-03-06 06:15:47 +11:00
scarf
94d9e5b6fd
docs(fmt/colors): warn that dim is incompatible accross terminals (#4303) 2024-02-12 12:15:58 +11:00
Asher Gomez
00ce0f337d
fix(fmt): correct stripColor() deprecation notice (#4208) 2024-01-16 17:17:13 +11: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
Tim Reichen
bf5154e85c
refactor(fmt): format test names (#4029)
* initial commit

* rerun tests

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-28 13:52:35 +11: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
Asher Gomez
733b60e4b2
chore(fmt): replace stripColor() use with stripAnsiCode() (#3902) 2023-12-06 17:58:42 +11:00
realpha
4a6cddf863
refactor(fmt): replace enums with const objects (#3842) 2023-11-23 22:24:14 +09:00
Asher Gomez
7d5344d775
docs: improve deprecation notices (#3804) 2023-11-16 05:33:11 +11:00
Benjamin Gudehus
e6c61ba64d
fix(fmt): format duration rounding error. (#3762) 2023-11-08 17:28:04 +09:00
Asher Gomez
ab6898e6a1
chore: cleanup old std/fmt files (#3742) 2023-10-29 13:18:48 +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
sigmaSd
92609fc9c3
fix(stripAnsiCode): escape erase character (#3608) 2023-09-02 15:03:59 +09:00
Lino Le Van
717b7cc3cc
fix(fmt): make printf respect NO_COLOR (#3595) 2023-09-01 11:38:32 +09:00
Lino Le Van
eaaabe4c88
BREAKING(fmt): rename stripColor to stripAnsiCode (#3588)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-08-31 14:22:19 +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