pouchdb-core
Advanced tools
Comparing version 7.2.1 to 7.2.2
@@ -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", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
91529
+ Addedbuffer-from@1.1.1(transitive)
+ Addedfetch-cookie@0.10.1(transitive)
+ Addedimmediate@3.3.0(transitive)
+ Addednode-fetch@2.6.0(transitive)
+ Addedpouchdb-binary-utils@7.2.2(transitive)
+ Addedpouchdb-changes-filter@7.2.2(transitive)
+ Addedpouchdb-collate@7.2.2(transitive)
+ Addedpouchdb-collections@7.2.2(transitive)
+ Addedpouchdb-errors@7.2.2(transitive)
+ Addedpouchdb-fetch@7.2.2(transitive)
+ Addedpouchdb-md5@7.2.2(transitive)
+ Addedpouchdb-merge@7.2.2(transitive)
+ Addedpouchdb-selector-core@7.2.2(transitive)
+ Addedpouchdb-utils@7.2.2(transitive)
+ Addedquerystringify@2.2.0(transitive)
+ Addedrequires-port@1.0.0(transitive)
+ Addedspark-md5@3.0.1(transitive)
+ Addedtough-cookie@4.1.4(transitive)
+ Addeduniversalify@0.2.0(transitive)
+ Addedurl-parse@1.5.10(transitive)
+ Addeduuid@8.1.0(transitive)
- Removedbuffer-from@1.1.0(transitive)
- Removedes6-denodeify@0.1.5(transitive)
- Removedfetch-cookie@0.7.3(transitive)
- Removedimmediate@3.0.6(transitive)
- Removednode-fetch@2.4.1(transitive)
- Removedpouchdb-binary-utils@7.2.1(transitive)
- Removedpouchdb-changes-filter@7.2.1(transitive)
- Removedpouchdb-collate@7.2.1(transitive)
- Removedpouchdb-collections@7.2.1(transitive)
- Removedpouchdb-errors@7.2.1(transitive)
- Removedpouchdb-fetch@7.2.1(transitive)
- Removedpouchdb-md5@7.2.1(transitive)
- Removedpouchdb-merge@7.2.1(transitive)
- Removedpouchdb-selector-core@7.2.1(transitive)
- Removedpouchdb-utils@7.2.1(transitive)
- Removedspark-md5@3.0.0(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removeduuid@3.3.3(transitive)
Updatedpouchdb-changes-filter@7.2.2
Updatedpouchdb-collections@7.2.2
Updatedpouchdb-errors@7.2.2
Updatedpouchdb-fetch@7.2.2
Updatedpouchdb-merge@7.2.2
Updatedpouchdb-utils@7.2.2