Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-10-03 05:30:07 +0300
committercjihrig <cjihrig@gmail.com>2018-10-09 06:42:52 +0300
commit2498c7b18b6e82fec15c7672bf774e5f94a08b52 (patch)
treea00ad74d42bcd449683de90c1538e1fde86ebea9 /lib/internal/encoding.js
parent9930529805719b6df24a254889a1ae52e319d1e2 (diff)
icu: make process.binding('icu') internal
PR-URL: https://github.com/nodejs/node/pull/23234 Refs: https://github.com/nodejs/node/issues/22160 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'lib/internal/encoding.js')
-rw-r--r--lib/internal/encoding.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/encoding.js b/lib/internal/encoding.js
index 161ae72a19e..b2448144b08 100644
--- a/lib/internal/encoding.js
+++ b/lib/internal/encoding.js
@@ -356,7 +356,7 @@ function makeTextDecoderICU() {
decode: _decode,
getConverter,
hasConverter
- } = process.binding('icu');
+ } = internalBinding('icu');
class TextDecoder {
constructor(encoding = 'utf-8', options = {}) {