diff options
author | 2022-08-05 19:42:52 +0200 | |
---|---|---|
committer | 2022-08-05 10:42:52 -0700 | |
commit | 1cb8f0fa73bb9c17a06305ac3fa06b4268494d2a (patch) | |
tree | 95f28d4e558a8771ca649e28cc2fbdd6452a8059 /src | |
parent | 5bca8a1d47ca6643ecafbd9d0f5ad624540154b0 (diff) | |
download | bun-1cb8f0fa73bb9c17a06305ac3fa06b4268494d2a.tar.gz bun-1cb8f0fa73bb9c17a06305ac3fa06b4268494d2a.tar.zst bun-1cb8f0fa73bb9c17a06305ac3fa06b4268494d2a.zip |
feat(util): support for util.TextDecoder (#990)
* build:(landing) automated website build
* Revert "build:(landing) automated website build"
This reverts commit ddee8485fd8b76160962c410b885e17aaff95b4e.
* feat(util): support for util.TextDecoder
* tests(util): add TextDecoder
* tests: seperate text-decoder
Co-authored-by: xHyroM <xHyroM@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/node-fallbacks/util.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node-fallbacks/util.js b/src/node-fallbacks/util.js index 19ccac1d9..3bd55da0a 100644 --- a/src/node-fallbacks/util.js +++ b/src/node-fallbacks/util.js @@ -1,5 +1,6 @@ export * from "util"; const TextEncoder = globalThis.TextEncoder; +const TextDecoder = globalThis.TextDecoder; -export { TextEncoder }; +export { TextEncoder, TextDecoder }; |