Ryan Dahl
2b79552dd1
Internalize base64-js, convert to TypeScript
2019-08-28 18:25:15 -04:00
andy finch
eb93dc58a1
add encodeInto to TextEncoder ( #2558 )
2019-06-21 15:32:14 -07:00
迷渡
bbeb30fc5e
Make atob
follow the spec ( #2242 )
2019-04-30 11:25:37 -07:00
Ryan Dahl
9dfebbc949
Fix eslint warnings ( #2151 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-21 16:40:10 -04:00
JaePil Jung
efbe44eb33
Fix missing return type ( #2038 )
2019-04-02 10:42:17 -04:00
迷渡
659acadf77
Improve new TextDecoder().toString() ( #2032 )
2019-04-01 13:05:19 -04:00
Ryan Dahl
bb642e8c7c
Fix TextDecoder for SharedArrayBuffer backed TypedArray ( #1940 )
2019-03-15 16:29:54 -04:00
Kitson Kelly
034e2cc028
Migrate from tslint to eslint for linting ( #1905 )
2019-03-09 12:30:38 -05:00
Yoshiya Hinosawa
77114fbda4
chore: update license lines ( #1557 )
2019-01-21 13:03:30 -06:00
Kitson Kelly
568ac0c902
Add ASCII support to TextDecoder
2018-12-06 18:45:10 -05:00
Kitson Kelly
6cc89b9e27
Use alternate TextEncoder/TextDecoder implementation ( #1281 )
...
This is faster and smaller.
2018-12-06 10:01:15 -08:00
Kitson Kelly
10a97679ac
Align JSDoc to style guide.
2018-10-14 17:38:23 -04:00
Kevin (Kun) "Kassimo" Qian
4d16d54ff8
Add atob() and btoa() ( #776 )
2018-09-20 18:53:29 -04:00
Ryan Dahl
040a042679
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.
2018-08-09 14:27:46 -07:00