{"_id":"mongo-unit","_rev":"25-faf40dfd42ba9a447f91baef440da8a2","name":"mongo-unit","dist-tags":{"latest":"3.4.0"},"versions":{"1.0.0":{"name":"mongo-unit","version":"1.0.0","keywords":["js","unit","test","db","unit","mongo","mongodb"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.0.0","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"82abdf6d068e79ccf361bee3a84acc4301329fc2","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.0.0.tgz","integrity":"sha512-yrncSHA5zgJDFwJ73aHm0f9TS+U0SDfFxLk7y8y1aTX/CGAGEu2Thl4rgVD2cgLqjs2TxbxDdkPdU1yjVJ/q8A==","signatures":[{"sig":"MEYCIQDwjlT71su8Xoqz6krqZvyA0OzUtCvhfsN0JGQ4V+D9EwIhAOujGhmKG1U+htfZr61xaOmvuB9tjS8QwD2uesDo+koR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"82abdf6d068e79ccf361bee3a84acc4301329fc2","gitHead":"b2a8602fcc08f82cdffb4f3a977392a390695a32","scripts":{"test":"mocha test.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"2.15.11","description":"mongo db for unit tests","directories":{},"_nodeVersion":"4.7.0","dependencies":{"mongodb":"^2.2.19","portfinder":"^1.0.10","mongodb-prebuilt":"^5.0.8"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit-1.0.0.tgz_1483628287265_0.6629471150226891","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"mongo-unit","version":"1.0.1","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.0.1","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"60c26fa568c75af465523e64eae075cd03f5da4b","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.0.1.tgz","integrity":"sha512-jtQ96SZ06w2CvxUGRhU6XOtLQPH1yPVvFmx87W8+nH8u78QtBFAJ+0t5dyGi/qEHG+4L5FTlV2s1QsHa4Qq8XA==","signatures":[{"sig":"MEYCIQDY+dZ90KTjjG2ZA1FdQO5rXf7cfaL9Z6EFUEiMVc6g/AIhAPPQnJfimqMUFEeYei0GoVN7JUwjZ6ZO90/3sKuJEUgb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"60c26fa568c75af465523e64eae075cd03f5da4b","gitHead":"a60e95fb85a4d0b2096cf3a088f5cf72238dfa91","scripts":{"test":"mocha test.js","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"2.15.11","description":"mongo db for unit tests","directories":{},"_nodeVersion":"4.7.0","dependencies":{"mongodb":"^2.2.19","portfinder":"^1.0.10","mongodb-prebuilt":"^5.0.8"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit-1.0.1.tgz_1483705847850_0.15777544979937375","host":"packages-12-west.internal.npmjs.com"}},"1.0.2":{"name":"mongo-unit","version":"1.0.2","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.0.2","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"22209388fa211dcd2643e91df64dcba274bfc18a","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.0.2.tgz","integrity":"sha512-MA3mrvsPZzFpmxZcUDLZfIdRF1c5dITCSS1MCphHKGicW6dZTWGCtVaLJoSalhNNuSHe2inQpvc3NST3M1hRpg==","signatures":[{"sig":"MEUCIGnPSKc3KglMtwecq2YeUjieF866digUdeMPQjHpHHTYAiEA6F9cGyZ0GoPZ4HYOxKSl7HlnCylbzQoW7yW6QxJ5aMs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"22209388fa211dcd2643e91df64dcba274bfc18a","gitHead":"3ac88acb3b08c15f3f7870f11d7edc3e9ffff150","scripts":{"test":"mocha test.js","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"2.15.11","description":"mongo db for unit tests","directories":{},"_nodeVersion":"4.7.0","dependencies":{"mongodb":"^2.2.19","portfinder":"^1.0.10","mongodb-prebuilt":"^5.0.8"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit-1.0.2.tgz_1483982642852_0.7194074017461389","host":"packages-12-west.internal.npmjs.com"}},"1.0.3":{"name":"mongo-unit","version":"1.0.3","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.0.3","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"ee9eee7cbe6aa6d0f7e244bf2091bb605a255b49","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.0.3.tgz","integrity":"sha512-n/VdRX5v63DSNUBtuWk1Z2Z3+0aJfgnIpbaKh1YF3nqEoaSBG0akt0lNMjGMXK5qxy2+XmmqtnVqBsV/WDV3pQ==","signatures":[{"sig":"MEYCIQDNc9SrbHP6+up+nF2iV/QbGQJQPJ3fLd6ILgihqHusHQIhAIWu8kQtEOTOLCSLZjGztW1oa0l2nYEvlWN2EkwKKMHM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"ee9eee7cbe6aa6d0f7e244bf2091bb605a255b49","gitHead":"44feaf0684257f590f40783ed1b6c38fc12c6375","scripts":{"test":"mocha test.js","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"2.15.11","description":"mongo db for unit tests","directories":{},"_nodeVersion":"4.7.0","dependencies":{"mongodb":"^2.2.19","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"^5.0.8"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit-1.0.3.tgz_1484059626670_0.5195382116362453","host":"packages-18-east.internal.npmjs.com"}},"1.1.0":{"name":"mongo-unit","version":"1.1.0","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.1.0","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"10f5651da9d0b28dae2fe58e1e33f797e2d379ee","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.1.0.tgz","integrity":"sha512-+rBu/9Fqzk8c5DrZlH+5VhTBWZ8ynJ5UuVw0V+U7Az3zvmrpwDy4NLKhhqX/DmYdexaD4FreBF5X94x8TWFffQ==","signatures":[{"sig":"MEUCIGNJiXUl6xnw1eRgDAZdQQMV9u+Lz1iHCVbAkKYc3OVhAiEAsnS+trYeWClZD4QHqL8jM6R9UmM0YovRQYNS3X+fjLk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"10f5651da9d0b28dae2fe58e1e33f797e2d379ee","gitHead":"ac62effa41bb2346ff6e8e3d3c22b04393016576","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"3.10.10","description":"mongo db for unit tests","directories":{},"_nodeVersion":"6.11.0","dependencies":{"mongodb":"~2.2.31","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.3.3"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit-1.1.0.tgz_1505296087657_0.6769962774123996","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"mongo-unit","version":"1.2.0","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.2.0","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"c6fd31c69f7a98ee6238b237038a41622871bbdb","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.2.0.tgz","integrity":"sha512-aO6z7mYkBJuU+zozUrmSEd9wQSwL+Gg3e9ADvOFr8gGuD5Gl1Q4g2rM1oChQwUz8Y/w8+X3UKnXYpHLzxhAbiA==","signatures":[{"sig":"MEQCIHKOPOE0LybLX12c4/6jumZxxyu3Vt9gGGv4ddm4KRMNAiAl5jcZUQ5Xg06XtizlBEQS5wyn5hd3edKkWYPurDW0lQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"c6fd31c69f7a98ee6238b237038a41622871bbdb","gitHead":"ea33dee4b629167d8071fc4ba0fc1fd5dd606efa","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"3.10.10","description":"mongo db for unit tests","directories":{},"_nodeVersion":"6.11.0","dependencies":{"debug":"^3.0.1","mongodb":"~2.2.31","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.3.3"},"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit-1.2.0.tgz_1512323759813_0.9311982875224203","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"mongo-unit","version":"1.3.0","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.3.0","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"b952af79683e3c3270e938e3de3f9e2bbc5bd3a5","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.3.0.tgz","integrity":"sha512-zVecco2QsTlZ3sJvPMnLT+Xucaaxe5iBfFQDdqC7V6+oeupHZJXXFm9mEh8C6yk1YyLxQ5spwUL4O6bcSemb8w==","signatures":[{"sig":"MEUCIGW+uHmWv1+79J0xqInr3rf/7QJ22+CnjSNMxG/+65XjAiEAvQRbIA70cTBSdwUD/pjxQO2kb8g5nso4h3QzH2zsCbs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"b952af79683e3c3270e938e3de3f9e2bbc5bd3a5","gitHead":"e0e96843513743c983863e989a24037a6963d941","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"3.10.10","description":"mongo db for unit tests","directories":{},"_nodeVersion":"6.11.0","dependencies":{"debug":"^3.0.1","mongodb":"~2.2.31","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.3.3"},"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit-1.3.0.tgz_1514314065688_0.7112377253361046","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"mongo-unit","version":"1.3.1","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.3.1","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"803e6ff5046312a812dbbab4eddf5e59ed1a03ad","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.3.1.tgz","integrity":"sha512-6Ax8+c/XoYrwwX4IAwovNPaP/auFz129ukW2wL4DuGG/2yhDIpkuyWRdnCeKTxOIIRvGP3DUqK+bZXNoJnQ9Fw==","signatures":[{"sig":"MEYCIQDwSqfz+EzwhiSA3Rqw8BffkopKOua0fAUnXCygjhIknAIhALDh6AGqiv0imOX4gmfuRkqf+gwycTdgGGoIsx7H8ndF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"803e6ff5046312a812dbbab4eddf5e59ed1a03ad","gitHead":"738a8837eb8c742ee7c5cbad4bb1fa2df807f49a","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"3.10.10","description":"mongo db for unit tests","directories":{},"_nodeVersion":"6.11.0","dependencies":{"debug":"^3.0.1","mongodb":"~2.2.31","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.3.3"},"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit-1.3.1.tgz_1516821576378_0.3668707290198654","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"mongo-unit","version":"1.3.2","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.3.2","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"f49eb4fb13b6c5b1c9e175e92211cdc12af8ebb4","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.3.2.tgz","integrity":"sha512-iE6dxEUqlaY+QpbTjESpbQqzvrgjhRbcBuuAWP7hlPv5yGhtfFs92Py2iO6YdQD8Uy6agDxJw5NpB9y0U2pwiQ==","signatures":[{"sig":"MEQCIAtFay47eu/bcOQ/PDTM4C4xJ/Raxnci+CZ60P46/HhQAiAPnUSy3Pt/5JpI5YtetaZfQGko2gqkpnY50EuiF15oTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"f49eb4fb13b6c5b1c9e175e92211cdc12af8ebb4","gitHead":"ffd69db5d51313e2f3befd93e37af88adf437a0e","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"3.10.10","description":"mongo db for unit tests","directories":{},"_nodeVersion":"6.11.0","dependencies":{"debug":"^3.0.1","mongodb":"~2.2.31","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.3.3"},"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit-1.3.2.tgz_1517327830444_0.519236127147451","host":"s3://npm-registry-packages"}},"1.3.3":{"name":"mongo-unit","version":"1.3.3","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.3.3","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"03ea50adb024494723f4fcdd36896ab6644c90e0","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.3.3.tgz","fileCount":133,"integrity":"sha512-SzUPd1ZgCYKO5H/IAVr9m3uJrb49+YcJIuL2da6zerCa2p/E7RS51jMbc3+ymrNg4MPPYiPNINEZ0NyrIjyO8A==","signatures":[{"sig":"MEUCIATGuQBQ4n5Mwj1Cp6h4Duh6C/iA2kKNRJSh8vc/1fZ9AiEA5BmVQCi8pfZWg/ZQ5turAxZvveWkboFF4QiStcoFryg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":788115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVHycCRA9TVsSAnZWagAAagwP/R0Y2j38INZxNKDxCE+a\nhZNMz0qZnNcQjqTibTHmBJvF6VaiVCpgfu3a76jHPkK02iw9EH1tad4KnS5g\nXD9J1MVdVqjj0FQDsNAXIMKxo+0bc9or3uHzjoy5aBq7JqZeK9tlOhbbhC7e\ndz46XN70i6GsRpTlDAsDQXgqs3jKkmluk2YpJ2Lv6XPnWrjoPinn80xcBOWR\nUWNrMhGqPuH0Bholn3DnH/30H+clbGqz3ph5WwDpKtm7q4hBnjrhY51UBdjd\nzrQgrMfWr63NxsVOXVH37BEWK4PLtWW9EJGbDVscG7boChTT7VJDomvoykVa\nwoyBDPEHUfqGFJlNbHBJUi1L/707XdM2Fbh7vzLy8PqXjTKaLhnD1e7fDiyd\n8J9HPYfz9MjtZMyoMejZ6rG6Cvf8U08nRQLdnkGOQUCt1Sc/NJk7QINPkZcf\nFNsAgcsk37zeHuEw1NkvLgns9viCSMuiY1Y5FVMQmTUwAbLPERzBaVwi6AMn\nXEHsWH/ZC4u8UlYJXHescOt6naKRdAOQ74DnwUFkXAqAiczMNVLBUibIG99g\nw/5uPZwzwQGUjecOnHCRSekPyfgpvbUTBoVyJpBw/ogLLG1YSI3PmpUJMrfX\n4L9EOThV4vFoXybliIquEkVwlNFsCDAAHqM47B737IxHO85hTelH3LNEatAw\nXaDI\r\n=VOeb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"7c01231091f4e6af4680bc0bddb2463b5c250360","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"5.6.0","description":"mongo db for unit tests","directories":{},"_nodeVersion":"8.9.4","dependencies":{"debug":"^3.0.1","mongodb":"~2.2.31","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.3.3"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_1.3.3_1532263580575_0.10231342620287198","host":"s3://npm-registry-packages"}},"1.3.4":{"name":"mongo-unit","version":"1.3.4","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.3.4","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"8ee8aed963452112d706830fc38d895e96f355ca","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.3.4.tgz","fileCount":133,"integrity":"sha512-HF7Mnm3uQuzEiAOgtvvXxZU6Sp9IteTjuhFxgvDh9BgcG4DwKk8Ypep2zvihBtSlB1SDuoZb2ISeLsr8BpO+ew==","signatures":[{"sig":"MEYCIQCNVT0JgqiBPI4NFte6Jscr2Tu/jR98IHg2yVQhVsF+uQIhAP+QT8u/KMEn8OL7YiZmvfUwVo88huK8rQAJa7EDMUuK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":788117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYXbwCRA9TVsSAnZWagAAgbYP/iQEI+bg3vChzZhLTBYi\n+h3a+/CQ5VZFMkmQO6Ai01NgCt3uK2O3zSyRE4R94ssFUA1CFCAOzmJ7Cb5k\nUVRaC69Lwp6bkn6Qk18GPyhNQlaktS/DF75ggI+V5BzXsV6clqW753yYRYrF\ncjFA51aGjYZ9Gn2MbN41YswD+ET8ApTq39OUhuiukhJEDVK8LYqXUUELnZZv\n8yFjCAYh7I+3ecubidPbUUlYT+BApnHJ9qpX4vC/IPHUaTDnMp3HfXzf0zPw\nvysIz6wLFu1NmApsO7u5ZvkR8BAHToWXxoBkIg3jKKkp4nNUDAE1zAnSV2IV\n5Y4a1Nil/aRMykIQWHoNCvzbqc/X26at2nYogRbJQaX2xmwcLIyHWKY/lQ6/\n92YUCjtww9MzZwyYQG+ZxLyeF4qbvc4mE89MIgzkn2+EOVrnGJxhhSdul7xw\nTvHC3YYzMxDgVo+rHdcfjMha2BEFNxdTaZMrgN/Hs6MKsJj0oAheG2UD8oua\nRRgWx8Rk1/85otMLgffUEF1cvXLFlitiy5M47AmkbCNEfAeQqZ4s6SVt7u0D\nqzs+kjInHYGbfsQ04Z0lfCnQt+Cnd2zwzoA+gPDKqsNtlCAIs7aIKaXn27BP\nkftojcVlrWMn1BbMOPVkBkWrkHxZvqehA8K5BlgEw775RFI9P/k/kZT/Rfjl\nTkh8\r\n=bm5i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"3116accfa6c35cf5cddb75eb544008f6e15e2116","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"5.6.0","description":"mongo db for unit tests","directories":{},"_nodeVersion":"8.9.4","dependencies":{"debug":"^3.0.1","mongodb":"~2.2.31","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.3.3"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_1.3.4_1533114095388_0.942793396679146","host":"s3://npm-registry-packages"}},"1.4.4":{"name":"mongo-unit","version":"1.4.4","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.4.4","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"24660262545f45162436f68f0e7c1d5dc126f243","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.4.4.tgz","fileCount":6,"integrity":"sha512-65maFMGR/h/dixhRXaDBEJgkDN5E9OoIDfqR+mt6bbTXFS3kqScA7FDWpzpFopcvkP3z8AzTrA9N1t2u/+vhFg==","signatures":[{"sig":"MEUCIQDSajIMx2HAf4SgxzvWCuyRw1cThENsKMMq/nHKDgGvbAIgAX7hIrkYpmy1DDQ7JcadJ0CV289NlyJyzJNRxw20nUA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVBCJCRA9TVsSAnZWagAAfJMP/1TdiMilQOiiChF76tOh\ncyD3H3XHjEKbEsuEE2IK1vs9kJq168knwiZud8qyweNXg3FKFIkUWnm4Ynud\n491yVwA1sZND9+zrPe0D7RNj9JCMnA+aFdxcvenUstmMVw3M+POPo7ApGzXB\nDGjuqNNv8VyEqk8g4wQWrn7wArnP73uvV74mtbUBA+xXwHUIoFkwpvt9mfY2\n+lbuL8m8xYIFVYpfvAEhjt/8tYyLKFZQGSQCq3lfBRee0Y+kKzrwlrY1K1vz\nBUynETYPRNMS+TnW7e4x7zgvaXfWm1oGsM/K9zGdyu+BkRGkxpAvJdjNQ2Yd\nIj2wmCERFaVtnAs+XMxWszOuFqJg+ybF8ObJOpLFTZsBXP+MI6RAuC+Km5xg\neDt0+vw8xCYaQnpWaIaKiyHy17CsYU20dUkCT2Lmf5MgqjG17pe+GwW0Hi+P\nqV8YbCo3q6EgtEmy6HdR63yeh7yw+zFtyF9E4mZ1Mrje12LIm5ECpFETEuEA\n9IJirK6HjCECKPxm9kCOCgRPuc4f5PLNgL+JgSJ7Z9ie8febeuiqK9VicKTY\nSoJSSTWZIaKl9KO9jqsZeEZ3UeQ41LRksjgiaqpvalSbxLq43Gq5Lc23JcGt\nc7HPhZD7rqE+fOnLWTE97C7iNypPz8dT2QFk/Ah6QoKNgfAOWoMOBw7rakeN\nPVan\r\n=2L6T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"03dc7370f2708800764920034507d109772dda7b","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"6.4.1","description":"mongo db for unit tests","directories":{},"_nodeVersion":"8.15.0","dependencies":{"debug":"^3.0.1","mongodb":"~2.2.31","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.4.0"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_1.4.4_1549013128438_0.292701410759332","host":"s3://npm-registry-packages"}},"1.4.5":{"name":"mongo-unit","version":"1.4.5","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.4.5","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"ae8c98952513a488c43591048a21b39cf69cb6fb","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.4.5.tgz","fileCount":6,"integrity":"sha512-smb3IWMBfvkiP2exrlJu954ydSTuISKVY6lpDkj0n0ekogP2yhu3t2DHWjZKz8U7F7EkGE6sVXSqPUAY5aggMw==","signatures":[{"sig":"MEUCIBL9pCLAGtF/+Fa3MumX2Ylvbs75Xq5T7fhYm4E1IObRAiEAyuhUe02tM86/AtakTzToC8h5p/Cd4VhJf2Tk86aQBQM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdW4D5CRA9TVsSAnZWagAAgBoQAIVQE7jl2+S9bnoUh12G\nvHvbftoDxqa2UBtA5g7gSl7SMi1/V9BS6bunQ1mrIpqE/Dr/0hsm+kV1AbLV\nvNPmGBO3ORlubJhunpOzSVNbydcv+EMeQFKUbaSr8PjaQGfwhp4E85wDel2u\nXT2nY2iX1NdBO5ZzlEHHnDqDOV31O8BabKUktiVZ5XNde+mP39y9GZIsz0vo\nGOKgWzXOEyY04aPcTjLNKKXmNdC72mxsr/IOD6EOSXGaBqW6rtjF6VSkFuKw\nRsQbPDcOuNteOZFOXjI+UkQreLuHKrYP/6a8QV8evIHJpwdd6Pb+B3QQponE\nURheA+uapM54xJDpK8CvDjvGjpAb+rop8wrvHy922iWdN395LgqGJMFbcRCu\nJmA3BZqrELTqGLqyeLczRCUuLSJPpmHSVp/8xAeooFn81cYxCm6zkwr36bUu\n0fsH0lIfRasWunQUTBRfir14hlip7IMC7tfqBfBSHiTmDMKbwH3AWXT4UZ+H\noFNbQknMU5zAF2Cb17YvSryQFvRyn/+73cxOVH6t53Et3Q9m3DvqzJj0annd\nzjPWI3gWfcwvB8yhC/Olmp/27u9Ec/rN4JUjtdevfDAjW58o5nXIanWBeTYF\ncfjy6OlnQeGAnr+EMlWdW+O3XOdS2k1N/DQvlQNl22wn0QMgtG5oFoqHB6zH\nN5HP\r\n=rbdK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"1163567f2462a82eea9852682506dd93c2e0bd4d","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-basic":"mocha ./examples/basic.js"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"6.4.1","description":"mongo db for unit tests","directories":{},"_nodeVersion":"10.15.0","dependencies":{"debug":"^3.0.1","mongodb":"~2.2.31","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.4.0"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^4.7.6"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_1.4.5_1566277881078_0.2186232542124531","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"mongo-unit","version":"1.5.0","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.5.0","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"5c506778a2bf7e7db2b2089c8d102862a43c76d1","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.5.0.tgz","fileCount":30,"integrity":"sha512-rTCakDvzkl1bL8hcOTsILNlecR7MN6daoZgYgpYQaXVsbbIV2UZmhGwurjuGW08GFs1n2rLa6aLvDhFAFaGoCA==","signatures":[{"sig":"MEQCIAuMbdtUa/FLRFLzndB4XcNSkmXl++bkq8xLE0P6s5LtAiBaL6mx0lZEKa9mmvUVOa/Yp+jmaDrFCLjjxW3/CDzD8A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":153159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4tLMCRA9TVsSAnZWagAAMusP/26DO2DBeO/l5IjeSzsW\ngQ0ta7obQvfx6scDnhrahpl71aHVMK7wHkgNaJ/VC7yq5sbYzjqh7Ffz2SxL\nWhK2S1xbvHs9oqZsNF+lcTs/fF8oN/hZCpThzKu9srMVW2JUx0alDrkKIUZe\nXKzKHMUCA5QL8dWFKmTQaMLI22u9Jn3j5S6KEIpxNcuV3smmKZ6xtRGtE36/\ntDaMsy08mvNSMxMmLlI7PDVQyAsaADgyiRZbBCzjgpemAhkOrnsc1jc3737j\n0jB4Es25axF/uV3HAzfE78qkdJrEGPepu2yu2XcQF35Ck4MxtGVTXwOJEIZt\nC2Qi+/0wA8kVGcmcKZJuZe0UmrdxiKq24WkRoQm//ob9lAqOUUwgmyFoORXW\nK7gdx5SY5pswfnKvTr3g+g4snqBtua6aiaNo2f9COlkvzd4Nkonq3Eul+QtJ\nR8zMuYklR4GyJJy4jnJoqNcjxsSqXVPB/sYMQKicOOKlPtIboLqGPmrAVoQS\nU9q3Agf2KdJBtjDAJf5dkpBGRDtZNnkSj0YkEtr1AW5SBWv2Kpq9YrWlH72k\nJ6oMiuo/gzgkTVy1cohov4z8dCCfWFavPWZC1D3oK/c7+AM9yQw97R1xmOHu\ntsEQxVL7dg6PlnW+XSeEh4ZoOhTDTkSuFqyz+MDInxrp6I+Rb05qJWwGF6If\n+NVl\r\n=1CO7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"06d131f351b6f09f6645d92389f30191ba38edba","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-example":"mocha ./examples/test.it.js --delay"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"6.12.0","description":"mongo db for unit tests","directories":{},"_nodeVersion":"12.13.0","dependencies":{"debug":"^3.0.1","mongodb":"^3.3.3","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.5.0"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^5.7.7"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_1.5.0_1575146187596_0.5866426219380321","host":"s3://npm-registry-packages"}},"1.5.1":{"name":"mongo-unit","version":"1.5.1","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@1.5.1","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"d17ca8b6ac62a3f57cf807ef50363c243ebb589a","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-1.5.1.tgz","fileCount":31,"integrity":"sha512-q/NyIZt4aJXPIYOIsDN78C1Z2vwnFwauOinTxzUUP3KiGwQ28yA+A5tNYCxg0yXA7fSm+S1Z4vNGrZrfV32bAg==","signatures":[{"sig":"MEQCHyJHdwZhJlspc17WfmK0yNKFMOM0KBCuFYPFGjkFEzQCIQCNOqxKI2ZieInR2+vJw7RwJJKU7gqshTmCEqA5yFvcZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6KQcCRA9TVsSAnZWagAArCcP/irxE9BSYTu67a1Cy99X\nqn294+ViWme4BM5eMYc6rh4+PXLHBW0fT/naUmTubk9bJ/3g8T5NDaHVOAiv\nxtG+QG9BINlALwTeSvfU1tTa4eDP+xYwh6uJ9YAbZtwbWlWbDMpoZ9YFEYdj\nYVhjmNy1YmJW8BTLk9FxP3F+FSljiuUcY0vXZkr0gxWmkJUggFx2asTf6wut\nP75BynOiNb6O65OUgNu21L8q78jC0jvKO0wxWK00w1mb4Xna7lyimMJpW0Og\n9uLekOSu/qaYK4XOXA2In3JErXw0YsOjwzfCjjbzCzhzVGt9et+V4WjxDiQX\n0cWxG2F0bSQIrbkyQNgrdCFb4VoB0mKTiXEDlnLTP/z5MlqkZhfm3CHGgXcB\nBCORlmvhgxAy7ZdStbqFIuIJv+qeCGZU6yrzfpx7bOPjzfBRGnCldHCBKemR\nU3keimacLqFAX+fsR6SKFZ55nMu3tzJUkeubMt5qFNIbEDj6CS3BOkw7Unae\nS9xLZe2+dNCh2PmiiSvKYrXxoFuUCqhcEu+fskt9/yDmjnXsWvG36Ch7WIkq\nZDvyiuQcG/D0LwEQy9Nd80fCxsgoPtllWPOoZ6Cx/TEYOk/SAmghtxwwoyHj\nOg4dZ575asjWGqj9z3YmwD1xtUxiPqay+GADph1o5+P7U7DkxSDq3FdkVdDe\n3m2Z\r\n=SAPf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"e0a748f40ff3f36363c67a271ea23ca71b0cdbdc","scripts":{"test":"mocha test.js","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-example":"mocha ./examples/test.it.js --delay"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"6.12.0","description":"mongo db for unit tests","directories":{},"_nodeVersion":"12.13.0","dependencies":{"debug":"^3.0.1","mongodb":"^3.3.3","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-prebuilt":"~6.5.0"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^3.2.0","mongoose":"^5.7.7"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_1.5.1_1575527452242_0.6030631204338879","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"mongo-unit","version":"2.0.0","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose","mongodb-memory-server"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@2.0.0","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"18e64fdb6ae5e0e54e88493cc2a6c30a14b7675c","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-2.0.0.tgz","fileCount":35,"integrity":"sha512-+RG5W6ml70fyQrawoOWymwbTlrktsji5QkxsMpkWV2dWyKCcQRweSy5HpkcUE0Q+ZaFsWwC1fr5uv5uHF8q4IA==","signatures":[{"sig":"MEUCIQDPrY5/XWhZMV2VrhbU4vzGcQwREdj3uzolBzOXTendMQIgFLMmrXhIL8YPpOjJxgul6nR0TiKD/uOZr3LUxObPyBg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171732,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeWkBJCRA9TVsSAnZWagAAHbkP/36abmBnTyI5qiPQgiG8\nE/7yEtSUauIjC/0kFj6JAH8A3cojpgbp5xmxhoeyFEA0IaIAzIkn/tBDy48+\noU2QjZ/GQzkNx/FWIgZp0KQDEvDtR0oJrMyRVqkDrbV1MVK+N6OrfVxJ1K2W\nTnOaPhN81/NpSn9ugcvBt6Ke2E9esajrLtB+pUQb6sRPkwPOmPrOz14tc180\nd+v6IHezZ2ox+3CMI701q85nm4XOFSudVVjS82B2pUwAV97LC5u9ov+bKYuN\n4Hri4Soa3GcnAhtY+amvNQTyCxaCVUmGtL39FHrFuzBDdeK5NoomiCx3JuKi\nNZPxJTHK90JV657MTEEE4e97xb16DAiiDq7B5kaJxDcuTSzz77RNHf/skLiT\n3XsetlLmOLxNQpLT48hhG4Tvsv6NDjm/r3B9cVnrO7ov9kAEVqG6sZ1XxV3p\nMzUBeRZRa81a9leTjjECi2bMvfpqR6JkQF1+D4ryDnUHjylfmA/VyYTtrvXj\nR9l4s4sHWeLk3Yq/HNQdkrRTD/uuzh7Yalb13AqdKZFy1aPkZiB0IV3uaL5K\nu4zz/EJktxWcKBFaEqcuqvI3ZtvPdb6WLhIEC3p7V55ivgcyNEPA5pf0R/XM\nJK2jIhfsAo/fdLgQ83Bm8jnd5us9KA/DBMRThHqtSwnFP9n4j9GDKPZDm51g\nsXLF\r\n=BHiD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"572ea6d731850fb6f88760b154b2860ec6513db2","scripts":{"test":"mocha test.js","format":"prettier --write '**/*.{js,json}'","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-format":"prettier --check '**/*.{js,json}'","test-example":"mocha ./examples/test.it.js --delay"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"6.12.0","description":"mongo db for unit tests","directories":{},"_nodeVersion":"12.13.0","dependencies":{"debug":"^3.0.1","mongodb":"^3.3.3","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-memory-server":"^6.3.1"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^7.1.0","mongoose":"^5.7.7","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_2.0.0_1582973001257_0.6265788672800017","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"mongo-unit","version":"2.0.1","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose","mongodb-memory-server"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@2.0.1","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"f305a9ef2fefca26ea24d48ecb9766f11be4be77","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-2.0.1.tgz","fileCount":12,"integrity":"sha512-63eSEWXsEwp3W2QaopagRPsjPg5EX+Hv2UzsXN9QJu5OpPaCwlFLbVJG7g+Jy3/6d2W3Wn2fPsJwQZjI0Z5saQ==","signatures":[{"sig":"MEUCIGT2cC+D+sfOigrJ5rinj65WzJZ3Z0MqpbeRHWwelw78AiEA3QYVb0AWPu+QZQY8BE7hvZNtQTvbjtXXZIbYGfJ+O14=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekr10CRA9TVsSAnZWagAABjcP/3y+16v2RX7rZOdIsCyk\nuuULLcP2KRRgUoT4BqV5q/j+YJx/D1cllI0O7LjNoFWeeIhcR5BwFZ6pSMxS\nsUlrQkHMSK0aOFf4VS7g7vVnJIdBd9iwXBN8r2Q+logSbc0/Xr5xoOi55GQJ\npxKRlgFmH74FNdmcmTnYjvzeOKVRVENBLm5+mdGkYiVW2q97H2hy1GXBgcJO\nD8ODf1YU8CJ9nZAQfB5/x2mwKHQLs2kZSYI8kmtIbvy+wKQK7xiv7TohhI/s\nvgkFTmUy6DxzTT84tVqhIBgZcZEWhvpek+fBK24zVoSgBNGEjfg+psZP4NR6\n8DThd52X4HG3SYqyP3dOrUh+YDXPfYM9kwhjti3U66XYVudw7KIpeYh/fbSe\nLKQY/Co1PSfKNQ4cbOOhrhm5qsNxB45JmnWv3Cot3UMvWaAMOdBEIEi6FhIn\ndnF1xnwgC2hrowvBakAnS3bVamGFqxghV9WcqnDuZj0dfUDwe5itt3FFyaMJ\n2vt+r1IjP1TdN7pXE+qto3vmMFPZSWMptpmI8sBcXxzeEYjGJrjNQZP3Bnxw\nzHbdhRbDlzvhu4TBt2e/BBjzJ6KrllZr4wF3bAXt7Fi2XdI9W0KGgCFHrKLy\n5LFRG96/tMbRG4+xwqsXMX1roccGPw5oCBvZqEIWmeGMuitAYllpsMhbMD9d\nFaXH\r\n=fd6t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"25858fa774b3e47be820f52afe1bf06394aca09b","scripts":{"test":"mocha test.js","format":"prettier --write '**/*.{js,json}'","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-format":"prettier --check '**/*.{js,json}'","test-example":"mocha ./examples/test.it.js --delay"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"6.12.0","description":"mongo db for unit tests","directories":{},"_nodeVersion":"12.13.0","dependencies":{"debug":"^3.0.1","mongodb":"^3.3.3","ps-node":"^0.1.4","portfinder":"^1.0.10","mongodb-memory-server":"^6.3.1"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^7.1.0","mongoose":"^5.7.7","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_2.0.1_1586675060263_0.11455947167257818","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"mongo-unit","version":"3.0.0","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose","mongodb-memory-server"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@3.0.0","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"f20ac0dc3981ebfaabc3b0819cc48dae941fa77a","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-3.0.0.tgz","fileCount":19,"integrity":"sha512-3Q+XbAzIPrzUfqd3hJf6/hkmd/wphjUI+vjYyeUiKdld+9Dt2r7ZFhZ1xb2fn/vwGCvD1wjk9i5Ym0TA3ZayeQ==","signatures":[{"sig":"MEUCIQD1kJEO30wbGievJqUvrwFIRqfu3h94uwygJD539qOu/AIgNTErxGxsYLsoVZ83/SCE+MsavlWG8j28HdF4zcwSzaI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiB/0cCRA9TVsSAnZWagAAhm0P/Alce7GieiaeuQSokYbx\nhIxud52DmZZGrn3o6RIIx0Sd+QbBykE2CY5qaJdaHEdt4M02Qxn2WXZXcszX\ntseGyFAEzmdzf/7pyQ2ERfpmxqpOb/QYeqYa03cZ6XOc9/Y3wN2HheKFJzfU\nRxLL7J4q0Vg8LKDgdFTQLxZ9VUyaXQScmlyFhYF/ZNGJvVXeg7Z5wwXn80HR\nLfndBbMFLFwItmQe2UyWHB1EQqNtBUAQmzc01tRdx1l/hB/VvbxY0GKU0/ZO\nE/xQ1rXa63qUzU5KzPlkMZhAC2JixjB07x61+/gjRvcbYhHZ7Xco37Ukn0qL\n0xM+zNGVrrIQCGR/ErgG40JcyznLPARwlOTBjoYcyZ8Dm/Zw4dhDcJV8M2q2\nxknuNNJyvVQvaVTAkDZS/HFRcMVhOpUCsDSBdcS2OltxMYk1cmeU8X79o7AP\nrbZymKXn9EfZfLwQv+J8nOO4Ag9mFavPZFUakTxo3cBU3dTrmuwLzd6ztkK/\nRwN8eRxJsYFj2k1DyZ/XM/Nj2Vos3lHsh+mM/b9MpAOpYvNwPyWmKg16QeSX\no8gJPytN9eU91slQ4wleWBKuePFrq2TxMmd9chwykPqplj11bLxPrpRKWziF\n729HIeaT88fo+Ytc+2+yFOfBLQv/80ESHzYfN9XK+UIN9o/HEjQE/pI4FEMN\nR/Sy\r\n=jMkm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"8b1c7ba25870dd63a6e1845d3e62282301c22a5f","scripts":{"test":"mocha test.js","format":"prettier --write '**/*.{js,json}'","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-format":"prettier --check '**/*.{js,json}'","test-example":"mocha ./examples/test.it.js --delay"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"6.14.8","description":"mongo db for unit tests","directories":{},"_nodeVersion":"14.15.0","dependencies":{"debug":"^4.3.3","mongodb":"^4.3.1","ps-node":"^0.1.6","portfinder":"^1.0.28","mongodb-memory-server":"^8.3.0"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^9.2.0","mongoose":"^6.2.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_3.0.0_1644690715992_0.12028533598311952","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"mongo-unit","version":"3.1.0","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose","mongodb-memory-server"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@3.1.0","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"9c1212c020238bade9eb554f7990e77b627b1948","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-3.1.0.tgz","fileCount":54,"integrity":"sha512-HexPftLYAQyQfizq9BzCqh99BcfouzfEn9vYjuKZp4rlEVt/avNkZWuLejusnNSGGY34O6bLjkzw0pe3+OCZPw==","signatures":[{"sig":"MEUCIBcU9jEmUjYRGuUZYO58oBPPsVrNCJIuVvkJJCn06FeeAiEAu9P7572XMQcutguM18CSy+946eDoz6UDFXM989jsNg0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":315436010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEM+tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrdnA/9FnOOfqtl0FFxSgCjy3VqWZNDGIWGdKJKwSA7C0la4CFNvVED\r\nUAS2SBwOjXXTYLJfgD+rGaKASlUigHdjfS2IGZ63hVTmXyqHmwnL2kWOWIku\r\n1clYnJkXf+Hw2iyvCSi7AI0pZKN7p1jYFmnGp2IqHwV3QGYHt0w1Z77TCQ5g\r\nNRBoaoXzQU/JNsnsRbMZkf2XVHiXotvYvSob3KObHt/hfnNjXBm7mTs6F1VM\r\nNFaMQHUan2MsNawc4sNcg0eOPj7L0c0xjEEdjTjOydDUPcCvHGV9r/qIZG4q\r\noRx2B7pe2l1lEkrDc5tb1MBEuRXTOStv1GWF4Bzy7fzGqSOUucyu3WqSuap+\r\nehCBaAwNhmlxtZPLpGQAY4XbJzZVAqoCS+pg2snzxt+l9xIjuuXyLbo7b+N/\r\noObLnz0nmYtfa6Yac3imsEOa7Rnh0cf7id4kUDthsvsBa0l/I+rS86pp4uoY\r\na1oEV0Njk1WS7yr6a5dlJAkSlNhjQvHv9O9JE5WZCy5YH9T2QKTSb8DPb+Pi\r\nNJa/OeADuNBiQg6xZ8CkbORjT560MZd2ADD0PaRxWNIaKtZVW55OEQ08qRKr\r\nXBl05za8rTsY49HsVC6yWGqEGijIFvI7aSyVLDTSr3ugb+/lB3dwiq5vzlJM\r\nlfcI4+l2hNt1NC9yiT8N8rMdh51T49csS7E=\r\n=8phr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"46032436867f851a0722a9ca8d3f6b3683ce853d","scripts":{"test":"mocha test.js","format":"prettier --write '**/*.{js,json}'","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-format":"prettier --check '**/*.{js,json}'","test-example":"mocha ./examples/test.it.js --delay"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"6.14.8","description":"mongo db for unit tests","directories":{},"_nodeVersion":"14.15.0","dependencies":{"debug":"^4.3.3","mongodb":"^4.3.1","ps-node":"^0.1.6","portfinder":"^1.0.28","mongodb-memory-server":"^8.3.0"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^9.2.0","mongoose":"^6.2.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_3.1.0_1645268909556_0.7101793891916428","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"mongo-unit","version":"3.2.0","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose","mongodb-memory-server"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@3.2.0","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"915ab5b8777d346e6fa966c610240022ed83f81b","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-3.2.0.tgz","fileCount":54,"integrity":"sha512-PyCZv/nFKdOQOtcgi/2+0gCvZTaAYEr9LHC1lbRZycgvvCAqdpv9EvGiwdd9eOd4CsHEw0GKxj9lxl4IrjioPw==","signatures":[{"sig":"MEUCIQCKe9fBnCeEsOAEBV0g8oPX0duQmtrhDGsoQPhvI2N2SgIgJZkQFDU1mCd9rQI7rkOTAAXMDQwO5yf2ur/P8ZgMUec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":315436043,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFQYCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmra2A/+O1KT169+Fq/+rMtq7UQB4N2C+hSW0ay7qrZxiz04sjZyjDJ9\r\n/LcdPL2n9An7PHsbRQB7q6Qp0cRi2RiG5xtTiBrP8Wo2mI4cHnpzmZOaSK2i\r\nId/GomqRxWHaktC3Ek7PcyGfMmjUr+kBLpdV5zyCJBcwUSlwHgEyWFCHELoA\r\noly2Mp/jyR99Tt9khYb+oRgxwOCJlMb0pGqk6DW6O1DgoyVvalRrX8kL73Ov\r\njRwxXNFsOr2MO9u4zGYaFRUwRhiJ+PbB9rL2IItUpKCGovx9CCwroWwekZNY\r\nMGHRqfM8o4a5DABpXcxn2iqw9n4cDLDiVsbCD8u/C8yq8XfX1R1/zfHPgWkq\r\nrtVTAh1nswWuX/hEbvBXsGEl2UNnSCoge+ss4/vBdh+GRWL4g4zmN8qFc33Q\r\nEIDAaosq5X3Ad2hSTVHbJlkia9jUSLtrNW9Fldj89/m+42Cj37VCTJWPLiga\r\n2I5ufKFjBblNsDmcSYbJL9cubdk3nrQY1s1QYuhbXHBct4BvJULtMjbwN4sq\r\nWh8rvdMVWO6jTyIstkELg886etkX8exHXmPLQ4v7oZbvb9BM7c1saYbaNr5H\r\nt/waprTyOKMVYlGYftH4/kSbChaZK/HWlZCei6h+8Z+OW2+7ulwjvBwCSEsh\r\nA+KQxX7u2kLUogK9U357NGCq4WqiTOlvGtQ=\r\n=o4T6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"ee2fc2266dd6a2b149dc5e14105af8e4f74fde39","scripts":{"test":"mocha test.js","format":"prettier --write '**/*.{js,json}'","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-format":"prettier --check '**/*.{js,json}'","test-example":"mocha ./examples/test.it.js --delay"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"6.14.8","description":"mongo db for unit tests","directories":{},"_nodeVersion":"14.15.0","dependencies":{"debug":"^4.3.3","mongodb":"^4.3.1","ps-node":"^0.1.6","portfinder":"^1.0.28","mongodb-memory-server":"^8.3.0"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^9.2.0","mongoose":"^6.2.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_3.2.0_1645544962706_0.6607049863890606","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"mongo-unit","version":"3.3.0","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose","mongodb-memory-server"],"author":{"name":"Mikhail Angelov"},"license":"MIT","_id":"mongo-unit@3.3.0","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"dist":{"shasum":"4beb85fdec14fd64a3b7eaa19ea4030300a6f09e","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-3.3.0.tgz","fileCount":54,"integrity":"sha512-CZ+nGIJJRWMA//4qaryGskb2UoUNFXjRuPw2xtrl0JkLwMUB0t4t+IuXzsiAcp+DEZzmAO9IqU7XszQQxGQ+Qw==","signatures":[{"sig":"MEQCICMsnFcce5hFJsOMZyCI/dqx1CyIdvfVfVUyUxp8z8vHAiA34mMYtbsBJQlgoocQDc+frPR8CoCzs8/1hdKqza7Hkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":315436073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoq7vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4eQ/+Jykw+X/WM0vTgUAGImiNqXgT3r5tzcohJxy+esZVl+956LrY\r\n6virgebMEAjz5zbWyUeTK37yCJczFSVo6n5UyHksk/Ahw8HgAh5+ZOGJacof\r\nrWHGiZD69dsFUPqgook3RiRWC1eUrqbirXHJjBhoL5eys/33pzABAfZOCkn8\r\nOVgpsuwq3FupspZo5aEakXFQgwQktscWxDdGv6CMzeNRHFPrbI+7U0+pZEbr\r\nzaMaUdKQH9LZFa1zb10P1+uAOCuqwc95r/BfJS2RNnTLS6z4bu3AnAkJ4INq\r\nFuApvEqbAIWWFv3J7Yv39JFautavkBYZGrbWjnpQzX3vK5jZbSEP0qM3nQRP\r\njOk3B3eqt+iqzCkae89REBtMJH1MqULwHPh+e3DpGQ7G0+Cu3fiO6pzwCJro\r\nk0t7oD9U9hy1gbLWVJUVESDZOZzeac6iw7kZMOlMG7esk1KzkdjRf0Bx+BLz\r\nKoGDb2rglxFYVhXHxcFE18/AbJaeh5eNAzdOvptuAQ4uQKfMTOsy6phFgpI0\r\n1ped8NUW4beI8qKxFv3HMxcMPR1KfpNyYEg6xWOD4pUBIhKZKXL27poxx8Ax\r\nS2Eep+03NghI+vTg0gO+U6UF++4nCH/x5gMlakUomMaQGugGslql7mqbivhX\r\nFCodvBNJoBAtJ25whZquJmL0gRLKVNyIh98=\r\n=zoIu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"72d55a92623552951d0505c9b57d24a0f11a8191","scripts":{"test":"mocha test.js","format":"prettier --write '**/*.{js,json}'","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test-format":"prettier --check '**/*.{js,json}'","test-example":"mocha ./examples/test.it.js --delay"},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"repository":{"url":"git+https://github.com/mikhail-angelov/mongo-unit.git","type":"git"},"_npmVersion":"6.14.13","description":"mongo db for unit tests","directories":{},"_nodeVersion":"14.17.0","dependencies":{"debug":"^4.3.3","mongodb":"^4.3.1","ps-node":"^0.1.6","portfinder":"^1.0.28","mongodb-memory-server":"^8.3.0"},"_hasShrinkwrap":false,"devDependencies":{"co":"^4.6.0","chai":"^3.5.0","mocha":"^9.2.0","mongoose":"^6.2.1","prettier":"^1.19.1"},"_npmOperationalInternal":{"tmp":"tmp/mongo-unit_3.3.0_1671605999653_0.6180091246363775","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"mongo-unit","version":"3.4.0","description":"mongo db for unit tests","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha test.js","test-example":"mocha ./examples/test.it.js --delay","test-format":"prettier --check '**/*.{js,json}'","release":"git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","format":"prettier --write '**/*.{js,json}'"},"repository":{"type":"git","url":"git+https://github.com/mikhail-angelov/mongo-unit.git"},"keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose","mongodb-memory-server"],"author":{"name":"Mikhail Angelov"},"license":"MIT","bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","dependencies":{"debug":"^4.3.3","mongodb":"^4.3.1","mongodb-memory-server":"^8.3.0","portfinder":"^1.0.28","ps-node":"^0.1.6"},"devDependencies":{"chai":"^3.5.0","co":"^4.6.0","mocha":"^9.2.0","mongoose":"^6.2.1","prettier":"^1.19.1"},"gitHead":"0236cb3e92bbdbba321b880302ceef67f3635497","_id":"mongo-unit@3.4.0","_nodeVersion":"22.9.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-zqe5ZeqJ7E+aEKUI168yYLwTT+RHXM4hkiYZe+61WPOTSMtrHuWHIqpfjXj29ojvNkK6e0ONwnxIQRAYPfa1Kw==","shasum":"f2fb5ade5ec76a708eafd8dd4068ef9d180c7416","tarball":"https://registry.npmjs.org/mongo-unit/-/mongo-unit-3.4.0.tgz","fileCount":54,"unpackedSize":315419373,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEpvZHHSn9iLQC86SNLiZ+UUDylkuiaCCjywWtGfh4zMAiAGn/82S+iFwJjqKP0pSWPw9ukCh33voWqfrjkvXQydqg=="}]},"_npmUser":{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"},"directories":{},"maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mongo-unit_3.4.0_1733903546503_0.6808666555132894"},"_hasShrinkwrap":false}},"time":{"created":"2017-01-05T14:58:09.409Z","modified":"2024-12-11T07:52:26.964Z","1.0.0":"2017-01-05T14:58:09.409Z","1.0.1":"2017-01-06T12:30:49.864Z","1.0.2":"2017-01-09T17:24:04.618Z","1.0.3":"2017-01-10T14:47:07.476Z","1.1.0":"2017-09-13T09:48:08.684Z","1.2.0":"2017-12-03T17:56:01.158Z","1.3.0":"2017-12-26T18:47:46.968Z","1.3.1":"2018-01-24T19:19:37.708Z","1.3.2":"2018-01-30T15:57:12.569Z","1.3.3":"2018-07-22T12:46:20.682Z","1.3.4":"2018-08-01T09:01:35.675Z","1.4.4":"2019-02-01T09:25:28.637Z","1.4.5":"2019-08-20T05:11:21.246Z","1.5.0":"2019-11-30T20:36:27.714Z","1.5.1":"2019-12-05T06:30:52.374Z","2.0.0":"2020-02-29T10:43:21.519Z","2.0.1":"2020-04-12T07:04:20.492Z","3.0.0":"2022-02-12T18:31:56.138Z","3.1.0":"2022-02-19T11:08:29.923Z","3.2.0":"2022-02-22T15:49:22.900Z","3.3.0":"2022-12-21T06:59:59.908Z","3.4.0":"2024-12-11T07:52:26.772Z"},"bugs":{"url":"https://github.com/mikhail-angelov/mongo-unit/issues"},"author":{"name":"Mikhail Angelov"},"license":"MIT","homepage":"https://github.com/mikhail-angelov/mongo-unit#readme","keywords":["js","unit","test","db","database","unit","mongo","mongodb","mongoose","mongodb-memory-server"],"repository":{"type":"git","url":"git+https://github.com/mikhail-angelov/mongo-unit.git"},"description":"mongo db for unit tests","maintainers":[{"name":"mikhail.angelov","email":"mikhail.angelov@gmail.com"}],"readme":"# mongo-unit\n\nThis library is done to simplify creation of integration tests for node.js application with Mongo DB.\nI starts local mongodb process using [mongodb-memory-server](https://github.com/nodkz/mongodb-memory-server) library,\nand it work in \"InMemory\" mode, which improve performance of your tests.\n\n### How to use it\n\nSince running embedded mongo takes some time, we need to config `mocha` to wait until mongo is up and running, the easiest way to do it add `--delay` flag for `mocha` and handle async flow, like this\n\n```\n//package.json\n...\n\"scripts\": {\n        ...\n        \"test\": \"mocha ./**/*.spec.js --delay\",\n        ...\n    },\n...\n```\n\nadd init.spec.js\n\n```javascript\n//init.spec.js\nconst mongoUnit = require('mongo-unit')\n\nmongoUnit.start().then(() => {\n  console.log('fake mongo is started: ', mongoUnit.getUrl())\n  process.env.DATABASE_URL = mongoUnit.getUrl() // this var process.env.DATABASE_URL = will keep link to fake mongo\n  run() // this line start mocha tests\n})\n\nafter(() => {\n  const dao = require('./dao')\n  console.log('stop')\n  dao.close()\n  return mongoUnit.stop()\n})\n```\n\nCode under test\n```javascript\n//dao.js\nconst mongoose = require('mongoose')\n\nconst userSchema = new mongoose.Schema({\n  name: String,\n})\nconst taskSchema = new mongoose.Schema({\n  userId: String,\n  task: String,\n})\n\nmodule.exports = {\n  init: () => mongoose.connect(process.env.DATABASE_URL),\n  close: () => mongoose.disconnect(),\n  User: mongoose.model('user', userSchema),\n  Task: mongoose.model('task', taskSchema),\n}\n```\nTest data\n```json\n{\n  \"users\": [\n    {\n      \"_id\": \"56d9bf92f9be48771d6fe5b1\",\n      \"name\": \"test\"\n    },\n    {\n      \"_id\": \"56d9bf92f9be48771d6fe5b2\",\n      \"name\": \"John\"\n    }\n  ],\n  \"tasks\": [\n    {\n      \"userId\": \"56d9bf92f9be48771d6fe5b1\",\n      \"task\": \"do stuff\"\n    },\n    {\n      \"userId\": \"56d9bf92f9be48771d6fe5b1\",\n      \"task\": \"fix stuff\"\n    }\n  ]\n}\n```\nMocha test\n```javascript\n//dao.spec.js\nconst {expect} = require('chai')\nconst mongoUnit = require('mongo-unit')\nconst testData = require('./data.json')\nconst daoUT = require('./dao')\ndescribe('dao', ()=>{\n\n    before(() => daoUT.init())\n    beforeEach(() => mongoUnit.load(testData))\n    afterEach(() => mongoUnit.drop())\n\n    it('should find all users', () => {\n      return daoUT.User.find()\n        .then(users => {\n          expect(users.length).to.equal(2)\n          expect(users[0].name).to.equal('test')\n        })\n    })\n\n    it('should find all tasks for user 1', () => {\n      return daoUT.User.find()\n        .then(users => users[0])\n        .then(user=>daoUT.Task.find({userId: user._id}))\n        .then(tasks => {\n          expect(tasks.length).to.equal(2)\n          expect(tasks[0].task).to.equal('do stuff')\n        })\n    })\n  })\n```\n\n## General info\n[![CircleCI](https://circleci.com/gh/mikhail-angelov/mongo-unit.svg?style=svg)](https://circleci.com/gh/mikhail-angelov/mongo-unit)\n\nI was inspired by [dbUnit](http://dbunit.sourceforge.net) library, which is very popular in java world.\n\n> There is alternative library for mocking Mongo: [mockgoose](https://github.com/mockgoose/mockgoose)\n\n## Requirements\nIt works on Node.js 12+\n\n## Installation\n`npm install -D mongo-unit`\n\n## Run test in docker example\n`docker build -t mongo-unit .`\n`docker run -it mongo-unit`\n\n## API\n\n### `start(opts)`\nIt starts mongod on one of available port and returns Promise with URL to connect to this db.\n`opts` is optional params, you can specify some command line params for mongod:\n\n*  `opts.port` - preferable mongo db port, default: `27017`\n*  `opts.dbName` - name of test db, default: `test`\n*  `opts.dbpath` - db path, default: `<node_modules/mongo-unit>\\.mongo-unit`\n*  `opts.verbose` - enable debug logs, default: `false`\n*  `opts.version` - specify which version of mongo to download. e.g. `version=v3.6`\n*  `opts.useReplicateSet` - specify we want to start the memory server as a `MongoMemoryReplSet` needed to support transactions, default: `false`\n*  `opts.storageEngine` - specify the [Mongo storage engine](https://www.mongodb.com/docs/manual/core/storage-engines/) to use (e.g., `wiredTiger`); default: non-replica set `ephemeralForTest`, replica set `wiredTiger`. (Note that as of Mongo 7+, `ephemeralForTest` is no longer supported or allowed, so you will have to specify an option here.)\n\n[mongodb-memory-server](https://github.com/nodkz/mongodb-memory-server) can also be configured via environment variables.\n For instance, `export MONGOMS_DEBUG=1`will activate debug logging in the memory server. See their docs for more information.\n\n\n### `stop()`\nIt stops mongod process\n\n### `getUrl()`\nSyncronius API returns URL to connect to test db, if test DB is not started it thows an Exception\n\n### `load(data)`\nInserts given data (like below) DB collections, returns Promise.\n\n```json\n{\n  \"collectionName1\":[\n    {\"field1\":\"value1\"},\n    {\"field2\":\"value2\"}\n  ],\n  \"collectionName2\":[\n    {\"field3\":\"value3\"},\n    {\"field4\":\"value4\"}\n  ]\n}\n```\n\n### `clean(data)`\nClear collections based on given data (data format is the same), returns Promise.\n\n### `drop()`\nDrops test DB, returns Promise.\n\n### `initDb(data)`\nhelper function, load db data into mongo\n\n### `dropDb()`\nhelper function, clear all db data from mongo\n","readmeFilename":"README.md"}