Socket
Socket
Sign inDemoInstall

pg-connection-string

Package Overview
Dependencies
0
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.1 to 2.6.2

5

index.js

@@ -41,3 +41,2 @@ 'use strict'

config.port = result.port
if (result.protocol == 'socket:') {

@@ -57,2 +56,6 @@ config.host = decodeURI(result.pathname)

}
if (!config.port) {
// Only set the port if there is no equivalent query param.
config.port = result.port
}

@@ -59,0 +62,0 @@ const pathname = result.pathname.slice(1) || null

4

package.json
{
"name": "pg-connection-string",
"version": "2.6.1",
"version": "2.6.2",
"description": "Functions for dealing with a PostgresSQL connection string",

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

],
"gitHead": "eaafac36dc8f4a13f1fecc9e3420d35559fd8e2b"
"gitHead": "a2a355a6807bf75d92d7f0cb0f219588811a5356"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc