From 6597fb6b607c6dc1d2a4a6424057e75f8b5a8ddf Mon Sep 17 00:00:00 2001 From: ZYSzys <17367077526@163.com> Date: Thu, 14 Feb 2019 17:07:18 +0800 Subject: [PATCH] lib: convert legacy process.binding to internalBinding --- lib/internal/idna.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/idna.js b/lib/internal/idna.js index 409cabedf10d1a..f57f042888f311 100644 --- a/lib/internal/idna.js +++ b/lib/internal/idna.js @@ -1,6 +1,6 @@ 'use strict'; -if (process.binding('config').hasIntl) { +if (internalBinding('config').hasIntl) { const { toASCII, toUnicode } = internalBinding('icu'); module.exports = { toASCII, toUnicode }; } else {