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

@cubejs-backend/schema-compiler

Package Overview
Dependencies
Maintainers
1
Versions
642
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubejs-backend/schema-compiler - npm Package Compare versions

Comparing version 0.3.1 to 0.3.4

26

adapter/BaseQuery.js

@@ -72,3 +72,2 @@ /* eslint-disable no-unused-vars,prefer-template */

this.cubeAliasPrefix = this.options.cubeAliasPrefix;
this.subQueryDimensions = this.collectFromMembers(false, this.collectSubQueryDimensionsFor.bind(this));
this.preAggregationsSchemaOption =

@@ -82,2 +81,9 @@ this.options.preAggregationsSchema != null ? this.options.preAggregationsSchema : DEFAULT_PREAGGREGATIONS_SCHEMA;

get subQueryDimensions() {
if (!this._subQueryDimensions) {
this._subQueryDimensions = this.collectFromMembers(false, this.collectSubQueryDimensionsFor.bind(this));
}
return this._subQueryDimensions;
}
defaultOrder() {

@@ -150,5 +156,7 @@ if (this.options.preAggregationQuery) {

buildParamAnnotatedSql() {
const preAggregationForQuery = this.preAggregations.findPreAggregationForQuery();
if (preAggregationForQuery && !this.options.preAggregationQuery) {
return this.preAggregations.rollupPreAggregation(preAggregationForQuery);
if (!this.options.preAggregationQuery) {
const preAggregationForQuery = this.preAggregations.findPreAggregationForQuery();
if (preAggregationForQuery) {
return this.preAggregations.rollupPreAggregation(preAggregationForQuery);
}
}

@@ -669,13 +677,3 @@ return this.fullKeyQueryAggregate();

/**
* Use collectCubeNames instead
* @param excludeTimeDimensions
* @returns {*}
* @deprecated
*/
collectCubeNames(excludeTimeDimensions) {
return this.collectCubeNames(excludeTimeDimensions);
}
collectCubeNames(excludeTimeDimensions) {
return this.collectFromMembers(excludeTimeDimensions, this.collectCubeNamesFor.bind(this));

@@ -682,0 +680,0 @@ }

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

"author": "Statsbot, Inc.",
"version": "0.3.1",
"version": "0.3.4",
"engines": {

@@ -33,3 +33,3 @@ "node": ">=8.11.1"

"license": "Apache-2.0",
"gitHead": "fd69ad6e3fcdeab323932b56211cb5733727cf3a"
"gitHead": "7961140cbd34a276cae079aff9e2e32510105f0d"
}
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