level-spaces
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -112,7 +112,11 @@ var levelup = require('levelup') | ||
if (!options.reverse) { | ||
options.gte = options.start || '\x00' | ||
options.lte = options.end || '\x7f' | ||
if (options.gte == null) | ||
options.gte = options.start || '\x00' | ||
if (options.lte == null) | ||
options.lte = options.end || '\x7f' | ||
} else { | ||
options.gte = options.end || '\x00' | ||
options.lte = options.start || '\x7f' | ||
if (options.gte == null) | ||
options.gte = options.end || '\x00' | ||
if (options.lte == null) | ||
options.lte = options.start || '\x7f' | ||
} | ||
@@ -151,4 +155,3 @@ delete options.start | ||
if (err) | ||
return next(err, key, value, callback) | ||
return next(err, key && decode(key), value, callback) | ||
next(err, decode(key), value, callback) | ||
@@ -155,0 +158,0 @@ } |
{ | ||
"name": "level-spaces", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Namespaced LevelUP instances", | ||
@@ -5,0 +5,0 @@ "main": "level-spaces.js", |
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
36048
795