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

abstract-leveldown

Package Overview
Dependencies
Maintainers
4
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-leveldown - npm Package Compare versions

Comparing version 2.7.2 to 3.0.0

.npmignore

24

index.d.ts
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

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