Comparing version 0.5.0-1 to 0.5.1
{ | ||
"name": "levelup", | ||
"version": "0.5.0-1", | ||
"version": "0.5.1", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "errno": { |
@@ -24,3 +24,3 @@ { | ||
] | ||
, "version" : "0.5.0-1" | ||
, "version" : "0.5.1" | ||
, "main" : "lib/levelup.js" | ||
@@ -27,0 +27,0 @@ , "dependencies" : { |
@@ -38,3 +38,3 @@ /* Copyright (c) 2012-2013 LevelUP contributors | ||
assert.isObject(db) | ||
assert.isFalse(db._options.createIfMissing) | ||
assert.isTrue(db._options.createIfMissing) | ||
assert.isFalse(db._options.errorIfExists) | ||
@@ -93,3 +93,3 @@ assert.equals(db._location, location) | ||
, 'open() with !createIfMissing expects error': function (done) { | ||
levelup(this.cleanupDirs[0] = common.nextLocation(), function (err, db) { | ||
levelup(this.cleanupDirs[0] = common.nextLocation(), { createIfMissing: false }, function (err, db) { | ||
assert(err) | ||
@@ -96,0 +96,0 @@ refute(db) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2961400