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: #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 rvagg committed Feb 28, 2019
1 parent e6949b4 commit 733beb7
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 733beb7

Please sign in to comment.