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 /package.json | |
| 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 'package.json')
| -rw-r--r-- | package.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json index 829508413..62c4f6218 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "@types/base64-js": "^1.2.5", "@types/flatbuffers": "^1.9.0", "@types/source-map-support": "^0.4.1", + "@types/text-encoding": "0.0.33", "base64-js": "^1.3.0", "flatbuffers": "^1.9.0", "prettier": "^1.14.0", @@ -16,6 +17,7 @@ "rollup-plugin-typescript2": "^0.16.1", "rollup-pluginutils": "^2.3.0", "source-map-support": "^0.5.6", + "text-encoding": "0.6.4", "tslint": "^5.10.0", "tslint-eslint-rules": "^5.3.1", "tslint-no-circular-imports": "^0.5.0", |
