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.4.0 to 2.5.0

7

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

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

"type": "git",
"url": "git://github.com/brianc/node-postgres.git"
"url": "git://github.com/brianc/node-postgres.git",
"directory": "packages/pg-connection-string"
},

@@ -39,3 +40,3 @@ "keywords": [

],
"gitHead": "7ffe68eba056b9a6d0fa88f928aa85e768c28838"
"gitHead": "d45947938263bec30a1e3252452f04177b785f66"
}

@@ -25,3 +25,3 @@ pg-connection-string

* `host` - Postgres server hostname or, for UNIX doamain sockets, the socket filename
* `host` - Postgres server hostname or, for UNIX domain sockets, the socket filename
* `port` - port on which to connect

@@ -33,2 +33,3 @@ * `user` - User with which to authenticate to the server

* `ssl`, either a boolean or an object with properties
* `rejectUnauthorized`
* `cert`

@@ -70,2 +71,6 @@ * `key`

* `ssl=1`, `ssl=true`, `ssl=0`, `ssl=false` - sets `ssl` to true or false, accordingly
* `sslmode=<sslmode>`
* `sslmode=disable` - sets `ssl` to false
* `sslmode=no-verify` - sets `ssl` to `{ rejectUnauthorized: false }`
* `sslmode=prefer`, `sslmode=require`, `sslmode=verify-ca`, `sslmode=verify-full` - sets `ssl` to true
* `sslcert=<filename>` - reads data from the given file and includes the result as `ssl.cert`

@@ -72,0 +77,0 @@ * `sslkey=<filename>` - reads data from the given file and includes the result as `ssl.key`

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