Commit Graph

263 Commits

Author SHA1 Message Date
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
Lino Le Van
1a1d35a31b
BREAKING(encoding): deprecate encode/decode, add encodeFoo/decodeFoo (#3660) 2023-09-21 18:29:13 +09:00
Yoshiya Hinosawa
8a717b5b61
feat(encoding): add encodeHex, decodeHex (#3642) 2023-09-18 10:50:08 +09:00
Yoshiya Hinosawa
41e1e25a4d
BREAKING(encoding): deprecate encoding/binary (#3584) 2023-08-31 13:48:37 +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
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Martin Fischer
a5b1d80736
chore: fix typos (#3458)
The typos were found with the typos[1] spell checker.  That spell
checker will be incorporated into the CI in a followup PR.

[1]: https://github.com/crate-ci/typos
2023-06-22 01:27:37 +09:00
David Luis
88b52c5576
BREAKING(encoding): remove deprecated APIs (#3315) 2023-04-14 11:20:24 +09:00
Asher Gomez
820d74b250
BREAKING(encoding): remove deprecated APIs (#3303)
chore: remove deprecated APIs
2023-04-13 12:29:26 +09:00
David Luis
7d63d592e1
fix(encoding/ascii85): fix encode() returns a wrong result with a subarray (#3310) 2023-04-11 17:18:53 +09:00
Asher Gomez
d02b577c69
BREAKING(encoding/varint): remove deprecated APIs (#3282) 2023-04-03 12:45:37 +09:00
David Luis
5c6ee0e8d4
fix(encoding/base58): fix base58 decoding missing the first byte (#3275) 2023-03-24 12:40:02 +09:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
Asher Gomez
6b1d49df1e
docs(json): correct examples (#3260) 2023-03-17 15:46:52 +09:00
Asher Gomez
4685dc1b4d
BREAKING(front_matter): move to top-level folder (#3252) 2023-03-14 17:09:10 +09:00
Asher Gomez
85ef580622
BREAKING(yaml): move to top-level folder (#3251) 2023-03-14 16:40:02 +09:00
Asher Gomez
ebc1f24910
BREAKING(jsonc): move to top-level folder and single-export files (#3243) 2023-03-13 14:58:26 +09:00
Asher Gomez
27fbfa13de
BREAKING(toml): move to top-level folder and towards single-export files (#3241) 2023-03-13 14:57:27 +09:00
Asher Gomez
2a7cf2ca22
BREAKING(json): move to top-level folder and towards single-export files (#3236) 2023-03-13 14:56:53 +09:00
Asher Gomez
a5fffc5fb0
BREAKING(csv): move encoding/csv to own top-level folder and towards single-export files (#3228) 2023-03-13 14:56:25 +09:00
Atlas Cove
bd0262a038
docs(yaml): fix error in doc (YAMLException doesn't exist #3244) 2023-03-09 12:44:31 +09:00
Asher Gomez
11069b8832
BREAKING(encoding/varint): deprecate Wasm implementation in favour of native TypeScript (#3215)
Also breaking changes are introduced to support returning the information about used bytes in encoding and decoding
2023-02-28 21:47:13 +09:00
ayame113
bb4d6b2146
feat(encoding/csv/streaming): add skipFirstRow and columns options (#3184) 2023-02-17 16:57:34 +09:00
ayame113
6ed3bdae23
fix: change BigInt type to bigint type (#3187) 2023-02-12 12:30:54 +09:00
Asher Gomez
3e9b8943fd
chore(wasmbuild): upgrade to 0.10.3 (#3180) 2023-02-10 19:17:14 +09:00
ayame113
dba98165cb
fix(encoding/yaml): avoid prototype pollution in Node.js and Browser (#3173) 2023-02-10 19:12:48 +09:00