{"_id":"sinon-bluebird","_rev":"24-535ffbd89943ba0ed6296f8fa93a1b27","name":"sinon-bluebird","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","dist-tags":{"latest":"3.1.1"},"versions":{"1.0.0":{"name":"sinon-bluebird","version":"1.0.0","description":"Sinon with bluebird BPromises","engines":{"node":"0.10.x"},"repository":{"type":"git","url":"https://github.com/L7labs/sinon-bluebird.git"},"scripts":{"test":"grunt test"},"dependencies":{"bluebird":"^2.9.12","sinon":"^1.12.2"},"peerDependencies":{"sinon":"1.x"},"devDependencies":{"grunt":"^0.4.5","grunt-cli":"^0.1.13","grunt-contrib-jshint":"^0.11.0","grunt-jsbeautifier":"^0.2.8","grunt-mocha-test":"^0.12.7","mocha":"^2.1.0","should":"^5.0.1"},"gitHead":"3cbb4c1fc796049083c39d95532e3c911d80462f","bugs":{"url":"https://github.com/L7labs/sinon-bluebird/issues"},"homepage":"https://github.com/L7labs/sinon-bluebird","_id":"sinon-bluebird@1.0.0","_shasum":"e3b45cfb12832216aa5a9e12c7e5395eeba39266","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"levelseven","email":"admin@level7.io"},"maintainers":[{"name":"levelseven","email":"admin@level7.io"}],"dist":{"shasum":"e3b45cfb12832216aa5a9e12c7e5395eeba39266","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-1.0.0.tgz","integrity":"sha512-+1W/zgJ37ZzlKLyy7ypD7Hv/zkti2wCfgPfMiegRDiwfDJGNEFKKf4MNUbxGJklpcWc6EVfOnlET1WMEyMlKWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEzlxiWYEDFobLZ/2PY6qTKlDD0CS9j6nZ9My/oCfSKZAiEAxQHippROjNPtsLKjx71v3ueK38vmeMXG1PQ5JXn+Kxo="}]},"directories":{}},"1.0.1":{"name":"sinon-bluebird","version":"1.0.1","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","engines":{"node":"0.10.x"},"repository":{"type":"git","url":"https://github.com/L7labs/sinon-bluebird.git"},"scripts":{"test":"grunt test"},"dependencies":{"bluebird":"^2.9.12","sinon":"^1.12.2"},"peerDependencies":{"sinon":"1.x"},"devDependencies":{"grunt":"^0.4.5","grunt-cli":"^0.1.13","grunt-contrib-jshint":"^0.11.0","grunt-jsbeautifier":"^0.2.8","grunt-mocha-test":"^0.12.7","mocha":"^2.1.0","should":"^5.0.1"},"gitHead":"b027d248dcc59a126a53716c95dbe92782bce8d3","bugs":{"url":"https://github.com/L7labs/sinon-bluebird/issues"},"homepage":"https://github.com/L7labs/sinon-bluebird","_id":"sinon-bluebird@1.0.1","_shasum":"918398c8200b62f0eb20518a2173458ba281fa47","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"levelseven","email":"admin@level7.io"},"maintainers":[{"name":"levelseven","email":"admin@level7.io"}],"dist":{"shasum":"918398c8200b62f0eb20518a2173458ba281fa47","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-1.0.1.tgz","integrity":"sha512-xPQ0xxQ2i0sdm5Ve/BimdazdedilvC37A4h+UIJJkjs4Tl2W0XJSZd2u31ZQwAMA5GHLfRWvL1jKvgcJdzPIvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFahHxpWGp+xtZn0VWzSvOkvuUV/r1g32I5EywRxZB0OAiEAloCQh51AFGOxkZSJi+LdH0XV7npobxnTCAqr4Vn8sbA="}]},"directories":{}},"1.0.2":{"name":"sinon-bluebird","version":"1.0.2","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","engines":{"node":"0.10.x"},"repository":{"type":"git","url":"https://github.com/L7labs/sinon-bluebird.git"},"scripts":{"test":"grunt test"},"peerDependencies":{"sinon":"1.x","bluebird":"2.x"},"devDependencies":{"grunt":"^0.4.5","grunt-cli":"^0.1.13","grunt-contrib-jshint":"^0.11.0","grunt-jsbeautifier":"^0.2.8","grunt-mocha-test":"^0.12.7","mocha":"^2.1.0","should":"^5.0.1","bluebird":"^2.9.12","sinon":"^1.12.2"},"gitHead":"4715f0fd35529b966f8e9e0905644410759234a4","bugs":{"url":"https://github.com/L7labs/sinon-bluebird/issues"},"homepage":"https://github.com/L7labs/sinon-bluebird","_id":"sinon-bluebird@1.0.2","_shasum":"a1f7119da39fb4422ecb44ba734ce9c93cde26b5","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"levelseven","email":"admin@level7.io"},"maintainers":[{"name":"levelseven","email":"admin@level7.io"}],"dist":{"shasum":"a1f7119da39fb4422ecb44ba734ce9c93cde26b5","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-1.0.2.tgz","integrity":"sha512-o0uukNk08iQOsvhb45wfRS1LCwu6YWXSuBXodAZcbqGpl42MW8PlZpQhaAlhGlMmSliOdhNPu612hTZh3Ov2sA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBGGmZeBKrfOnKNEsRikT5X71OieFvkL6PmOZm5V7DOAiBpp2sBYMZqrNeOMrVljzDt+o3gFenXa3OAdn3ICbl1+w=="}]},"directories":{}},"1.0.3":{"name":"sinon-bluebird","version":"1.0.3","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","engines":{"node":">=0.10 <0.13"},"repository":{"type":"git","url":"https://github.com/L7labs/sinon-bluebird.git"},"scripts":{"test":"grunt test"},"peerDependencies":{"sinon":"1.x","bluebird":"2.x"},"devDependencies":{"grunt":"^0.4.5","grunt-cli":"^0.1.13","grunt-contrib-jshint":"^0.11.0","grunt-jsbeautifier":"^0.2.8","grunt-mocha-test":"^0.12.7","mocha":"^2.1.0","should":"^5.0.1","bluebird":"^2.9.12","sinon":"^1.12.2"},"gitHead":"1a36ac73db7aeb12df6ad09c1a6627611807a28e","bugs":{"url":"https://github.com/L7labs/sinon-bluebird/issues"},"homepage":"https://github.com/L7labs/sinon-bluebird","_id":"sinon-bluebird@1.0.3","_shasum":"b7961cd4053a514f4222a9f11c7cfb496c56c291","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"levelseven","email":"admin@level7.io"},"maintainers":[{"name":"levelseven","email":"admin@level7.io"}],"dist":{"shasum":"b7961cd4053a514f4222a9f11c7cfb496c56c291","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-1.0.3.tgz","integrity":"sha512-GLs3yJB6rFjCK0c9Qs71Axg5lftqkcP3k71BsoxIu+5tGmQYMXywFPq+xTyiuf4XNGe0U4oH61bMfbR0eAcAnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCw3xMZQhuA0KNDlE6lqy5GPs5SoCDNZlbb9uz279fa9QIgY9kkK3e6mOC5WSeAwbRnOHPu0WdcqqXXC2gxv24tsog="}]},"directories":{}},"1.1.1":{"name":"sinon-bluebird","version":"1.1.1","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","engines":{"node":">=0.10 <0.13"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/L7labs/sinon-bluebird"},"keywords":["bluebird","sinon"],"author":{"name":"Todd Bluhm"},"license":"MIT","bugs":{"url":"https://github.com/L7Labs/sinon-bluebird/issues"},"homepage":"https://github.com/L7Labs/sinon-bluebird","peerDependencies":{"sinon":"1.x","bluebird":"2.x"},"devDependencies":{"grunt":"~0.4.5","grunt-cli":"~0.1.13","grunt-contrib-jshint":"~0.11.0","grunt-jsbeautifier":"~0.2.8","grunt-mocha-test":"~0.12.7","mocha":"^2.1.0","should":"^5.0.1","bluebird":"^2.9.12","sinon":"^1.12.2"},"gitHead":"d7fb3152e2297c4d8cea50e7da370e76292872ad","_id":"sinon-bluebird@1.1.1","_shasum":"8d205cbe440d71024f0804b14555150316e18aca","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"levelseven","email":"admin@level7.io"},"maintainers":[{"name":"levelseven","email":"admin@level7.io"}],"dist":{"shasum":"8d205cbe440d71024f0804b14555150316e18aca","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-1.1.1.tgz","integrity":"sha512-wfzmRs+XD85+sqmKNDkLzyxQ6cGlYOtQv682p0QcFekBi9z+ZSQidSTfrv3FuSMq6GzbqVAPgDBKFsZskWrhPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7lVYDbvsGLneiXsl6gtk/Pa5tESMHLfpnjEnf82aPFgIhAJeySmkvW/tDT2JlMZkza9N9IXJFAcKNk2fJAkqMN5ix"}]},"directories":{}},"2.0.0":{"name":"sinon-bluebird","version":"2.0.0","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","engines":{"node":">=0.10 <0.13"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/L7labs/sinon-bluebird"},"keywords":["bluebird","sinon"],"author":{"name":"Todd Bluhm"},"license":"MIT","bugs":{"url":"https://github.com/L7Labs/sinon-bluebird/issues"},"homepage":"https://github.com/L7Labs/sinon-bluebird","peerDependencies":{"sinon":"1.x","bluebird":"2.x"},"devDependencies":{"grunt":"~0.4.5","grunt-cli":"~0.1.13","grunt-contrib-jshint":"~0.11.0","grunt-jsbeautifier":"~0.2.8","grunt-mocha-test":"~0.12.7","mocha":"^2.1.0","should":"^5.0.1","bluebird":"^2.9.12","sinon":"^1.12.2"},"gitHead":"1bbf7eb6c040aa6ef1ea47d003e8dd746b4038be","_id":"sinon-bluebird@2.0.0","_shasum":"1a2cb2a5f264196688197b9f810616d35088a3b8","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"levelseven","email":"admin@level7.io"},"maintainers":[{"name":"levelseven","email":"admin@level7.io"}],"dist":{"shasum":"1a2cb2a5f264196688197b9f810616d35088a3b8","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-2.0.0.tgz","integrity":"sha512-/VvzfMjxffDTGe6jZkLjznxeRvU+A+SWFSrnxiGHEkQQfQB5ge/7RXEMfyzoXM6yw5rlNdlp3KBBO3/OzVQpUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGh4ejkQ65/HTVOCyh/4eoV93rQCmqiiqXj9bIyPiFqcAiBOYfWIdWfLCE3wnLO6g6t6+p/5GL2e2qOVxDpGPiEeHQ=="}]},"directories":{}},"3.0.0":{"name":"sinon-bluebird","version":"3.0.0","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","engines":{"node":">=0.10 <=5.x"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/L7labs/sinon-bluebird.git"},"keywords":["bluebird","sinon"],"author":{"name":"Todd Bluhm"},"license":"MIT","bugs":{"url":"https://github.com/L7Labs/sinon-bluebird/issues"},"homepage":"https://github.com/L7Labs/sinon-bluebird","peerDependencies":{"sinon":"1.x","bluebird":">=2.x <=3.x"},"devDependencies":{"grunt":"~0.4.5","grunt-cli":"~0.1.13","grunt-contrib-jshint":"~0.11.0","grunt-jsbeautifier":"~0.2.8","grunt-mocha-test":"~0.12.7","mocha":"^2.1.0","should":"^5.0.1","bluebird":"^3.0.5","sinon":"^1.12.2"},"gitHead":"e47dd69b34e1a53e098ed03a7c9d8d28f5cfbaab","_id":"sinon-bluebird@3.0.0","_shasum":"5f99e10fc39470908f84e88fe5ebd20d2a524b8c","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"levelseven","email":"admin@level7.io"},"dist":{"shasum":"5f99e10fc39470908f84e88fe5ebd20d2a524b8c","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-3.0.0.tgz","integrity":"sha512-ZpnK/dfv1UVEpvYaCMCM1jub/XuqPugH5l1N0v6pj+uF/tpnQ2Jld6VPHZm25AjaPfQyX3GkuLMIkbFmUAaBWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA71ZtFCLhxDeOq2IVD1KOuxG5WdJya+tPaQ+pJ0y8SBAiBIAEdA79FJs9ODJbVyM3Sqv7RQt7MY+FmdvG9IZBIgpg=="}]},"maintainers":[{"name":"levelseven","email":"admin@level7.io"}],"directories":{}},"3.0.1":{"name":"sinon-bluebird","version":"3.0.1","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","engines":{"node":">=0.10 <6.x"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/L7labs/sinon-bluebird.git"},"keywords":["bluebird","sinon"],"author":{"name":"Todd Bluhm"},"license":"MIT","bugs":{"url":"https://github.com/L7Labs/sinon-bluebird/issues"},"homepage":"https://github.com/L7Labs/sinon-bluebird","peerDependencies":{"sinon":"1.x","bluebird":">=2.x <4.x"},"devDependencies":{"bluebird":"^3.3.0","grunt":"~0.4.5","grunt-cli":"~0.1.13","grunt-contrib-jshint":"~0.11.0","grunt-jsbeautifier":"~0.2.8","grunt-mocha-test":"~0.12.7","mocha":"^2.4.5","should":"^8.2.2","sinon":"^1.17.3"},"gitHead":"b991284f0c2ac91e0754a044f9fc2d53ac9e301b","_id":"sinon-bluebird@3.0.1","_shasum":"0df8d24d019213d826dfe7c79f5e98ea33c624a0","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"levelseven","email":"admin@level7.io"},"dist":{"shasum":"0df8d24d019213d826dfe7c79f5e98ea33c624a0","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-3.0.1.tgz","integrity":"sha512-ekOvwKXvWyUIBLoNEgm2AQd4jbnCteAdkCQbLTTCl/bNhUuVetaZ9yOFpz+rjFRXlBLucXz8H1s40Q0gaac/pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICTQ0y/hvajNFa6oiD84/E39VhoKam/ejSvudAtIxaCkAiAJsd7zR6NyA+cJ2AXBVJQoGIwLYUrIK48XAbVo/mOW1Q=="}]},"maintainers":[{"name":"levelseven","email":"admin@level7.io"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/sinon-bluebird-3.0.1.tgz_1455323708387_0.8530211970210075"},"directories":{}},"3.0.2":{"name":"sinon-bluebird","version":"3.0.2","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","engines":{"node":">=0.10"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/L7labs/sinon-bluebird.git"},"keywords":["bluebird","sinon"],"author":{"name":"Todd Bluhm"},"license":"MIT","bugs":{"url":"https://github.com/L7Labs/sinon-bluebird/issues"},"homepage":"https://github.com/L7Labs/sinon-bluebird","peerDependencies":{"sinon":"1.x","bluebird":">=2.x"},"devDependencies":{"bluebird":"^3.3.0","grunt":"~0.4.5","grunt-cli":"~0.1.13","grunt-contrib-jshint":"~0.11.0","grunt-jsbeautifier":"~0.2.8","grunt-mocha-test":"~0.12.7","mocha":"^2.4.5","should":"^8.2.2","sinon":"^1.17.3"},"gitHead":"ff1290a2186c61851b79ebd1db0ddd879629fb3e","_id":"sinon-bluebird@3.0.2","_shasum":"74411b21f1f30078ae8ab1ebc429aa3ff2241b71","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"levelseven","email":"admin@level7.io"},"dist":{"shasum":"74411b21f1f30078ae8ab1ebc429aa3ff2241b71","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-3.0.2.tgz","integrity":"sha512-9AHTpdPUdQR2aWBBac5vmjuBYaN/fjJ4gwJa55bJXq90b+UxCg4r1zxzkmZTHZE+/d386dK1RZJRGt0NHXUmxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrwIFfPpJNcY8j5kRhQk+vI/8tT/ADFBlFl/oy24uF0wIhAJnI11eUihpgbBAijFkoatiW9GQ9WrErix/hxt1KOUsD"}]},"maintainers":[{"name":"levelseven","email":"admin@level7.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sinon-bluebird-3.0.2.tgz_1470552157477_0.918902002973482"},"directories":{}},"3.1.0":{"name":"sinon-bluebird","version":"3.1.0","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"standard --fix && istanbul cover node_modules/.bin/_mocha -- -R spec","coveralls":"coveralls < coverage/lcov.info"},"repository":{"type":"git","url":"git+https://github.com/toddbluhm/sinon-bluebird.git"},"keywords":["bluebird","sinon","promises","stub","mock","test"],"author":{"name":"Todd Bluhm"},"contributors":[{"name":"Brian Moeskau"},{"name":"Kevin Moritz","email":"kevinecor@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/toddbluhm/sinon-bluebird/issues"},"homepage":"https://github.com/toddbluhm/sinon-bluebird","peerDependencies":{"sinon":"1.x","bluebird":">=2.x"},"devDependencies":{"bluebird":"^3.3.0","coveralls":"^2.11.14","istanbul":"^0.4.5","mocha":"^3.0.2","should":"^11.1.0","sinon":"^1.17.3","standard":"^8.1.0"},"gitHead":"2c496d62948460fe20ce43e5f7e19284629dbb4d","_id":"sinon-bluebird@3.1.0","_shasum":"f92680fa546d553a4f5f62de90425eb5dc47841d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"toddbluhm","email":"toddbluhm@gmail.com"},"dist":{"shasum":"f92680fa546d553a4f5f62de90425eb5dc47841d","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-3.1.0.tgz","integrity":"sha512-avRkKaEU+YKshAFgRagKwV2wmSGi1Y2Y7EhpqZvtU9RSYU/F7e65PZ37dN8e33pI2JSiuveKmphePNjC5GBfMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICPMW7tLHY4zGc2kgTHuvhmPQSSQRUy/MoZ4k2Hfq2BoAiEAt7yDYxUC9/hElyLM9eQcnuG+auH7Id419IIqQaMXy6Y="}]},"maintainers":[{"name":"levelseven","email":"admin@level7.io"},{"name":"toddbluhm","email":"toddbluhm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sinon-bluebird-3.1.0.tgz_1474675784172_0.5689568056259304"},"directories":{}},"3.1.1":{"name":"sinon-bluebird","version":"3.1.1","description":"Plugin that adds Bluebird Promise helper methods to Sinon.","main":"index.js","engines":{"node":">=0.10"},"scripts":{"test":"standard --fix && mocha -R spec","test-cover":"nyc npm test","coveralls":"coveralls < coverage/lcov.info"},"repository":{"type":"git","url":"git+https://github.com/toddbluhm/sinon-bluebird.git"},"keywords":["bluebird","sinon","promises","stub","mock","test"],"author":{"name":"Todd Bluhm"},"contributors":[{"name":"Brian Moeskau"},{"name":"Kevin Moritz","email":"kevinecor@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/toddbluhm/sinon-bluebird/issues"},"homepage":"https://github.com/toddbluhm/sinon-bluebird","peerDependencies":{"sinon":"1.x","bluebird":">=2.x"},"devDependencies":{"bluebird":"^3.0.0","coveralls":"^3.0.0","mocha":"^3.0.0","nyc":"^10.0.0","should":"^13.0.0","sinon":"^1.0.0","standard":"^14.0.0"},"gitHead":"1edf59da0fa790d35a2ea2a9bbbc2859d859d1c6","_id":"sinon-bluebird@3.1.1","_nodeVersion":"10.15.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-KkFmj3LDmEfEG8uco6o4SH/OiBwG9Qni8Lo2dW4ecTR0N9xt69oxU3whJ6heR8/9SXkLc7HRfVGzAuZQVuD8zw==","shasum":"689b8b5f9e1a9207548d6cfac0f5833e91974508","tarball":"https://registry.npmjs.org/sinon-bluebird/-/sinon-bluebird-3.1.1.tgz","fileCount":5,"unpackedSize":12626,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdba//CRA9TVsSAnZWagAAgswQAJK8mHpFw3rYTGSjveFR\nAdhWjZsoHL9xBizzXA4I+SS8NUUTQpatpb7A1JJ2guVQk4rJalf/srKhHLnm\nBN+JTEB1t9kjuh2jdWkAcENFloLVb+AaUtNXwjZuIXsqjVodl715kblLUb/H\nOa4U6PDTpmfqL2CivIUGatOznjW8Zkn5sCMZ7+pGN6soA+jhX0/MetMZFuB6\nsZoijfsGGw7SVQB+v/322Yqtl3Wxb7EMRi1SY/ea88PJZcy90NngZbIWHPSZ\nniYFMLQ6x2Aq3vfNccoDo4/aKrqKjo4JVSH/4aOg2Hsvx08WpmJyI+cBUvFs\n+SKKBXXfD+DNMvKaQu/ZeMCIblgdMpiRf7X0rjLtGNzXy4i7tN4Ab0pBEYFW\nFAYYJetfZvFWIbTM1nm5d4syqVtshdzERmn8VoLAd99CmWG/DYEOAT6jaXXG\n4sx6qDSz7JuWZLEhoK/KYgYO+xulebxWXOd0BO4IEtpVhUQQawICV14YjKcR\nyhbHHpC6UPQpY6kErLLyi9Ya9xmOKthKrbpAPkb8fai5UUCl9lEmz+EoEm+e\n4lkT3nvvDXXtR0GABZMP3utAvy7JWr2DKK+hhjkaLzlsW+SfSPmAj/RzROKj\nNuFtvDKbozV84dlShUYmwRrmLuTb0k6UoIFu23VSPSX9WRUrUpSTnmrHocgT\nBcfQ\r\n=zBIV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDD3y3GPCJDNR2//LeRGm5xrB32mzLzCBo2MKkRPrW58wIhAKoB32VZBwo69Ot37E0CmQpGK515I2s/vfMOzAsZK88N"}]},"maintainers":[{"name":"levelseven","email":"admin@level7.io"},{"name":"toddbluhm","email":"toddbluhm@gmail.com"}],"_npmUser":{"name":"toddbluhm","email":"toddbluhm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sinon-bluebird_3.1.1_1567469566863_0.7746801741188234"},"_hasShrinkwrap":false}},"readme":"\n[![Travis CI](https://img.shields.io/travis/toddbluhm/sinon-bluebird.svg)](https://travis-ci.org/toddbluhm/sinon-bluebird)\n[![Coveralls](https://img.shields.io/coveralls/toddbluhm/sinon-bluebird.svg?maxAge=2592000)](https://coveralls.io/github/toddbluhm/sinon-bluebird)\n[![NPM version](https://img.shields.io/npm/v/sinon-bluebird.svg)](https://www.npmjs.com/package/sinon-bluebird)\n[![Downloads](http://img.shields.io/npm/dm/sinon-bluebird.svg?style=flat)](https://www.npmjs.com/package/sinon-bluebird)\n[![NPM license](https://img.shields.io/npm/l/sinon-bluebird.svg?maxAge=2592000)](https://www.npmjs.com/package/sinon-bluebird)\n[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\n# sinon-bluebird\n\n**Obsolete: This package is obsolete as `sinon` now natively supports the `.resolves` and `.rejects` methods\nalong with setting a global `promise` constructor via the `.usingPromise()` method.**\n\nA plugin that adds [bluebird](https://github.com/petkaantonov/bluebird) promise helper methods to [Sinon](https://github.com/cjohansen/Sinon.JS).\n\n## Installation\n\nRun `npm install sinon-bluebird`\n\nor `git clone` then `npm install`\n\nOptionally run unit tests: `npm test`\n\n### Dependencies\n\n**This package requires that both `sinon` and `bluebird` already be installed.**\n\nThis package has peerDependencies of the following:\n\n- `sinon 1.x`\n- `bluebird 3.x`\n\n*If you need a lower version, create an issue and it can be adjusted as necessary. Please, if you do need a lower version, test it first and then make the request.*\n\n## Usage\n\n```js\n// Require in the libs\nvar sinon = require('sinon')\nvar BPromise = require('bluebird')\nrequire('sinon-bluebird')\n\n////// -- Stubs Usage -- //////\n// Create an example function\nvar obj = {\n  foo: function foo() {\n    return 'bar'\n  }\n}\n\n// Stub a function that returns a resolved bluebird BPromise\nsinon.stub(obj, 'foo').resolves('hello world!')\n\n// Execute the stub function\nobj.foo().then(function(val) {\n  // val === 'hello world!'\n})\n\n// Restore the original method\nobj.foo.restore()\n\n// Stub a method that returns a rejected bluebird BPromise\n// Note: For shorthand, just pass in a string and it will be\n// internally wrapped in an Error object (removed in >= v2.0.0)\nsinon.stub(obj, 'foo').rejects('AHHHHHH!!!!')\n\n// Execute the stub function\nobj.foo().catch(function(e) {\n  // e === new Error('AHHHHHH!!!!') [<2.0.0]\n  // e === 'AHHHHHH!!!!' [>=2.0.0]\n});\n\n// Restore back to the original function\nobj.foo.restore()\n\n// Original method back to normal\nobj.foo() // === 'bar'\n////// -- End Stubs Usage -- //////\n\n////// -- Spies Usage -- //////\n\nvar obj = {\n  returnMethod: function (val) {\n    return BPromise.resolve(val)\n  },\n  paramMethod: function (val, prom, val2) {\n    return true\n  }\n}\n\n// Return methods\nvar spy = sinon.spy(obj, 'returnMethod')\n\nobj.returnMethod('Hello') //execute the test function\nspy.returnedPromise('Hello') // === true\n\nobj.returnMethod('World') //execute the test function a second time\nspy.alwaysReturnedPromise('Hello') // === false\n\nspy.restore()\n\n//Called With methods\nspy = sinon.spy(obj, 'paramMethod')\n\nobj.paramMethod(BPromise.resolve('Hello')) //pass in a promise\nspy.calledWithPromise('Hello') // === true\nobj.paramMethod.reset() //reset spy\n\n/* Pass in a promise mixed with regular values\n * Note the rejected promise passed in, any rejected promise will possibly show up in console.log\n * due to how bluebird reports possibly unhandled exceptions (even though in this case we are\n * intentionally passing in a rejected promise)\n*/\nobj.paramMethod('Hello', BPromise.reject('World'), '!')\nspy.calledWithMatch('Hello', 'World', String)  // === true (match allows for comparison by type too!)\n\nobj.paramMethod.restore() //restore the original method back\n\n////// -- End Spies Usage -- //////\n```\n\n## API\n\n### Stubs\n\n**.resolves(value)**\n\nReturns a resolved bluebird promise with the given value\n\n**.rejects(value)**\n\nReturns a rejected bluebird promise with the given value.\n\n*Note: If the given value is a String, that string will be wrapped in an Error object and will be on the message property. **(Removed in >=2.0.0)***\n\n### Spies\n\nAll spy methods are identical to [sinons](http://sinonjs.org/docs/#spies-api) version except it automatically unwraps the bluebird promise (if a promise is returned) and compares directly to the unwrapped value. We append the word `Promise` to each method to denote it unwraps a promise.\n\n#### Return Value Methods\n\n*Promises cannot be in a pending state otherwise an error will be thrown.*\n\n**.returnedPromise(value)**\n\n**.alwaysReturnedPromise(value)**\n\n\n#### Called With Methods\n\n*The promise (or promises) can be anywhere in the list of arguments passed into the spied on function or none at all.*\n\n*Promises cannot be in a pending state otherwise an error will be thrown.*\n\n**.calledWithPromise(value, ...)**\n\n**.calledWithMatchPromise(value, ...)**\n\n**.alwaysCalledWithPromise(value, ...)**\n\n**.alwaysCalledWithMatchPromise(value, ...)**\n\n**.calledWithExactlyPromise(value, ...)**\n\n**.alwaysCalledWithExactlyPromise(value, ...)**\n\n## Inspiration\n\nThanks to  [sinon-as-promised](https://github.com/bendrucker/sinon-as-promised) for inspiration.\n\nIf you're wondering what the main differences are:\n\n- `sinon-as-promised` allows other promise libraries to be used instead of bluebird (`sinon-bluebird` is designed and optimized for use only with bluebird)\n- `sinon-as-promised` only supports `.then`, `.catch`, and `.finally` methods off of the stub (no special bluebird methods like: `.map`, `.bind`, `.spread`, etc...)\n\n## Contributors\n\n- [Brian Moeskau](https://github.com/bmoeskau)\n- [Kevin Moritz](https://github.com/mayorbyrne)\n\n## License\n\n**MIT**\n","maintainers":[{"name":"levelseven","email":"admin@level7.io"},{"name":"toddbluhm","email":"toddbluhm@gmail.com"}],"time":{"modified":"2022-06-26T20:15:08.676Z","created":"2015-03-01T08:18:48.436Z","1.0.0":"2015-03-01T08:18:48.436Z","1.0.1":"2015-03-01T08:22:16.287Z","1.0.2":"2015-03-03T21:00:43.901Z","1.0.3":"2015-04-09T06:39:03.359Z","1.1.0":"2015-05-30T07:04:57.239Z","1.1.1":"2015-05-30T07:14:31.265Z","2.0.0":"2015-06-27T06:56:41.630Z","3.0.0":"2015-11-04T05:53:51.261Z","3.0.1":"2016-02-13T00:35:12.083Z","3.0.2":"2016-08-07T06:42:39.534Z","3.1.0":"2016-09-24T00:09:46.185Z","3.1.1":"2019-09-03T00:12:47.039Z"},"homepage":"https://github.com/toddbluhm/sinon-bluebird","repository":{"type":"git","url":"git+https://github.com/toddbluhm/sinon-bluebird.git"},"bugs":{"url":"https://github.com/toddbluhm/sinon-bluebird/issues"},"readmeFilename":"README.md","users":{"deneboulton":true},"keywords":["bluebird","sinon","promises","stub","mock","test"],"author":{"name":"Todd Bluhm"},"license":"MIT","contributors":[{"name":"Brian Moeskau"},{"name":"Kevin Moritz","email":"kevinecor@gmail.com"}]}