Socket
Socket
Sign inDemoInstall

ufo

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ufo - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

7

CHANGELOG.md

@@ -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 @@

8

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc