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.2.1 to 0.2.2

17

abstract/open-test.js

@@ -28,3 +28,3 @@ module.exports.setUp = function (test, testCommon) {

module.exports.open = function (leveldown, test, testCommon) {
test('test database open', function (t) {
test('test database open, no options', function (t) {
var db = leveldown(testCommon.location())

@@ -41,2 +41,16 @@

test('test database open, options', function (t) {
var db = leveldown(testCommon.location())
// default createIfMissing=true, errorIfExists=false
db.open({}, function (err) {
t.notOk(err, 'no error')
db.close(function () {
t.end()
})
})
})
}
module.exports.openAdvanced = function (leveldown, test, testCommon) {
test('test database open createIfMissing:false', function (t) {

@@ -82,3 +96,4 @@ var db = leveldown(testCommon.location())

module.exports.open(leveldown, test, testCommon)
module.exports.openAdvanced(leveldown, test, testCommon)
module.exports.tearDown(test, testCommon)
}

2

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

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

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