Skip to content

Commit

Permalink
url: require encodeStr from internal/querystring
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
ZYSzys authored and BridgeAR committed Mar 14, 2019
1 parent 62801b9 commit 1de9e13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -41,7 +41,6 @@ const {
domainToASCII,
domainToUnicode,
formatSymbol,
encodeStr,
pathToFileURL,
fileURLToPath
} = require('internal/url');
Expand Down

0 comments on commit 1de9e13

Please sign in to comment.