query-string
Advanced tools
Comparing version 7.0.0 to 7.0.1
10
index.js
@@ -9,2 +9,4 @@ 'use strict'; | ||
const encodeFragmentIdentifier = Symbol('encodeFragmentIdentifier'); | ||
function encoderForArrayFormat(options) { | ||
@@ -406,3 +408,4 @@ switch (options.arrayFormat) { | ||
encode: true, | ||
strict: true | ||
strict: true, | ||
[encodeFragmentIdentifier]: true | ||
}, options); | ||
@@ -422,3 +425,3 @@ | ||
if (object.fragmentIdentifier) { | ||
hash = `#${encode(object.fragmentIdentifier, options)}`; | ||
hash = `#${options[encodeFragmentIdentifier] ? encode(object.fragmentIdentifier, options) : object.fragmentIdentifier}`; | ||
} | ||
@@ -431,3 +434,4 @@ | ||
options = Object.assign({ | ||
parseFragmentIdentifier: true | ||
parseFragmentIdentifier: true, | ||
[encodeFragmentIdentifier]: false | ||
}, options); | ||
@@ -434,0 +438,0 @@ |
{ | ||
"name": "query-string", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Parse and stringify URL query strings", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -24,2 +24,3 @@ # query-string | ||
<br> | ||
<br> | ||
<a href="https://doppler.com/?utm_campaign=github_repo&utm_medium=referral&utm_content=query-string&utm_source=github"> | ||
@@ -36,2 +37,21 @@ <div> | ||
</a> | ||
<br> | ||
<a href="https://strapi.io/?ref=sindresorhus"> | ||
<div> | ||
<img src="https://sindresorhus.com/assets/thanks/strapi-logo-white-bg.png" width="200" alt="Strapi"> | ||
</div> | ||
<b>Strapi is the leading open-source headless CMS.</b> | ||
<div> | ||
<sup>It’s 100% JavaScript, fully customizable, and developer-first.</sup> | ||
</div> | ||
</a> | ||
<br> | ||
<a href="https://oss.capital"> | ||
<div> | ||
<img src="https://sindresorhus.com/assets/thanks/oss-capital-logo-white-bg.svg" width="300" alt="OSS Capital"> | ||
</div> | ||
<div> | ||
<sup><b>Founded in 2018, OSS Capital is the first and only venture capital platform focused<br>exclusively on supporting early-stage COSS (commercial open source) startup founders.</b></sup> | ||
</div> | ||
</a> | ||
</p> | ||
@@ -50,4 +70,6 @@ </div> | ||
This module targets Node.js 6 or later and the latest version of Chrome, Firefox, and Safari. If you want support for older browsers, or, if your project is using create-react-app v1, use version 5: `npm install query-string@5`. | ||
**Not `npm install querystring`!!!!!** | ||
This module targets Node.js 6 or later and the latest version of Chrome, Firefox, and Safari. | ||
## Usage | ||
@@ -604,2 +626,8 @@ | ||
## FAQ | ||
### Why is it parsing `+` as a space? | ||
See [this answer](https://github.com/sindresorhus/query-string/issues/305). | ||
## query-string for enterprise | ||
@@ -606,0 +634,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44758
764
634