Commit Graph

4482 Commits

Author SHA1 Message Date
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
Asher Gomez
d32deb73dd
BREAKING(archive): remove TarEntry.#header (#5638) 2024-08-06 21:37:22 +09:00
Yoshiya Hinosawa
f7e3cd588b
chore: update release note for std/url@0.225.0 (#5634)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 18:36:39 +09:00
Halvard Mørstad
259ce6dfd2
feat(http/unstable): headers module (#4317)
* Added IANA headers

* Apply suggestions from code review

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

* Cleaned up and added jsr support

* Fixed linting

* unstable notices

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 09:29:53 +00:00
Halvard Mørstad
a9f3558b85
feat(http/unstable): methods module (#4320)
* Added methods to http namespace

* Renamed type and const

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

* Cleaned up methods and added support for jsr

* Fixed linting

* unstable notices

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 09:24:45 +00:00
Asher Gomez
7a8b51f723
fix(csv,streams): use string arrays in ReadableStream.from() in docs and tests (#5635)
* tests(csv,streams): use string arrays in `ReadableStream.from()`

* fix
2024-08-06 02:21:57 -07:00
denobot
fdadd531af
chore: release 2024.08.05 (#5632)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-06 00:08:58 +09:00
Asher Gomez
4f29e70319
chore(url): release url@0.225.0 (#5631) 2024-08-05 17:01:46 +02:00
Yoshiya Hinosawa
89c642d808
chore: add random scope in title ci check (#5629) 2024-08-05 17:36:55 +09:00
Asher Gomez
ddd853d230
refactor(cli): minor cleanups (#5628)
* refactor(cli): minor cleanups

* fix
2024-08-05 17:36:31 +09:00
Tim Reichen
ddfeff9159
refactor(yaml): move functions to class methods (#5625)
initial commit
2024-08-05 08:37:55 +03:00
Mateusz Russak
ed19729127
fix(async): abortable should not change original outputs (#5609)
* fix(async): abortable should not change original outputs

* fix: according to code review

* revert

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-05 05:31:35 +00:00
Asher Gomez
82e50a91fd
chore(csv): release csv@1.0.0 (#5219)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-05 05:28:43 +00:00
Tim Reichen
da1130ab51
refactor(cli): isNumber() (#5607) 2024-08-05 12:39:46 +09:00
Tim Reichen
9d8789384f
docs(semver): remove diagram line overlaps (#5624) 2024-08-03 15:25:51 +09:00
Yoshiya Hinosawa
fab93bb71d
chore: fix workspace publish workflow (#5623) 2024-08-02 20:38:18 +09:00
denobot
0e4f294cdf
chore: release 2024.08.02 (#5621)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-02 20:27:08 +09:00
Asher Gomez
d205617740
feat(ini): add type param for value type (#5588) 2024-08-02 19:19:02 +10:00
Yusuke Tanaka
2accb2b1b8
docs(csv): more examples for stringify and CsvStringifyStream (#5606) 2024-08-02 00:07:53 -07:00
Asher Gomez
12d6097289
refactor(cli): use non-null assertion in parseArgs() logic (#5618) 2024-08-02 05:34:53 +00:00
Yusuke Tanaka
8b21698495
fix(csv): remove undefined from possible value type of parse result (#5617)
As we discussed in
https://github.com/denoland/std/pull/5605#discussion_r1701028684, it seems like
we never get `undefined` as a parse result of fields. If there is a mismatch in
the number of fields across rows, the parse just throws an error. To better
reflect this in typing, this commit removes `undefined` from the record value
type.
2024-08-01 22:07:10 -07:00
Yusuke Tanaka
b0f2088044
docs(csv): more examples for parse and CsvParseStream (#5605)
This commit adds more examples to `parse` function and `CsvParseStream` class to
cover all the provided options.

Also fixes a few other things:

- Replace stale description `ParseError` with the correct `SyntaxError`.
- Fix the default value of `comment` property. The old comment says the default
  value is `#`, but this was wrong.
- Get negative value in `fieldsPerRecord` option working in `parse` as
  documented

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-01 21:24:15 -07:00
Yoshiya Hinosawa
dd80d82961
docs(csv): clarify CsvParseStream description (#5613) 2024-08-02 13:07:15 +09:00
Asher Gomez
cd0bc9f2e1
test(async): improve test speed of async/pool_test.ts (#5611)
* test(async): improve test speed of `async/pool_test.ts`

* fix
2024-08-02 12:32:55 +09:00
Asher Gomez
69a579ecca
fix(ini): correctly handle quoted values in parse() (#5592) 2024-08-02 11:53:41 +09:00
Asher Gomez
3f133951f6
deprecation(url): deprecate @std/url (#5530)
chore(url): deprecate `@std/url`
2024-08-02 12:53:11 +10:00