From f2ebf36359ffb51bb7a54e1f004f86e6fac681bd Mon Sep 17 00:00:00 2001 From: ZYSzys Date: Sat, 9 Mar 2019 11:58:40 +0800 Subject: [PATCH] url: require encodeStr from internal/querystring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/26538 Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell --- lib/url.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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');