Comparing version 0.5.2 to 0.5.3
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.5.3](https://github.com/nuxt-contrib/ufo/compare/v0.5.2...v0.5.3) (2021-01-06) | ||
### Bug Fixes | ||
* **parseQuery:** skip ? in query value while parsing (fixes [#9](https://github.com/nuxt-contrib/ufo/issues/9)) ([0cf9f1a](https://github.com/nuxt-contrib/ufo/commit/0cf9f1aed440013e53f7186b8f47648121c4bc8e)) | ||
### [0.5.2](https://github.com/nuxt-contrib/ufo/compare/v0.5.1...v0.5.2) (2020-12-16) | ||
@@ -7,0 +14,0 @@ |
@@ -139,8 +139,8 @@ 'use strict'; | ||
for (const param of paramsStr.split("&")) { | ||
const s = param.split("="); | ||
if (!s[0]) { | ||
const s = param.match(/([^=]+)=?(.*)/) || []; | ||
if (s.length < 2) { | ||
continue; | ||
} | ||
const key = decode(s[0]); | ||
const value = decode(s[1]); | ||
const key = decode(s[1]); | ||
const value = decode(s[2] || ""); | ||
if (obj[key]) { | ||
@@ -147,0 +147,0 @@ if (Array.isArray(obj[key])) { |
{ | ||
"name": "ufo", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "URL utils for humans", | ||
@@ -5,0 +5,0 @@ "repository": "nuxt-contrib/ufo", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
36525
0