subleveldown
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -5,2 +5,3 @@ var subdown = require('./subdown') | ||
module.exports = function(db, prefix, opts) { | ||
if (typeof prefix === 'object' && !opts) return module.exports(db, null, prefix) | ||
if (!opts) opts = {} | ||
@@ -7,0 +8,0 @@ |
{ | ||
"name": "subleveldown", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "sublevels implemented using leveldowns", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,3 +30,3 @@ var util = require('util') | ||
var SubDown = function(db, prefix, separator) { | ||
if (!(this instanceof SubDown)) return new SubDown(db, prefix) | ||
if (!(this instanceof SubDown)) return new SubDown(db, prefix, separator) | ||
@@ -33,0 +33,0 @@ if (!prefix) prefix = '' |
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
11070
231