@lbu/store
Advanced tools
Comparing version 0.0.54 to 0.0.55
@@ -251,7 +251,7 @@ import * as minioVendor from "minio"; | ||
*/ | ||
getFileSteam( | ||
public getStreamFn: ( | ||
file: StoreFileStore, | ||
start?: number, | ||
end?: number, | ||
): Promise<{ stream: NodeJS.ReadStream; cacheControl: string }>; | ||
) => Promise<{ stream: NodeJS.ReadStream; cacheControl: string }>; | ||
@@ -258,0 +258,0 @@ /** |
{ | ||
"name": "@lbu/store", | ||
"version": "0.0.54", | ||
"version": "0.0.55", | ||
"description": "Postgres & S3-compatible wrappers for common things", | ||
@@ -18,4 +18,4 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@lbu/insight": "0.0.54", | ||
"@lbu/stdlib": "0.0.54", | ||
"@lbu/insight": "0.0.55", | ||
"@lbu/stdlib": "0.0.55", | ||
"@types/minio": "7.0.6", | ||
@@ -47,3 +47,3 @@ "mime-types": "2.1.27", | ||
}, | ||
"gitHead": "a02d512f6e50f2718e7a04df5e64ec225b2c11cd" | ||
"gitHead": "2a2f8e2c3d46d542120f8547c3b5fec8075d717c" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { merge } from "@lbu/stdlib"; | ||
import { isProduction, merge } from "@lbu/stdlib"; | ||
import minio from "minio"; | ||
@@ -14,3 +14,3 @@ | ||
secretKey: process.env.MINIO_SECRET_KEY, | ||
useSSL: process.env.NODE_ENV === "production", | ||
useSSL: isProduction(), | ||
}; | ||
@@ -17,0 +17,0 @@ return new minio.Client(merge(config, opts)); |
@@ -1,2 +0,2 @@ | ||
import { merge } from "@lbu/stdlib"; | ||
import { isProduction, merge } from "@lbu/stdlib"; | ||
import postgres from "postgres"; | ||
@@ -42,3 +42,3 @@ | ||
application_name: process.env.APP_NAME, | ||
ssl: process.env.NODE_ENV === "production", | ||
ssl: isProduction(), | ||
}, | ||
@@ -45,0 +45,0 @@ }, |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
24
76451
+ Added@lbu/insight@0.0.55(transitive)
+ Added@lbu/stdlib@0.0.55(transitive)
- Removed@lbu/insight@0.0.54(transitive)
- Removed@lbu/stdlib@0.0.54(transitive)
Updated@lbu/insight@0.0.55
Updated@lbu/stdlib@0.0.55