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

@cubejs-backend/api-gateway

Package Overview
Dependencies
Maintainers
1
Versions
589
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubejs-backend/api-gateway - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

11

CHANGELOG.md

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

# [0.6.0](https://github.com/statsbotco/cubejs-client/compare/v0.5.2...v0.6.0) (2019-04-09)
### Features
* query validation added in api-gateway ([#73](https://github.com/statsbotco/cubejs-client/issues/73)) ([21f6176](https://github.com/statsbotco/cubejs-client/commit/21f6176)), closes [#39](https://github.com/statsbotco/cubejs-client/issues/39)
# [0.5.0](https://github.com/statsbotco/cubejs-client/compare/v0.4.6...v0.5.0) (2019-04-01)

@@ -8,0 +19,0 @@

6

index.js

@@ -104,3 +104,3 @@ const jwt = require('jsonwebtoken');

const querySchema = Joi.object().keys({
measures: Joi.array().items(id),
measures: Joi.array().items(id.required()),
dimensions: Joi.array().items(dimensionWithTime),

@@ -120,3 +120,3 @@ filters: Joi.array().items(Joi.object().keys({

limit: Joi.number().integer().min(1).max(50000)
});
}).or("measures","dimensions");

@@ -200,3 +200,3 @@ const normalizeQuery = (query) => {

try {
const query = JSON.parse(req.query.query);
const query = JSON.parse(req.query.query)
this.log(req, {

@@ -203,0 +203,0 @@ type: 'Load Request',

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

"author": "Statsbot, Inc.",
"version": "0.5.0",
"version": "0.6.0",
"engines": {

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

"license": "Apache-2.0",
"gitHead": "0837734afe8c7b3583d4f707b6423c4202b13d7b"
"gitHead": "8dfcbe0750319b25382f7f5cec38f94a20bfce1c"
}
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