0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/tools
James M Snell ed21cb1774 util: implement WHATWG Encoding Standard API
Provide an (initially experimental) implementation of the WHATWG Encoding
Standard API (`TextDecoder` and `TextEncoder`). The is the same API
implemented on the browser side.

By default, with small-icu, only the UTF-8, UTF-16le and UTF-16be decoders
are supported. With full-icu enabled, every encoding other than iso-8859-16
is supported.

This provides a basic test, but does not include the full web platform
tests. Note: many of the web platform tests for this would fail by default
because we ship with small-icu by default.

A process warning will be emitted on first use to indicate that the
API is still experimental. No runtime flag is required to use the
feature.

Refs: https://encoding.spec.whatwg.org/
PR-URL: https://github.com/nodejs/node/pull/13644
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2017-07-24 14:04:13 -07:00
..
configure.d
doc lib,src: fix consistent spacing inside braces 2017-07-21 15:13:47 -04:00
eslint tools: update ESLint to 4.2.0 2017-07-12 12:39:41 -07:00
eslint-rules lib,src: fix consistent spacing inside braces 2017-07-21 15:13:47 -04:00
gyp gyp: implement LD/LDXX for ninja and FIPS 2017-07-17 09:36:23 -07:00
icu util: implement WHATWG Encoding Standard API 2017-07-24 14:04:13 -07:00
msvs build: add npx to installers 2017-07-17 08:49:10 -07:00
osx-pkg.pmdoc
pkgsrc
rpm
.eslintrc.yaml tools: eslint - use error and off 2017-07-05 16:41:19 -04:00
certdata.txt tools: update certdata.txt 2017-05-29 08:45:00 -07:00
check-imports.py
compress_json.py src: add /json/protocol endpoint to inspector 2016-09-23 18:51:47 +02:00
cpplint.py src,lib,test,doc: correct misspellings 2017-06-17 19:17:46 +02:00
create_android_makefiles
create_expfile.sh
genv8constants.py
getmoduleversion.py
getnodeversion.py
gyp_node.py build: simplify if in setting of arg_paths 2017-05-16 15:26:20 -04:00
install.py build: add npx to installers 2017-07-17 08:49:10 -07:00
js2c.py src: support UTF-8 in compiled-in JS source files 2017-02-13 19:16:14 +01:00
jslint.js doc, tools: add doc linting to CI 2017-04-25 22:44:09 +03:00
license2rtf.js tools: change var to const in ./license2rtf 2017-07-02 19:27:09 -04:00
license-builder.sh deps: switch to v8_inspector in V8 2017-02-22 15:56:58 +01:00
lsan_suppressions.txt
macosx-firewall.sh tools: add macosx-firwall script to avoid popups 2016-12-09 08:31:08 +01:00
make-v8.sh v8: update make-v8.sh to use git 2016-11-09 17:34:22 -05:00
Makefile
mk-ca-bundle.pl
mkssldef.py
osx-codesign.sh build,tools: do not force codesign prefix 2017-07-19 16:38:27 -05:00
osx-pkg-postinstall.sh build: add npx to installers 2017-07-17 08:49:10 -07:00
osx-productsign.sh
package-lock.json tools: update: eslint-plugin-markdown@1.0.0-beta.7 2017-07-05 06:51:10 +03:00
release.sh tools: be explicit about including key-id 2017-06-01 16:07:18 -07:00
run-valgrind.py tools: make run-valgrind.py useful 2016-11-15 17:01:24 +01:00
sign.bat win,build: try multiple timeservers when signing 2016-10-19 00:11:02 +11:00
specialize_node_d.py
test-npm-package.js tools, test: update test-npm-package paths 2017-06-07 15:36:06 +01:00
test-npm.sh tools: update test-npm.sh paths 2017-05-23 19:39:09 +02:00
test.py tools: increase test timeouts 2017-07-12 15:59:30 -07:00
update-authors.sh
update-eslint.sh tools: update: eslint-plugin-markdown@1.0.0-beta.7 2017-07-05 06:51:10 +03:00
utils.py