Skip to content

Commit 8e6b606

Browse files
anonrigmarco-ippolito
authored andcommitted
lib: remove lib/internal/idna.js
PR-URL: #55050 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
1 parent 2f678ea commit 8e6b606

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

lib/internal/idna.js

-4
This file was deleted.

lib/url.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const {
3030
decodeURIComponent,
3131
} = primordials;
3232

33-
const { toASCII } = require('internal/idna');
33+
const { toASCII } = internalBinding('encoding_binding');
3434
const { encodeStr, hexTable } = require('internal/querystring');
3535
const querystring = require('querystring');
3636

test/parallel/test-bootstrap-modules.js

-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ expected.atRunTime = new Set([
113113

114114
if (common.isMainThread) {
115115
[
116-
'NativeModule internal/idna',
117116
'NativeModule url',
118117
].forEach(expected.beforePreExec.add.bind(expected.beforePreExec));
119118
} else { // Worker.

0 commit comments

Comments
 (0)