diff --git a/lib/url.js b/lib/url.js index 391d6c2723d99d..6810229f1338d5 100644 --- a/lib/url.js +++ b/lib/url.js @@ -22,7 +22,7 @@ 'use strict'; const { toASCII } = require('internal/idna'); -const { hexTable } = require('internal/querystring'); +const { encodeStr, hexTable } = require('internal/querystring'); const { SafeSet } = primordials; const { @@ -41,7 +41,6 @@ const { domainToASCII, domainToUnicode, formatSymbol, - encodeStr, pathToFileURL, fileURLToPath } = require('internal/url');