Socket
Socket
Sign inDemoInstall

@nuxt/ufo

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/ufo - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.1.4](https://github.com/nuxt-contrib/ufo/compare/v0.1.3...v0.1.4) (2020-12-12)
### Bug Fixes
* **joinURL:** preserve params from input path ([8f8f10a](https://github.com/nuxt-contrib/ufo/commit/8f8f10af829046ad27696acec7b123fecd8dca43))
### [0.1.3](https://github.com/nuxt-contrib/ufo/compare/v0.1.2...v0.1.3) (2020-12-12)

@@ -7,0 +14,0 @@

@@ -66,2 +66,7 @@ (function (global, factory) {

const baseURL = parseURL(input0);
for (const p of path) {
p.url.searchParams.forEach((value, key) => {
baseURL.url.searchParams.set(key, value);
});
}
baseURL.url.pathname = joinPath(baseURL.url.pathname, ...path.map((p) => p.url.pathname));

@@ -68,0 +73,0 @@ return normalizeURL(baseURL);

@@ -64,2 +64,7 @@ 'use strict';

const baseURL = parseURL(input0);
for (const p of path) {
p.url.searchParams.forEach((value, key) => {
baseURL.url.searchParams.set(key, value);
});
}
baseURL.url.pathname = joinPath(baseURL.url.pathname, ...path.map((p) => p.url.pathname));

@@ -66,0 +71,0 @@ return normalizeURL(baseURL);

2

package.json
{
"name": "@nuxt/ufo",
"version": "0.1.3",
"version": "0.1.4",
"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