@cubejs-backend/query-orchestrator
Advanced tools
Comparing version 0.10.28 to 0.10.30
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.10.30](https://github.com/statsbotco/cubejs-client/compare/v0.10.29...v0.10.30) (2019-08-26) | ||
### Features | ||
* `REDIS_TLS=true` env variable support ([55858cf](https://github.com/statsbotco/cubejs-client/commit/55858cf)) | ||
## [0.10.28](https://github.com/statsbotco/cubejs-client/compare/v0.10.27...v0.10.28) (2019-08-19) | ||
@@ -8,0 +19,0 @@ |
@@ -7,9 +7,20 @@ const redis = require('redis'); | ||
const client = redis.createClient(url); | ||
let options; | ||
if (process.env.REDIS_TLS === 'true') { | ||
options = { | ||
url, | ||
tls: {} | ||
}; | ||
} | ||
const client = redis.createClient(options || url); | ||
['brpop', 'del', 'get', 'hget', 'rpop', 'set', 'zadd', 'zrange', 'zrangebyscore'].forEach( | ||
k => client[`${k}Async`] = promisify(client[k]) | ||
k => { | ||
client[`${k}Async`] = promisify(client[k]); | ||
} | ||
); | ||
return client; | ||
} | ||
}; |
@@ -5,3 +5,3 @@ { | ||
"author": "Statsbot, Inc.", | ||
"version": "0.10.28", | ||
"version": "0.10.30", | ||
"engines": { | ||
@@ -24,3 +24,3 @@ "node": ">=8.11.1" | ||
"license": "Apache-2.0", | ||
"gitHead": "3b428998843c30c35d9022e371da64911b434432" | ||
"gitHead": "4c835abe39cac254ea6e3ac82cc26523a9e85240" | ||
} |
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
77563
1592
12
7