level-sublevel
Advanced tools
Comparing version 6.3.13 to 6.3.14
21
nut.js
var hooks = require('./hooks') | ||
var ltgt = require('ltgt') | ||
@@ -154,22 +155,4 @@ function isFunction (f) { | ||
if(has(opts, 'start') || has(opts, 'end')) { | ||
if(opts.reverse) { | ||
opts.lte = encodeKey(opts.start || upper) | ||
opts.gte = encodeKey(opts.end || lower) | ||
} else { | ||
opts.gte = encodeKey(opts.start || lower) | ||
opts.lte = encodeKey(opts.end || upper) | ||
} | ||
delete opts.start | ||
delete opts.end | ||
} else { | ||
if(has(opts, 'min')) opts.gte = opts.min | ||
if(has(opts, 'max')) opts.lte = opts.max | ||
ltgt.toLtgt(opts, opts, encodeKey) | ||
if(has(opts, 'lte')) opts.lte = encodeKey(opts.lte) | ||
if(has(opts, 'lt')) opts.lt = encodeKey(opts.lt) | ||
if(has(opts, 'gt')) opts.gt = encodeKey(opts.gt) | ||
if(has(opts, 'gte')) opts.gte = encodeKey(opts.gte) | ||
} | ||
if(!has(opts, 'lte') && !has(opts, 'lt')) | ||
@@ -176,0 +159,0 @@ opts.lte = encodeKey(upper) |
{ | ||
"name": "level-sublevel", | ||
"description": "partition levelup databases", | ||
"version": "6.3.13", | ||
"version": "6.3.14", | ||
"homepage": "https://github.com/dominictarr/level-sublevel", | ||
@@ -12,3 +12,3 @@ "repository": { | ||
"pull-stream": "~2.21.0", | ||
"ltgt": "~1.0.2", | ||
"ltgt": "~1.1.0", | ||
"levelup": "~0.19.0", | ||
@@ -15,0 +15,0 @@ "xtend": "~4.0.0", |
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
76409
2291
+ Addedltgt@1.1.0(transitive)
- Removedltgt@1.0.2(transitive)
Updatedltgt@~1.1.0