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.6.3 to 0.6.4

7

CHANGELOG.md

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

### [0.6.4](https://github.com/nuxt-contrib/ufo/compare/v0.6.3...v0.6.4) (2021-02-08)
### Bug Fixes
* **joinURL:** don't allow double '//' when single slashes are passed ([#13](https://github.com/nuxt-contrib/ufo/issues/13)) ([e44fe2b](https://github.com/nuxt-contrib/ufo/commit/e44fe2bc3f8aa65a7c6a7c8d70458b8ccd73a979))
### [0.6.3](https://github.com/nuxt-contrib/ufo/compare/v0.6.2...v0.6.3) (2021-02-08)

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

5

dist/index.js

@@ -291,3 +291,6 @@ 'use strict';

for (const i of input) {
url2 = withTrailingSlash(url2) + withoutLeadingSlash(i);
const part = withoutLeadingSlash(i);
if (part !== "/") {
url2 = withTrailingSlash(url2) + part;
}
}

@@ -294,0 +297,0 @@ return url2;

2

package.json
{
"name": "ufo",
"version": "0.6.3",
"version": "0.6.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