Socket
Socket
Sign inDemoInstall

forest-express

Package Overview
Dependencies
Maintainers
3
Versions
374
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

forest-express - npm Package Compare versions

Comparing version 10.0.0-beta.1 to 10.0.0-beta.2

test/services/authorization.unit.test.ts

2

dist/routes/stats.js

@@ -79,3 +79,3 @@ "use strict";

var schema = Schemas.schemas[model.name];
var modelRelationship = getAssociationModel(schema, request.body.relationship_field);
var modelRelationship = getAssociationModel(schema, request.body.relationshipFieldName);
promise = new Implementation.LeaderboardStatGetter(model, modelRelationship, params, request.user).perform();

@@ -82,0 +82,0 @@ } else {

@@ -363,4 +363,5 @@ "use strict";

renderingId = user.renderingId, userId = user.id;
_context10.next = 4;
return this.forestAdminClient.permissionService.canRetrieveChart({
_context10.prev = 2;
_context10.next = 5;
return this.forestAdminClient.permissionService.canExecuteChart({
renderingId: renderingId,

@@ -371,7 +372,7 @@ userId: userId,

case 4:
case 5:
canRetrieveChart = _context10.sent;
if (canRetrieveChart) {
_context10.next = 7;
_context10.next = 8;
break;

@@ -382,3 +383,21 @@ }

case 7:
case 8:
_context10.next = 15;
break;
case 10:
_context10.prev = 10;
_context10.t0 = _context10["catch"](2);
if (!(_context10.t0 instanceof _forestadminClient.EmptySQLQueryError || _context10.t0 instanceof _forestadminClient.NonSelectSQLQueryError || _context10.t0 instanceof _forestadminClient.ChainedSQLQueryError)) {
_context10.next = 14;
break;
}
throw new _badRequestError["default"](_context10.t0.message);
case 14:
throw _context10.t0;
case 15:
case "end":

@@ -388,3 +407,3 @@ return _context10.stop();

}
}, _callee10, this);
}, _callee10, this, [[2, 10]]);
}));

@@ -391,0 +410,0 @@

@@ -9,2 +9,4 @@ "use strict";

var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
var _ = require('lodash');

@@ -21,2 +23,6 @@

var parseFiltersString = function parseFiltersString(filtersString) {
if ((0, _typeof2["default"])(filtersString) === 'object') {
return filtersString;
}
try {

@@ -23,0 +29,0 @@ return filtersString ? JSON.parse(filtersString) : null;

{
"name": "forest-express",
"description": "Official package for all Forest Express Lianas",
"version": "10.0.0-beta.1",
"version": "10.0.0-beta.2",
"author": "Sandro Munda <sandro@munda.me>",

@@ -31,3 +31,3 @@ "contributors": [

"@forestadmin/context": "1.31.0",
"@forestadmin/forestadmin-client": "1.0.0-alpha.1",
"@forestadmin/forestadmin-client": "1.0.0-alpha.2",
"base32-encode": "1.1.1",

@@ -34,0 +34,0 @@ "bitwise-xor": "0.0.0",

Sorry, the diff of this file is too big to display

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