lib: remove lib/internal/idna.js

PR-URL: https://github.com/nodejs/node/pull/55050
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This commit is contained in:
Yagiz Nizipli 2024-09-23 15:33:43 -04:00 committed by GitHub
parent c237eabf4c
commit 76edde5cd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 6 deletions

View File

@ -1,4 +0,0 @@
'use strict';
const { toASCII, toUnicode } = internalBinding('encoding_binding');
module.exports = { toASCII, toUnicode };

View File

@ -30,7 +30,7 @@ const {
decodeURIComponent,
} = primordials;
const { toASCII } = require('internal/idna');
const { toASCII } = internalBinding('encoding_binding');
const { encodeStr, hexTable } = require('internal/querystring');
const querystring = require('querystring');

View File

@ -117,7 +117,6 @@ expected.atRunTime = new Set([
if (common.isMainThread) {
[
'NativeModule internal/idna',
'NativeModule url',
].forEach(expected.beforePreExec.add.bind(expected.beforePreExec));
} else { // Worker.