Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

level-sublevel

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

level-sublevel - npm Package Compare versions

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)

4

package.json
{
"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",

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