summaryrefslogtreecommitdiff
path: root/lib/url.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-10-02 22:30:07 -0400
committercjihrig <cjihrig@gmail.com>2018-10-08 23:42:52 -0400
commit2498c7b18b6e82fec15c7672bf774e5f94a08b52 (patch)
treea00ad74d42bcd449683de90c1538e1fde86ebea9 /lib/url.js
parent9930529805719b6df24a254889a1ae52e319d1e2 (diff)
downloadandroid-node-v8-2498c7b18b6e82fec15c7672bf774e5f94a08b52.tar.gz
android-node-v8-2498c7b18b6e82fec15c7672bf774e5f94a08b52.tar.bz2
android-node-v8-2498c7b18b6e82fec15c7672bf774e5f94a08b52.zip
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/url.js')
-rw-r--r--lib/url.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.js b/lib/url.js
index ba2033b4e5..db7369fed0 100644
--- a/lib/url.js
+++ b/lib/url.js
@@ -22,7 +22,7 @@
'use strict';
const { toASCII } = process.binding('config').hasIntl ?
- process.binding('icu') : require('punycode');
+ internalBinding('icu') : require('punycode');
const { hexTable } = require('internal/querystring');