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

pouchdb-core

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-core - npm Package Compare versions

Comparing version 7.2.1 to 7.2.2

18

lib/index.es.js

@@ -7,7 +7,7 @@ import { Map } from 'pouchdb-collections';

import inherits from 'inherits';
import { EventEmitter } from 'events';
import EE from 'events';
import { fetch } from 'pouchdb-fetch';
import pouchChangesFilter from 'pouchdb-changes-filter';
inherits(Changes, EventEmitter);
inherits(Changes, EE);

@@ -24,3 +24,3 @@ function tryCatchInChangeListener(self, change, pending, lastSeq) {

function Changes(db, opts, callback) {
EventEmitter.call(this);
EE.call(this);
var self = this;

@@ -334,6 +334,6 @@ this.db = db;

inherits(AbstractPouchDB, EventEmitter);
inherits(AbstractPouchDB, EE);
function AbstractPouchDB() {
EventEmitter.call(this);
EE.call(this);

@@ -1317,7 +1317,7 @@ // re-bind prototyped methods

var eventEmitter = new EventEmitter();
var eventEmitter = new EE();
function setUpEventEmitter(Pouch) {
Object.keys(EventEmitter.prototype).forEach(function (key) {
if (typeof EventEmitter.prototype[key] === 'function') {
Object.keys(EE.prototype).forEach(function (key) {
if (typeof EE.prototype[key] === 'function') {
Pouch[key] = eventEmitter[key].bind(eventEmitter);

@@ -1436,3 +1436,3 @@ }

// managed automatically by set-version.js
var version = "7.2.1";
var version = "7.2.2";

@@ -1439,0 +1439,0 @@ // TODO: remove from pouchdb-core (breaking)

@@ -11,7 +11,7 @@ 'use strict';

var inherits = _interopDefault(require('inherits'));
var events = require('events');
var EE = _interopDefault(require('events'));
var pouchdbFetch = require('pouchdb-fetch');
var pouchChangesFilter = _interopDefault(require('pouchdb-changes-filter'));
inherits(Changes, events.EventEmitter);
inherits(Changes, EE);

@@ -28,3 +28,3 @@ function tryCatchInChangeListener(self, change, pending, lastSeq) {

function Changes(db, opts, callback) {
events.EventEmitter.call(this);
EE.call(this);
var self = this;

@@ -338,6 +338,6 @@ this.db = db;

inherits(AbstractPouchDB, events.EventEmitter);
inherits(AbstractPouchDB, EE);
function AbstractPouchDB() {
events.EventEmitter.call(this);
EE.call(this);

@@ -1321,7 +1321,7 @@ // re-bind prototyped methods

var eventEmitter = new events.EventEmitter();
var eventEmitter = new EE();
function setUpEventEmitter(Pouch) {
Object.keys(events.EventEmitter.prototype).forEach(function (key) {
if (typeof events.EventEmitter.prototype[key] === 'function') {
Object.keys(EE.prototype).forEach(function (key) {
if (typeof EE.prototype[key] === 'function') {
Pouch[key] = eventEmitter[key].bind(eventEmitter);

@@ -1440,3 +1440,3 @@ }

// managed automatically by set-version.js
var version = "7.2.1";
var version = "7.2.2";

@@ -1443,0 +1443,0 @@ // TODO: remove from pouchdb-core (breaking)

{
"name": "pouchdb-core",
"version": "7.2.1",
"version": "7.2.2",
"description": "The core of PouchDB as a standalone package.",

@@ -14,8 +14,8 @@ "main": "./lib/index.js",

"inherits": "2.0.4",
"pouchdb-changes-filter": "7.2.1",
"pouchdb-collections": "7.2.1",
"pouchdb-errors": "7.2.1",
"pouchdb-fetch": "7.2.1",
"pouchdb-merge": "7.2.1",
"pouchdb-utils": "7.2.1"
"pouchdb-changes-filter": "7.2.2",
"pouchdb-collections": "7.2.2",
"pouchdb-errors": "7.2.2",
"pouchdb-fetch": "7.2.2",
"pouchdb-merge": "7.2.2",
"pouchdb-utils": "7.2.2"
},

@@ -22,0 +22,0 @@ "module": "./lib/index.es.js",

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