url: require encodeStr from internal/querystring

PR-URL: https://github.com/nodejs/node/pull/26538
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
ZYSzys authored and Ruben Bridgewater committed 2019-03-14 11:02:53 +01:00
1 parent 62801b9320
commit 1de9e138aa
1 file changed
+1 -2
+1 -2
View File
@@ -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');