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

@cubejs-backend/postgres-driver

Package Overview
Dependencies
Maintainers
2
Versions
639
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubejs-backend/postgres-driver - npm Package Compare versions

Comparing version 0.11.0 to 0.11.6

12

CHANGELOG.md

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

## [0.11.6](https://github.com/statsbotco/cubejs-client/compare/v0.11.5...v0.11.6) (2019-10-17)
### Bug Fixes
* Postgres driver with redis in non UTC timezone returns timezone shifted results ([f1346da](https://github.com/statsbotco/cubejs-client/commit/f1346da))
* TypeError: Cannot read property 'table_name' of undefined: Drop orphaned tables implementation drops recent tables in cluster environments ([84ea78a](https://github.com/statsbotco/cubejs-client/commit/84ea78a))
# [0.11.0](https://github.com/statsbotco/cubejs-client/compare/v0.10.62...v0.11.0) (2019-10-15)

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

8

driver/PostgresDriver.js

@@ -0,4 +1,7 @@

const pg = require('pg');
const moment = require('moment');
const BaseDriver = require('@cubejs-backend/query-orchestrator/driver/BaseDriver');
const { Pool } = require('pg');
const { Pool } = pg;
const GenericTypeToPostgres = {

@@ -8,2 +11,5 @@ string: 'text'

pg.types.setTypeParser(1114, str => moment.utc(str).format(moment.HTML5_FMT.DATETIME_LOCAL_MS));
pg.types.setTypeParser(1184, str => moment.utc(str).format(moment.HTML5_FMT.DATETIME_LOCAL_MS));
class PostgresDriver extends BaseDriver {

@@ -10,0 +16,0 @@ constructor(config) {

7

package.json

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

"author": "Statsbot, Inc.",
"version": "0.11.0",
"version": "0.11.6",
"engines": {

@@ -15,3 +15,4 @@ "node": ">=8.11.1"

"dependencies": {
"@cubejs-backend/query-orchestrator": "^0.11.0",
"@cubejs-backend/query-orchestrator": "^0.11.6",
"moment": "^2.24.0",
"pg": "^7.8.0"

@@ -26,3 +27,3 @@ },

},
"gitHead": "b62d0e18bc793a1182fb2e3d26baf114a9cd848c"
"gitHead": "0613d7784955a898fe193137a6cba66c3285244d"
}
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