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

@adiwajshing/keyed-db

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adiwajshing/keyed-db - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

2

lib/KeyedDB.js

@@ -74,3 +74,3 @@ "use strict";

const presentKey = this.firstIndex(v);
if (presentKey >= 0 && presentKey <= this.length)
if (this.array[presentKey] && this.key.key(this.array[presentKey]) === this.key.key(v))
return;

@@ -77,0 +77,0 @@ this.insert(v);

{
"name": "@adiwajshing/keyed-db",
"version": "0.2.2",
"version": "0.2.3",
"description": "Lightweight library to store an in-memory DB",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/adiwajshing/keyed-db",

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