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 13, 2019
1 parent 8cb7d4b commit f2ebf36
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 f2ebf36

Please sign in to comment.