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.1.6 to 0.1.7

1

lib/KeyedDB.d.ts

@@ -14,2 +14,3 @@ declare type PaginationMode = 'before' | 'after';

get length(): number;
toJSON(): T[];
insert(value: T): void;

@@ -16,0 +17,0 @@ slice(start: number, end: number): KeyedDB<T>;

@@ -19,2 +19,5 @@ "use strict";

}
toJSON() {
return this.array;
}
insert(value) {

@@ -21,0 +24,0 @@ if (!value)

2

package.json
{
"name": "@adiwajshing/keyed-db",
"version": "0.1.6",
"version": "0.1.7",
"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