From 10d3e8c36a06e2b0aa657f34fc45595dcba5c599 Mon Sep 17 00:00:00 2001 From: Richard Biddle Date: Fri, 22 Jan 2021 12:25:55 +1300 Subject: [PATCH] remove unsupported no-verify --- lib/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 8908b6e..f987d8f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -14,7 +14,7 @@ module.exports.setDatabaseUrl = (url) => databaseUrl = url module.exports.getDatabaseUrl = () => databaseUrl const params = url.parse(databaseUrl); -let ssl = ( PGSSLMODE === 'require' || PGSSLMODE === 'no-verify' ? { rejectUnauthorized: false } : false), +let ssl = ( PGSSLMODE === 'require' ? { rejectUnauthorized: false } : false), auth = params.auth.split(':'), config = { user: auth[0], diff --git a/package.json b/package.json index 67eae95..35964e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lib-lequel", - "version": "3.0.0", + "version": "4.0.0", "description": "Simple Database query abstraction library lescapes style", "main": "/lib/", "devDependencies": {