Skip to content

Commit

Permalink
lib: convert legacy process.binding to internalBinding
Browse files Browse the repository at this point in the history
PR-URL: nodejs#26095
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
ZYSzys authored and danbev committed Feb 18, 2019
1 parent c3d8891 commit 04c839b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/idna.js
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 04c839b

Please sign in to comment.