Socket
Socket
Sign inDemoInstall

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 2.0.1 to 2.0.3

20

abstract/batch-test.js

@@ -166,3 +166,20 @@ var db

}
module.exports.atomic = function (test) {
test('test multiple batch()', function (t) {
t.plan(3)
db.batch([
{ type: 'put', key: 'foobah1', value: 'bar1' }
, { type: 'put', value: 'bar2' }
, { type: 'put', key: 'foobah3', value: 'bar3' }
], function (err) {
t.ok(err, 'should error')
db.get('foobah1', function (err) {
t.ok(err, 'should not be found')
})
db.get('foobah3', function (err) {
t.ok(err, 'should not be found')
})
})
})
}
module.exports.tearDown = function (test, testCommon) {

@@ -178,3 +195,4 @@ test('tearDown', function (t) {

module.exports.batch(test)
module.exports.atomic(test)
module.exports.tearDown(test, testCommon)
}

2

package.json
{
"name": "abstract-leveldown",
"description": "An abstract prototype matching the LevelDOWN API",
"version": "2.0.1",
"version": "2.0.3",
"contributors": [

@@ -6,0 +6,0 @@ "Rod Vagg <r@va.gg> (https://github.com/rvagg)",

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