mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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:
parent
c237eabf4c
commit
76edde5cd0
@ -1,4 +0,0 @@
|
|||||||
'use strict';
|
|
||||||
|
|
||||||
const { toASCII, toUnicode } = internalBinding('encoding_binding');
|
|
||||||
module.exports = { toASCII, toUnicode };
|
|
@ -30,7 +30,7 @@ const {
|
|||||||
decodeURIComponent,
|
decodeURIComponent,
|
||||||
} = primordials;
|
} = primordials;
|
||||||
|
|
||||||
const { toASCII } = require('internal/idna');
|
const { toASCII } = internalBinding('encoding_binding');
|
||||||
const { encodeStr, hexTable } = require('internal/querystring');
|
const { encodeStr, hexTable } = require('internal/querystring');
|
||||||
const querystring = require('querystring');
|
const querystring = require('querystring');
|
||||||
|
|
||||||
|
@ -117,7 +117,6 @@ expected.atRunTime = new Set([
|
|||||||
|
|
||||||
if (common.isMainThread) {
|
if (common.isMainThread) {
|
||||||
[
|
[
|
||||||
'NativeModule internal/idna',
|
|
||||||
'NativeModule url',
|
'NativeModule url',
|
||||||
].forEach(expected.beforePreExec.add.bind(expected.beforePreExec));
|
].forEach(expected.beforePreExec.add.bind(expected.beforePreExec));
|
||||||
} else { // Worker.
|
} else { // Worker.
|
||||||
|
Loading…
Reference in New Issue
Block a user