query-string 6.10.0 → 6.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -313,11 +313,11 @@ exports.parseUrl = (input, options) => {
313
313
 
314
314
  exports.stringifyUrl = (input, options) => {
315
315
  const url = removeHash(input.url).split('?')[0] || '';
316
- const queryFromUrl = this.extract(input.url);
317
- const parsedQueryFromUrl = this.parse(queryFromUrl);
316
+ const queryFromUrl = exports.extract(input.url);
317
+ const parsedQueryFromUrl = exports.parse(queryFromUrl);
318
318
  const hash = getHash(input.url);
319
319
  const query = Object.assign(parsedQueryFromUrl, input.query);
320
- let queryString = this.stringify(query, options);
320
+ let queryString = exports.stringify(query, options);
321
321
  if (queryString) {
322
322
  queryString = `?${queryString}`;
323
323
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "query-string",
3
- "version": "6.10.0",
3
+ "version": "6.10.1",
4
4
  "description": "Parse and stringify URL query strings",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/query-string",