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.2 to 0.2.3

16

abstract/open-test.js

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

module.exports.open = function (leveldown, test, testCommon) {
test('test database open, no options', function (t) {
test('test database open, options and callback', 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()
})
})
})
test('test database open, options', function (t) {
var db = leveldown(testCommon.location())
// default createIfMissing=true, errorIfExists=false
db.open({}, function (err) {

@@ -70,3 +58,3 @@ t.notOk(err, 'no error')

// make a valid database first, then close and dispose
db.open(function (err) {
db.open({}, function (err) {
t.notOk(err, 'no error')

@@ -73,0 +61,0 @@ db.close(function (err) {

2

package.json
{
"name" : "abstract-leveldown"
, "description" : "An abstract prototype matching the LevelDOWN API"
, "version" : "0.2.2"
, "version" : "0.2.3"
, "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