Commit Graph

4457 Commits

Author SHA1 Message Date
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
Tim Reichen
1ab4880823
refactor(yaml): redefine include as optional Schema (#5693) 2024-08-17 16:38:24 +09:00
Yusuke Tanaka
de9f8d2db1
feat(assert/unstable): add assertNever (#5690)
This commit adds a new function `assertNever` to the `assert` submodule.

This function is particularly useful when we want to check whether we properly
handle all the variants of a discriminated union. Ref:
https://www.typescriptlang.org/docs/handbook/unions-and-intersections.html#union-exhaustiveness-checking

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-16 08:10:23 -07:00
Milly
8d1d2d7739
fix(testing): fix IsExact edge cases (#5676) 2024-08-16 20:28:29 +09:00
Tim Reichen
010784cd03
refactor(yaml): remove schema property (#5692) 2024-08-16 19:17:58 +09:00
Tim Reichen
10691731ef
refactor(yaml): make version property required (#5691)
initial commit
2024-08-16 19:16:30 +09:00
Yusuke Tanaka
43f2a2dffd
chore: support expect-error directive in code snippets evaluator (#5688)
This commit adds support for `expect-error` directive in code snippets
evaluator, which allows example snippets to have ones that are expected to fail
either at compile time or runtime.
2024-08-16 02:58:01 -07:00
Yoshiya Hinosawa
7de150d2f3
fix(front-matter): allow whitespaces after the header (#5685) 2024-08-16 18:29:36 +09:00
denobot
f7f275bd3b
chore: release 2024.08.16 (#5687)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-16 15:33:08 +09:00
Tim Reichen
233f5fe24f
refactor(yaml): remove result property (#5684) 2024-08-16 12:51:41 +09:00
Tim Reichen
6677134afd
feat(text/unstable): add slugify() function (#5646)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-14 19:45:59 +09:00
Asher Gomez
88b35ec82e
refactor(http): use methods module in file-server module (#5668) 2024-08-11 03:42:34 +09:00
Asher Gomez
c42ad35c17
docs: add @std/cache to packages table (#5667)
docs(cache): add `@std/cache` to packages table
2024-08-11 03:42:11 +09:00
Asher Gomez
d00becc8fe
chore(cache): add @experimental JSDoc tag to public symbols (#5666) 2024-08-11 03:41:51 +09:00
Asher Gomez
36cafcf5ee
test(encoding): cleanup base32 tests (#5665)
* test(encoding): cleanup base32 tests

* x
2024-08-11 03:41:08 +09:00
David Luis
1428c9c94c
perf(uuid): make uuidToBytes() up to 2.5x faster (#5670)
perf(uuid): make `uuidToBytes` up to 2.5x faster
2024-08-10 08:48:05 +02:00
Doctor
d5e31807c5
feat(streams/unstable): toLines() (#5121)
* feat(streams): add toLines

* chore(streams): remove testing code

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

* chore(streams): fmt

* adjust(streams): change toLines return type to `ReadableStream<string>`

- Change the return type from `AsyncGenerator<string>` to `ReadableStream<string>`
- Change `readable` to only be of type `ReadableStream<Uint8Array>`
- Add `options` argument of type `PipeOptions.`

* work

* work

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-09 13:26:39 +02:00
Ben McLean
96da26cd73
feat(encoding/unstable): decodeBase32Hex() and encodeBase32Hex() (#4931)
* Added base32hex support.

* Refactored.

* Tried fixing documentation examples.

* Marked examples as no-eval.

* Trying to fix `task ok`.

* Reverted accidental change.

* Fixed JSDoc examples.

* fix

* adjustments

* refactor: add `@experimental` JSDoc tag

* work

* clean up tests

* fixes

* fix

* compat

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-09 11:57:21 +02:00
Tim Reichen
7edeba4ba7
fix(datetime): handle am / pm variants (#5406)
* initial commit

* update

* update

* Merge branch 'main' into datetime-fix-am/pm-variants

* clean diff

* add pm tests

* remove dead code

* update

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-09 11:20:41 +02:00
lionel-rowe
e1dfe0c4fa
fix(cache/unstable): fix flaky memoize() test with FakeTime (#5664)
fix(cache/unstable): fix flaky async test with FakeTime
2024-08-09 11:16:06 +02:00
Tim Reichen
860f578a10
refactor(front-matter): remove Extractor type (#5659) 2024-08-08 23:02:08 +02:00
Tim Reichen
c7a39f0752
refactor(datetime): cleanup DateTimeFormatter and parse() function (#5649)
* initial commit

* update

* fix

* update

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-08 18:31:48 +02:00
lionel-rowe
0c64f32cc3
feat(cache/unstable): add memoize() and LruCache (#4725)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-09 01:12:24 +09:00
Tim Reichen
4ec7dd4be9
BREAKING(datetime): replace utc with timeZone option (#5647)
initial commit
2024-08-08 17:55:15 +02:00
Yoshiya Hinosawa
d93b33aff8
docs(io): document std/io (#5656)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-08 23:20:43 +09:00
Tim Reichen
8e32dac73f
refactor(yaml): move exports to import file (#5651)
* initial commit

* remove state argument
2024-08-08 15:53:55 +02:00
Asher Gomez
1047864eda
refactor(io): cleanup BufferFullError and PartialReadError logic (#5657)
* refactor(io): define `BufferFullError` name in constructor

* fix

* work

* work
2024-08-08 22:31:06 +09:00
Andy Jiang
d02d800300
docs: fix JSR link to @std/data-structures (#5654) 2024-08-08 09:02:49 -04:00
David Luis
0333255ead
perf(uuid): make bytesToUuid() up to 100x faster (#5655)
perf(uuid): make `bytesToUuid()` 100x faster
2024-08-08 11:45:56 +02:00
denobot
96d70203cd
chore: release 2024.08.07 (#5653)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-07 22:36:38 +09:00
Asher Gomez
32ece25136
fix(http/unstable): make info parameter optional (#5652)
refactor(http): make `info` parameter
2024-08-07 13:12:53 +00:00
denobot
ce02d496a4
chore: release 2024.08.07 (#5650)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-07 21:42:08 +09:00
Asher Gomez
602396adf7
chore: update graph (#5648) 2024-08-07 21:35:59 +09:00
Asher Gomez
d682c6be20
fix(http): handle wrong request method correctly (#5643)
* fix(http): handle incorrect method

* fix
2024-08-07 21:35:30 +09:00
Asher Gomez
e8aa4dfa4c
feat(http/unstable): route module (#5644)
* feat(http): `http/router`

* work

* work

* fix

* work

* fix

* clean

* add unstable notices

* fix

* work

* work

* work

* work

* fix

* fix

* fix

* work
2024-08-07 14:35:13 +02:00
Asher Gomez
4432ba1c1b
fix(archive): make data property private in Tar (#5645) 2024-08-07 18:20:29 +09:00
Doctor
77345498a2
feat(streams/unstable): FixedChunkStream (#4995)
* feat(streams): new ResizeStreams(size)

* chore(streams): Renamed ResizeStream to FixedChunkStream

* Update streams/fixed_chunk_stream_test.ts

* update

* tweaks

* tweak test

* fix(streams): chunks getting lost if size was equally divisible by `size`

* work

* work

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-07 10:34:54 +02:00
Asher Gomez
5e2d065e08
fix(archive): make block and reader properties in Untar private (#5637)
* fix(archive): make `block` and `reader` properties in `Untar` private

* fix
2024-08-06 14:52:37 +00:00
Tim Reichen
0dae9cec16
refactor(datetime): remove Tokenizer class (#5622)
* initial commit

* update

* update

* update types

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 16:39:38 +02:00
Asher Gomez
d99e1f8a57
refactor(http): use headers module in file-server module (#5642) 2024-08-06 15:40:47 +02:00
Asher Gomez
889a63de2e
docs(archive): mark public APIs as unstable/experimental (#5639)
* BREAKING(archive): remove `TarEntry.#header`

* docs(archive): mark public APIs as unstable/experimental
2024-08-06 12:41:59 +00:00
Asher Gomez
067255763c
docs: remove "Status" column from "Packages" table (#5641) 2024-08-06 12:39:03 +00:00