New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fast-uri

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-uri - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

6

index.js

@@ -234,3 +234,3 @@ 'use strict'

}
if (parsed.scheme === undefined && parsed.userinfo === undefined && parsed.host === undefined && parsed.port === undefined && !parsed.path && parsed.query === undefined) {
if (parsed.scheme === undefined && parsed.userinfo === undefined && parsed.host === undefined && parsed.port === undefined && parsed.query === undefined && !parsed.path) {
parsed.reference = 'same-document'

@@ -274,6 +274,6 @@ } else if (parsed.scheme === undefined) {

}
if (parsed.path && parsed.path.length) {
if (parsed.path) {
parsed.path = escape(unescape(parsed.path))
}
if (parsed.fragment && parsed.fragment.length) {
if (parsed.fragment) {
parsed.fragment = encodeURI(decodeURIComponent(parsed.fragment))

@@ -280,0 +280,0 @@ }

'use strict'
const UUID_REG = /^[\da-f]{8}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{12}$/iu
const UUID_REG = /^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu
const URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu

@@ -5,0 +5,0 @@

{
"name": "fast-uri",
"description": "Dependency-free RFC 3986 URI toolbox",
"version": "3.0.5",
"version": "3.0.6",
"main": "index.js",

@@ -6,0 +6,0 @@ "type": "commonjs",

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