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

reveal-sdk-node

Package Overview
Dependencies
Maintainers
0
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reveal-sdk-node - npm Package Compare versions

Comparing version 1.7.1-rc.1 to 1.7.1-rc.2

5

lib/dts/index.d.ts

@@ -57,5 +57,2 @@ import { RVDashboardDataSource } from "./sdk-model/AbstractClasses/RVDashboardDataSource";

export declare interface IDataConnector { // tagging interface only
}
export declare type RevealOptions = {

@@ -78,3 +75,3 @@ basePath?: string,

maxFilterSize?: Number,
connectors?: Array<IDataConnector>
dataSources?: Array<string>
}

@@ -81,0 +78,0 @@

19

lib/reveal.js

@@ -299,7 +299,16 @@ const http = require('http');

var registry = [];
var connectors = this.options.connectors;
if (connectors) {
connectors.forEach(conn => {
dsHelper.registerDataSource(conn.identifier, conn.dataSourceClass, conn.dataSourceItemClass); // TODO this registers globally, not just for this server instance.
registry.push(conn.assemblyInfo);
var dataSourcesModules = this.options.dataSources;
if (dataSourcesModules) {
dataSourcesModules.forEach(moduleName => {
const module = moduleName.startsWith('.') // this is something for internal testing.
? require(moduleName)
: require(`@revealbi/data-${moduleName}`);
for (const expKey in module) {
const exp = module[expKey];
if (exp.hasOwnProperty('assemblyInfo')) {
dsHelper.registerDataSource(exp.identifier, exp.dataSourceClass, exp.dataSourceItemClass); // TODO this registers globally, not just for this server instance.
registry.push(exp.assemblyInfo);
}
}
});

@@ -306,0 +315,0 @@ }

{
"name": "reveal-sdk-node",
"description": "RevealBI Node.js SDK",
"version": "1.7.1-rc.1",
"version": "1.7.1-rc.2",
"author": "Infragistics Inc.",

@@ -6,0 +6,0 @@ "private": false,

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