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

abstract-leveldown

Package Overview
Dependencies
Maintainers
1
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 0.6.1 to 0.7.0

5

abstract-chained-batch.js

@@ -33,2 +33,7 @@ /* Copyright (c) 2013 Rod Vagg, MIT License */

AbstractChainedBatch.prototype.clear = function () {
this._operations = []
return this
}
AbstractChainedBatch.prototype.write = function (options, callback) {

@@ -35,0 +40,0 @@ if (typeof options == 'function')

@@ -92,2 +92,7 @@ var db

test('test batch#clear() doesn\'t throw', function (t) {
db.batch().clear()
t.end()
})
test('test batch#write() with no callback', function (t) {

@@ -116,2 +121,6 @@ try {

db.batch()
.put('1', 'one')
.del('2', 'two')
.put('3', 'three')
.clear()
.put('one', 'I')

@@ -118,0 +127,0 @@ .put('two', 'II')

2

package.json
{
"name" : "abstract-leveldown"
, "description" : "An abstract prototype matching the LevelDOWN API"
, "version" : "0.6.1"
, "version" : "0.7.0"
, "homepage" : "https://github.com/rvagg/node-abstract-leveldown"

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

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