diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-08-09 13:24:03 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-08-09 14:27:46 -0700 |
commit | 040a0426796f0249bf0ca61ebbb2aae0b4993e94 (patch) | |
tree | 689c78775ebb83f9b251348399793c0adb524cb8 /js/text-encoding.d.ts | |
parent | fb87cb38eca7a2d490c3e70738407dc6538e80d3 (diff) |
Add TextEncoder/TextDecoder support.
Fixes #470
This commit increases size:
out/release/gen/bundle/main.js 7.3M -> 7.9M
out/release/gen/bundle/main.js.map 11M -> 12M
out/release/gen/snapshot_deno.bin 34M -> 37M
out/release/deno 49M -> 53M
Note the amount in the JS code added is quite small:
4.0K node_modules/text-encoding/index.js
4.0K node_modules/@types/text-encoding/index.d.ts
4.0K js/text_encoding.ts
Unclear to me what is causing the jump in snapshot size.
Diffstat (limited to 'js/text-encoding.d.ts')
-rw-r--r-- | js/text-encoding.d.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/text-encoding.d.ts b/js/text-encoding.d.ts deleted file mode 100644 index 6feadad9c..000000000 --- a/js/text-encoding.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Remove and depend on @types/text-encoding once this PR is merged -// https://github.com/DefinitelyTyped/DefinitelyTyped/pull/26141 -declare module "text-encoding" { - export const TextEncoder: TextEncoder; - export const TextDecoder: TextDecoder; -} |