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

@peerbit/indexer-simple

Package Overview
Dependencies
Maintainers
0
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peerbit/indexer-simple - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

dist/src/index.js

@@ -135,6 +135,9 @@ import { deserialize, serialize } from "@dao-xyz/borsh";

let sum = undefined;
for (const doc of await this.queryAll(query)) {
outer: for (const doc of await this.queryAll(query)) {
let value = doc.value;
for (const path of query.key) {
value = value[path];
if (!value) {
continue outer;
}
}

@@ -141,0 +144,0 @@ if (typeof value === "number") {

4

package.json
{
"name": "@peerbit/indexer-simple",
"version": "1.0.0",
"version": "1.0.1",
"description": "Simple in memory index for document store",

@@ -64,4 +64,4 @@ "sideEffects": false,

"devDependencies": {
"@peerbit/indexer-tests": "^1.0.0"
"@peerbit/indexer-tests": "^1.0.1"
}
}

@@ -170,6 +170,9 @@ import { deserialize, serialize } from "@dao-xyz/borsh";

let sum: undefined | number | bigint = undefined;
for (const doc of await this.queryAll(query)) {
outer: for (const doc of await this.queryAll(query)) {
let value: any = doc.value;
for (const path of query.key) {
value = value[path];
if (!value) {
continue outer;
}
}

@@ -176,0 +179,0 @@

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