We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0d3b75 commit 32d9dffCopy full SHA for 32d9dff
lib/internal/idna.js
@@ -4,6 +4,6 @@ if (internalBinding('config').hasIntl) {
4
const { toASCII, toUnicode } = internalBinding('icu');
5
module.exports = { toASCII, toUnicode };
6
} else {
7
- const { toASCII, toUnicode } = require('punycode');
8
- module.exports = { toASCII, toUnicode };
+ const { domainToASCII, domainToUnicode } = require('internal/url');
+ module.exports = { toASCII: domainToASCII, toUnicode: domainToUnicode };
9
}
test/parallel/test-bootstrap-modules.js
@@ -119,7 +119,7 @@ if (!common.isMainThread) {
119
if (common.hasIntl) {
120
expectedModules.add('Internal Binding icu');
121
122
- expectedModules.add('NativeModule punycode');
+ expectedModules.add('NativeModule url');
123
124
125
if (process.features.inspector) {
0 commit comments