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

@cubejs-backend/shared

Package Overview
Dependencies
Maintainers
3
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubejs-backend/shared - npm Package Compare versions

Comparing version 0.33.21 to 0.33.24

12

dist/src/env.js

@@ -43,6 +43,2 @@ "use strict";

/**
* Multiple data sources cache.
*/
let dataSourcesCache;
/**
* Determines whether multiple data sources were declared or not.

@@ -52,4 +48,3 @@ */

// eslint-disable-next-line no-use-before-define
dataSourcesCache = dataSourcesCache || getEnv('dataSources');
return dataSourcesCache.length > 0;
return getEnv('dataSources').length > 0;
}

@@ -64,4 +59,5 @@ /**

return dataSource;
// eslint-disable-next-line no-use-before-define
}
else if (dataSourcesCache.indexOf(dataSource) >= 0) {
else if (getEnv('dataSources').indexOf(dataSource) >= 0) {
return dataSource;

@@ -163,3 +159,3 @@ }

.asString(),
concurrency: () => (0, env_var_1.get)('CUBEJS_CONCURRENCY').asInt(),
concurrency: ({ dataSource, }) => (0, env_var_1.get)(keyByDataSource('CUBEJS_CONCURRENCY', dataSource)).asInt(),
// It's only excepted for CI, nothing else.

@@ -166,0 +162,0 @@ internalExceptions: () => (0, env_var_1.get)('INTERNAL_EXCEPTIONS_YOU_WILL_BE_FIRED')

{
"name": "@cubejs-backend/shared",
"version": "0.33.21",
"version": "0.33.24",
"description": "Shared code for Cube.js backend packages",

@@ -74,3 +74,3 @@ "main": "dist/src/index.js",

},
"gitHead": "c20bb62bf3bd7708ffc99b937a8e13cc60a075e7"
"gitHead": "fa91de68635017a8a19a2f615985d77621de16b9"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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