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

pouchdb-replication

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-replication - npm Package Compare versions

Comparing version 5.4.4 to 5.4.5

9

lib/index.js

@@ -199,5 +199,10 @@ 'use strict';

returnValue.state = 'stopped';
returnValue.once('active', function () {
var backOffSet = function backoffTimeSet() {
opts.current_back_off = STARTING_BACK_OFF;
});
};
var removeBackOffSetter = function removeBackOffTimeSet() {
returnValue.removeListener('active', backOffSet);
};
returnValue.once('paused', removeBackOffSetter);
returnValue.once('active', backOffSet);
}

@@ -204,0 +209,0 @@

{
"name": "pouchdb-replication",
"version": "5.4.4",
"version": "5.4.5",
"description": "PouchDB's replication and sync algorithm, as a plugin.",

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

"pouchdb-collate": "1.2.0",
"pouchdb-checkpointer": "5.4.4",
"pouchdb-errors": "5.4.4",
"pouchdb-generate-replication-id": "5.4.4",
"pouchdb-promise": "5.4.4",
"pouchdb-utils": "5.4.4"
"pouchdb-checkpointer": "5.4.5",
"pouchdb-errors": "5.4.5",
"pouchdb-generate-replication-id": "5.4.5",
"pouchdb-promise": "5.4.5",
"pouchdb-utils": "5.4.5"
}
}

@@ -18,5 +18,10 @@ var STARTING_BACK_OFF = 0;

returnValue.state = 'stopped';
returnValue.once('active', function () {
var backOffSet = function backoffTimeSet() {
opts.current_back_off = STARTING_BACK_OFF;
});
};
var removeBackOffSetter = function removeBackOffTimeSet() {
returnValue.removeListener('active', backOffSet);
};
returnValue.once('paused', removeBackOffSetter);
returnValue.once('active', backOffSet);
}

@@ -29,2 +34,2 @@

export default backOff;
export default backOff;
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