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

memdown

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memdown - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

3

memdown.js

@@ -63,2 +63,5 @@ var util = require('util')

function MemDOWN (location) {
if (!(this instanceof MemDOWN))
return new MemDOWN(location)
AbstractLevelDOWN.call(this, location)

@@ -65,0 +68,0 @@ this._store = {}

2

package.json
{
"name" : "memdown"
, "description" : "An drop-in replacement for LevelDOWN that works in memory only"
, "version" : "0.3.0"
, "version" : "0.4.0"
, "homepage" : "https://github.com/rvagg/node-memdown"

@@ -6,0 +6,0 @@ , "authors" : [

@@ -7,27 +7,23 @@ var test = require('tape')

, factory = function (location) {
return new MemDOWN(location)
}
/*** compatibility with basic LevelDOWN API ***/
require('abstract-leveldown/abstract/leveldown-test').args(factory, test, testCommon)
require('abstract-leveldown/abstract/leveldown-test').args(MemDOWN, test, testCommon)
require('abstract-leveldown/abstract/open-test').args(factory, test, testCommon)
require('abstract-leveldown/abstract/open-test').open(factory, test, testCommon)
require('abstract-leveldown/abstract/open-test').args(MemDOWN, test, testCommon)
require('abstract-leveldown/abstract/open-test').open(MemDOWN, test, testCommon)
require('abstract-leveldown/abstract/del-test').all(factory, test, testCommon)
require('abstract-leveldown/abstract/del-test').all(MemDOWN, test, testCommon)
require('abstract-leveldown/abstract/get-test').all(factory, test, testCommon)
require('abstract-leveldown/abstract/get-test').all(MemDOWN, test, testCommon)
require('abstract-leveldown/abstract/put-test').all(factory, test, testCommon)
require('abstract-leveldown/abstract/put-test').all(MemDOWN, test, testCommon)
require('abstract-leveldown/abstract/put-get-del-test').all(factory, test, testCommon, testBuffer, process.browser && Uint8Array)
require('abstract-leveldown/abstract/put-get-del-test').all(MemDOWN, test, testCommon, testBuffer, process.browser && Uint8Array)
require('abstract-leveldown/abstract/batch-test').all(factory, test, testCommon)
require('abstract-leveldown/abstract/chained-batch-test').all(factory, test, testCommon)
require('abstract-leveldown/abstract/batch-test').all(MemDOWN, test, testCommon)
require('abstract-leveldown/abstract/chained-batch-test').all(MemDOWN, test, testCommon)
require('abstract-leveldown/abstract/close-test').close(factory, test, testCommon)
require('abstract-leveldown/abstract/close-test').close(MemDOWN, test, testCommon)
require('abstract-leveldown/abstract/iterator-test').all(factory, test, testCommon)
require('abstract-leveldown/abstract/iterator-test').all(MemDOWN, test, testCommon)

@@ -34,0 +30,0 @@ test('unsorted entry, sorted iterator', function (t) {

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