{"_id":"@bc443e/mongoose-diff-history","_rev":"8-31cf28362e1c05ea4502eecef960c5da","name":"@bc443e/mongoose-diff-history","dist-tags":{"latest":"2.4.4"},"versions":{"2.2.3":{"name":"@bc443e/mongoose-diff-history","version":"2.2.3","description":"Manage Mongo Collection diff History and versions. Forked from mongoose-diff-history","main":"index.js","directories":{"example":"example","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/bc443e/mongoose-diff-history.git"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"dependencies":{"deep-empty-object":"^1.0.5","jsondiffpatch":"^0.1.38","lodash":"^4.17.15","omit-deep":"git://github.com/izigibran/omit-deep.git#0.4.0","power-assign":"^0.2.10"},"devDependencies":{"bluebird":"^3.5.1","chai":"^3.5.0","commitlint":"^8.3.5","husky":"^4.2.5","istanbul":"^0.4.5","mocha":"^2.5.3","mongoose":"^4.13.9","prettier":"^2.0.5","pretty-quick":"^2.0.1","standard-version":"^7.1.0"},"scripts":{"test":"istanbul cover --report lcov  _mocha tests --recursive","release":"standard-version","publish":"git push --follow-tags origin master && npm publish --access public"},"contributors":[{"name":"Brandon Canaday","email":"bc443e@att.com"},{"name":"George Li","email":"georgejdli@gmail.com"}],"engines":{"node":"*"},"keywords":["mongoose","audit","oplog","diff","history","versioning"],"bugs":{"url":"https://github.com/bc443e/mongoose-diff-history/issues"},"license":"GPL-2.0","homepage":"https://github.com/bc443e/mongoose-diff-history#readme","gitHead":"8a345cb150643bae082db8531003d794ccc3cacc","_id":"@bc443e/mongoose-diff-history@2.2.3","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-eQpwCCnzxbDvTwCiUoFHGpIXL860EYl8VvrTUYm/sO+7BTlNMweTAErm/wotwcNsazmu87mqvPjeTddeOzkD4A==","shasum":"9f4de5b7fb5c5e029076dc88e9db7d802a8b8470","tarball":"https://registry.npmjs.org/@bc443e/mongoose-diff-history/-/mongoose-diff-history-2.2.3.tgz","fileCount":22,"unpackedSize":229289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflxznCRA9TVsSAnZWagAAUMYQAKMn6afw1vaywhCh6guj\ny879fHzLhsjqP8WVW6jgxpCxQoWo8HoJSBN1Jrs+o+soOGFd2IXcWM8PRCRK\nXYb9p8pKiJ4Yzl5JZquXwXkIzyouNiUaRCgY31Lw2xsYfyRSzKlC7jkg6zOa\n8CMc4ikvXI6zgGZz90eBEMddn5zow1VRr8dQaIpAMvmnRzo1R/7Eqk24gLHz\n4e6NZZn9kmROvLxYOOqSK+pAIu0H+SCPItuWsvZtbUx7ibhgORTO89NCyXQG\nqxxlIGgc6N6HGtXgz6/0gEuU44OdBlFX7wIcNH9515UkQb56e0xpYd47jnP9\nmLcltuvwHsXWA+ADlI2/wKy9Z336UlVHmIPPRJLAJpoeifU4z4Yz4BhCCYVy\nGpNqYc9f9DAvdt0miUq6b7MtAqt3rCmX68ZVcqrc77+aMmSWJnA8YxgLqScD\nCwQqeuDQ32HXojwkHHuXhEDFWdVurssNZPuTGYWFzD9nx6BExHFOiaOM6A7C\nOX8zXzz3L9iEhTa/k0WyZV97Ah5E7MRAwx9X2HiqAmMtmY4vp7ynf14Es3rV\n0Qo+CdGJH6nFE7ri9o1r1PQy2qhEHu5zcXcS3qFCD/ymMQE/Pf17Rc8PNtJ2\nfZbWErlFqq+FZqtrA0+6MzeTcjIh1k9TikyR2IRjQQbFvHKvtXY9NZDyp5PT\nSDwR\r\n=JYOn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWak24ouVBv13U4QkxYbhcQfLCFm5eYLjgdNfmdmjv1gIgQDAMs0o0Rke2/0lykmzsCVQM+0JfhFkjkhO9ylDe8sg="}]},"maintainers":[{"name":"bc443e","email":"bc443e@att.com"}],"_npmUser":{"name":"bc443e","email":"bc443e@att.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-diff-history_2.2.3_1603738854666_0.26409040569316566"},"_hasShrinkwrap":false},"2.3.0":{"name":"@bc443e/mongoose-diff-history","version":"2.3.0","description":"Manage Mongo Collection diff History and versions. Forked from mongoose-diff-history","main":"index.js","directories":{"example":"example","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/bc443e/mongoose-diff-history.git"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"dependencies":{"deep-empty-object":"^1.0.5","jsondiffpatch":"^0.1.38","lodash":"^4.17.15","omit-deep":"git://github.com/izigibran/omit-deep.git#0.4.0","power-assign":"^0.2.10"},"devDependencies":{"bluebird":"^3.5.1","chai":"^3.5.0","commitlint":"^8.3.5","husky":"^4.2.5","istanbul":"^0.4.5","mocha":"^2.5.3","mongoose":"^4.13.9","prettier":"^2.0.5","pretty-quick":"^2.0.1","standard-version":"^7.1.0"},"scripts":{"test":"istanbul cover --report lcov  _mocha tests --recursive","release":"standard-version","publish":"git push --follow-tags origin master && npm publish --access public"},"contributors":[{"name":"Brandon Canaday","email":"bc443e@att.com"},{"name":"George Li","email":"georgejdli@gmail.com"}],"engines":{"node":"*"},"keywords":["mongoose","audit","oplog","diff","history","versioning"],"bugs":{"url":"https://github.com/bc443e/mongoose-diff-history/issues"},"license":"GPL-2.0","homepage":"https://github.com/bc443e/mongoose-diff-history#readme","gitHead":"d558b4e991d9121e320d95e0d1c9a079d4ec69ef","_id":"@bc443e/mongoose-diff-history@2.3.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-hqLR5TJiNxKR/B5F5xSl8lNCtUck8x7N1bMl4C2jYvjU7Rslp/LVMWkJgSEscclYVw5CQr+srYmVquamaV6zvQ==","shasum":"f65df6374bd3314df573d2af7c7f56aac7f4879c","tarball":"https://registry.npmjs.org/@bc443e/mongoose-diff-history/-/mongoose-diff-history-2.3.0.tgz","fileCount":22,"unpackedSize":229338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsv8BCRA9TVsSAnZWagAAy40QAIRaJ43/JkpISOmEk6Jh\nmz2h5sG5adLRMW2W/07Eg9WCA4o6oycerfnSzN7YtFhEasv3K0ttL9K+IULz\n/rxCrIVvlHHOjXMPk09TbdvlwSiPsVVYSqd1/fgcLpehr191w67u/SFJn6HV\nifIkyF7NvOn3owJG3qGni/1FG6DdifFLVYWBoSCJ0wQqyb33YgDujPvSKYyX\nUEDd2LfrMQ3xCGhuq2g7eNYP3nboGUKAxAp6wzc273FX93V+4DrFfazrDKFc\nn0TGy4JxW+1DSwmFZLrCR+ARilroULMR+644jnafTd0orqfvwacwI9TyOGHK\ni1p4Rdoq1PtrE6ZFOOnAOGZBOxjoGOrnt8mfqc/Qx/GCtMmh3oXdqM9bQXQJ\n6wvcg1rL0ynIaaYabG7fEnfn+Iy6kQiF4gCRS5ClYCuGSIMUA2v/Swf6aYqv\nmujlHddrDAIRYSG6l03HS6CqnHWw6LXTrXzWvmPSo+phcoALh+W3Bq7gQu+b\nthGsAjeozB/wijNHjQfPO/DdSSlqVl6rTqt1LUqSWQdBTSfqRpqjPaVquqUS\nKpiq+z+3rdUtzjAPaYjIUKaUR6AXYDOzyJbdA5+ilkSW/HXMcXf2p0jGXetx\nVR2vbj6WJ7gXOjDtz5eZbDzzsWA1iCbBMddVcrfrjl8mgv2dbDNcwK07175j\n5xF6\r\n=KsQu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYJNXn9gU/FnL21c7Ne3xB7H9DMhkCDvSCBu+KmGPoMgIgPr4s5Y57GQJWg++71n/BJfnGdSmSg70n3eSuVtwp3rM="}]},"_npmUser":{"name":"bc443e","email":"bc443e@att.com"},"maintainers":[{"name":"bc443e","email":"bc443e@att.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-diff-history_2.3.0_1605566209401_0.5202386053899868"},"_hasShrinkwrap":false},"2.3.1":{"name":"@bc443e/mongoose-diff-history","version":"2.3.1","description":"Manage Mongo Collection diff History and versions. Forked from mongoose-diff-history","main":"index.js","directories":{"example":"example","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/bc443e/mongoose-diff-history.git"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"dependencies":{"deep-empty-object":"^1.0.5","jsondiffpatch":"^0.1.38","lodash":"^4.17.15","omit-deep":"git://github.com/izigibran/omit-deep.git#0.4.0","power-assign":"^0.2.10"},"devDependencies":{"bluebird":"^3.5.1","chai":"^3.5.0","commitlint":"^8.3.5","husky":"^4.2.5","istanbul":"^0.4.5","mocha":"^2.5.3","mongoose":"^4.13.9","prettier":"^2.0.5","pretty-quick":"^2.0.1","standard-version":"^7.1.0"},"scripts":{"test":"istanbul cover --report lcov  _mocha tests --recursive","release":"standard-version","publish":"git push --follow-tags origin master && npm publish --access public"},"contributors":[{"name":"Brandon Canaday","email":"bc443e@att.com"},{"name":"George Li","email":"georgejdli@gmail.com"}],"engines":{"node":"*"},"keywords":["mongoose","audit","oplog","diff","history","versioning"],"bugs":{"url":"https://github.com/bc443e/mongoose-diff-history/issues"},"license":"GPL-2.0","homepage":"https://github.com/bc443e/mongoose-diff-history#readme","gitHead":"e1d0ee7fb1aa9c880beeb58c7bfabef79739e43a","_id":"@bc443e/mongoose-diff-history@2.3.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-T3+CiSslMlAGLWwqFOJe+1z+ew7AIPgnJXB3fQKKBmhQeawmR8nAX2EeE3UfKATUetfC84bIZ0un66tivLQrYw==","shasum":"5d99af3f80b6e8025de04b81f1edfd0de75c4342","tarball":"https://registry.npmjs.org/@bc443e/mongoose-diff-history/-/mongoose-diff-history-2.3.1.tgz","fileCount":22,"unpackedSize":229639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxS9LCRA9TVsSAnZWagAA51AP/RT0LLU76ZQjYYIpYZqM\nS19z9NxaET9HvCEMBNEbEO+tm5duscwenXDBnQVFQivVPaIxcmkxQYJLNqCz\n/dLPna+WRUjb7dahwIOuDLXR9crz00U2nWeU3A3G8tJWrmEtjlzCRWlN9lGH\niNKqI3+uYHIAMXp94RYcDggy9YOGLmn5lK7scgvhJXS9g2RjGgadhwjl3Xxd\nMqYzzj+RMasSFQS+HX8FT1Cg/Id4KIrKYh//V4sWB0E6ORihAWLtXopzVr/h\nZNEZ3eOUe7eQSkFSn0DYHPH5qHAirfLsec/LOuliqy9M8vmRD6YHTZn2MX6C\nxPrgtJ+IRunTqmQuVxi+NBdHChdIhw8kKEVEAwLFmoVS43muLmyOze8OJ2tr\nj+hvEHIzhwYOQqDOWCO146jIul6PdjD3xzqd0z1Pw6/FXn75pgozeegQEMDh\nd9SNShXldPscZRZUF6kTT8vWqNvZX78OckSZpNqxapzL4B72WaqKJ0Aj66Jq\nY6x3Et1brVzPkcgGhp5A3n4qONG8+dWHGKCZMLIg33qbfLah4s+XnFC6iXCh\nC0iNKtp49HG3Gbf0ESDFQDLjCCBBdoQkFFJNY+KQ+KFiDzWstMyADAOrYUd1\n96u8X46WRPRE/5IA1J+wrazZgCxzvKeTcSTLVWIT/Hp5PD27k+/rbxeKMXOS\n4BLq\r\n=+r4k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICL7pnyEdRITMtypDGB5etqGBQBKbU2QfvmMzVNHflxPAiEAgPn+4mGau50/pyC6T12B//Kv08wyRdhihM6z1sYa7fo="}]},"_npmUser":{"name":"bc443e","email":"bc443e@att.com"},"maintainers":[{"name":"bc443e","email":"bc443e@att.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-diff-history_2.3.1_1606758218457_0.4085166349549467"},"_hasShrinkwrap":false},"2.4.0":{"name":"@bc443e/mongoose-diff-history","version":"2.4.0","description":"Manage Mongo Collection diff History and versions. Forked from mongoose-diff-history","main":"index.js","directories":{"example":"example","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/bc443e/mongoose-diff-history.git"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"dependencies":{"deep-empty-object":"^1.0.5","jsondiffpatch":"^0.1.38","lodash":"^4.17.15","omit-deep":"git://github.com/izigibran/omit-deep.git#0.4.0","power-assign":"^0.2.10"},"devDependencies":{"bluebird":"^3.5.1","chai":"^3.5.0","commitlint":"^8.3.5","husky":"^4.2.5","istanbul":"^0.4.5","mocha":"^2.5.3","mongoose":"^4.13.9","prettier":"^2.0.5","pretty-quick":"^2.0.1","standard-version":"^7.1.0"},"scripts":{"test":"istanbul cover --report lcov  _mocha tests --recursive","release":"standard-version","publish":"git push --follow-tags origin master && npm publish --access public"},"contributors":[{"name":"Brandon Canaday","email":"bc443e@att.com"},{"name":"George Li","email":"georgejdli@gmail.com"}],"engines":{"node":"*"},"keywords":["mongoose","audit","oplog","diff","history","versioning"],"bugs":{"url":"https://github.com/bc443e/mongoose-diff-history/issues"},"license":"GPL-2.0","homepage":"https://github.com/bc443e/mongoose-diff-history#readme","gitHead":"5a71574e877917c84ef059e981ac2e0151f5b12f","_id":"@bc443e/mongoose-diff-history@2.4.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-h2CvNY+xkS2DFPzSk8yCV9hz/1WwV72Jr/H0JWFFY7dpRBUwOTNvrkSlmX8GntC45iHPL5J4oyamXX3hzSJt/w==","shasum":"61130ba4470ee15553215735363d28cef76ca017","tarball":"https://registry.npmjs.org/@bc443e/mongoose-diff-history/-/mongoose-diff-history-2.4.0.tgz","fileCount":22,"unpackedSize":230714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz+y8CRA9TVsSAnZWagAAfQcQAJclBkJyyl0M45vAZJiG\n14DwhcazaF0AWRBnukQQssh9X3rTXhnFBT2eclX04L7VG/Wu59SEpXb4EgYI\nVElhpFE/C4htNAHqRy/LvhM8AxN/O9TzbHHmr4772btpS8G8BbVezUbvFr6n\nKgpBkMqyMhill52kotc+1JHzfSHj7YgqHfJDRFRlQnkMdxot/v4De1Wts+/f\nK4HMtBzyqdBt9dDUFX+WNS6Z8nEK9im6cNzDNJOILoAyndp3oAmyfFd1rl2E\nMkDGcesKOmOj4MJxGjtCDUpo50BRqDlW/w1aiOdhwHwJLB8nt+8+PizLbGh7\nXONWFeb5+OhOMe8yTrs/7vPl0YwwUFP3OADv4siBZ1r0gU3s6i/3GY9PUOYS\n7wS+6T9P3tvYjySh8gl3y2tykRXzSUotxRjW2Li7jg/C+YYU8DBfaHKkykTE\nwaxdPYSj0pAsUTD+EeacsGiBqpzcCiwuhSycps/OU73YEHhSZM5uXemsa2+n\nK+AsLVocjLiihf5NgsCERW/X6yDyFaouXkgKKXpJbeKa02wB3Mgr4cg6Y3pg\njEDkh68jEx+ZnEsNPRu2XbRlrkJtPnmgyjexjALShKJKnVoqmlky9sblrLy7\nI5YYQqPcXId1wcbqT46sEwDMzo7q1HATVse42VGhG+hYINvYjlsPUYRqTS0P\nTOW4\r\n=5KuZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuzI7r9o9QiZadzYqd15BLcc3jrtwxl8I0iAJquxyW2QIgZ9jGumMbpsWvLbV/CGDAk35UyxqEQYrFkx/D+V2lbEs="}]},"_npmUser":{"name":"bc443e","email":"bc443e@att.com"},"maintainers":[{"name":"bc443e","email":"bc443e@att.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-diff-history_2.4.0_1607462076174_0.03924957319884914"},"_hasShrinkwrap":false},"2.4.1":{"name":"@bc443e/mongoose-diff-history","version":"2.4.1","description":"Manage Mongo Collection diff History and versions. Forked from mongoose-diff-history","main":"index.js","directories":{"example":"example","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/bc443e/mongoose-diff-history.git"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"dependencies":{"deep-empty-object":"^1.0.5","jsondiffpatch":"^0.1.38","lodash":"^4.17.15","omit-deep":"git://github.com/izigibran/omit-deep.git#0.4.0","power-assign":"^0.2.10"},"devDependencies":{"bluebird":"^3.5.1","chai":"^3.5.0","commitlint":"^8.3.5","husky":"^4.2.5","istanbul":"^0.4.5","mocha":"^2.5.3","mongoose":"^4.13.9","prettier":"^2.0.5","pretty-quick":"^2.0.1","standard-version":"^7.1.0"},"scripts":{"test":"istanbul cover --report lcov  _mocha tests --recursive","release":"standard-version","publishPackage":"git push --follow-tags origin master && npm publish --access public"},"contributors":[{"name":"Brandon Canaday","email":"bc443e@att.com"},{"name":"George Li","email":"georgejdli@gmail.com"}],"engines":{"node":"*"},"keywords":["mongoose","audit","oplog","diff","history","versioning"],"bugs":{"url":"https://github.com/bc443e/mongoose-diff-history/issues"},"license":"GPL-2.0","homepage":"https://github.com/bc443e/mongoose-diff-history#readme","gitHead":"8fc4611be3dbd9bda99553803e44e1a6e29d6246","_id":"@bc443e/mongoose-diff-history@2.4.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-oqb2vGkpg+L67YZVIUZ8vhux/1eSaYnDo7cmWbQcmC+Twhw+fe0LeFeOOQGsV4NDnM/1Esu+SdyxHL4++P2t6A==","shasum":"5ea4569eba575e7c0b7aced7417308dff16822cb","tarball":"https://registry.npmjs.org/@bc443e/mongoose-diff-history/-/mongoose-diff-history-2.4.1.tgz","fileCount":22,"unpackedSize":230994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz+1VCRA9TVsSAnZWagAAHTkP/2AG/8pfgYD8GIoA2x85\nZU6Ojf5jXSgXLTKHefFh79WKfAe27X8U28P17xS4UDsucnl+SdeZ71dB+bBE\n+9eT8bmY2Qg9bZnZ0wNvVKgtwW/ZC/Fj+zzIeDlVLJC3HYNQCJb6iECJ0wb3\nsbsYZnKpnVMVOWyoNqJV05YAduyFh2hLNxBhdZdLWear3pZq//q4/3pBMob5\nuMeaP7AqICWlV4dQPOWOUhw1Ix4QNPwg5d6pkFg1L/381tgzxp7iSobB4fOq\nMxyHw3z9tvcc4YBgqbARowvHi7DrWur/PjGyD/zsjND9IAGJUaGgZQaLmvr/\nikE2yHwj3yV7ul5Wft0+NvISqiAbfg50TJN3Z+Ajqvr5aQphzwbtcbTuYLQT\npUPBO4N0wwElzSecSGwUFQEfEq4NLjHvi+u39qWTaLKtqSnZWGEC8belcGCr\njr4qRb+VdBiYjKDrTGUh+wsyZ3nGYRXYkkU3nLgfhEMkI2lHcaP6wWCkNand\nQ2GdtBBepRk17s202LC9GUvH3QXZqprPdtcqtOVDSMr+h3VIAt6xdNlSJdL7\nZYshVFAJoijTeIEuvayMj4ClLzV9fo/J4aFgXVc4JfVulj3TjXvsXr9g4Lbv\nyTw7Dw7dwoxOdy2aFwLldJW0Mtgs/sMLSATb8AOpTw49nTSK0GkE59YPkQKs\n2w6e\r\n=e3ry\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAfQXhbmLzXW541j+AchM7Te2ROha7a5l6WfUbQItwfAIhAOudaDe5sj4af8HhwcFdI0N4id5ujWeipnm4wUDBxqqg"}]},"_npmUser":{"name":"bc443e","email":"bc443e@att.com"},"maintainers":[{"name":"bc443e","email":"bc443e@att.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-diff-history_2.4.1_1607462229061_0.12405069722857553"},"_hasShrinkwrap":false},"2.4.2":{"name":"@bc443e/mongoose-diff-history","version":"2.4.2","description":"Manage Mongo Collection diff History and versions. Forked from mongoose-diff-history","main":"index.js","directories":{"example":"example","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/bc443e/mongoose-diff-history.git"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"dependencies":{"deep-empty-object":"^1.0.5","jsondiffpatch":"^0.1.38","lodash":"^4.17.15","omit-deep":"git://github.com/izigibran/omit-deep.git#0.4.0","power-assign":"^0.2.10"},"devDependencies":{"bluebird":"^3.5.1","chai":"^3.5.0","commitlint":"^8.3.5","husky":"^4.2.5","istanbul":"^0.4.5","mocha":"^2.5.3","mongoose":"^4.13.9","prettier":"^2.0.5","pretty-quick":"^2.0.1","standard-version":"^7.1.0"},"scripts":{"test":"istanbul cover --report lcov  _mocha tests --recursive","release":"standard-version","publishPackage":"git push --follow-tags origin master && npm publish --access public"},"contributors":[{"name":"Brandon Canaday","email":"bc443e@att.com"},{"name":"George Li","email":"georgejdli@gmail.com"}],"engines":{"node":"*"},"keywords":["mongoose","audit","oplog","diff","history","versioning"],"bugs":{"url":"https://github.com/bc443e/mongoose-diff-history/issues"},"license":"GPL-2.0","homepage":"https://github.com/bc443e/mongoose-diff-history#readme","gitHead":"aa786f6251f94ec72e6e15e3c5ccb910a7951ad0","_id":"@bc443e/mongoose-diff-history@2.4.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-CX9OCzrbtqsc6i17ypX3xQfMr53tWThjzvt1RoY48F6CoxBRc9Q+voq+HfRU1YusdGpUP5TdbGIYuuVsLrUyow==","shasum":"2ae1c3370f496486b6ec638fdb026cc2e9bfe9da","tarball":"https://registry.npmjs.org/@bc443e/mongoose-diff-history/-/mongoose-diff-history-2.4.2.tgz","fileCount":23,"unpackedSize":231358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz/O1CRA9TVsSAnZWagAAqc8QAIWCdu85cAAof4oBhAtp\nW/GNq5wRXuenx1SKBOOgAWJ2g5YH5KzhKjUFUGqMp0HtItWs82f+4Zfk+uZU\n/P5g2+Y8TLSDz+XpoWIdF4ETQmgNxJljni++GFe+CBErZbvmUo+NmBNbql8l\nkrZW+nI4ucgdcEwA5p/ndqbxO11yzcEGa3vOZy3a4wjHy/+ZAepLVxYmA+Ze\nSNFE1UTzfdrho5Lcm3fKOdxO1TIiV5qkPAlmrSS0W7fdgbV5BAirFZCzX13d\n5kfd4nRWC7oFJlBJg8Jqc/S6KOXGpbi2wXWS7nhI5a8mtgSz2KyvX0yMEeqa\nHE0ZJ8l8SnvpZh3sPoK1Ni0OteKpqfwlV/jSqC+MCdg51S7D20dyq42uApBS\n9ummrHRyMG6hh0BUSghe9l0WDyCwIvbxu88cGX5ojneym8mjHyOM4plhWrth\nmtQilh6Qp4GyPCEaIEoNaSzntnLhu4utPsroRQpFEcREjAyrZ0PNie4pxGUO\nAze57K+Jm4crioEAE286EMNpHVUk1smG97TZdnew7HI0sgfU8HKHZwd7Xx3r\nRRuNtMiKaPtA9QjaAlLzYoObOyK85Ajm/YKTuiyS+bWadxvjSPOBNfUa5ARj\ngmC41t5czEAXWXvxAc6/5ARjJSffkA4qLqK7yJXnIxdsqPNMVN6dRJCnlg50\nRgBh\r\n=uB8g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBIEwRimAwiUAVBmXe/bHt5q0Qq8QiYKQKkHPL6Kke37AiEAvNfpjrnS3T8G3sXn7kbo7a3yCvRAOwCGGc7OIEngljw="}]},"_npmUser":{"name":"bc443e","email":"bc443e@att.com"},"maintainers":[{"name":"bc443e","email":"bc443e@att.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-diff-history_2.4.2_1607463860637_0.120336045531108"},"_hasShrinkwrap":false},"2.4.3":{"name":"@bc443e/mongoose-diff-history","version":"2.4.3","description":"Manage Mongo Collection diff History and versions. Forked from mongoose-diff-history","main":"index.js","directories":{"example":"example","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/bc443e/mongoose-diff-history.git"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"dependencies":{"deep-empty-object":"^1.0.5","jsondiffpatch":"^0.1.38","lodash":"^4.17.15","omit-deep":"git://github.com/izigibran/omit-deep.git#0.4.0","power-assign":"^0.2.10"},"devDependencies":{"bluebird":"^3.5.1","chai":"^3.5.0","commitlint":"^8.3.5","husky":"^4.2.5","istanbul":"^0.4.5","mocha":"^2.5.3","mongoose":"^4.13.9","prettier":"^2.0.5","pretty-quick":"^2.0.1","standard-version":"^7.1.0"},"scripts":{"test":"istanbul cover --report lcov  _mocha tests --recursive","release":"standard-version","publishPackage":"git push --follow-tags origin master && npm publish --access public"},"contributors":[{"name":"Brandon Canaday","email":"bc443e@att.com"},{"name":"George Li","email":"georgejdli@gmail.com"}],"engines":{"node":"*"},"keywords":["mongoose","audit","oplog","diff","history","versioning"],"bugs":{"url":"https://github.com/bc443e/mongoose-diff-history/issues"},"license":"GPL-2.0","homepage":"https://github.com/bc443e/mongoose-diff-history#readme","gitHead":"dcd1fb674c2259a5c4a2e074b194e9bb3e57b736","_id":"@bc443e/mongoose-diff-history@2.4.3","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Zexvo6VKydwyPMhDxvQi42PWZf59Bc1HwXLghKCYpncdl/5n5Yiwc7wepwdA84Hdwo6LWWgGjYsJl1Aado8Ieg==","shasum":"373a7828f2b02867be509d06603d996094b3af29","tarball":"https://registry.npmjs.org/@bc443e/mongoose-diff-history/-/mongoose-diff-history-2.4.3.tgz","fileCount":23,"unpackedSize":231658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz/W0CRA9TVsSAnZWagAAuG8QAIqHO9IpNJrT8XV4I2KK\nxrDkyj2XSOjcAtZDGcMpYbKVAVJX+cB+UhmGpW0Y0m1Jy6Gru72fD5GQMu9x\nkbpSSejIFYzK59TzUW99pLUQQuoX3dYQq+gmLD+kSkEfIFelu5AePuwTLJ+0\n+lxzawL/b4tB68zt4IQc3vbE4aYyd6CpkO7OTKme/TZop0TrAIHTQKSo6YaW\na5MswEfEX1+ZSPbNlAHiTCOFtZs/YJ3KtQxfWSl03/hWG59VYVJue40Xnnh+\n9Ir8T6kSI7qfbfW0QaahVWjH5YBTDr+3DcmgHcaQkEbGTkm255LufaAE7Ds8\nw+uDPUZRT752RfQOpZ3zx5NmV8ie4SOf+2nS1FnXsSeZ+z5SMzKsUDPIcsSA\nCuovLeI/bxewKqOYGvJ8CZ3Etg3NQ+xgZ8+XqBCdvgCSnruce/uqfqJTVWO2\nNVi7DwN5OlM8LeWAokA5svFDaoGXpVv6bsTr5t6PwBHRxj0VBZBWpyab98oF\nvb2KvMeX0KY8f8DBErTk9eOPOJq/ROAAxs31f3y7OvueD2D1B7Cu+ermHPY+\nCLC86eGN9ahl9hsqJw74JUVLUYe1i5alfPbyqrc2LlSPJpEH7jRykSUXxHWF\ncGI9PqZsds8BrNmuh94A5rHi+w7673TOVa+1b/RAsG93OprCnOkAGdlKii0m\nez+s\r\n=CORd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUzZwbEqPhWq+38B+BCN5PX9KVDXCLs8ok/zlFsWaiTQIgXS7ALIJyFZ6M6cweK3Ay3yfvnNse9Ok4rUO43FJqv80="}]},"_npmUser":{"name":"bc443e","email":"bc443e@att.com"},"maintainers":[{"name":"bc443e","email":"bc443e@att.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-diff-history_2.4.3_1607464372116_0.0992116900973099"},"_hasShrinkwrap":false},"2.4.4":{"name":"@bc443e/mongoose-diff-history","version":"2.4.4","description":"Manage Mongo Collection diff History and versions. Forked from mongoose-diff-history","main":"index.js","directories":{"example":"example","test":"tests"},"repository":{"type":"git","url":"git+https://github.com/bc443e/mongoose-diff-history.git"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"dependencies":{"deep-empty-object":"^1.0.5","jsondiffpatch":"^0.1.38","lodash":"^4.17.15","omit-deep":"git://github.com/izigibran/omit-deep.git#0.4.0","power-assign":"^0.2.10"},"devDependencies":{"bluebird":"^3.5.1","chai":"^3.5.0","commitlint":"^8.3.5","husky":"^4.2.5","istanbul":"^0.4.5","mocha":"^2.5.3","mongoose":"^4.13.9","prettier":"^2.0.5","pretty-quick":"^2.0.1","standard-version":"^7.1.0"},"scripts":{"test":"istanbul cover --report lcov  _mocha tests --recursive","release":"standard-version","publishPackage":"git push --follow-tags origin master && npm publish --access public"},"contributors":[{"name":"Brandon Canaday","email":"bc443e@att.com"},{"name":"George Li","email":"georgejdli@gmail.com"}],"engines":{"node":"*"},"keywords":["mongoose","audit","oplog","diff","history","versioning"],"bugs":{"url":"https://github.com/bc443e/mongoose-diff-history/issues"},"license":"GPL-2.0","homepage":"https://github.com/bc443e/mongoose-diff-history#readme","gitHead":"25cd311b406b918718450edf7ed386bdd5e5765e","_id":"@bc443e/mongoose-diff-history@2.4.4","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-msP28Z/MGNu6T4vxSx8SiG66ils/B55Y5lydUdEHnuGjqrHSNRxE/zWDO6BF01RUivsKGDn+Z96FTy4hID+QEg==","shasum":"4eb5bf8eee967761ebabccf4f4f6b5d2df72f557","tarball":"https://registry.npmjs.org/@bc443e/mongoose-diff-history/-/mongoose-diff-history-2.4.4.tgz","fileCount":23,"unpackedSize":232334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXLeZCRA9TVsSAnZWagAA+rgP/1rnk1R+v2up78Vm8tcM\nN3h+DHeYo3jygF+Hxt4BZRxDAeRuHppnfQ7oqiypGthM6vT+HMwP/7SLus5D\nR34wfaVoBkMFRoj7oDPvMv3ZG4dfCBO1U1K/PU976PWOxleUW0MsXnq7Nfi6\nP+9wmS6EtOPBUg4dOew2L2IJw2weoYE5sKmEWCg//aLRyBwWx0N61mhubrlt\nijJpWCX2uj/OguCuCrVFPgr/KgHb+f/W0pZQZdvifnemu2/pChHqOMc6NAcJ\nK5GSDYvaFe932taaHqIZrLiFbTvdDs6yCxHimXg9NXRDrMdZ/xqgRIsTuV8T\nUI5EQ99t1WrjxVzlhIFQrmKhL6dVGpB8gPT6RPMJUQwEipy1OIqSKRaUd234\nTOY0/+pBv8xIMDjyfjAahZUpFmdVZQ6Nm9h2nChj/c1V3v/2yxikUORVSRvO\nLhOGu817039d134lNT7DUxxYz0SYIRdlMyyTWuDQ3yAgi8+zAFglvAAr/g9C\nan6YOggI4B0kBEn/tf3jwlSJUQy1tx1UfwSuMduC42T9yIWFQoW/SDPSTZMP\nONXEcCZWzKrRR4KPomjT1EVT9Oyzg2e7/1GLlDKsp0lEemYqc/KeSAMPUWHP\ndEfkBqAfdfSPJukPERoerRo4Ued0GnS17BawqU77XeZCtG6lQaBncq5DtayZ\nx1Ve\r\n=OHNE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBihSZIUaoFwOOucSOSsSV1av0OQ7AMHp2LWV79OvErqAiANEGqo35LUjRwwPKnTOgzfcGLUwwrQucu41MUUek10Aw=="}]},"_npmUser":{"name":"bc443e","email":"bc443e@att.com"},"maintainers":[{"name":"bc443e","email":"bc443e@att.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-diff-history_2.4.4_1616689049061_0.016230636682027955"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-26T19:00:54.626Z","2.2.3":"2020-10-26T19:00:54.872Z","modified":"2022-04-04T18:01:22.865Z","2.3.0":"2020-11-16T22:36:49.624Z","2.3.1":"2020-11-30T17:43:38.615Z","2.4.0":"2020-12-08T21:14:36.383Z","2.4.1":"2020-12-08T21:17:09.258Z","2.4.2":"2020-12-08T21:44:20.796Z","2.4.3":"2020-12-08T21:52:52.271Z","2.4.4":"2021-03-25T16:17:29.237Z"},"maintainers":[{"name":"bc443e","email":"bc443e@att.com"}],"description":"Manage Mongo Collection diff History and versions. Forked from mongoose-diff-history","homepage":"https://github.com/bc443e/mongoose-diff-history#readme","keywords":["mongoose","audit","oplog","diff","history","versioning"],"repository":{"type":"git","url":"git+https://github.com/bc443e/mongoose-diff-history.git"},"contributors":[{"name":"Brandon Canaday","email":"bc443e@att.com"},{"name":"George Li","email":"georgejdli@gmail.com"}],"bugs":{"url":"https://github.com/bc443e/mongoose-diff-history/issues"},"license":"GPL-2.0","readme":"# Forked from https://github.com/mimani/mongoose-diff-history\n\n-   to fix some bugs\n    -   add index to use with Azure CosmosDB Mongo API\n    -   use full lodash lib instead of lodash.pick (possible bug)\n\n# mongoose-diff-history\n\nStores and Manages all the differences and versions, any Mongo collection goes through it's lifecycle.\n\n## Installation\n\n---\n\n### yarn\n\n```sh\nyarn add @bc443e/mongoose-diff-history\n```\n\n## Operation\n\n---\n\nEach update will create a history record with [jsonDiff](https://github.com/benjamine/jsondiffpatch) of the change. This helps in tracking all the changes happened to an object from the beginning.\n\nFollowing will be the structure of the diff history being saved:\n\ndiff Collection schema:\n\n```\n_id : mongo id of the diff object\ncollectionName: Name of the collection for which diff is saved\ncollectionId : Mongo Id of the collection being modified\ndiff: diff object\nuser: User who modified\nreason: Why the collection is modified\ncreatedAt: When the collection is modified\n_v: version\n```\n\n## Usage\n\n---\n\nUse as you would any Mongoose plugin:\n\n```js\nvar mongoose = require('mongoose'),\n    diffHistory = require('mongoose-diff-history/diffHistory'),\n    schema = new mongoose.Schema({ ... });\n    schema.plugin(diffHistory.plugin);\n```\n\nThe plugin also has an omit option which accepts either a string or array. This will omit the given\nkeys from history. Follows dot syntax for deeply nested values.\n\n```js\nconst mongoose = require('mongoose');\nconst diffHistory = require('mongoose-diff-history/diffHistory');\n\nconst schema = new mongoose.Schema({\n    someField: String,\n    ignoredField: String,\n    some: {\n        deepField: String\n    }\n});\n\nschema.plugin(diffHistory.plugin, { omit: ['ignoredField', 'some.deepField'] });\n```\n\nPass in the optional **user and **reason properties to the update options object to record in the history:\n\n```js\nawait Response.updateOne(\n    { _id: objectId },\n    { $set: updateSet },\n    { __user: 'John', __reason: 'this is an update' }\n);\n```\n\n## Helper Methods\n\n---\n\nYou can get all the histories created for an object using following method.\nDoes not return version number. Provides basic diffing on top level values (strings or number, not objects or arrays)\n\n```js\nconst diffHistory = require('mongoose-diff-history/diffHistory');\nconst expandableFields = ['abc', 'def'];\n\ndiffHistory.getHistories('modelName', ObjectId, expandableFields, function (\n    err,\n    histories\n) {});\n\n// or, as a promise\ndiffHistory\n    .getHistories('modelName', ObjectId, expandableFields)\n    .then(histories => {})\n    .catch(console.error);\n```\n\nIf you just want the raw histories return with json diff patches:\n\n```js\nconst diffHistory = require('mongoose-diff-history/diffHistory');\n\ndiffHistory.getDiffs('modelName', ObjectId, function (err, histories) {});\n\n// or, as a promise\ndiffHistory\n    .getDiffs('modelName', ObjectId)\n    .then(histories => {})\n    .catch(console.error);\n\n// with optional query parameters:\ndiffHistory\n    .getDiffs('modelName', ObjectId, { select: 'diff user' })\n    .then(histories => {})\n    .catch(console.error);\n```\n\nYou can get an older version of the object using following method:\n\n```js\nconst diffHistory = require('mongoose-diff-history/diffHistory');\n\ndiffHistory.getVersion(mongooseModel, ObjectId, version, function (\n    err,\n    oldObject\n) {});\n\n// or, as a promise\ndiffHistory\n    .getVersion(mongooseModel, ObjectId, version)\n    .then(oldObject => {})\n    .catch(console.error);\n```\n\nYou can also use Mongoose query options with getVersion like so:\n\n```js\nconst diffHistory = require('mongoose-diff-history/diffHistory');\n\ndiffHistory.getVersion(\n    mongooseModel,\n    ObjectId,\n    version,\n    { lean: true },\n    function (err, oldObject) {}\n);\n\n// or, as a promise\ndiffHistory\n    .getVersion(mongooseModel, ObjectId, version, { lean: true })\n    .then(oldObject => {})\n    .catch(console.error);\n```\n\n## Example\n\n---\n\nThere is an [example](https://github.com/bc443e/mongoose-diff-history/tree/master/example) express service (documentation [here](https://github.com/bc443e/mongoose-diff-history/blob/master/example/README.md)), demonstrating this plugin via an simple employee schema, checkout `example` directory in this repo.\n\n## Contributing\n\n---\n\nThis project is now using [Conventional Commit](https://www.conventionalcommits.org/en/v1.0.0/) syntax for commit messages, to allow for easier updates in change logs & release notes. Please follow these conventions in your commits.\n","readmeFilename":"README.md"}