@adiwajshing/keyed-db
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -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) |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11836
221