Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@compas/store

Package Overview
Dependencies
Maintainers
1
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compas/store - npm Package Compare versions

Comparing version 0.0.133 to 0.0.134

7

index.d.ts

@@ -558,5 +558,6 @@ import * as stdlib from "@compas/stdlib";

*/
export function stringifyQueryPart(
queryPart: QueryPart,
): { sql: string; params: any[] };
export function stringifyQueryPart(queryPart: QueryPart): {
sql: string;
params: any[];
};

@@ -563,0 +564,0 @@ /**

{
"name": "@compas/store",
"version": "0.0.133",
"version": "0.0.134",
"description": "Postgres & S3-compatible wrappers for common things",

@@ -17,3 +17,3 @@ "main": "./index.js",

"dependencies": {
"@compas/stdlib": "0.0.133",
"@compas/stdlib": "0.0.134",
"@types/minio": "7.0.7",

@@ -45,3 +45,3 @@ "mime-types": "2.1.30",

},
"gitHead": "44a7cf7b76fb0c1f572adcda9565b3dd8f324058"
"gitHead": "64810914b304fdf3466b64b40a001ee481c47980"
}

@@ -164,10 +164,12 @@ import { isNil } from "@compas/stdlib";

if (jsonResult) {
const intermediate = await query`EXPLAIN (ANALYZE, VERBOSE, BUFFERS, FORMAT JSON) ${queryItem}`.exec(
sql,
);
const intermediate =
await query`EXPLAIN (ANALYZE, VERBOSE, BUFFERS, FORMAT JSON) ${queryItem}`.exec(
sql,
);
result = intermediate[0];
} else {
const intermediate = await query`EXPLAIN (ANALYZE, VERBOSE, BUFFERS, FORMAT TEXT) ${queryItem}`.exec(
sql,
);
const intermediate =
await query`EXPLAIN (ANALYZE, VERBOSE, BUFFERS, FORMAT TEXT) ${queryItem}`.exec(
sql,
);

@@ -174,0 +176,0 @@ result = intermediate.map((it) => it["QUERY PLAN"]).join("\n");

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc