pouchdb-merge
Advanced tools
Comparing version 5.4.5 to 6.0.0
@@ -133,2 +133,13 @@ 'use strict'; | ||
// for a better overview of what this is doing, read: | ||
// https://github.com/apache/couchdb-couch/blob/master/src/couch_key_tree.erl | ||
// | ||
// But for a quick intro, CouchDB uses a revision tree to store a documents | ||
// history, A -> B -> C, when a document has conflicts, that is a branch in the | ||
// tree, A -> (B1 | B2 -> C), We store these as a nested array in the format | ||
// | ||
// KeyTree = [Path ... ] | ||
// Path = {pos: position_from_root, ids: Tree} | ||
// Tree = [Key, Opts, [Tree, ...]], in particular single node: [Key, []] | ||
function sortByPos$1(a, b) { | ||
@@ -135,0 +146,0 @@ return a.pos - b.pos; |
{ | ||
"name": "pouchdb-merge", | ||
"version": "5.4.5", | ||
"version": "6.0.0", | ||
"description": "PouchDB's document merge algorithm.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.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
37101
770