pg 8.5.0 → 8.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,11 @@ class ConnectionParameters {
80
80
 
81
81
  this.ssl = typeof config.ssl === 'undefined' ? readSSLConfigFromEnvironment() : config.ssl
82
82
 
83
+ if (typeof this.ssl === 'string') {
84
+ if (this.ssl === 'true') {
85
+ this.ssl = true
86
+ }
87
+ }
83
88
  // support passing in ssl=no-verify via connection string
84
89
  if (this.ssl === 'no-verify') {
85
90
  this.ssl = { rejectUnauthorized: false }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg",
3
- "version": "8.5.0",
3
+ "version": "8.5.1",
4
4
  "description": "PostgreSQL client - pure javascript & libpq with the same API",
5
5
  "keywords": [
6
6
  "database",
@@ -52,5 +52,5 @@
52
52
  "engines": {
53
53
  "node": ">= 8.0.0"
54
54
  },
55
- "gitHead": "ec1dcab966ecb03080e75112f6d3623d1360b634"
55
+ "gitHead": "0b9bb349dcb10f6473737001062082b65efc74be"
56
56
  }