Skip to content

Commit

Permalink
Require URL for node < 10
Browse files Browse the repository at this point in the history
  • Loading branch information
banterability committed Jun 20, 2019
1 parent 671703a commit 7ca86f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/url.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const qs = require("querystring");
const {URL} = require("url");

const buildQueryString = (options = {}) =>
options ? `?${qs.stringify(options)}` : "";
Expand Down

0 comments on commit 7ca86f5

Please sign in to comment.