Commit Graph

16 Commits

Author SHA1 Message Date
Asher Gomez
9ff5dafa7d
BREAKING(encoding/unstable): move base64url-stream module to unstable-base64url-stream (#5959)
* BREAKING(encoding/unstable): move `base64url-stream` module to `unstable-base64url-stream`

* fix
2024-09-12 15:46:23 +09:00
Asher Gomez
04ad602c13
BREAKING(encoding/unstable): move base32hex module to unstable-base32hex (#5961) 2024-09-12 06:31:01 +00:00
Asher Gomez
93ccb64f09
BREAKING(encoding/unstable): move hex-stream module to unstable-hex-stream (#5960) 2024-09-12 15:22:51 +09:00
Asher Gomez
0ff29d1508
BREAKING(encoding/unstable): move base64-stream module to unstable-base64-stream (#5958) 2024-09-12 05:51:34 +00:00
Asher Gomez
034f3d75d3
BREAKING(encoding/unstable): move base32hex-stream module to unstable-base32hex-stream (#5956) 2024-09-12 05:45:35 +00:00
Asher Gomez
d5c0fdc36b
BREAKING(encoding/unstable): move base32-stream module to unstable-base32-stream (#5955) 2024-09-12 05:40:43 +00:00
Doctor
0f7a71f96b
feat(encoding/unstable): adds streaming versions for hex, base32, base32hex, base64 and base64url (#4915)
* feat(encoding): adds streaming versions of several encoding methods.

Adds streaming methods for:
- Hex
- Base32
- Base64
- Base64Url

* move(encoding): streaming versions to their own modules.

* fix(encoding): jsdoc examples

* fix(encoding): error when chunk's are smaller than the minimum size.

* add(encoding): Base32Hex Encoder/Decoder Streams

* fix(encoding): mod.ts not exporting ./base32hex_stream.ts

* hex stream

* RandomSliceStream

* polish

* base32

* base64hex

* base64

* base64url

* tweak

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-22 15:02:36 +10: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
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
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
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
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
Ryan Dahl
1f1818d379 Move encode, decode helpers to /encoding/utf8.ts, delete /strings/ (denoland/deno#4565)
also removes encoding/mod.ts and archive/mod.ts which are useless.
2021-02-01 10:46:57 +00:00
Kitson Kelly
7914eae5f0 Update to Prettier 2 and use ES Private Fields (denoland/deno#4498) 2021-02-01 10:46:57 +00:00
Oliver Lenehan
012fb2c219 feat (encoding): add binary module (denoland/deno#4274) 2021-02-01 10:46:57 +00:00
Nayeem Rahman
90bd2ad881 feat: Add missing mod.ts files in std (denoland/deno#3509)
archive/tar.ts:
- Remove FileReader.
- Remove FileWriter.

encoding/csv.ts:
- ExtendedParseOptions -> ParseOptions
- HeaderOption -> HeaderOptions
- ParseOptions -> ReadOptions
- readAll() -> readMatrix()

encoding/yaml.ts:
- DumpOptions -> StringifyOptions

fmt/colors.ts:
- getEnabled() -> getColorEnabled()
- setEnabled() -> setColorEnabled()

testing/mod.ts:
- Re-export sibling modules.
2021-02-01 10:46:56 +00:00