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

jembadb

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jembadb - npm Package Compare versions

Comparing version 4.2.0 to 4.3.0

2

package.json
{
"name": "jembadb",
"version": "4.2.0",
"version": "4.3.0",
"description": "Json Embeddable Appendable Database",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -485,2 +485,4 @@ 'use strict';

query = {
exclude: String || Array, do not open excluded tables
//table open params
type: 'basic' | 'memory' | 'sharded', default 'basic'

@@ -494,2 +496,3 @@ cacheSize: Number, 5

forceFileClosing: Boolean, false,
typeCompatMode: Boolean, false,
}

@@ -501,14 +504,19 @@ */

const tables = await this._getTableList();
let excluded = new Set();
if (query.exclude) {
excluded = new Set(utils.paramToArray(query.exclude));
query = utils.cloneDeep(query);
delete query.exclude;
}
//sequentially
for (const table of tables) {
if (excluded.has(table))
continue;
this._checkOpened();
await this.open(Object.assign({}, query, {table}));
}
/*const promises = [];
for (const table of tables) {
promises.push(this.open(Object.assign({}, query, {table})));
}
await Promise.all(promises);*/
}

@@ -515,0 +523,0 @@

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