pouchdb-replication
Advanced tools
Comparing version 5.4.4 to 5.4.5
@@ -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; |
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
66441
1744
+ Addedpouchdb-binary-utils@5.4.5(transitive)
+ Addedpouchdb-checkpointer@5.4.5(transitive)
+ Addedpouchdb-errors@5.4.5(transitive)
+ Addedpouchdb-generate-replication-id@5.4.5(transitive)
+ Addedpouchdb-md5@5.4.5(transitive)
+ Addedpouchdb-promise@5.4.5(transitive)
+ Addedpouchdb-utils@5.4.5(transitive)
- Removedpouchdb-binary-utils@5.4.4(transitive)
- Removedpouchdb-checkpointer@5.4.4(transitive)
- Removedpouchdb-errors@5.4.4(transitive)
- Removedpouchdb-generate-replication-id@5.4.4(transitive)
- Removedpouchdb-md5@5.4.4(transitive)
- Removedpouchdb-promise@5.4.4(transitive)
- Removedpouchdb-utils@5.4.4(transitive)
Updatedpouchdb-checkpointer@5.4.5
Updatedpouchdb-errors@5.4.5
Updatedpouchdb-promise@5.4.5
Updatedpouchdb-utils@5.4.5