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

@forestadmin/datasource-customizer

Package Overview
Dependencies
Maintainers
0
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forestadmin/datasource-customizer - npm Package Compare versions

Comparing version 1.57.1 to 1.58.0

6

dist/decorators/segment/collection.js

@@ -50,5 +50,5 @@ "use strict";

if (liveQuerySegment) {
const { query, connectionName } = liveQuerySegment;
const { query, connectionName, contextVariables } = liveQuerySegment;
try {
const result = (await this.dataSource.executeNativeQuery(connectionName, query, {}));
const result = (await this.dataSource.executeNativeQuery(connectionName, query, contextVariables));
const [primaryKey] = datasource_toolkit_1.SchemaUtils.getPrimaryKeys(this.childCollection.schema);

@@ -67,2 +67,2 @@ const conditionTree = new datasource_toolkit_1.ConditionTreeLeaf(primaryKey, 'In', result.map(row => row[primaryKey]));

exports.default = SegmentCollectionDecorator;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kZWNvcmF0b3JzL3NlZ21lbnQvY29sbGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHdFQVd5QztBQUd6QywwRkFBOEU7QUFFOUUsTUFBcUIsMEJBQTJCLFNBQVEsd0NBQW1CO0lBQTNFOztRQUNVLGFBQVEsR0FBMEMsRUFBRSxDQUFDO0lBdUYvRCxDQUFDO0lBckZDLFVBQVUsQ0FBQyxXQUFtQixFQUFFLFVBQTZCO1FBQzNELElBQUksQ0FBQyxRQUFRLENBQUMsV0FBVyxDQUFDLEdBQUcsVUFBVSxDQUFDO1FBQ3hDLElBQUksQ0FBQyxpQkFBaUIsRUFBRSxDQUFDO0lBQzNCLENBQUM7SUFFa0IsWUFBWSxDQUFDLFNBQTJC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MkNBQXNCLENBQUMsUUFBUSxDQUFDLGFBQWEsRUFBRSxJQUFJLENBQUMsQ0FBQztnQkFFckQsT0FBTyxhQUFhLENBQUM7YUFDdEI7WUFBQyxPQUFPLEtBQUssRUFBRTtnQkFDZCxNQUFNLElBQUksa0NBQWEsQ0FDckIsaUVBQWlFLEtBQUssQ0FBQyxPQUFPLEVBQUUsRUFDaEYsS0FBSyxDQUNOLENBQUM7YUFDSDtTQUNGO1FBRUQsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0NBQ0Y7QUF4RkQsNkNBd0ZDIn0=
{
"name": "@forestadmin/datasource-customizer",
"version": "1.57.1",
"version": "1.58.0",
"main": "dist/index.js",

@@ -32,3 +32,3 @@ "license": "GPL-3.0",

"dependencies": {
"@forestadmin/datasource-toolkit": "1.45.1",
"@forestadmin/datasource-toolkit": "1.46.0",
"antlr4": "^4.13.1-patch-1",

@@ -35,0 +35,0 @@ "file-type": "^16.5.4",

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