Commit Graph

4548 Commits

Author SHA1 Message Date
Ian Bull
833a24f088
refactor(async): align the error messages to the style guide (#5758)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-22 15:02:58 +09:00
Ian Bull
46b3961833
docs(cli): align additional error messages (#5768) 2024-08-22 15:00:51 +09:00
Asher Gomez
b289deecbe
docs(text): fix slugify() summary (#5722)
* docs(text): fix `slugify()` summary

* tweak

* fix
2024-08-22 14:49:56 +09:00
Ian Bull
7fb685efff
refactor(internal): align additional error messages (#5766) 2024-08-22 14:35:34 +09:00
Ian Bull
8f3dd6ef0b
chore: update the style guide, specifically disallow periods in error messages (#5753) 2024-08-22 14:30:16 +09:00
Ian Bull
f0031966c9
chore: update the style guide, error messages may describe desired state (#5757) 2024-08-22 14:03:42 +09:00
Doctor
0f7a71f96b
feat(encoding/unstable): adds streaming versions for hex, base32, base32hex, base64 and base64url (#4915)
* feat(encoding): adds streaming versions of several encoding methods.

Adds streaming methods for:
- Hex
- Base32
- Base64
- Base64Url

* move(encoding): streaming versions to their own modules.

* fix(encoding): jsdoc examples

* fix(encoding): error when chunk's are smaller than the minimum size.

* add(encoding): Base32Hex Encoder/Decoder Streams

* fix(encoding): mod.ts not exporting ./base32hex_stream.ts

* hex stream

* RandomSliceStream

* polish

* base32

* base64hex

* base64

* base64url

* tweak

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-22 15:02:36 +10:00
Asher Gomez
b0708f49aa
chore: fix lint:docs task concurrency (#5756) 2024-08-22 13:10:17 +09:00
Tim Reichen
ba1bc9164a
refactor(yaml): change styleMap type to Map (#5760)
* initial commit

* update
2024-08-22 12:46:32 +10:00
Tim Reichen
55a6b77e65
refactor(yaml): inline yamlDirectiveHandler() (#5763)
initial commit
2024-08-22 12:44:18 +10:00
Tim Reichen
349fb8f8f1
refactor(yaml): remove ResultType (#5765)
initial commit
2024-08-22 12:43:07 +10:00
Tim Reichen
0332f0ada8
refactor(yaml): remove ArrayObject (#5761) 2024-08-22 07:58:27 +10:00
Tim Reichen
1894abdb69
refactor(yaml): add BOM constant (#5764) 2024-08-22 07:56:05 +10:00
lionel-rowe
2a0f5118c2
feat(cache/unstable): TtlCache (#5662)
* feat(cache/unstable): add TTL (time-to-live) cache

* Implement code review changes

* Simplify timeout logic

* Update cache/ttl_cache.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Properly handle cleanup of timeouts

* chore: add experimental note

* Add test for [Symbol.toStringTag]

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-21 10:45:16 +00:00
Ian Bull
ae78abb085
refactor(toml,msgpack,crypto,data-structures): align the error messages to the style guide (#5705)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-21 16:15:14 +09:00
Tim Reichen
c05c91416e
refactor(yaml): move options to options object (#5740) 2024-08-21 16:00:08 +09:00
Michael Ekstrand
06d83831fb
feat(front-matter/unstable): add pass-through ParseOptions argument for YAML parser (#5748)
* add options to front_matter/yaml/extract

* fix lint error on type import

* add unstable overload, add example

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-21 16:41:53 +10:00
Yoshiya Hinosawa
ce40f0bae1
fix(dotenv): show warning when there is invalid key in .env file (#5745) 2024-08-21 14:56:34 +09:00
Yoshiya Hinosawa
210402c6d2
chore: check import map versions more strictly (#5746) 2024-08-21 14:43:21 +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
8e96c1992f
feat(path/unstable): support URL input in dirname() (#5747) 2024-08-21 14:28:58 +09:00
Ian Bull
5092c7e9f1
refactor(webgpu): align additional error messages (#5754)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-21 14:04:27 +09:00
Tim Reichen
644e03b817
perf(cli,http,ini,internal,media-types): replace trim() comparisons with regexps (#5751) 2024-08-21 13:50:18 +09:00
Tim Reichen
b8d31866a0
refactor(yaml): replace chooseScalarType() callback with implicitTypes argument (#5750)
initial commit
2024-08-21 10:14:19 +10:00
Tim Reichen
99200dcd90
refactor(yaml): remove variable underscore (#5741) 2024-08-20 18:32:45 +10:00
Tim Reichen
6c70fa9cb6
refactor(yaml): rename DumperState methods (#5738)
* initial commit

* update
2024-08-20 07:42:39 +00:00
Asher Gomez
d6fde648e2
docs(archive): complete documentation (#5636)
* docs(archive): complete documentation

* work

* work

* work

* work

* fixes
2024-08-20 17:13:54 +10:00
Tim Reichen
701b6df3df
refactor(yaml): remove dump property (#5683)
* initial commit

* update
2024-08-20 17:13:19 +10:00
Tim Reichen
9ed80af65f
refactor(yaml): remove tag property (#5689)
* initial commit

* update

* tweak

* Update _dumper_state.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-20 06:09:58 +00:00
Tim Reichen
8cb84965e4
refactor(yaml): cleanup Schema (#5715)
* initial commit

* update

* update

* update

* update

* update

* tweaks

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-20 14:32:08 +10:00
Asher Gomez
86aeb5e17a
chore: re-enable browser compat (#5731)
* chore: re-enable browser compat

* fix
2024-08-20 13:58:45 +10:00
lionel-rowe
5926aeb60b
fix(csv): accept readonly cell/header data (#5734) (#5735)
feat(csv): accept readonly cell/header data (#5734)
2024-08-20 13:57:52 +10:00
Asher Gomez
7632ab087f
docs(datetime): add constants to module docs (#5732) 2024-08-20 12:46:32 +09:00
Asher Gomez
55d5524a9b
chore(async): add browser-compat declarations (#5730) 2024-08-20 12:46:06 +09:00
Ian Bull
11513e0655
refactor(io): create a style guide for error messages, align error messages to the style guide (#5671)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-20 12:27:43 +09:00
Asher Gomez
6521b76d92
chore: re-enable Deno v1 in CI (#5729) 2024-08-20 12:26:05 +09:00
Tim Reichen
2d6ae7d470
refactor(log): replace protected properties with Symbols (#5724) 2024-08-20 12:18:30 +09:00
Tim Reichen
06da501da6
refactor(crypto): remove old unused _fnv folder (#5716)
* initial commit

* remove files
2024-08-20 09:42:34 +10:00
Tim Reichen
b929d05156
test(yaml): add test for deprecated boolean syntax (#5713)
* initial commit

* Update yaml/stringify_test.ts

* Update yaml/stringify_test.ts

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-20 09:38:22 +10:00
Yoshiya Hinosawa
75cb7674f1
chore: avoid deno.lock incompatibility in ci (#5726) 2024-08-19 22:01:51 +09:00
Yoshiya Hinosawa
757a6af8c0
chore: fix workspace package versions (#5710) 2024-08-19 20:53:06 +09:00
Tim Reichen
f3a22c0553
refactor(semver): unify param names (#5700) 2024-08-19 13:33:42 +09:00
Tim Reichen
36817b7985
test(yaml): add edge case test for stringify (#5704) 2024-08-19 13:24:21 +09:00
Yoshiya Hinosawa
19675cd695
chore: fix formatting of markdown file (#5721) 2024-08-19 13:21:30 +09:00
Tim Reichen
9a66879102
refactor(yaml): use Maps for TypeMap (#5694) 2024-08-19 13:06:43 +09:00
Tim Reichen
aa836f2d9b
refactor(yaml): add stringify() method to DumperState (#5707)
initial commit
2024-08-19 12:55:32 +09:00
Kevin Zou
cb3dd2baa5
docs(assert): add additional example in assertObjectMatch docs (#5703) 2024-08-19 12:38:36 +09:00
Tim Reichen
1bc290b1ac
refactor(yaml): boolean constants (#5699) 2024-08-18 11:58:11 +09:00
Tim Reichen
ec52491b00
refactor(yaml): use Set for overridableKeys (#5697) 2024-08-17 16:46:02 +09:00
Tim Reichen
17c372f271
refactor(yaml): use Map for tagMap and anchorMap (#5696) 2024-08-17 16:41:08 +09:00