@compas/store
Advanced tools
Comparing version 0.0.153 to 0.0.154
{ | ||
"name": "@compas/store", | ||
"version": "0.0.153", | ||
"version": "0.0.154", | ||
"description": "Postgres & S3-compatible wrappers for common things", | ||
@@ -17,4 +17,4 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@compas/stdlib": "0.0.153", | ||
"@types/minio": "7.0.8", | ||
"@compas/stdlib": "0.0.154", | ||
"@types/minio": "7.0.9", | ||
"minio": "7.0.18", | ||
@@ -43,4 +43,3 @@ "postgres": "2.0.0-beta.6" | ||
"node": ">=16" | ||
}, | ||
"gitHead": "f2036f668879aea8256fb16fffeeeaacba0f6800" | ||
} | ||
} | ||
} |
@@ -55,2 +55,13 @@ import { environment, isProduction, merge } from "@compas/stdlib"; | ||
const connectionOpts = merge( | ||
{ | ||
connection: { | ||
application_name: environment.APP_NAME, | ||
}, | ||
no_prepare: true, | ||
ssl: isProduction() ? "require" : "prefer", | ||
}, | ||
opts, | ||
); | ||
if (opts && opts.createIfNotExists) { | ||
@@ -61,3 +72,3 @@ const oldConnection = await createDatabaseIfNotExists( | ||
undefined, | ||
opts, | ||
connectionOpts, | ||
); | ||
@@ -69,12 +80,3 @@ setImmediate(() => oldConnection.end()); | ||
environment.POSTGRES_URI + environment.POSTGRES_DATABASE, | ||
merge( | ||
{ | ||
connection: { | ||
application_name: environment.APP_NAME, | ||
}, | ||
no_prepare: true, | ||
ssl: isProduction() ? "require" : "prefer", | ||
}, | ||
opts, | ||
), | ||
connectionOpts, | ||
); | ||
@@ -81,0 +83,0 @@ } |
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
11239
344626
28
+ Added@compas/stdlib@0.0.154(transitive)
+ Added@types/minio@7.0.9(transitive)
+ Added@types/node@16.4.6(transitive)
- Removed@compas/stdlib@0.0.153(transitive)
- Removed@types/minio@7.0.8(transitive)
- Removed@types/node@16.4.0(transitive)
Updated@compas/stdlib@0.0.154
Updated@types/minio@7.0.9