@keyv/postgres
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -5,3 +5,3 @@ // src/index.ts | ||
// src/pool.ts | ||
import { Pool } from "pg"; | ||
import pg from "pg"; | ||
var postgresPool; | ||
@@ -14,3 +14,3 @@ var globalUri; | ||
} | ||
postgresPool ??= new Pool({ connectionString: uri, ...options }); | ||
postgresPool ??= new pg.Pool({ connectionString: uri, ...options }); | ||
return postgresPool; | ||
@@ -17,0 +17,0 @@ }; |
{ | ||
"name": "@keyv/postgres", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "PostgreSQL storage adapter for Keyv", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17867