Skip to content

Commit d4873bc

Browse files
anonrigtargos
authored andcommitted
lib: remove lib/internal/idna.js
PR-URL: #55050 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
1 parent d3f8c35 commit d4873bc

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
@@ -117,7 +117,6 @@ expected.atRunTime = new Set([
117117

118118
if (common.isMainThread) {
119119
[
120-
'NativeModule internal/idna',
121120
'NativeModule url',
122121
].forEach(expected.beforePreExec.add.bind(expected.beforePreExec));
123122
} else { // Worker.

0 commit comments

Comments
 (0)