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

@cubejs-backend/query-orchestrator

Package Overview
Dependencies
Maintainers
2
Versions
485
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.12.1 to 0.12.2

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

## [0.12.2](https://github.com/cube-js/cube.js/compare/v0.12.1...v0.12.2) (2019-12-02)
### Bug Fixes
* this.versionEntries typo ([#279](https://github.com/cube-js/cube.js/issues/279)) ([743f9fb](https://github.com/cube-js/cube.js/commit/743f9fb))
### Features
* support REDIS_PASSWORD env variable ([#280](https://github.com/cube-js/cube.js/issues/280)). Thanks to [@lanphan](https://github.com/lanphan)! ([5172745](https://github.com/cube-js/cube.js/commit/5172745))
## [0.12.1](https://github.com/cube-js/cube.js/compare/v0.12.0...v0.12.1) (2019-11-26)

@@ -8,0 +24,0 @@

8

orchestrator/PreAggregations.js

@@ -103,4 +103,4 @@ const crypto = require('crypto');

async getVersionEntries(preAggregation) {
if (!this.versionEnries) {
this.versionEnries = tablesToVersionEntries(
if (!this.versionEntries) {
this.versionEntries = tablesToVersionEntries(
preAggregation.preAggregationsSchema,

@@ -110,3 +110,3 @@ await this.getTablesQuery(preAggregation)

}
return this.versionEnries;
return this.versionEntries;
}

@@ -142,3 +142,3 @@

this.queryStageState = undefined;
this.versionEnries = undefined;
this.versionEntries = undefined;
await this.tablesFromCache(preAggregation, true);

@@ -145,0 +145,0 @@ }

@@ -7,13 +7,16 @@ const redis = require('redis');

let options;
let options = {
url,
};
if (process.env.REDIS_TLS === 'true') {
options = {
url,
tls: {}
};
options.tls = {};
}
const client = redis.createClient(options || url);
if (process.env.REDIS_PASSWORD) {
options.password = process.env.REDIS_PASSWORD;
}
const client = redis.createClient(options);
['brpop', 'del', 'get', 'hget', 'rpop', 'set', 'zadd', 'zrange', 'zrangebyscore', 'keys'].forEach(

@@ -20,0 +23,0 @@ k => {

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

"author": "Statsbot, Inc.",
"version": "0.12.1",
"version": "0.12.2",
"repository": {

@@ -29,3 +29,3 @@ "type": "git",

"license": "Apache-2.0",
"gitHead": "acc2b442f8ccf979ea08b238aa106906e4517fd0"
"gitHead": "b70a71f38001b3bd2ba754b0f557af084ad74c9a"
}
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