Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cubejs-backend/shared

Package Overview
Dependencies
Maintainers
2
Versions
188
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubejs-backend/shared - npm Package Compare versions

Comparing version 0.28.22 to 0.28.24

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

## [0.28.24](https://github.com/cube-js/cube.js/compare/v0.28.23...v0.28.24) (2021-08-19)
### Features
* Added Quarter to the timeDimensions of ([3f62b2c](https://github.com/cube-js/cube.js/commit/3f62b2c125b2b7b752e370b65be4c89a0c65a623))
* Support quarter granularity ([4ad1356](https://github.com/cube-js/cube.js/commit/4ad1356ac2d2c4d479c25e60519b0f7b4c1605bb))
## [0.28.22](https://github.com/cube-js/cube.js/compare/v0.28.21...v0.28.22) (2021-08-17)

@@ -8,0 +20,0 @@

4

dist/src/time.js

@@ -21,3 +21,5 @@ "use strict";

week: (range) => Array.from(range.snapTo('isoWeek').by('week'))
.map(d => [d.startOf('isoWeek').format('YYYY-MM-DDT00:00:00.000'), d.endOf('isoWeek').format('YYYY-MM-DDT23:59:59.999')])
.map(d => [d.startOf('isoWeek').format('YYYY-MM-DDT00:00:00.000'), d.endOf('isoWeek').format('YYYY-MM-DDT23:59:59.999')]),
quarter: (range) => Array.from(range.snapTo('quarter').by('quarter'))
.map(d => [d.format('YYYY-MM-DDT00:00:00.000'), d.endOf('quarter').format('YYYY-MM-DDT23:59:99.999')]),
};

@@ -24,0 +26,0 @@ const timeSeries = (granularity, dateRange) => {

{
"name": "@cubejs-backend/shared",
"version": "0.28.22",
"version": "0.28.24",
"description": "Shared code for Cube.js backend packages",

@@ -68,3 +68,3 @@ "main": "dist/src/index.js",

},
"gitHead": "fb6e7ca2cff5260557440b4f66b7a791da414e15"
"gitHead": "4fd57f9805fb1e89c19436eff24822607f98183b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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