@cubejs-backend/query-orchestrator
Advanced tools
Comparing version 0.12.1 to 0.12.2
@@ -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 @@ |
@@ -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" | ||
} |
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
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
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
87981
1744
8