From 1cb8f0fa73bb9c17a06305ac3fa06b4268494d2a Mon Sep 17 00:00:00 2001 From: Hyro Date: Fri, 5 Aug 2022 19:42:52 +0200 Subject: 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 --- src/node-fallbacks/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/node-fallbacks/util.js') 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 }; -- cgit v1.2.3