diff options
author | James M Snell <jasnell@gmail.com> | 2018-08-12 11:55:13 -0700 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-09-17 17:09:25 +0200 |
commit | 932be0164fb3ed869ae3ddfff391721d2fd8e1af (patch) | |
tree | 4eb32dfe566fa20fe9bc6a7f265122c57dab61f6 /.eslintrc.js | |
parent | efe0bbcd2fde5f60546fa2dc60295956ba440a3c (diff) | |
download | node-new-932be0164fb3ed869ae3ddfff391721d2fd8e1af.tar.gz |
util: make TextEncoder/TextDecoder global
Fixes: https://github.com/nodejs/node/issues/20365
PR-URL: https://github.com/nodejs/node/pull/22281
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index e4192c3539..99cef88669 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -271,6 +271,8 @@ module.exports = { DTRACE_HTTP_SERVER_REQUEST: false, DTRACE_HTTP_SERVER_RESPONSE: false, DTRACE_NET_SERVER_CONNECTION: false, - DTRACE_NET_STREAM_END: false + DTRACE_NET_STREAM_END: false, + TextEncoder: false, + TextDecoder: false }, }; |