New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cubejs-backend/query-orchestrator

Package Overview
Dependencies
Maintainers
1
Versions
509
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubejs-backend/query-orchestrator - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

8

orchestrator/PreAggregations.js

@@ -137,5 +137,7 @@ const crypto = require('crypto');

const versionEntryByContentVersion = versionEntries.find(
const getVersionEntryByContentVersion = (versionEntries) => versionEntries.find(
v => v.table_name === this.preAggregation.tableName && v.content_version === contentVersion
);
const versionEntryByContentVersion = getVersionEntryByContentVersion(versionEntries);
if (versionEntryByContentVersion) {

@@ -170,3 +172,3 @@ return this.targetTableName(versionEntryByContentVersion);

await this.loadCache.reset();
return this.targetTableName(newVersionEntry);
return this.targetTableName(getVersionEntryByContentVersion(await this.loadCache.getVersionEntries(this.preAggregation.preAggregationsSchema)));
} else if (versionEntry.content_version !== newVersionEntry.content_version) {

@@ -186,3 +188,3 @@ if (

await this.loadCache.reset();
return this.targetTableName(newVersionEntry);
return this.targetTableName(getVersionEntryByContentVersion(await this.loadCache.getVersionEntries(this.preAggregation.preAggregationsSchema)));
}

@@ -189,0 +191,0 @@ return this.targetTableName(versionEntry);

@@ -5,3 +5,3 @@ {

"author": "Statsbot, Inc.",
"version": "0.0.1",
"version": "0.0.2",
"engines": {

@@ -8,0 +8,0 @@ "node": "^8.11.1"

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