{"_id":"mongoose-id-validator","_rev":"45-c0b345050f57b0a034a91cc21e55bcf7","name":"mongoose-id-validator","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.0":{"name":"mongoose-id-validator","version":"0.1.0","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","dependencies":{"mongoose":"~3.8.0"},"main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"async":"~0.2.9","should":"~3.0.1"},"_id":"mongoose-id-validator@0.1.0","dist":{"shasum":"201d5f97444786384c8c5728ecb3b36084c4a587","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.1.0.tgz","integrity":"sha512-q4jeLv+ALLMZJ7BXi9O2hXbFV7vZY6KM+gEBRdzOCTmzFsA52ohzXTviTHdh29XemCpHyGZB1RpPP7D7pdmgCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDF2pFnH4ocmyCnYn41iBbJfM05OqvqXj2daBQ5adP44wIhANFjq/pjT6dKzwVrQc6YAi8TnXrXpDuXdlveyamLQW7r"}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{}},"0.1.2":{"name":"mongoose-id-validator","version":"0.1.2","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","dependencies":{"mongoose":"~3.8.0"},"main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"async":"~0.2.9","should":"~3.0.1"},"_id":"mongoose-id-validator@0.1.2","dist":{"shasum":"018824fc7e1b79b10df172b07607e8d12cbcff82","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.1.2.tgz","integrity":"sha512-pQYs2jlBFPFCUyjuzXFLyF+zzySm0cf8ZADXEnBcu+QQpODVIYMxJJRuTMMi8SofInUDBeIV4CbBNcIFw9wchg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQDV2pvjHAv2yCs7PEDCGCGjPXIAEaXwuU7A85HPEaWAIhAO2lFaRkp4Uz0O6ZKI04Db7t6VRNCwZlTLxYmhvvAHcy"}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{}},"0.1.3":{"name":"mongoose-id-validator","version":"0.1.3","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","dependencies":{"mongoose":"~3.8.0"},"main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"async":"~0.2.9","should":"~3.0.1"},"_id":"mongoose-id-validator@0.1.3","dist":{"shasum":"50c3c0f9d056dcb8f5ff8abf2004e217a0b161c2","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.1.3.tgz","integrity":"sha512-3Y2RF7YAXxtMW5VhsFUpV0ecElE5CvL3sfVQPYgcussHoA5+VkMgt1qd2nUVkAseBNLwxziie2P3zlhoXe56ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA/393T40WH8RiuFqZ5amXm6/L+fmTCuLTTsZ1a6lbXXAiEA3gOvLr30A+9fNL4x2VR7LJU2SPZu00F4k6usTEpJI5w="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{}},"0.1.4":{"name":"mongoose-id-validator","version":"0.1.4","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","dependencies":{"mongoose":"~3.8.0"},"main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"async":"~0.2.9","should":"~3.0.1"},"_id":"mongoose-id-validator@0.1.4","dist":{"shasum":"42ab5340d065152cd6d4263cfe4b9dc093686a7c","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.1.4.tgz","integrity":"sha512-f/D5bcVso0hmGBMXIO1xZBNZfTkoR5J/ITan5xukW0wZaXti4W9C2RNyvm3C0I5ALXywM0jQtCSzwtGhemTFYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbpSBlPN8YhxCmWtv+8lxuWgqi3UhxKTfPb95TWatFpAiBA52KRu3D5M84LmUOnX2onjW8pirNgqK3Bkdkea5OJKg=="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{}},"0.1.5":{"name":"mongoose-id-validator","version":"0.1.5","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","dependencies":{"mongoose":"~3.8.0"},"main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"async":"~0.2.9","should":"~3.0.1"},"_id":"mongoose-id-validator@0.1.5","dist":{"shasum":"917fc23574807cabf33c91c31cb3dd9aa1a73678","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.1.5.tgz","integrity":"sha512-cTggSpQ48JCDFXLuXwPVtSUbjsoSQN+Z/eOWyW7XQWp88qiu5r8UJ7r0s1gVKyncqRLNDCKpVm1SRjkhnisJUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkVMLWT89nfKlvvPPCeOlRKGmzID/ufRwA+lyLhDLGIgIhAN1aebtWw6VTq2eJWm8y46ec3drmpxmXo0ZMLvWEypwx"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{}},"0.1.6":{"name":"mongoose-id-validator","version":"0.1.6","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","dependencies":{"mongoose":"~3.8.0"},"main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"async":"~0.2.9","should":"~3.0.1"},"_id":"mongoose-id-validator@0.1.6","dist":{"shasum":"5124900c054fd7e4a2a7849767df7f2d797d296a","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.1.6.tgz","integrity":"sha512-OY2W8o4KNU8aHkMNH0LNjirZf+liLTCMaxl01gXP9j4/SBhypf953vqO46zghidf+KNOXqpFa9nNUgP1YMNhTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+y4I83qp61fOyXMU0waFDJprhIokfRGXAN55Df5XzgAIgB1QIix54S2zLMB27TKmVORTsXCF7zZdOLJ2+iLbhExM="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{}},"0.1.7":{"name":"mongoose-id-validator","version":"0.1.7","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"~3.8.0","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"_id":"mongoose-id-validator@0.1.7","dist":{"shasum":"4bac628a89798abcca0b7bc3218e6da913767f90","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.1.7.tgz","integrity":"sha512-WdirAqn/+JyabffmLI/LMnhCpjE3BNDbxcRNFdQYeigikLSrHJ4lR1VrTR9KAu08cUsZaiUa387wQzbgxg+olw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWJR6jghhJI8C11iuOH9wSzBemIXAy1ci/ZC+xZesMpwIhAJETp6ivSUAJ9kgwQ582Jhk6CgyxoEFbQkt27morvTx6"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{}},"0.1.8":{"name":"mongoose-id-validator","version":"0.1.8","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"~3.8.0","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"gitHead":"d82e04a860229a394a30aaec680d201aae057cb0","_id":"mongoose-id-validator@0.1.8","_shasum":"6707f6e1fa6e932e3c234047ea5ec59e69c87bf7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"dist":{"shasum":"6707f6e1fa6e932e3c234047ea5ec59e69c87bf7","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.1.8.tgz","integrity":"sha512-vzcdO6Oln9OtMRz+pJp4EFUfZkeA+nu4wfBQ0gaD+32MCOkV52GFgkgYyHeaGE44oB1g5TrvjWRaJC35Z08MoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAYLNVh38X8Ic2ZGTJyL1nESdGapthFS0XeRAlOFrCfAiBRcC5RlYs4UIQ4UDp4Fb/vI/r2PPti2GX6yHcn9W9tzQ=="}]},"directories":{}},"0.1.9":{"name":"mongoose-id-validator","version":"0.1.9","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"~3.8.0","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"gitHead":"d26cdd1592d8022371d39ec23977ce4375adcca1","_id":"mongoose-id-validator@0.1.9","_shasum":"d2c8422eb9a4f02ae88db074a679fc0e28bb0dc0","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"shasum":"d2c8422eb9a4f02ae88db074a679fc0e28bb0dc0","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.1.9.tgz","integrity":"sha512-ecSQGvS3fVKPgusdjybeQUaSxmmlZtz2A7jpusMuJMY8Y/nm0w+5CAT4yG4SpDQl47sEBUbW5GL503p79e0YVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEeYWgTmOrYBnvhkQrDAhsp3kdnQ4OYw2CxQkVSJwu59AiB57gOS1SRrJoa8uoQcfwqoh4monra7yiNbsv9he2A7YQ=="}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{}},"0.1.10":{"name":"mongoose-id-validator","version":"0.1.10","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"~3.8.0","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"gitHead":"0e4590dd1ffff0419aea1787b5195f4fb7cd2993","_id":"mongoose-id-validator@0.1.10","_shasum":"137f93544fb412a14be67191123328bf44331501","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"dist":{"shasum":"137f93544fb412a14be67191123328bf44331501","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.1.10.tgz","integrity":"sha512-tbLBAjgpRiDYPVDAn9w4fTLmAmRAMcM8Ny52dFmauo3E/JW5ab3CYTIqc3S1drAzPCM2uhp99aei8/j+8vaRew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3b2g9EkI8wvDXIofsKbx2dHbthiZdx8DY1Gh9Zn4SdQIhANEI7oxkR3JH7MxdX1qOzFketYdd/U1gXLNuFDR2Vfml"}]},"directories":{}},"0.2.0":{"name":"mongoose-id-validator","version":"0.2.0","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"gitHead":"05ac578448378d33826bddeb92788a3adfb17791","_id":"mongoose-id-validator@0.2.0","_shasum":"67a7cc833cf11c1240ce7d740414a9fbd6645817","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"shasum":"67a7cc833cf11c1240ce7d740414a9fbd6645817","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.2.0.tgz","integrity":"sha512-DvwWnrgpwXrHKjaBTY+C9ee3PDbeZD1QW2G5Oy19qPPAGrN4u+kGnnM4fEUFKt6XJdiYPmG7qv3x/r3FfRAIig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCwVbLAMnEhofgHo75G1Jcn2+hO5TYDkfUp9OCuqJc2QIgJB/qY2h41LAxX08RdrGdzA/tkj9PgOUczu+EnsdVKBs="}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/mongoose-id-validator-0.2.0.tgz_1455702531371_0.6094036940485239"},"directories":{}},"0.3.0":{"name":"mongoose-id-validator","version":"0.3.0","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"gitHead":"05723c58b95631ea45a1a15d85301178ee1b9171","_id":"mongoose-id-validator@0.3.0","_shasum":"4ccce2d9e2e8330f7de5f0012dc6be5255bda88f","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"shasum":"4ccce2d9e2e8330f7de5f0012dc6be5255bda88f","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.3.0.tgz","integrity":"sha512-LgcZu6XJ6j+yQHscsSImyJcp9/qS8VfA23eZ0Ssm0e+XVH2yMkmnh3F6CY0/muRswY+X8KzC2XRFFlenh3EMMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6UBYjz14y2dbw1yXT3xQ+8Se8ZGqR82/QpUpkSf3hcAiEAyIa8xxKgiQ/BLcFkWMHhUHSJOBIWG/ea1nRzDNx/zrk="}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mongoose-id-validator-0.3.0.tgz_1459757334147_0.8001416358165443"},"directories":{}},"0.4.0":{"name":"mongoose-id-validator","version":"0.4.0","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"gitHead":"de2327085e504aac766c915946e2010323ad6255","_id":"mongoose-id-validator@0.4.0","_shasum":"2b0eca6d844da3ce59a56c1793beb9b77819b750","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"shasum":"2b0eca6d844da3ce59a56c1793beb9b77819b750","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.4.0.tgz","integrity":"sha512-z6yIddQRxkL9SllBwFxBWgDlCDKjtVrKegpGvB8NJVWkhkV5E5YK7lilvLIOrB+tR07/6vLVf2jQ2uDBAQy5SQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgJqAPW0Ha/u4yqAQdEpvzS9PaJmBD/dC9Xm5CIjV5SwIgflqCqmFj4iEk9kTqDn7AeBnI0STnYS8poL/NK28bqMs="}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mongoose-id-validator-0.4.0.tgz_1477917305242_0.22433999623171985"},"directories":{}},"0.4.1":{"name":"mongoose-id-validator","version":"0.4.1","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"gitHead":"e5e10c34018cea3be4d63f750acd891703fde2cd","_id":"mongoose-id-validator@0.4.1","_shasum":"cccfc145f2c28739124dab9ccb05316df6a6d03c","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"shasum":"cccfc145f2c28739124dab9ccb05316df6a6d03c","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.4.1.tgz","integrity":"sha512-SXvOtEjpMr6Dwd78ZpNyrnJTf47itBoW/J8wxP/Xc0/6wZdmY8GfJsrxcoS9vTHt31z8gApQ4WCjL97PD9nD1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/Y6ngkmvYoiBQFFX2nCAjqUSfh5ElgTwII5K4aFKDNAiAetwQXGub4TC5VckAlpin9ZZi2aqGaLmYx+6UM38fsPA=="}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mongoose-id-validator-0.4.1.tgz_1483523345731_0.830003720941022"},"directories":{}},"0.4.2":{"name":"mongoose-id-validator","version":"0.4.2","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"gitHead":"393d1b56f6a115c165fee34289ab16efbe57fddc","_id":"mongoose-id-validator@0.4.2","_shasum":"88b5c34f161a3a7f98bc7113664052e1876ad054","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"shasum":"88b5c34f161a3a7f98bc7113664052e1876ad054","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.4.2.tgz","integrity":"sha512-1A2xdoHSabQ3IpOqo29mwhUcO+9jIRM9uqX4/fLnJA6DCooRQWwLpcu38eOMsSazZZo/g6QeBt+rbVs4l56zbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfYJTmDq7t+FMAX/Xz5r2M38rlyfh3guaxLIUFC1xfOQIhAMGMKxkoxDJ24UeTcM8FPoOko3WA09LywY6F2UBGAXkn"}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mongoose-id-validator-0.4.2.tgz_1491213310290_0.3368504459504038"},"directories":{}},"0.4.3":{"name":"mongoose-id-validator","version":"0.4.3","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"gitHead":"c0fcb87cadd9a1b15584afbe323c49cbac1a96ee","_id":"mongoose-id-validator@0.4.3","_shasum":"9b5242bba4f1504c3038f53b20938f3fc44699cc","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.4","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"shasum":"9b5242bba4f1504c3038f53b20938f3fc44699cc","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.4.3.tgz","integrity":"sha512-ibJxte0lr2mMzzR6/VYEYP+5VJy3/yqkpCAwbZG1eRZt0AYCbz48hqgsFmcXAv3jeb8LeovWTiBNiUzu4Xzqqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWHKsB8hO/94o0H/SPk4d9GdmzXE8aszsCDDuTjeHjAgIhAOJrp869KFAkhI0WUlFcbF9mPhfdGE8d3tn1ectfSN0M"}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-id-validator-0.4.3.tgz_1507621528707_0.4141041124239564"},"directories":{}},"0.5.0":{"name":"mongoose-id-validator","version":"0.5.0","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"gitHead":"2c13c63b633a32918af1b84f17f0ab03de935c59","_id":"mongoose-id-validator@0.5.0","_shasum":"dcd52f787fdf6a85e89ee366489ac5ecf63ec07b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.4","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"shasum":"dcd52f787fdf6a85e89ee366489ac5ecf63ec07b","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.5.0.tgz","integrity":"sha512-V2mxgE9DMeN70wCQ+1/jL0qtziQDg++p8ZfHc+4jrmlCME2U7H/uzUWefA8YuL9PjGxJ4cITFTHF6iaE6YkF7w==","fileCount":9,"unpackedSize":43764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv7ZrCRA9TVsSAnZWagAAoEkP+gOvWejWBwZNvJl4LYVD\n54y2WRnTcHy34x3RFK8i0TB6qsOpPXanV+WPypq1OjQbChOCmQF6gcONbUeM\n8krqUdCUBW1MpIT0LUYewtSOiWHcNi6DYFRMduhVCuIvh5dgd7UPVEvLWzXM\n3Vm2U8q9TWPripFJi30H3KK11fg5T4Wg4mVinXut0r/CtxwncPY0D9cIAvQ8\ngYECZGHhauoizsELOGyBiUom77+5XH7FgD4/eAsljo8bOFsHHhwUcU+yu0hJ\nDofBAX5DeJOkbkzBM7cNBqfZV6zyjXNPcaEoZ8pMFusHgdOf/UaNjit40EH3\npTcdT0bO8bg8kcUXQ36Ygu8CfwG4GlsUbm4AvLoFsO4PKjgWCo+x+GrlY+Go\nULasZ2hmHEGQ+POWQ0snEdMuO3lUIcyX4HcoNAu/KNuxdEhD/30qpiDeaUHZ\nhJ7x9XHzZnhki8p8lduw3pBnXL/2nOu/pLXGGbzV+BEctQeGmrZduWN60oWP\nvXLB6L8holkpW17yHVWy44xBkQ3z/D4LJE4LfkIqdA2OyFtk7TDIOdzJzarO\nf1xanYpb0cjrvA5S01UsUmF18PGpp/zhtXNMHph9f0gv7hr8wctRLgnkPT6+\n62fkibC4u2ie1ONKySdpDPdALf1VKHj93kbu2ka0nZw2QxIH14T2UPgRtqi1\ntZ/t\r\n=NPIg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWOw1GogQI4j0Mr2550/FYWWVb2XuexqjtJn6lq957CAiA7DxZsZRJR2JtsqbLOsNmEU3KITxiaA2Db3qTMnxW4IA=="}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-id-validator_0.5.0_1539290730950_0.7258113613526451"},"_hasShrinkwrap":false},"0.5.1":{"name":"mongoose-id-validator","version":"0.5.1","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"gitHead":"aecb3f067a714b9f4aa761fe435886cf72f117af","_id":"mongoose-id-validator@0.5.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"integrity":"sha512-s+BUcJvSJNhWGacVrwads89xl9esGoypKQoIKQSVxJeVuK4fWo7SeVj2+xVhllWWtmq5uWIbxkzKiKT8zTSz6w==","shasum":"e443ff8ed3426ad4562a3c18a2a3d4ae3fd1678d","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.5.1.tgz","fileCount":8,"unpackedSize":43826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcg6quCRA9TVsSAnZWagAAQlgP/iAwrfeATcsRFmyE03V4\nhCibDq5Q38A1AZ7hmlc8T8c9PEibNZQ+xcWaz+avDUROWrKAJXgf0mB6pcns\nBCvjESpViP6juoiBbMSgE/BSPRoK9t76gIGu6GNfAvMTS6VXarcJJjFTCbjS\ngBkOn49x8TaN1TVf3EhsG72mRLySizBL3umKPAxPma6/Cr12FAaHFuOXYsfD\nFw2SrPC4QoJoh+Lh9c7blpsLlogTuNbnjuT4uUq5oLz4JIXijw2cRRgv8R0n\nxwL69y2SWVNan3PHYHgm9gjtWTTaX8vfkIQ3F5/p+YgsJjJsdOf3XGrr6ZHR\npjhVqlEh7n8olL4FJdThAz6pB71zo/78je9oQ6iC1Ujc8VaA254tbCWusoqu\nl+PzKH3WzdBd7gCzMXcvK9Is8fUd372IQ/Gk6FK1U/VN50OVUX6UrRo97glS\n53QHhoyrWFGcKbaRPivkG/BpGa/D3iAppGRc0KczsMzSTEi+Je3L2wD+/3Uu\nlYD8vCh0kG3W6Wy2P237+bLMOI4/73LaH14ETd35/j7nf92kHUSixLQKhlgW\nrCVjRBg82nNjZltT6fkADFXcGLSMN50tKvgzWGhrr3j8gh0FH5FT8Yff6JeX\nsPZ94oQAAn6B3Hp1vpChqebfI17azMUiVvxfQXdiOFsLAKRYTgNG/LlE+fZL\nf3+v\r\n=1mbk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWWG1zKgco7pJXd3X81H4afS/Dd7Dh1QBdJ7QCXYshLwIgQi6BtP3jXgv3v4QZD2U70mpcQlGh13AiRTsNd+fo2yU="}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-id-validator_0.5.1_1552132781989_0.6494661234830361"},"_hasShrinkwrap":false},"0.5.2":{"name":"mongoose-id-validator","version":"0.5.2","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"gitHead":"8664cd64614bd26b9b24b3ee3831ce18c8009f10","_id":"mongoose-id-validator@0.5.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"integrity":"sha512-TQ+RbVPKDpQSroPuXva1wqDy1knuRscEMx/o9VdcFyvwXBOLSEcWOqk1nsWYgWXj44RxuBYawTA2Qg0bKoUBlA==","shasum":"dc11cee405b99ab3088fd46cbcbc4f76bbfb4536","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.5.2.tgz","fileCount":8,"unpackedSize":43885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjrkiCRA9TVsSAnZWagAAZAcQAJr0WeUOw3mMT7DVBBEq\ndVPhY13tKlxEwCPb8nd1rfnXsZYbGn02LD29p5IfxLJ4LQZPOk0tk6BQasxO\n2O6IPxY8nkWBOAHDq6IK/53uSaR5nH137lDy/PEgQooR15lrxEF2dzbpO9+/\ny8P5jFwYgRbI5UMbN1WHJ2cNEPVB79KKJd8j+aQdqMCy6whaa0q8R/YnIIe9\nEvDQz353QkHllTvH+6nJ9f6amMUnWja5Fh47s3r5tqzTUlkxnrhL/+uVeXSd\nJ2Ad/xQW202YyjOIxCxX6Dh6Niy2QBx2ul2BvoHSgqaxAxzIqEcKZeF/hGw5\nxaWYHC9UU5AAr1hHNPXcbYyGXk9TNeYBnPM5Lk3Z6Z1Sq4gFxtcLNr/z5yYC\nh0SqVMYJp2FmolRxnfsxt2crmn6TSQxCre8fyC5iNabIgXXBSwsOsJuVPqtz\nkzojWxxebV06gB3kRnafYGco3osdHXxGFE9umaApdfeEuPwEdbN1eyRIU39t\nTG+FvSoycVbjNedFYJ7V12L/XZ24dyNdQD3ujuZ2OEvDRn+gCZHLyKkZaCwg\nJ2a6CIfdxTdA7Q9T6zsYGc00f0PRDlnXO2Ef9Btp2dDfrPqPGSYQ4p1l9yhB\nhA40LclYKkv0MNcX6ta+0nIA5W3DkZwk3KY6/TriaKoGm9u885vUS3TqxpTX\naA6o\r\n=iTPm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAmCCuA4Q2tnWwd7sYcJ6s6h8wHwvaUGbGY0+l4mFdHYAiARE1SjFcYFCfTbj5yDORK+peBD2lffa3m3AUzmeyruOQ=="}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-id-validator_0.5.2_1552857377504_0.0660825245838852"},"_hasShrinkwrap":false},"0.5.3":{"name":"mongoose-id-validator","version":"0.5.3","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"gitHead":"214236f329ab832ae30fcf1cece78984d14bedc7","_id":"mongoose-id-validator@0.5.3","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"dist":{"integrity":"sha512-TEsB3KRmAPIEMchSQogMsLo1IS4jJMFyjI988dzq+lqDR2wxR+LyGYrhtjRhMMrVOIaoS2y7lQLq9B6FhEAeWA==","shasum":"9dfa4512d70a952f757a4e580e405e5f2a420ec1","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.5.3.tgz","fileCount":8,"unpackedSize":44062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcx0qiCRA9TVsSAnZWagAAtO0P/1FfdZwcuYPVkOLISCJj\nIcsHAfB696nyD534sLQTgiMQxmrTOthuKu00ZMdslHTPRtPzn7/pPZyyiMyj\nkAymAcuzqU2hssNb6VkfOuhJDylIyPkGxVZ4RzDi1VV4S8X8zISlwKbHl6OR\n1ciYwZ1Aswek+Z9icWiTYrbpjnsBc7KlXA4s33FJ0vPy19HOcugi2R1EBqNp\n9YhIqU6/qS3jilv0MTAM8DeI7rTR0R9TXSg4EHrGc7dPmUYLLhzCfamOdLLh\nCYrUyXFlM6KAEdqRTprScgRwfDK9/kEdWMR4KeQwxxb2pfW5902x2CE9zkXD\nOUaYfDN/8UQitvdwmalDY3nXCcIjKm1ozohNGdPdGFWj27dqgKZBPMfuqhWo\nDX0Q0E7Lvv1pe7FUaJI3q7aM/3SFnFlZ5xCIVb43Blraz6ptu+6OCVlujVQP\nbeo1AZiuQA/idOVTG54924sSNtKlxutcleuDo2KPpuBPBNKltAhuEl5ab4vP\na/jz0jb0llFOQh7Z5HvJ855W9iiklukJCAtpLhVUm++0tAxzqrCEyag5h4vp\nqZNBrhKiAxJ141jBGAahmIGGTup85IxHqSeSs/0kq5gmh2vC4IvqZW9P9oH6\nWtJ6GJRA+EQ1S4UZFwp/MS+ux08iWppZSgKHALtX9ZVLf/HUH+zw+ApZYCTP\ngRnP\r\n=iPtN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6uFMc1DilQr+odOa04xJPcGxvNJwBxJUl6KfmYGvH6gIhAM+JO8G7wD4F2gfE0Z12zsagHhuz/RiGLmQDGEmEQhwV"}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-id-validator_0.5.3_1556564642056_0.15393682172096135"},"_hasShrinkwrap":false},"0.5.4":{"name":"mongoose-id-validator","version":"0.5.4","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"./node_modules/.bin/mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"licenseText":"LICENSE\n=======\n\nmongoose-id-validator is released under the LGPL-3.0 License:\n\n> GNU LESSER GENERAL PUBLIC LICENSE\n> Version 3, 29 June 2007\n>\n> Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n> Everyone is permitted to copy and distribute verbatim copies of this license\n> document, but changing it is not allowed.\n>\n> This version of the GNU Lesser General Public License incorporates the terms\n> and conditions of version 3 of the GNU General Public License, supplemented by\n> the additional permissions listed below.\n>\n> ### 0. Additional Definitions.\n>\n> As used herein, \"this License\" refers to version 3 of the GNU Lesser General\n> Public License, and the \"GNU GPL\" refers to version 3 of the GNU General\n> Public License.\n>\n> \"The Library\" refers to a covered work governed by this License, other than an\n> Application or a Combined Work as defined below.\n>\n> An \"Application\" is any work that makes use of an interface provided by the\n> Library, but which is not otherwise based on the Library. Defining a subclass\n> of a class defined by the Library is deemed a mode of using an interface\n> provided by the Library.\n>\n> A \"Combined Work\" is a work produced by combining or linking an Application\n> with the Library.  The particular version of the Library with which the Combined\n> Work was made is also called the \"Linked Version\".\n>\n> The \"Minimal Corresponding Source\" for a Combined Work means the Corresponding\n> Source for the Combined Work, excluding any source code for portions of the\n> Combined Work that, considered in isolation, are based on the Application, and\n> not on the Linked Version.\n>\n> The \"Corresponding Application Code\" for a Combined Work means the object code\n> and/or source code for the Application, including any data and utility\n> programs needed for reproducing the Combined Work from the Application, but\n> excluding the System Libraries of the Combined Work.\n>\n> ### 1. Exception to Section 3 of the GNU GPL.\n>\n> You may convey a covered work under sections 3 and 4 of this License without\n> being bound by section 3 of the GNU GPL.\n>\n> ### 2. Conveying Modified Versions.\n>\n> If you modify a copy of the Library, and, in your modifications, a facility\n> refers to a function or data to be supplied by an Application that uses the\n> facility (other than as an argument passed when the facility is invoked), then\n> you may convey a copy of the modified version:\n>\n> * a) under this License, provided that you make a good faith effort to\n> ensure that, in the event an Application does not supply the\n> function or data, the facility still operates, and performs\n> whatever part of its purpose remains meaningful, or\n> * b) under the GNU GPL, with none of the additional permissions of\n> this License applicable to that copy.\n>\n> ### 3. Object Code Incorporating Material from Library Header Files.\n>\n> The object code form of an Application may incorporate material from\n> a header file that is part of the Library.  You may convey such object\n> code under terms of your choice, provided that, if the incorporated\n> material is not limited to numerical parameters, data structure\n> layouts and accessors, or small macros, inline functions and templates\n> (ten or fewer lines in length), you do both of the following:\n>\n> * a) Give prominent notice with each copy of the object code that the\n> Library is used in it and that the Library and its use are\n> covered by this License.\n> * b) Accompany the object code with a copy of the GNU GPL and this license\n> document.\n>\n> ### 4. Combined Works.\n>\n> You may convey a Combined Work under terms of your choice that,\n> taken together, effectively do not restrict modification of the\n> portions of the Library contained in the Combined Work and reverse\n> engineering for debugging such modifications, if you also do each of\n> the following:\n>\n> * a) Give prominent notice with each copy of the Combined Work that\n>   the Library is used in it and that the Library and its use are\n>   covered by this License.\n> * b) Accompany the Combined Work with a copy of the GNU GPL and this license\n>   document.\n> * c) For a Combined Work that displays copyright notices during\n>   execution, include the copyright notice for the Library among\n>   these notices, as well as a reference directing the user to the\n>   copies of the GNU GPL and this license document.\n> * d) Do one of the following:\n>\n>        * 0) Convey the Minimal Corresponding Source under the terms of this\n>        License, and the Corresponding Application Code in a form\n>        suitable for, and under terms that permit, the user to\n>        recombine or relink the Application with a modified version of\n>        the Linked Version to produce a modified Combined Work, in the\n>        manner specified by section 6 of the GNU GPL for conveying\n>        Corresponding Source.\n>\n>        * 1) Use a suitable shared library mechanism for linking with the\n>        Library.  A suitable mechanism is one that (a) uses at run time\n>        a copy of the Library already present on the user's computer\n>        system, and (b) will operate properly with a modified version\n>        of the Library that is interface-compatible with the Linked\n>        Version.\n>\n> * e) Provide Installation Information, but only if you would otherwise\n>   be required to provide such information under section 6 of the\n>   GNU GPL, and only to the extent that such information is\n>   necessary to install and execute a modified version of the\n>   Combined Work produced by recombining or relinking the\n>   Application with a modified version of the Linked Version. (If\n>   you use option 4d0, the Installation Information must accompany\n>   the Minimal Corresponding Source and Corresponding Application\n>   Code. If you use option 4d1, you must provide the Installation\n>   Information in the manner specified by section 6 of the GNU GPL\n>   for conveying Corresponding Source.)\n>\n> ### 5. Combined Libraries.\n>\n> You may place library facilities that are a work based on the\n> Library side by side in a single library together with other library\n> facilities that are not Applications and are not covered by this\n> License, and convey such a combined library under terms of your\n> choice, if you do both of the following:\n>\n> * a) Accompany the combined library with a copy of the same work based\n>   on the Library, uncombined with any other library facilities,\n>   conveyed under the terms of this License.\n> * b) Give prominent notice with the combined library that part of it\n>   is a work based on the Library, and explaining where to find the\n>   accompanying uncombined form of the same work.\n>\n> ### 6. Revised Versions of the GNU Lesser General Public License.\n>\n> The Free Software Foundation may publish revised and/or new versions\n> of the GNU Lesser General Public License from time to time. Such new\n> versions will be similar in spirit to the present version, but may\n> differ in detail to address new problems or concerns.\n>\n> Each version is given a distinguishing version number. If the\n> Library as you received it specifies that a certain numbered version\n> of the GNU Lesser General Public License \"or any later version\"\n> applies to it, you have the option of following the terms and\n> conditions either of that published version or of any later version\n> published by the Free Software Foundation. If the Library as you\n> received it does not specify a version number of the GNU Lesser\n> General Public License, you may choose any version of the GNU Lesser\n> General Public License ever published by the Free Software Foundation.\n>\n> If the Library as you received it specifies that a proxy can decide\n> whether future versions of the GNU Lesser General Public License shall\n> apply, that proxy's public statement of acceptance of any version is\n> permanent authorization for you to choose that version for the\n> Library.","_id":"mongoose-id-validator@0.5.4","dist":{"shasum":"0b61f065f654cd4b2fe8071c4e25278364361a46","integrity":"sha512-mavGrV01gUAzy0opk1xymJ9JZJsjSqZgy8OIWPov1HCK7bGcm1+qRbsqvm3w6ba7YjsPQpNQJutv9pqLyPpGKA==","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.5.4.tgz","fileCount":14,"unpackedSize":44272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5XF3CRA9TVsSAnZWagAAIt0P/2bqnbIX0Nx8VUyXEUwi\n+kjH3jY49xBbIDuXV8C9ZrNyUl74DFh112SUPZoKl1i3pV0tE9t2e5r0cKIZ\n3BG/4LpSuaWo1reqhhLfvpWZcPq+jk5cqfoLyua295Vw5NWPWnLEj0RB49vT\nyhRzwGv+yepcObO0umjF2YlmzxGHTi6zO4AW+GZ5/5FluDtp0I+wJFmxU6o6\nmwive+dk1HEuiAvtTkZyDsPUuFEAFjECx9q3cE3/FzQPmJYUfRYYfqywlZ0p\nhPSv74O7tDhcRTIZJEsYc56S370Exj1wTb7YbmQ0PntGN9dgtdOBQ7EvOYYv\nTsL+ltdViN6RFpUogh7qD49NVKZBVQ/+sBZnyXP+7nkKXVRcOoAOMvu52OOl\nevTMUBaM9z2BYVpvNAqsgwlO0QPVuoMEOBsG/ev6ssBqdXTSNsTYjOfvdDNK\nPooUy5HchsT3Md0ytn05d05AO52/P9m7c4hm1ArhRPRxq+tCAa+O41BiRytw\nDNzsfFvk/DzyyeyNXpb/F/veHBxlLo5VgxNXlcD8MlQLC2gAuWxaXIxU6+Kg\noF7E3F0bmChyvAKJTLfXvUqyjfRf9xB5w4BtHnwdbE84pANvp8sLX+8NDuea\nNwRAzNbVzi2bZN31DfvWeoqDHocJ0LlZaX8m/L8KkFqDFSZ55Bmec/5eN4V1\nNJ0y\r\n=no6T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEuwqGwgeSx+HhGM4hGjLNV3qPHJ4fs4iou3BclPl99fAiEAxiuES3auGPKym0fH/EPYkNLBYKWcy+wyIGuVv8o/etc="}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-id-validator_0.5.4_1575317878574_0.1993324376570227"},"_hasShrinkwrap":false},"0.6.0":{"name":"mongoose-id-validator","version":"0.6.0","description":"Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"license":"LGPL-3.0+","bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"engine":"node >= 0.4.0","main":"index.js","scripts":{"test":"mocha -R spec"},"devDependencies":{"mongoose":"*","async":"~0.2.9","should":"~3.0.1","mocha":"^2.2.1"},"dependencies":{"clone":"^1.0.2","traverse":"^0.6.6"},"gitHead":"bf48a4a4f442b4fd4c9baeee09ac95b8683959fd","_id":"mongoose-id-validator@0.6.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-y3b3/PkmaiMKSbKB8tsEEGUjgCgKQGpD2Ood7jaVEob3V2HWgnmNKCgiSQUpEtQuDU0lUnLJQ5JE9PH1Bytziw==","shasum":"cdf343fcbf952b2b4e25fe882746df0aef4c23ee","tarball":"https://registry.npmjs.org/mongoose-id-validator/-/mongoose-id-validator-0.6.0.tgz","fileCount":8,"unpackedSize":45002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesCFrCRA9TVsSAnZWagAA6S4P/3rN8yaQZouJNbAmcsRE\nU83KCweWEzzk7db6dUDj448MYUC0OXQxdHXJCr1x1Fu5YnDlj59CvSnTpRPX\nGZFiUKLoGVzjF4BdulDKuOno5SKUV4jqhpK/LBBHZy80B5FK5Pn42yU9vdHL\nhzAWVWep5ysyv6y5jCWgOd8M15ilIhf3RMj+F1NynW4lZ/pPFpRyTd/UNLdL\nVOjYw+X7sTYVI3VVOdxv2iwuSxboToqFif3moLAFwjIpW3BmyEocqE4KoLDJ\nTZEvb99HBhBBfjLb68+m5YoMwh98bd/rSyHs7G2CB8KkLTIslIvSzLOzYfV1\nut2yVOi67MXItQActUG4jZvOlmrae3qujUXwc8lPHYYmm59kP28uJfhoDZsw\nSsi2zTFaakhip5u2RXAtZ+gOFnoKBvjUqJpFsZRxVD9lk9PBnmpVihRM9iq6\npVo+0H/EGDFA4Yd1MuKTHoUgfHFLP9GImsvW18/onOT8jyBgS+FbycqAI/8W\n+ZnIOGk1eCMhM+FOzfpFymf+5lPn3JLK2KT4v2xeIzhdUMMqL0MvRIle50kn\nWmHbXyrLB+MG9JPWowHAvz+fLVoWLTWUluPYPChGXMpm1n8844CY0qwjiOzC\nKvySGyp6C1H2OvZFo3mnxmhJ4om2dgUp8Zd0NdRjc5wG8AnMzRUyZ2hfQKJs\nqXwd\r\n=UzA1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6P2usA6MsuNM06WUoLxetUXyf3v14fDJyHGuIriy0HQIhAN3C1XuK3MffaD/888/BiOKvlbdUPFOTZDkyv5aGdlkk"}]},"maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"_npmUser":{"name":"martin-css","email":"martin@campbellsoftware.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-id-validator_0.6.0_1588601195178_0.5547801878471339"},"_hasShrinkwrap":false}},"readme":"## mongoose-id-validator\n\nProvides a mongoose plugin that can be used to verify that a document which references \nother documents by their ID is referring to documents that actually exist.\n\nThis plugin works by performing a count query for documents in the relevant collection with the \nID specified in the document being validated. Note that the validation method is only executed if the ID\nvalue has been updated. This helps prevent unnecessary queries when saving a document if the ID has not been changed.\n\nHowever, please be aware that this will NOT catch any IDs that were valid at the time they were saved but the referenced \ndocument has subsequently been removed. You should have validation logic in your delete/remove code to handle this. \n\n# Usage\n\nInstall via NPM\n\n    $ npm install mongoose-id-validator\n\nThen you can use the plugin on your schemas\n\n```javascript\nvar idvalidator = require('mongoose-id-validator');\n\nvar ManufacturerSchema = new Schema({\n  name : String\n});\nvar Manufacturer = mongoose.model('Manufacturer', ManufacturerSchema);\n\nvar CarSchema = new Schema({\n  name         : String,\n  manufacturer : { \n  \t\t\t\t\ttype: Schema.Types.ObjectId, \n  \t\t\t\t\tref: 'Manufacturer',\n  \t\t\t\t\trequired: true\n  \t\t\t\t  }\n});\nCarSchema.plugin(idvalidator);\nvar Car = mongoose.model('Car', CarSchema);\n\nvar ford = new ManufacturerSchema({ name : 'Ford' });\n\nford.save(function() {\n  var focus = new Car({ name : 'Focus' });\n  focus.manufacturer = \"50136e40c78c4b9403000001\";\n\n  focus.validate(function(err) {\n    //err.errors would contain a validation error for manufacturer with default message\n    \n    focus.manufacturer = ford;\n    focus.validate(function(err) {\n      //err will now be null as validation will pass\n    });\n  });\n});\n```\n\nYou may also use declare a optional refConditions method in your schema. For example:\n```javascript\nvar OtherSchema = new Schema({\n  referencedId : { \n  \t\t\t\t\ttype: Schema.Types.ObjectId, \n  \t\t\t\t\tref: 'RefSchema',\n  \t\t\t\t\trefConditions: {\n  \t\t\t\t\t  field1: 123\n  \t\t\t\t\t}\n  \t\t\t\t  }\n});\n```\n\nValues of refConditions can also be functions. With this you can dynamically set refConditions.\nThese functions have access to the context of the schema instance. An example:\n\n```javascript\nvar OtherSchema = new Schema({\n  refFieldMustBeTrue: true,\n  referencedId : {\n  \t\t\t\t\ttype: Schema.Types.ObjectId,\n  \t\t\t\t\tref: 'RefSchema',\n  \t\t\t\t\trefConditions: {\n  \t\t\t\t\t  field1: function () {\n\t\t\t\t\t\treturn this.refFieldMustBeTrue\n\t\t\t\t\t  }\n  \t\t\t\t\t}\n  \t\t\t\t  }\n});\n```\n\nThe referenceId value in the code above would only pass validation if the object with this ID exists AND had a property \n'field1' that has the value 123. If any conditional property does not match then it would not pass validation.\n\nYou can also use this plugin to validate an array of ID references. Please note as above that the implementation\nruns a single count query to keep the performance impact to a minimum. Hence you will know if there is a\nbad ID value in the array of references but not which one it is.\n\nAn example of this is below:\n```javascript\nvar idvalidator = require('mongoose-id-validator');\n\nvar ColourSchema = new Schema({\n  name : String\n});\nvar Colour = mongoose.model('Colour', ColourSchema);\n\nvar CarSchema = new Schema({\n  name         : String,\n  colours\t   : [{ \n  \t\t\t\t\ttype: Schema.Types.ObjectId, \n  \t\t\t\t\tref: 'Colour'\n  \t\t\t\t  }]\n});\nCarSchema.plugin(idvalidator);\nvar Car = mongoose.model('Car', CarSchema);\n\nvar red = new Colour({ name : 'Red' });\nvar blue = new Colour({ name : 'Blue' });\n\nred.save(function() {\n  blue.save(function() {\n    var focus = new Car({ name : 'Focus' });\n    focus.colours = [red, \"50136e40c78c4b9403000001\"];\n\n    focus.validate(function(err) {\n      //err.errors would contain a validation error for colours with default message\n    \n      focus.colours = [red, blue]\n      focus.validate(function(err) {\n        //err will now be null as validation will pass\n      });\n    });\n  });\n});\n```\n\n## Options\n\n```javascript\nModel.plugin(id-validator, {\n  /* Custom validation message with {PATH} being replaced \n  * with the relevant schema path that contains an invalid \n  * document ID.\n  */\n  message : 'Bad ID value for {PATH}',\n\n  /* Optional mongoose connection object to use if you are\n   * using multiple connections in your application.\n   *\n   * Defaults to built-in mongoose connection if not specified.\n   */\n  connection: myConnection\n  \n  /* Applies to validation of arrays of ID references only. Set\n   * to true if you sometimes have the same object ID reference\n   * repeated in an array. If set, the validator will use the\n   * total of unique ID references instead of total number of array\n   * entries when checking the database.\n   *\n   * Defaults to false\n   */\n  allowDuplicates: true\n});\n```\n\nYou can also instantiate the validator as an object if you wish to control whether it is enabled at runtime, e.g.\nfor testing.\n\n```javascript\nvar IdValidator = require('mongoose-id-validator').getConstructor;\n\nvar validator = new IdValidator();\nschema.plugin(validator.validate.bind(validator));\n\n//Validation active by default. To disable:\nvalidator.disable();\n\n//Re-enable\nvalidator.enable();\n```\n\n\n# Tests\n\nTo run the tests you need a local MongoDB instance available. Run with:\n\n    npm test\n    \n# Issues\n\nPlease use the GitHub issue tracker to raise any problems or feature requests.\n\nIf you would like to submit a pull request with any changes you make, please feel free!\n    \n# Legal\n\nCode is Copyright (C) Campbell Software Solutions 2014 - 2017.\n\nThis module is available under terms of the LGPL V3 license. Hence you can use it in other proprietary projects \nbut any changes to the library should be made available.      \n","maintainers":[{"name":"martin-css","email":"martin@campbellsoftware.co.uk"}],"time":{"modified":"2022-06-20T07:19:01.555Z","created":"2014-01-21T17:05:08.056Z","0.1.0":"2014-01-21T17:05:08.965Z","0.1.1":"2014-01-23T12:05:07.788Z","0.1.2":"2014-01-23T12:13:45.040Z","0.1.3":"2014-06-04T15:49:28.082Z","0.1.4":"2014-09-24T14:59:09.177Z","0.1.5":"2014-09-24T15:09:45.042Z","0.1.6":"2015-03-18T09:58:06.196Z","0.1.7":"2015-03-18T13:53:49.931Z","0.1.8":"2015-04-07T14:35:21.281Z","0.1.9":"2015-11-01T10:44:23.900Z","0.1.10":"2015-11-24T16:54:44.874Z","0.2.0":"2016-02-17T09:48:53.735Z","0.3.0":"2016-04-04T08:08:57.304Z","0.4.0":"2016-10-31T12:35:07.269Z","0.4.1":"2017-01-04T09:49:08.025Z","0.4.2":"2017-04-03T09:55:12.246Z","0.4.3":"2017-10-10T07:45:29.734Z","0.5.0":"2018-10-11T20:45:31.046Z","0.5.1":"2019-03-09T11:59:42.098Z","0.5.2":"2019-03-17T21:16:17.659Z","0.5.3":"2019-04-29T19:04:02.177Z","0.5.4":"2019-12-02T20:17:58.688Z","0.6.0":"2020-05-04T14:06:35.285Z"},"readmeFilename":"README.md","author":{"name":"Martin Campbell","email":"martin@campbellsoftware.co.uk","url":"http://www.campbellsoftware.co.uk"},"repository":{"type":"git","url":"git://github.com/CampbellSoftwareSolutions/mongoose-id-validator.git"},"homepage":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator","keywords":["mongoose","objectid","id","validate","validator","exists","mongodb"],"bugs":{"url":"https://github.com/CampbellSoftwareSolutions/mongoose-id-validator/issues"},"license":"LGPL-3.0+","users":{"programmingpearls":true,"bdentino":true,"wanglinwei":true,"papasavva":true,"firefoxnx":true}}