abstract-leveldown
Advanced tools
Comparing version 2.7.2 to 3.0.0
interface AbstractLevelDOWN<K=any, V=any, O=any, PO=any, GO=any, DO=any, IO=any, BO=any> { | ||
open(callback: (err?: any) => void); | ||
open(options: O, callback: (err?: any) => void); | ||
open(callback: (err?: any) => void): void; | ||
open(options: O, callback: (err?: any) => void): void; | ||
close(callback: (err?: any) => void); | ||
close(callback: (err?: any) => void): void; | ||
get(key: K, callback: (err, value: V) => any); | ||
get(key: K, options: GO, callback: (err, value: V) => any); | ||
get(key: K, callback: (err: any, value: V) => any): void; | ||
get(key: K, options: GO, callback: (err: any, value: V) => any): void; | ||
put(key: K, value: V, callback: (err: any) => any); | ||
put(key: K, value: V, options: PO, callback: (err: any) => any); | ||
put(key: K, value: V, callback: (err: any) => any): void; | ||
put(key: K, value: V, options: PO, callback: (err: any) => any): void; | ||
del(key: K, callback: (err: any) => any); | ||
del(key: K, options: DO, callback: (err: any) => any); | ||
del(key: K, callback: (err: any) => any): void; | ||
del(key: K, options: DO, callback: (err: any) => any): void; | ||
batch(): AbstractChainedBatch<K, V, BO>; | ||
batch(array: Batch<K, V>[], callback: (err: any) => any); | ||
batch(array: Batch<K, V>[], options: BO, callback: (err: any) => any); | ||
batch(array: Batch<K, V>[], callback: (err: any) => any): AbstractChainedBatch<K, V, BO>; | ||
batch(array: Batch<K, V>[], options: BO, callback: (err: any) => any): AbstractChainedBatch<K, V, BO>; | ||
@@ -85,2 +85,2 @@ iterator(options?: IO & AbstractIteratorOptions<K>): AbstractIterator<K, V>; | ||
export const AbstractChainedBatch: AbstractChainedBatchConstructor | ||
export function isLevelDOWN(db: any): boolean; | ||
export function isLevelDOWN(db: any): boolean; |
{ | ||
"name": "abstract-leveldown", | ||
"description": "An abstract prototype matching the LevelDOWN API", | ||
"version": "2.7.2", | ||
"version": "3.0.0", | ||
"contributors": [ | ||
@@ -47,3 +47,6 @@ "Rod Vagg <r@va.gg> (https://github.com/rvagg)", | ||
}, | ||
"license": "MIT" | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=4" | ||
} | ||
} |
@@ -7,2 +7,3 @@ # abstract-leveldown | ||
[![npm](https://img.shields.io/npm/v/abstract-leveldown.svg)](https://www.npmjs.com/package/abstract-leveldown) | ||
![Node version](https://img.shields.io/node/v/abstract-leveldown.svg) | ||
[![Travis](https://travis-ci.org/Level/abstract-leveldown.svg?branch=master)](http://travis-ci.org/Level/abstract-leveldown) | ||
@@ -9,0 +10,0 @@ [![david](https://david-dm.org/Level/abstract-leveldown.svg)](https://david-dm.org/level/abstract-leveldown) |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
134449
28
3161
159
1