url-search-params-polyfill
Advanced tools
Comparing version 5.1.0 to 6.0.0
@@ -248,3 +248,7 @@ /** | ||
function decode(str) { | ||
return decodeURIComponent(str.replace(/\+/g, ' ')); | ||
return str | ||
.replace(/[ +]/g, '%20') | ||
.replace(/(%[a-f0-9]{2})+/ig, function(match) { | ||
return decodeURIComponent(match); | ||
}); | ||
} | ||
@@ -251,0 +255,0 @@ |
{ | ||
"name": "url-search-params-polyfill", | ||
"version": "5.1.0", | ||
"version": "6.0.0", | ||
"description": "a simple polyfill for javascript URLSearchParams", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/jerrybendy/url-search-params-polyfill", |
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
14721
278