Socket
Socket
Sign inDemoInstall

pg-connection-string

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-connection-string - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

3

index.js

@@ -52,3 +52,4 @@ 'use strict'

config.host = decodeURIComponent(hostname)
} else if (hostname) {
} else if (hostname && /^%2f/i.test(hostname)) {
// Only prepend the hostname to the pathname if it is not a URL encoded Unix socket host.
result.pathname = hostname + result.pathname

@@ -55,0 +56,0 @@ }

{
"name": "pg-connection-string",
"version": "2.6.0",
"version": "2.6.1",
"description": "Functions for dealing with a PostgresSQL connection string",

@@ -39,3 +39,3 @@ "main": "./index.js",

],
"gitHead": "14b840e96e57fc0617b5c4758f6318f774148ee4"
"gitHead": "eaafac36dc8f4a13f1fecc9e3420d35559fd8e2b"
}
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