Commit Graph

288 Commits

Author SHA1 Message Date
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
Asher Gomez
36cafcf5ee
test(encoding): cleanup base32 tests (#5665)
* test(encoding): cleanup base32 tests

* x
2024-08-11 03:41:08 +09: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
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
Mannix
1a637a71a9
perf(encoding): fix loop times in encodeHex() (#5344) 2024-07-08 10:36:00 +09:00
Asher Gomez
7e503c8386
chore(encoding): release encoding@1.0.0 (#4991) 2024-06-30 11:23:12 +00: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
Yoshiya Hinosawa
437bc5bce6
chore(encoding): release encoding@1.0.0-rc.1 (#4858)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-30 19:02:31 +09:00
Asher Gomez
f6857a88de
BREAKING(encoding): replace Ascii85Options with EncodeAscii85Options and DecodeAscii85Options (#4861)
* refactor(encoding): deprecate `Ascii85Options`

* tweak

* tweak

* tweak

* tweaks
2024-05-30 19:43:30 +10:00
Yoshiya Hinosawa
5a8fced2e1
BREAKING(encoding): rename MaxVarInt to MaxVarint (#4896) 2024-05-30 18:16:48 +09:00
Yoshiya Hinosawa
088458f860
BREAKING(encoding): rename MaxUInt64 to MaxUint64 (#4897) 2024-05-30 17:54:18 +09:00
Asher Gomez
f8f5444478
BREAKING(encoding): remove deprecated VarInt APIs (#4864)
* BREAKING(encoding): remove deprecated VarInt APIs

* update
2024-05-30 18:03:33 +10:00
Asher Gomez
1d6e761cd4
fix(encoding): throw TypeError on invalid input (#4901)
BREAKING(encoding): throw `TypeError` on invalid input
2024-05-30 17:17:42 +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
Asher Gomez
f065c996b4
refactor(encoding): remove unnecessary prefixes from private functions (#4862) 2024-05-28 13:12:40 +10:00
Asher Gomez
809287c0d0
refactor(encoding): rename _util.ts (#4860) 2024-05-28 13:12:24 +10:00
Asher Gomez
ad789ee780
test(encoding): use own encodeHex() and decodeHex() (#4863)
tests(encoding): use own `encodeHex()` and `decodeHex()`
2024-05-28 12:56:30 +10:00
familyboat
ff8bc182f9
docs(encoding): fix typo in ascii85.ts (#4854) 2024-05-27 14:17:51 +10:00
Nathan Whitaker
472f370813
docs(encoding): Cleanup and fix doc lints (#4838)
* Polish varint encoding docs

* Use assertions in examples

* Fix incorrect example

* Fix doc lints

* Add encoding to doc lint entrypoints

* Fmt

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-23 19:23:24 -07:00
denobot
51dc36d563
chore: release 2024.05.22 (#4830)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-22 19:57:28 +09:00
Nathan Whitaker
e0886f7ce1
chore: Add a root module (mod.ts) to @std/encoding (#4820)
* Add mod.ts entrypoint for encoding

* Add todo

* Add module docs

* Remove encoding readme

* Add mod.ts to exports

* Fix example
2024-05-21 19:07:38 -07:00
Yoshiya Hinosawa
722844250d
docs(csv,encoding,http,json,media-types,uuid): use rfc-editor.org for RFC links (#4777)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-20 16:14:09 +09:00
denobot
66e8fc9869
chore: release 2024.05.16 (#4755)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-05-16 20:10:44 +09:00
David Luis
aa35b3574f
test(encoding): improve test coverage (#4742) 2024-05-16 08:58:53 +10: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
Asher Gomez
e601e59efd
deprecation(encoding): make exported function names consistent with std/encoding (#4555)
* deprecation(encoding): make exported function names consistent with `std/encoding`

* fix
2024-04-08 15:47:35 +10:00
Asher Gomez
6a7efa1ce5
docs(encoding): polish documentation (#4497) 2024-04-02 21:42:55 +11:00
Gabriele Belluardo
2990aa6de5
chore: enable single-var-declarator lint rule (#4488) 2024-03-14 22:18:00 +11:00
Asher Gomez
ef0d782254
chore: enable camelcase lint rule (#4440) 2024-03-05 14:57:14 +11:00
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax (#4406)
* Start

* Update

* Format

* Revert deno.json change

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00
cinchen
8693c81d58
refactor(encoding): prepare for noUncheckedIndexedAccess (#4275) 2024-02-25 07:24:08 +11:00
David Luis
593e344543
docs: fix broken {@link} hyperlinks (#4241) 2024-01-26 01:08:29 +11:00
Asher Gomez
ccc139d6e3
BREAKING(encoding): remove base32.byteLength() (#4173) 2024-01-12 16:06:49 +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
5a8b0ecafd
refactor(encoding): format test names (#4028)
* initial commit

* update import
2023-12-28 14:03:43 +11:00
Asher Gomez
bf7bb681ed
deprecation(encoding): deprecate base32.byteLength() (#4000) 2023-12-20 18:13:37 +11:00
David Luis
60f7b20c6c
chore(encoding): improve test coverage (#3971)
* chore(encoding): improve test coverage

* fmt

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-18 07:16:38 +11:00
Asher Gomez
b8acd30150
BREAKING(encoding): remove deprecated APIs (#3952) 2023-12-14 12:23:10 +09:00
Skye
45354af2f9
perf(encoding): increase varint.decode() performance by 45x (#3940)
* optimize varint64 decoding

* Update encoding/varint.ts

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

* resolve comment

* x

* Added notes

* x

* typo

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-14 05:37:04 +11:00
Asher Gomez
dbc1dd12f9
docs(encoding): complete documentation (#3941) 2023-12-13 13:57:59 +11:00
Asher Gomez
98b4123693
refactor(encoding): cleanup deprecated API use (#3925)
* refactor(encoding): cleanup deprecated API use

* fix

* tweak

* revert
2023-12-12 14:49:33 +11:00
Asher Gomez
7d5344d775
docs: improve deprecation notices (#3804) 2023-11-16 05:33:11 +11:00
Asher Gomez
19957e5f49
BREAKING(encoding): remove deprecated binary APIs (#3763) 2023-11-10 14:28:20 +11:00
Asher Gomez
a8a133e3d2
refactor: remove top-level arrow sytnax use (#3687) 2023-10-11 16:19:48 +09:00
Mimi
4fe9fd6d39
perf(encoding): optimize encodeBase64Url (#3682) 2023-10-02 10:51:11 +09:00
Lino Le Van
ea9dbdbf0c
BREAKING(encoding): deprecate old encode/decode in hex.ts (#3673) 2023-09-25 14:04:54 +09:00
Yoshiya Hinosawa
3ac222e5e5
fix(encoding): add validation of the input types (#3666) 2023-09-22 18:47:24 +09:00