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

sublevel-pouchdb

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sublevel-pouchdb - npm Package Compare versions

Comparing version 6.0.4 to 6.0.5

8

lib/index.js

@@ -142,4 +142,4 @@ 'use strict';

function NotFoundError(reason) {
Error.call(this, reason);
function NotFoundError() {
Error.call(this);
}

@@ -154,2 +154,4 @@

var NOT_FOUND_ERROR = new NotFoundError();
var sublevel = function (nut, prefix, createStream, options) {

@@ -243,3 +245,3 @@ var emitter = new EventEmitter();

if (err) {
cb(new NotFoundError(err));
cb(NOT_FOUND_ERROR);
} else {

@@ -246,0 +248,0 @@ cb(null, value);

{
"name": "sublevel-pouchdb",
"version": "6.0.4",
"version": "6.0.5",
"description": "Fork of level-sublevel with ony the subset of the API that PouchDB uses",

@@ -15,9 +15,2 @@ "main": "./lib/index.js",

],
"dependencies": {
"inherits": "2.0.1",
"level-codec": "6.2.0",
"ltgt": "2.1.2",
"pull-stream": "3.4.5",
"readable-stream": "1.0.33"
},
"contributors": [

@@ -28,3 +21,9 @@ {

}
]
],
"dependencies": {
"inherits": "2.0.3",
"level-codec": "6.2.0",
"ltgt": "2.1.2",
"readable-stream": "1.0.33"
}
}
import inherits from 'inherits';
function NotFoundError(reason) {
Error.call(this, reason);
function NotFoundError() {
Error.call(this);
}

@@ -6,0 +6,0 @@

@@ -7,2 +7,4 @@ import events from 'events';

var NOT_FOUND_ERROR = new NotFoundError();
var sublevel = function (nut, prefix, createStream, options) {

@@ -96,3 +98,3 @@ var emitter = new EventEmitter();

if (err) {
cb(new NotFoundError(err));
cb(NOT_FOUND_ERROR);
} else {

@@ -99,0 +101,0 @@ cb(null, value);

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