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.1.7 to 6.1.8

2

package.json
{
"name": "level-sublevel",
"description": "partition levelup databases",
"version": "6.1.7",
"version": "6.1.8",
"homepage": "https://github.com/dominictarr/level-sublevel",

@@ -6,0 +6,0 @@ "repository": {

@@ -99,5 +99,4 @@ var EventEmitter = require('events').EventEmitter

nut.get(key, prefix, mergeOpts(opts), function (err, value) {
if(err) cb(err)
else if(value) cb(null, value)
else cb(new errors.NotFoundError())
if(err) cb(new errors.NotFoundError('Key not found in database', err))
else cb(null, value)
})

@@ -104,0 +103,0 @@ }

@@ -13,2 +13,3 @@ var tape = require('tape')

t.notOk(value)
t.equal(err.name, 'NotFoundError')
t.end()

@@ -15,0 +16,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