)]}'
{
  "commit": "e4cc8905354489be9a6310cc948bf4d8e64bd56e",
  "tree": "4867ed03b8342bbf0dc4330db1e1dec8e908d58b",
  "parents": [
    "9519c748c48cbac41451039765c758e5987bbc57"
  ],
  "author": {
    "name": "Johannes Jörg Schmidt",
    "email": "schmidt@pm.me",
    "time": "Sat May 21 00:12:02 2022 +0200"
  },
  "committer": {
    "name": "Johannes Jörg Schmidt",
    "email": "schmidt@pm.me",
    "time": "Sat May 21 09:19:51 2022 +0200"
  },
  "message": "fix: active task total items calculation\n\nUpdate sequences can be strings, e.g.\n`2342-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVB4LkGRoAFL_gSArgzmJgYFlQi5QjN0wydgsMS0Jm1Y8BiYyJNUjTJoGNsnMMC0lLckCm54sAOFdKgw`\n(and are always strings in clustered CouchDB since v2) and therefore\ncannot be subtracted. This uses `parseInt(seq, 10)` to get an integer\nfrom the sequence number or sequence string. Note that `parseInt` will\nignore the appendix (is that even specified anywhere?) and also works\nwith integers.\n\nIn reality, this is not even accurate. Because eg changing the\n`_security` object in an Apache CouchDB database also changes the\nsequence, even though no document change has been written. Therefore,\nthe sequence arithmetic is insufficient for counting document changes.\nBut normally the active task is used for progress display purposes, so\nthis might suffice as a rough approximation.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "53958a331b0e6b8ee2f3f3abea54d1e50c9bec82",
      "old_mode": 33188,
      "old_path": "packages/node_modules/pouchdb-replication/src/replicate.js",
      "new_id": "57fd7826cf99731c61dfd09a2b904ca3f71aad94",
      "new_mode": 33188,
      "new_path": "packages/node_modules/pouchdb-replication/src/replicate.js"
    }
  ]
}
