bare-url 2.2.0 → 2.2.2

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.
@@ -141,8 +141,10 @@ module.exports = class URLSearchParams {
141
141
  let i = sequence.indexOf('=')
142
142
  if (i === -1) i = sequence.length
143
143
 
144
- const name = sequence.substring(0, i)
145
- const value = sequence.substring(i + 1, sequence.length)
144
+ const name = decodeURIComponent(sequence.substring(0, i))
145
+ const value = decodeURIComponent(
146
+ sequence.substring(i + 1, sequence.length)
147
+ )
146
148
 
147
149
  let list = this._params.get(name)
148
150
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-url",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "WHATWG URL implementation for JavaScript",
5
5
  "exports": {
6
6
  "./package": "./package.json",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file