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 3.0.4 to 3.0.5

2

package.json
{
"name": "jembadb",
"version": "3.0.4",
"version": "3.0.5",
"description": "Json Embeddable Appendable Database",

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

@@ -739,6 +739,4 @@ 'use strict';

const shardResult = [];
if (query.count) {
shardResult.push({count: this.infoShard.count});
}
let totalCount = 0;
//select from shards

@@ -758,4 +756,6 @@ for (const shard of selectedShards) {

if (query.count) {
for (const row of rows)
for (const row of rows) {
row.shard = shard;
totalCount += row.count;
}
}

@@ -769,2 +769,6 @@

if (query.count) {
shardResult.unshift({count: totalCount});
}
let result = [].concat(...shardResult);

@@ -771,0 +775,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