@cubejs-client/core
Advanced tools
Comparing version 0.7.6 to 0.7.10
@@ -6,2 +6,14 @@ # Change Log | ||
## [0.7.10](https://github.com/statsbotco/cubejs-client/compare/v0.7.9...v0.7.10) (2019-04-25) | ||
### Bug Fixes | ||
* **client-core:** Table pivot incorrectly behaves with multiple measures ([adb2270](https://github.com/statsbotco/cubejs-client/commit/adb2270)) | ||
* **client-core:** use ',' as standard axisValue delimiter ([e889955](https://github.com/statsbotco/cubejs-client/commit/e889955)), closes [#19](https://github.com/statsbotco/cubejs-client/issues/19) | ||
## [0.7.6](https://github.com/statsbotco/cubejs-client/compare/v0.7.5...v0.7.6) (2019-04-23) | ||
@@ -8,0 +20,0 @@ |
@@ -128,3 +128,3 @@ import 'core-js/modules/es6.number.constructor'; | ||
return axisValues.map(formatValue).join(delimiter || ':'); | ||
return axisValues.map(formatValue).join(delimiter || ', '); | ||
} | ||
@@ -335,3 +335,3 @@ }, { | ||
return this.pivot(pivotConfig).map(function (_ref19) { | ||
return this.pivot(normalizedPivotConfig).map(function (_ref19) { | ||
var xValues = _ref19.xValues, | ||
@@ -347,5 +347,5 @@ yValuesArray = _ref19.yValuesArray; | ||
}, {}); | ||
}); | ||
}).reduce(function (a, b) { | ||
return a.concat(b); | ||
}).reduce(function (a, b) { | ||
return Object.assign(a, b); | ||
}, {}); | ||
}); | ||
@@ -352,0 +352,0 @@ } |
@@ -132,3 +132,3 @@ 'use strict'; | ||
return axisValues.map(formatValue).join(delimiter || ':'); | ||
return axisValues.map(formatValue).join(delimiter || ', '); | ||
} | ||
@@ -339,3 +339,3 @@ }, { | ||
return this.pivot(pivotConfig).map(function (_ref19) { | ||
return this.pivot(normalizedPivotConfig).map(function (_ref19) { | ||
var xValues = _ref19.xValues, | ||
@@ -351,5 +351,5 @@ yValuesArray = _ref19.yValuesArray; | ||
}, {}); | ||
}); | ||
}).reduce(function (a, b) { | ||
return a.concat(b); | ||
}).reduce(function (a, b) { | ||
return Object.assign(a, b); | ||
}, {}); | ||
}); | ||
@@ -356,0 +356,0 @@ } |
{ | ||
"name": "@cubejs-client/core", | ||
"version": "0.7.6", | ||
"version": "0.7.10", | ||
"description": "cube.js client", | ||
@@ -29,3 +29,3 @@ "main": "dist/cubejs-client-core.js", | ||
}, | ||
"gitHead": "560c93b35e026ce74b2bc3623799baaa4896121d" | ||
"gitHead": "c98640443c9ffec66781f98c67e847a32a9baf67" | ||
} |
@@ -56,3 +56,3 @@ import { | ||
}; | ||
return axisValues.map(formatValue).join(delimiter || ':'); | ||
return axisValues.map(formatValue).join(delimiter || ', '); | ||
} | ||
@@ -204,3 +204,3 @@ | ||
return this.pivot(pivotConfig).map(({ xValues, yValuesArray }) => ( | ||
return this.pivot(normalizedPivotConfig).map(({ xValues, yValuesArray }) => ( | ||
yValuesArray.map(([yValues, m]) => ( | ||
@@ -210,4 +210,4 @@ normalizedPivotConfig.x.map(valueToObject(xValues, m)) | ||
.reduce((a, b) => Object.assign(a, b), {}) | ||
)) | ||
)).reduce((a, b) => a.concat(b)); | ||
)).reduce((a, b) => Object.assign(a, b), {}) | ||
)); | ||
} | ||
@@ -214,0 +214,0 @@ |
Sorry, the diff of this file is too big to display
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
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
516726