Commit Graph

301 Commits

Author SHA1 Message Date
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
lionel-rowe
9943f5e9d5
feat(encoding/csv): handle CSV byte-order marks (#3143) 2023-02-03 13:02:13 +09:00
Yoshiya Hinosawa
698e38758a
test(encoding): re-enable csv stream leak test on non-windows (#3162) 2023-02-03 12:59:31 +09:00
denobot
0170bc2455
0.176.0 (#3159) 2023-02-02 18:57:35 +05:30
Kitson Kelly
df0e69a95f
fix: make encoding/front_matter work in a browser (#3154) 2023-02-02 09:49:35 +09:00
Asher Gomez
c1637bdcbb
BREAKING(dotenv,fmt,io): remove deprecated APIs (#3134) 2023-01-27 16:24:10 +09:00
lionel-rowe
a03fab1991
fix(encoding/csv): escape cells containing newlines (LFs) (#3128) 2023-01-24 17:52:22 +09:00
dependabot[bot]
aeeb6a761b
chore(deps): bump bumpalo from 3.9.1 to 3.12.0 in /encoding/varint/_wasm (#3130) 2023-01-22 20:48:44 +09:00
ayame113
329d164bb4
fix(encoding/jsonc): avoid prototype pollution in Node.js and Browser (#3077) 2023-01-13 16:13:35 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Asher Gomez
22cdb7f0fc
refactor(archive): rework single-export files (#3060) 2022-12-27 13:38:03 +09:00
Lino Le Van
3001bfc431
refactor: remove unnecessary returns (#3046) 2022-12-24 20:13:11 +09:00
Asher Gomez
2f9baf6794
refactor: remove Deno namespace IO types (#3030) 2022-12-23 14:33:12 +09:00
Asher Gomez
ae3663e74c
chore: move deprecated removal versions back (#3032) 2022-12-22 17:01:00 +09:00
Matias Volpe
01696ce149
fix(encoding): base58 decoding (#2982) 2022-12-13 21:14:23 +09:00
Yoshiya Hinosawa
40fdfdefaa
chore: update for CLI canary (#2992) 2022-12-08 21:53:13 +09:00
李瑞丰
d90ca8db6b
docs: removed types from jsdoc directives (#2988) 2022-12-08 18:56:08 +09:00
李瑞丰
45087440aa
docs(encoding/front_matter): fix doc error when render page (#2985) 2022-12-08 01:46:59 +09:00
Carlos Scheidegger
b6dba51043
perf(encoding/yaml) Don't allocate buffers unnecessarily (#2967) 2022-12-05 11:50:59 -05:00
Asher Gomez
5dabeb2d91
refactor(streams): move to single-export files (#2957) 2022-11-29 08:55:38 -05:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Asher Gomez
792f1334fe
refactor: use _util/asserts.ts for non-test code (#2857) 2022-11-10 16:28:20 +09:00
Asher Gomez
b7e9dee53c
chore: upgrade rust to 0.165.0 and wasmbuild to 0.10.2 (#2850) 2022-11-08 21:15:44 +09:00
Proudust
52791bb091
docs(encoding): remove ColumnDetails["fn"] (#2840) 2022-11-07 16:12:53 +09:00
Asher Gomez
60466e8618
refactor(_util): remove deepAssign (#2847) 2022-11-07 15:16:37 +09:00
Asher Gomez
5c8bd0b6f6
refactor(encoding): move varint/_wasm_varint/ to varint/_wasm/ (#2844) 2022-11-07 15:10:38 +09:00
李瑞丰
fea04e5247
docs(encoding): remove await (#2831) 2022-11-04 20:42:07 +09:00
Schwarzkopf Balázs
11e3cb70c7
feat(encoding/front_matter): add support for different formats of front matter (#2801) 2022-10-28 17:07:56 +09:00
Basti Ortiz
deef340b55
docs: add/improve JSDoc comments for various modules (#2764)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-10-11 11:29:29 -04:00
ayame113
e6189c08e9
docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
Asher Gomez
40d071763f
chore(encoding): remove deprecated APIs (#2718) 2022-09-30 14:40:09 +09:00
Asher Gomez
eeb696cc29
chore: upgrade wasmbuild to 0.10.0 and rust to 1.64.0 (#2721) 2022-09-30 14:22:27 +09:00
Tim Reichen
2f7713a164
chore(tools): add deprecation check (#2613) 2022-09-15 16:06:04 +09:00
Tim Reichen
3d06fb82dc
refactor: move varint and crypto wasm dirs (#2618) 2022-09-12 14:32:33 +09:00
Tim Reichen
6dd2814a8c
BREAKING(encoding/csv): sync stringify function (#2611) 2022-09-08 13:57:21 +09:00
Lucas Henrique
d3b14b2aa0
BREAKING(encoding/csv): make column argument optional (#2168) 2022-09-07 19:53:56 +09:00
Yoshiya Hinosawa
e627b83343
BREAKING: replace ALL CAPS acronyms in public API names (#2582) 2022-08-30 16:08:43 +09:00
Lucas Henrique
822a5903d3
refactor(encoding/base58): using object for getting values at decode (#2563) 2022-08-29 17:26:38 +09:00
ayame113
e990ef3d18
fix(encoding/jsonc): Improve safety of JSONValue object type in jsonc.ts (#2568) 2022-08-26 15:05:55 +09:00
Jesse Jackson
a2df605817
fix(encoding/json): improve safety of JSONValue object type (#2565) 2022-08-26 13:59:32 +09:00
Lucas Henrique
398170a451
feat(encoding): add base58 encoding/decoding feature (#2539) 2022-08-25 14:54:03 +09:00
Tim Reichen
3641524c55
BREAKING(encoding/csv): remove ColumnOptions (#2536) 2022-08-25 14:35:42 +09:00
Asher Gomez
3b9fb39ddd
chore: remove void and Promise<void> return types (#2550) 2022-08-24 10:21:57 +09:00
Yoshiya Hinosawa
d7fa0016c3
ci: fix browser type checking (#2549) 2022-08-23 19:06:52 +09:00
Tim Reichen
51bf5f7ab4
refactor(encoding/csv): merge files (#2524) 2022-08-16 15:09:35 +09:00
Tim Reichen
33afdfe0ad
feat(encoding/csv): sync parse (#2491) 2022-08-13 23:22:00 +09:00
Kitson Kelly
e83306672e
docs: improve module documentation (#2511) 2022-08-11 21:51:20 +10:00
David Sherret
5cf22ead6b
chore: workaround swc emit issues (#2439) 2022-07-13 09:15:32 -04:00
Yoshiya Hinosawa
e2f3f58fb4
docs(encoding/front_matter): fix example (#2437) 2022-07-12 20:50:55 +09:00
nkronlage
eb4f512cc4
fix(encoding/csv/stream): cancel lineReader if readable is canceled (#2401) 2022-07-11 18:58:23 +09:00
Tim Reichen
6f0cb011c6
test(encoding/csv): restructure tests (#2332) 2022-07-05 16:24:11 +09:00
Jesse Jackson
3a27feab64
fix(encoding/json): add null to JSONValue union (#2384) 2022-06-25 01:20:01 +09:00
Yuki Tanaka
fdf5318709
fix(encoding/csv/stream): properly handle CR characters (#2325) 2022-06-22 09:21:33 -04:00
Yoshiya Hinosawa
8d60d1c35b
test(encoding/json): fix parse stream test expectation (#2373) 2022-06-20 20:27:53 +09:00
ayame113
6d33b18a8c
feat(encoding): add json/stream.ts (#2231) 2022-06-20 09:06:37 +09:00
Tim Reichen
1031c324b9
refactor(encoding/base64url): remove unnecessary export (#2363) 2022-06-17 23:17:59 +09:00
denobot
55addb3ad1
0.144.0 (#2351)
* 0.144.0

* fix(Releases.md): update note about collections/mod.ts

Co-authored-by: David Sherret <dsherret@users.noreply.github.com>

* chore: fix formatting

* fix(tests): use `Deno.currentExe()` instead of `"deno"`

Co-authored-by: aslilac <aslilac@users.noreply.github.com>
Co-authored-by: Kayla Washburn <mckayla@hey.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-15 16:05:49 -06:00
Divy Srivastava
6dbb2121b5
encoding: add front matter module (#2335)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-06-14 16:46:52 +05:30
David Sherret
e72e13db63
refactor: use wasmbuild (#2319) 2022-06-08 11:19:50 -04:00
Skye
f415da4c62
feat(encoding): add unsigned LEB128 varint encoding (#2265)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-06-05 21:22:03 +09:00
Yoshiya Hinosawa
959e6c12cd
chore: update code format (#2278) 2022-05-27 21:26:01 +09:00
Mark Ladyshau
662f27ce84
feat(testing/asserts): return error from assertRejects and assertThrows (#2226)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-05-25 17:51:42 +09:00
Jesper van den Ende
11b2b7f7f7
BREAKING(testing/asserts): remove implicit any types from assert signatures. (#2203) 2022-05-20 14:08:49 +02:00