@cubejs-client/core
Advanced tools
Comparing version 0.28.0 to 0.28.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.28.1](https://github.com/cube-js/cube.js/compare/v0.28.0...v0.28.1) (2021-07-19) | ||
**Note:** Version bump only for package @cubejs-client/core | ||
# [0.28.0](https://github.com/cube-js/cube.js/compare/v0.27.53...v0.28.0) (2021-07-17) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@cubejs-client/core", | ||
"version": "0.28.0", | ||
"version": "0.28.1", | ||
"engines": {}, | ||
@@ -48,3 +48,3 @@ "repository": { | ||
}, | ||
"gitHead": "a63d0118921c33743263407026ec69cea6494d41" | ||
"gitHead": "6396e7e5ab94fdc02169ae4e078284d8d1e2a239" | ||
} |
@@ -203,3 +203,3 @@ import dayjs from 'dayjs'; | ||
key, | ||
series: this.chartPivot(pivotConfig).map(({ category, x, ...obj }) => ({ value: obj[key], category, x })) | ||
series: this.chartPivot(pivotConfig).map(({ x, ...obj }) => ({ value: obj[key], x })) | ||
})); | ||
@@ -493,3 +493,2 @@ } | ||
return ({ | ||
category: this.axisValuesString(xValues, ','), // TODO deprecated | ||
x: this.axisValuesString(xValues, ','), | ||
@@ -496,0 +495,0 @@ xValues, |
@@ -315,3 +315,2 @@ import 'jest'; | ||
{ | ||
category: '2020-08-10T00:00:00.000', | ||
value: 1, | ||
@@ -321,3 +320,2 @@ x: '2020-08-10T00:00:00.000', | ||
{ | ||
category: '2020-08-11T00:00:00.000', | ||
value: 0, | ||
@@ -327,3 +325,2 @@ x: '2020-08-11T00:00:00.000', | ||
{ | ||
category: '2020-08-12T00:00:00.000', | ||
value: 1, | ||
@@ -333,3 +330,2 @@ x: '2020-08-12T00:00:00.000', | ||
{ | ||
category: '2020-08-13T00:00:00.000', | ||
value: 0, | ||
@@ -339,3 +335,2 @@ x: '2020-08-13T00:00:00.000', | ||
{ | ||
category: '2020-08-14T00:00:00.000', | ||
value: 0, | ||
@@ -345,3 +340,2 @@ x: '2020-08-14T00:00:00.000', | ||
{ | ||
category: '2020-08-15T00:00:00.000', | ||
value: 0, | ||
@@ -351,3 +345,2 @@ x: '2020-08-15T00:00:00.000', | ||
{ | ||
category: '2020-08-16T00:00:00.000', | ||
value: 0, | ||
@@ -363,3 +356,2 @@ x: '2020-08-16T00:00:00.000', | ||
{ | ||
category: '2020-08-10T00:00:00.000', | ||
value: 2, | ||
@@ -369,3 +361,2 @@ x: '2020-08-10T00:00:00.000', | ||
{ | ||
category: '2020-08-11T00:00:00.000', | ||
value: 1, | ||
@@ -375,3 +366,2 @@ x: '2020-08-11T00:00:00.000', | ||
{ | ||
category: '2020-08-12T00:00:00.000', | ||
value: 0, | ||
@@ -381,3 +371,2 @@ x: '2020-08-12T00:00:00.000', | ||
{ | ||
category: '2020-08-13T00:00:00.000', | ||
value: 1, | ||
@@ -387,3 +376,2 @@ x: '2020-08-13T00:00:00.000', | ||
{ | ||
category: '2020-08-14T00:00:00.000', | ||
value: 0, | ||
@@ -393,3 +381,2 @@ x: '2020-08-14T00:00:00.000', | ||
{ | ||
category: '2020-08-15T00:00:00.000', | ||
value: 1, | ||
@@ -399,3 +386,2 @@ x: '2020-08-15T00:00:00.000', | ||
{ | ||
category: '2020-08-16T00:00:00.000', | ||
value: 0, | ||
@@ -415,3 +401,2 @@ x: '2020-08-16T00:00:00.000', | ||
{ | ||
category: '2020-08-10T00:00:00.000', | ||
x: '2020-08-10T00:00:00.000', | ||
@@ -423,3 +408,2 @@ xValues: ['2020-08-10T00:00:00.000'], | ||
{ | ||
category: '2020-08-11T00:00:00.000', | ||
x: '2020-08-11T00:00:00.000', | ||
@@ -431,3 +415,2 @@ xValues: ['2020-08-11T00:00:00.000'], | ||
{ | ||
category: '2020-08-12T00:00:00.000', | ||
x: '2020-08-12T00:00:00.000', | ||
@@ -439,3 +422,2 @@ xValues: ['2020-08-12T00:00:00.000'], | ||
{ | ||
category: '2020-08-13T00:00:00.000', | ||
x: '2020-08-13T00:00:00.000', | ||
@@ -447,3 +429,2 @@ xValues: ['2020-08-13T00:00:00.000'], | ||
{ | ||
category: '2020-08-14T00:00:00.000', | ||
x: '2020-08-14T00:00:00.000', | ||
@@ -455,3 +436,2 @@ xValues: ['2020-08-14T00:00:00.000'], | ||
{ | ||
category: '2020-08-15T00:00:00.000', | ||
x: '2020-08-15T00:00:00.000', | ||
@@ -463,3 +443,2 @@ xValues: ['2020-08-15T00:00:00.000'], | ||
{ | ||
category: '2020-08-16T00:00:00.000', | ||
x: '2020-08-16T00:00:00.000', | ||
@@ -476,3 +455,2 @@ xValues: ['2020-08-16T00:00:00.000'], | ||
{ | ||
category: '2020-08-10T00:00:00.000', | ||
x: '2020-08-10T00:00:00.000', | ||
@@ -487,3 +465,2 @@ xValues: ['2020-08-10T00:00:00.000'], | ||
{ | ||
category: '2020-08-11T00:00:00.000', | ||
x: '2020-08-11T00:00:00.000', | ||
@@ -498,3 +475,2 @@ xValues: ['2020-08-11T00:00:00.000'], | ||
{ | ||
category: '2020-08-12T00:00:00.000', | ||
x: '2020-08-12T00:00:00.000', | ||
@@ -509,3 +485,2 @@ xValues: ['2020-08-12T00:00:00.000'], | ||
{ | ||
category: '2020-08-13T00:00:00.000', | ||
x: '2020-08-13T00:00:00.000', | ||
@@ -520,3 +495,2 @@ xValues: ['2020-08-13T00:00:00.000'], | ||
{ | ||
category: '2020-08-14T00:00:00.000', | ||
x: '2020-08-14T00:00:00.000', | ||
@@ -531,3 +505,2 @@ xValues: ['2020-08-14T00:00:00.000'], | ||
{ | ||
category: '2020-08-15T00:00:00.000', | ||
x: '2020-08-15T00:00:00.000', | ||
@@ -542,3 +515,2 @@ xValues: ['2020-08-15T00:00:00.000'], | ||
{ | ||
category: '2020-08-16T00:00:00.000', | ||
x: '2020-08-16T00:00:00.000', | ||
@@ -560,5 +532,5 @@ xValues: ['2020-08-16T00:00:00.000'], | ||
x: ['Orders.ts.day'], | ||
y: ['compareDateRange', 'measures'] | ||
y: ['compareDateRange', 'measures'], | ||
}; | ||
expect(resultSet1.tableColumns(pivotConfig)).toMatchObject([ | ||
@@ -565,0 +537,0 @@ { |
@@ -348,3 +348,2 @@ import 'jest'; | ||
x: '2020-07-01T00:00:00.000', | ||
category: '2020-07-01T00:00:00.000', | ||
'0,Users.count': 0, | ||
@@ -356,3 +355,2 @@ '1,Users.count': 0, | ||
x: '2020-08-01T00:00:00.000', | ||
category: '2020-08-01T00:00:00.000', | ||
'0,Users.count': 14, | ||
@@ -364,3 +362,2 @@ '1,Users.count': 2, | ||
x: '2020-09-01T00:00:00.000', | ||
category: '2020-09-01T00:00:00.000', | ||
'0,Users.count': 23, | ||
@@ -372,3 +369,2 @@ '1,Users.count': 4, | ||
x: '2020-10-01T00:00:00.000', | ||
category: '2020-10-01T00:00:00.000', | ||
'0,Users.count': 0, | ||
@@ -380,3 +376,2 @@ '1,Users.count': 7, | ||
x: '2020-11-01T00:00:00.000', | ||
category: '2020-11-01T00:00:00.000', | ||
'0,Users.count': 0, | ||
@@ -519,3 +514,2 @@ '1,Users.count': 0, | ||
x: '2020-07-01T00:00:00.000', | ||
category: '2020-07-01T00:00:00.000', | ||
'one,Users.count': 0, | ||
@@ -527,3 +521,2 @@ 'two,Users.count': 0, | ||
x: '2020-08-01T00:00:00.000', | ||
category: '2020-08-01T00:00:00.000', | ||
'one,Users.count': 14, | ||
@@ -535,3 +528,2 @@ 'two,Users.count': 2, | ||
x: '2020-09-01T00:00:00.000', | ||
category: '2020-09-01T00:00:00.000', | ||
'one,Users.count': 23, | ||
@@ -543,3 +535,2 @@ 'two,Users.count': 4, | ||
x: '2020-10-01T00:00:00.000', | ||
category: '2020-10-01T00:00:00.000', | ||
'one,Users.count': 0, | ||
@@ -551,3 +542,2 @@ 'two,Users.count': 7, | ||
x: '2020-11-01T00:00:00.000', | ||
category: '2020-11-01T00:00:00.000', | ||
'one,Users.count': 0, | ||
@@ -554,0 +544,0 @@ 'two,Users.count': 0, |
@@ -102,3 +102,2 @@ import 'jest'; | ||
{ | ||
category: '2019-01-07T00:00:00.000', | ||
x: '2019-01-07T00:00:00.000', | ||
@@ -109,3 +108,2 @@ xValues: ['2019-01-07T00:00:00.000'], | ||
{ | ||
category: '2019-01-14T00:00:00.000', | ||
x: '2019-01-14T00:00:00.000', | ||
@@ -112,0 +110,0 @@ xValues: ['2019-01-14T00:00:00.000'], |
@@ -124,3 +124,3 @@ import 'jest'; | ||
x: 'Name 1', | ||
category: 'Name 1', | ||
'Foo.count': 'Some string', | ||
@@ -174,3 +174,3 @@ xValues: [ | ||
x: 'Name 1', | ||
category: 'Name 1', | ||
'Foo.count': null, | ||
@@ -224,3 +224,3 @@ xValues: [ | ||
x: 'Name 1', | ||
category: 'Name 1', | ||
'Foo.count': undefined, | ||
@@ -274,3 +274,3 @@ xValues: [ | ||
x: 'Name 1', | ||
category: 'Name 1', | ||
'Foo.count': 10, | ||
@@ -327,3 +327,3 @@ xValues: [ | ||
x: 'Name 1', | ||
category: 'Name 1', | ||
'Foo.latestRun': new Date('2020-03-11T18:06:09.403Z'), | ||
@@ -330,0 +330,0 @@ xValues: [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1975478
21683