@tinyhttp/url
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -8,3 +8,5 @@ import { parse } from 'querystring'; | ||
for (let i = 0; i < keys.length; i++) { | ||
params[keys[i]] = decodeURIComponent(matches[i + 1]); | ||
if (matches[i + 1]) { | ||
params[keys[i]] = decodeURIComponent(matches[i + 1]); | ||
} | ||
} | ||
@@ -11,0 +13,0 @@ return params; |
{ | ||
"name": "@tinyhttp/url", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"type": "module", | ||
@@ -33,3 +33,4 @@ "description": "URL extensions for tinyhttp", | ||
"build": "rollup -c ./rollup.config.js" | ||
} | ||
}, | ||
"readme": "# @tinyhttp/req\n\n[![npm (scoped)][npm-badge]](https://npmjs.com/package/@tinyhttp/req) [![npm][dl-badge]](https://npmjs.com/package/@tinyhttp/req) [![][web-badge]](https://tinyhttp.v1rtl.site/mw/req)\n\nURL extensions for to parse query parameters, URL parameters, and more.\n\n## Install\n\n```sh\npnpm i @tinyhttp/url\n```\n\n[npm-badge]: https://img.shields.io/npm/v/@tinyhttp/req?style=flat-square\n[dl-badge]: https://img.shields.io/npm/dt/@tinyhttp/req?style=flat-square\n[web-badge]: https://img.shields.io/badge/website-visit-hotpink?style=flat-square\n" | ||
} |
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
4002
31