Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.5 to 0.6.6

7

CHANGELOG.md

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

### [0.6.6](https://github.com/nuxt-contrib/ufo/compare/v0.6.5...v0.6.6) (2021-02-10)
### Bug Fixes
* bail base utils if base is / or empty ([bb09b06](https://github.com/nuxt-contrib/ufo/commit/bb09b0655d936fe06cfdafda8e5dcd8fcc230f06))
### [0.6.5](https://github.com/nuxt-contrib/ufo/compare/v0.6.4...v0.6.5) (2021-02-10)

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

@@ -286,2 +286,5 @@ 'use strict';

function withBase(input, base) {
if (!base || base === "/") {
return input;
}
const _base = withoutTrailingSlash(base);

@@ -294,2 +297,5 @@ if (input.startsWith(_base)) {

function withoutBase(input, base) {
if (!base || base === "/") {
return input;
}
const _base = withoutTrailingSlash(base);

@@ -296,0 +302,0 @@ if (input.startsWith(_base)) {

2

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