{"_id":"simple-mock","_rev":"40-9d90e73f24c5515f81eebe71292ea59d","name":"simple-mock","description":"Super simple stubs and spies with 1-step sandbox restore","dist-tags":{"latest":"0.8.0"},"versions":{"0.2.0":{"name":"simple-mock","version":"0.2.0","description":"Super simple mocks, stubs, and spies with 1-step sandbox restore","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"license":"MIT","bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1"},"gitHead":"2f77da35c1d45f7e9fb1ff7f8107f7eddc8fabe3","_id":"simple-mock@0.2.0","_shasum":"bec4e50932e2238169d04d6dbf5b3df2247e34de","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"bec4e50932e2238169d04d6dbf5b3df2247e34de","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.0.tgz","integrity":"sha512-wG0rq+GsUP6IJIs3aWcg0vu31eA+jHvjniQsAQp+EV1pJ/rWZJw0nTBuBHW4gmAj0rJb7mhEq3Tj86r4xYeG4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6SnyM58O5DXIA7ct5NBElu5bGI/tFDwRw4oEO6Lj/BAiEAhHUT3ydwd/PDX2J5A10Nl9f5Y3irmiVlV7gotJ2fwUw="}]}},"0.2.1":{"name":"simple-mock","version":"0.2.1","description":"Super simple mocks, stubs, and spies with 1-step sandbox restore","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"license":"MIT","bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1"},"gitHead":"489bc9bc3a1ac2bfc354335f8ce0e3509bcb53f9","_id":"simple-mock@0.2.1","_shasum":"5411f922782b5264a2e0e590b372b66ca1c16d41","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"5411f922782b5264a2e0e590b372b66ca1c16d41","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.1.tgz","integrity":"sha512-SXvkHXEmYGBmmxB+VmWphKVGK0YPLRrrWuYdlwix7F1z79EAxnA/kqigqQdIVwQeiQc+VffLpFWiwhhiQC8k6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIPmRKG3loIs/pFdGmZP7pye3VdMJJR4NextXCVfprwgIgHJroJdb9OPnBnr9YBrDvl+/Zs/6/Efj1gk2uAHafvPU="}]}},"0.2.3":{"name":"simple-mock","version":"0.2.3","description":"Super simple mocks, stubs, and spies with 1-step sandbox restore","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"license":"MIT","bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1"},"gitHead":"e6f0f05b53a668d4295dc6f144a5bb8f822b1745","_id":"simple-mock@0.2.3","_shasum":"4fdaf02be85dc77aa6e8cea02e80697dfbee1e9c","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"4fdaf02be85dc77aa6e8cea02e80697dfbee1e9c","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.3.tgz","integrity":"sha512-DsPTxrnQfNAnlt7pUMHylgSg3ycOyotlGUM6qlV8U/hxG/8znrAnWkag20TjUrcVcCbjAs5F5wFKCi7hR4+hOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn8rSGQ0JRyiqOhp7JCWUR6zdqfmhVgxaeqHEYipglmgIgcf3SOoNctHTHO9m9Bd+VhJFHqIenDu53LtK2TNp5z/E="}]}},"0.2.4":{"name":"simple-mock","version":"0.2.4","description":"Super simple mocks, stubs, and spies with 1-step sandbox restore","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","sinon","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"license":"MIT","bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1"},"gitHead":"dd695ebc5583a97d602b5c6053948337401446ba","_id":"simple-mock@0.2.4","_shasum":"6ccdd0d848dd1967172c08a5446013c84ec274c7","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"6ccdd0d848dd1967172c08a5446013c84ec274c7","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.4.tgz","integrity":"sha512-R20kfXReKq8U4l4zq9+tOGRFknH/Jkew9EkE6EU89qYNxCEmHW09FdCmpPBFRjvccmrlCPBwPMK74jHGLfln/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHq0Uu9dI817M8b+gjeigF6wEOeaTHxMNGMiQ5iUt2uLAiAs+6EFP6gVNk/XbTenTv5QPAxIam67nCY7qeR51zZ6xg=="}]}},"0.2.5":{"name":"simple-mock","version":"0.2.5","description":"Super simple mocks, stubs, and spies with 1-step sandbox restore","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"license":"MIT","bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1"},"gitHead":"c9154f16f76d13bd0459fad894d53f9b074b7db8","_id":"simple-mock@0.2.5","_shasum":"abb0832ffe3650926c9d763c0018791931d025c8","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"abb0832ffe3650926c9d763c0018791931d025c8","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.5.tgz","integrity":"sha512-QnU+By7apdHe82PaPD3DD4gTyhelJi5PvPHlJIa+x9Y0JBVwlzhpQYHqTVuQ5LuwkPRKexYonra0Z/ow2QaMOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5vKGpg2o41icXFt94QR7xqsfFpexJfoeL8LoacfZlZAiEAxuGZtwSXQRy2HctIEArbYRB8rzlHL7vf1Iph77nrl30="}]}},"0.2.6":{"name":"simple-mock","version":"0.2.6","description":"Super simple stubs and spies with 1-step sandbox restore","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"license":"MIT","bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1"},"gitHead":"b663e1ab3a5dbcc2e213713189ea022f1374659b","_id":"simple-mock@0.2.6","_shasum":"5d9a9408ee1f25c51acc760c8c14df0a2b450755","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"5d9a9408ee1f25c51acc760c8c14df0a2b450755","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.6.tgz","integrity":"sha512-UNerDEDdr8Qx6DHhM1N4fzae/xbWZ181CDL8fFzQtzIfYl2d9lvPdPYVI/X3IYwNpZDe/oXBPDhhE4xghWWLtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDdVSVPvRo2kQQTP9cgAnABlHOLnPKZjqa64/0HUVJBAIhALilcM8qdm4H/kj+dqqaI7ItSuI5kkYCRBdpNBO/XWsX"}]}},"0.2.7":{"name":"simple-mock","version":"0.2.7","description":"Super simple stubs and spies with 1-step sandbox restore","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"license":"MIT","bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1"},"gitHead":"9d1a4d63fbc79a40a05137e6bb0b3da6df871908","_id":"simple-mock@0.2.7","_shasum":"e015b733fba8077bb4c0202ba5d9ec0107ce559a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"e015b733fba8077bb4c0202ba5d9ec0107ce559a","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.7.tgz","integrity":"sha512-E1y+DCLv/jboZK4r+TzdGXxlKkBJvil1FmCAe45OGjafRNHdyTzfHk4IHaQCHFUFtDrMFppiITpPezLui1NWYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvaseCajie4OYxXtSW2PD6m4y2QzLi8Sdyc5gBoaScZAIhAP9TY3iKQfZTc1c9EXpX9Ttmsmo53frLCWGNog5wgxt3"}]}},"0.2.8":{"name":"simple-mock","version":"0.2.8","description":"Super simple stubs and spies with 1-step sandbox restore","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"license":"MIT","bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1"},"gitHead":"122b14ef6ae279f414ae86c0888c570cb4d1ed3d","_id":"simple-mock@0.2.8","_shasum":"d5deee83c7fb6f42f062fbc591a678c053868e6a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"d5deee83c7fb6f42f062fbc591a678c053868e6a","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.8.tgz","integrity":"sha512-q7qGTGGXS9FVohednIj3awjq93SMlj/74dG98k/VHT3woYfCs52PKR9dQEVj6DitkYyaQYWX/+JZw8iN0cDucQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDsr2dJ8hpfGZ0Iq2S5Q9/qG21MueYhvkVMiVM+9UbDgIgaW1URmlcf96MSYBs25sg8vqUlGtV7kue0hmEmsMbeek="}]}},"0.2.9":{"name":"simple-mock","version":"0.2.9","description":"Super simple stubs and spies with 1-step sandbox restore","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"license":"MIT","bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1"},"gitHead":"e1a962ca14bf07987022811d21fee8572cbc95f2","_id":"simple-mock@0.2.9","_shasum":"6858df76f8ac00f8fb146e2f973877fd9d2dd4c3","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"6858df76f8ac00f8fb146e2f973877fd9d2dd4c3","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.9.tgz","integrity":"sha512-EFbLsTzI0bteXHo8DEuh6O+/19rPDpIM0y/x0xZtH9C98sYewAd0V5y6G/kUnQFWpZcvpFAfz3hb9/meaA+nPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxQ+PSEByGJT/wncBEwgjYd0It6zpOdoXr0h4BQLBtsAIgTXx6teYAV+wJztbhZYMDFigalDO2OXCSuc6v7HTS6B4="}]}},"0.2.10":{"name":"simple-mock","version":"0.2.10","description":"Super simple stubs and spies with 1-step sandbox restore","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"license":"MIT","bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1","standard":"^3.5.0"},"gitHead":"969ef3759532adbb22adb65e4b60d207e8fcd8a3","_id":"simple-mock@0.2.10","_shasum":"d0ceea03e8b7c3bb7553e2d7df968db7564ef882","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"d0ceea03e8b7c3bb7553e2d7df968db7564ef882","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.10.tgz","integrity":"sha512-rqiCJ+r2RJ8/5mfcXiqg3OYFgY1AVWOOH9b6zvDeOp5S+jytWw+nlzTu4AD6zLsDuQSPsSsITUpf3Fr2P9EeVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvLOT+erbBNFnZLLeg8M2yjUvEXsqcfsOOyQm3FnP7/AiBR1L4a29RAMX6UVSQemBcb9xjye/j7moECZQuEhwaU2A=="}]}},"0.2.11":{"name":"simple-mock","version":"0.2.11","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1","standard":"^3.5.0"},"gitHead":"5b7ff20649ee5186b7213bedba614ccb09e6bd1b","_id":"simple-mock@0.2.11","_shasum":"b730a7c18542e20f5569c00b1ec6f9e13bec044f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"b730a7c18542e20f5569c00b1ec6f9e13bec044f","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.11.tgz","integrity":"sha512-5DKIko+BuHQp4uAJTQJhhUzcOQ9mGBvM9jAkzP61Uz4SiE6uqWg6PG3MWvy0cXC7SJfGG0/Xy3cMwRF4zWc92A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBJ8vCG/FMakEPM/Dl1ZjpQrUzGm0nc+VLWpAzcWQi1bAiEA5mvMXj8lGWDq0PrIKuijy85z6nzgUgC7MBUzuNDVBjg="}]}},"0.2.12":{"name":"simple-mock","version":"0.2.12","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1","standard":"^3.5.0"},"gitHead":"1fbdb8271ab095b6264d27ca234882171b34066c","_id":"simple-mock@0.2.12","_shasum":"81a66c3ece4009811d0e2068a68bd07950b70764","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"81a66c3ece4009811d0e2068a68bd07950b70764","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.12.tgz","integrity":"sha512-Y3uqmDBKhXfmelPZ11YGB2UsK6EYaWLZ+1OJTcqJDpCrbjjFSaAZtSKuNs7diEcDG4ZBJeVdvVyiGVAfpIcawg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkF4WT/DyAJjzhly/6bgA2bOGkIrn9KhjvSca56u/ltAIgWXH7gUWFZxakXov0FMY52hYUfQK63abmXkoFxJ+k8rs="}]}},"0.2.13":{"name":"simple-mock","version":"0.2.13","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1","standard":"^3.5.0"},"gitHead":"89f621b176af33b7070df2e47516a0c1777149f3","_id":"simple-mock@0.2.13","_shasum":"9c8b23ec6b068115565a37e5f254ff18c4a6ad72","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.7.1","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"9c8b23ec6b068115565a37e5f254ff18c4a6ad72","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.13.tgz","integrity":"sha512-/qwsJx7JySQQ8R2A8DCxNrJGlBh7mejrTM+4vI2w/2cqFBWH2nzZ4lUfNck1W3pwneChd6l8XnvZk8Xu9xDrvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCm5pAkDpxlKkB+q/bh+o1ZreiLFfR+fBPlf52sDm6KnwIgJFsgj329DhutBv79PZtOH5ZVcZW2013YiWDp1zcBPzw="}]}},"0.2.14":{"name":"simple-mock","version":"0.2.14","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1","standard":"^3.5.0"},"gitHead":"88327d9e5e5a7cb946d621aca1056a3041be2ab3","_id":"simple-mock@0.2.14","_shasum":"88e9f0ae1dc24cd212f0ecb7d1ca2aea4a78846f","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.7.1","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"88e9f0ae1dc24cd212f0ecb7d1ca2aea4a78846f","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.2.14.tgz","integrity":"sha512-XHHqWxcgPcavdfMO7YnGB8PDcPw+iHYby2N31dvj4h8ThX5CWIFp3tXUCE+NqNXFN09HNuq5hsKZ1DkjrgaXgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICL8YEQzEYo0XhMb/4mxicnKI6Ds6T/xCw+CjMq1akagAiEAmbabVG9YnW1q6ufcmSqGTkkGoLeW5758aSC3gyT2XxE="}]}},"0.3.0":{"name":"simple-mock","version":"0.3.0","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/node-simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/node-simple-mock/issues"},"homepage":"https://github.com/jupiter/node-simple-mock","devDependencies":{"mocha":"^2.0.1","standard":"^3.5.0"},"gitHead":"cc92b42c4ab2c3fc167e020e61c721d2ccdd3e2a","_id":"simple-mock@0.3.0","_shasum":"0f566c720bf347201c76d37d0908013ea571e454","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"0f566c720bf347201c76d37d0908013ea571e454","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.3.0.tgz","integrity":"sha512-LvvUgc0MmbhC5ILkoe+COs/Ur70oVkzW+fgd1GADXSAIXWOtwXyH+iRtFEpTWxaGG+rNC1RtvcaAIeyQq/7jPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwA40Nyx/3yblABCRTefFCcE/i4xbpDsWma9En42OinQIhAPPQOGXyQykETq5gFEWAUjdVCGyinyZteof2ub8K41lL"}]}},"0.3.1":{"name":"simple-mock","version":"0.3.1","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"https://github.com/jupiter/simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"homepage":"https://github.com/jupiter/simple-mock","devDependencies":{"mocha":"^2.2.5","standard":"^4.0.1"},"dependencies":{},"gitHead":"95c2149905cb308e1105278c1c42703d7c4a8036","_id":"simple-mock@0.3.1","_shasum":"8a4d01084a35218a8eb234327243a52f75dcd0f5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"8a4d01084a35218a8eb234327243a52f75dcd0f5","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.3.1.tgz","integrity":"sha512-4+0NrKX4xwvpIkwZ1SK++OA5m4qx78JaOu39LXq0yquU0Ih4pdnRUqrNOxUfx+3NCE2opokXp8kancfpBxhJ2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEz64KB+rp06WaOdr0YG62BPoiRNvL8eLTJnuIMO1f0LAiAm5tvV350uSpcjRjMhP7qql4Hohf/J2c4K/pRIY9QfDA=="}]}},"0.4.0":{"name":"simple-mock","version":"0.4.0","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/jupiter/simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"homepage":"https://github.com/jupiter/simple-mock","devDependencies":{"mocha":"^2.2.5","standard":"^4.0.1"},"dependencies":{},"gitHead":"5787b5114aa92cc17f96c3c37434dff8df3d6202","_id":"simple-mock@0.4.0","_shasum":"b3b2cbaf799a7192a89d3f00b5d3b4e8693af736","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"dist":{"shasum":"b3b2cbaf799a7192a89d3f00b5d3b4e8693af736","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.4.0.tgz","integrity":"sha512-RiF3OgfftWuZcAtp78tZjBUk++QwM2lERmCRJOgSl/PwGEhKaBS3iZL16Y/rbFAnIC3wEMx1RCr9Ck7wu4nczw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAAyXA5ZaQDoLOWnM6bHehFw0T2xmbjXaoTI4o9F7e0AiAnlUDC2ZvQig/rd7Gzz+XMVQIE1gJ8i+r4jL2eEgDnJQ=="}]},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}]},"0.4.1":{"name":"simple-mock","version":"0.4.1","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/jupiter/simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"homepage":"https://github.com/jupiter/simple-mock","devDependencies":{"mocha":"^2.2.5","standard":"^4.0.1"},"dependencies":{},"gitHead":"38e79efde71493d9bba2a75ba55ef2420f251b7b","_id":"simple-mock@0.4.1","_shasum":"eb0374d689becd4fa98d66ff648028b930ded0fd","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"eb0374d689becd4fa98d66ff648028b930ded0fd","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.4.1.tgz","integrity":"sha512-ijXaWV5oc/ef8W9/SbrCdEjH62fLCJT/F+dxlG/WOw0lzcRxxEO9NdZw3VBXE/gHplsYhGoY02q042vPDJDVmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxTkXYfp0cjKzDca+w289iTb0exX0EMCMVOxpW3IYJLQIgZvkSPMl3TTTgIKjIbJ6BNbJY5+YMJOj++fInL/bcKnE="}]}},"0.5.0":{"name":"simple-mock","version":"0.5.0","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/jupiter/simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"homepage":"https://github.com/jupiter/simple-mock","devDependencies":{"mocha":"^2.2.5","standard":"^4.0.1"},"dependencies":{},"gitHead":"d39cc9cf481503e89f4cb4d170aa5683649616cc","_id":"simple-mock@0.5.0","_shasum":"219b50a6217418eab5e445367e0769df93689051","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"219b50a6217418eab5e445367e0769df93689051","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.5.0.tgz","integrity":"sha512-r6v1eanbSBkk6o875hcRdqWwKG5Q8jAEeyFLaKGMAFedHF2n8M5kra4fsGLWXeNYrNUw4O8fomnFBE5tCETdQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFAc2brRFYIFbcdK04R4wnbbxv2N7/4qPEFJMYlqMeFUAiEA7GzKiWAcvdvm9Co92m/7klyefDipevXZhCswnZpr1VQ="}]}},"0.6.0":{"name":"simple-mock","version":"0.6.0","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/jupiter/simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"homepage":"https://github.com/jupiter/simple-mock","devDependencies":{"mocha":"^2.2.5","standard":"^4.0.1"},"dependencies":{},"gitHead":"28dcc215418c59cd2ab268e960f50b5f9af6f5d5","_id":"simple-mock@0.6.0","_shasum":"ef013471302d13c360ebee1b484521d38e990ffc","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"ef013471302d13c360ebee1b484521d38e990ffc","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.6.0.tgz","integrity":"sha512-gG+khIzche6cMgACKqvaSEfuo4mNMD991jCXFBhf96GjJzMwpmfOqAWQzLZ7EuN3BXrkxH7M9aL7up00ls2/BQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICf3SIIJnTRFfp2gm0JgW8qeyR22zVFSGxj1gsFCmmePAiAIutpMsEjHtnWUXTpagWknZ9IgJ6+4oOFWXJEGpE4bdw=="}]}},"0.7.0":{"name":"simple-mock","version":"0.7.0","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/jupiter/simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"homepage":"https://github.com/jupiter/simple-mock","devDependencies":{"mocha":"^2.2.5","standard":"^4.0.1"},"dependencies":{},"gitHead":"cd1c47b0e6aca2253f86d34aac827b5f4f5b2d6b","_id":"simple-mock@0.7.0","_shasum":"ce6b99754108ae0e0cecc335d0267d47971cb2bc","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"dist":{"shasum":"ce6b99754108ae0e0cecc335d0267d47971cb2bc","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.7.0.tgz","integrity":"sha512-H8YYcKOr5k4GcsKgrYJ0enXy0QcE47mK0hV7m2WSGd1RByf+/rnyTv0Z6EZXLf8BdvNox5MFCVASrUNSN4u1Vw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZLaxv40Smzhf68+XSOJn+o+FKKK9W41cDGowPhBPoIQIgJkrIlrwCw/iFSKuJdy3rziqsU6Mdq+MFtOw6kGYsyXQ="}]},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/simple-mock-0.7.0.tgz_1459439041170_0.8954451703466475"}},"0.7.1":{"name":"simple-mock","version":"0.7.1","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/jupiter/simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"homepage":"https://github.com/jupiter/simple-mock","devDependencies":{"mocha":"^2.2.5","standard":"^4.0.1"},"dependencies":{},"gitHead":"77bf98eb231c57e664db5d348c0b8c06a2539735","_id":"simple-mock@0.7.1","_shasum":"b1ddfb9989d5462de92b919a5b04295f7cc66e07","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.1","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"b1ddfb9989d5462de92b919a5b04295f7cc66e07","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.7.1.tgz","integrity":"sha512-h2W0y7H7kGO4Y3MOR/Q4cDQzgtOnUHSPktiYgUsFSMObNrOM42JrZE5dKb8y3MBKMkLBIhQhpa2MoKpFU8e/bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDtkmikhCVIiUhR1CBrA0P+dM87CqIGX72VCknLZDL1AAiBNxaiQqJO5cMrtDfrJL+JGZhiL8/oTKS05YBZk+gtSgQ=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/simple-mock-0.7.1.tgz_1477935042301_0.6748022141400725"}},"0.7.2":{"name":"simple-mock","version":"0.7.2","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/jupiter/simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"homepage":"https://github.com/jupiter/simple-mock","devDependencies":{"mocha":"^2.2.5","standard":"^4.0.1"},"dependencies":{},"gitHead":"987c80d7a7b9b9074d6c7c0b5dd2c85fef8361a5","_id":"simple-mock@0.7.2","_shasum":"b2537190b4a4b394abd922c4b5c82757f54bd73b","_from":".","_npmVersion":"3.8.9","_nodeVersion":"4.3.2","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"dist":{"shasum":"b2537190b4a4b394abd922c4b5c82757f54bd73b","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.7.2.tgz","integrity":"sha512-aAj+hTf906HWqWiokg64Tl6897X7qFkChenYkmSFKXWwFh+iGbHITN2xHYYhFEt2SwTlHDI96onN5pVxxtM6xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEaFubAtNXqMAQsns/fni70ssjeFmsHW/8/JFWq7TpneAiBiNdsIZbmSiZouaPGXiNB+OV6wRs8vahvWJdilY+cUmw=="}]},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/simple-mock-0.7.2.tgz_1478258402183_0.3465189039707184"}},"0.7.3":{"name":"simple-mock","version":"0.7.3","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/jupiter/simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"homepage":"https://github.com/jupiter/simple-mock","devDependencies":{"mocha":"^2.2.5","standard":"^4.0.1"},"dependencies":{},"gitHead":"346f66c89cded9ad40cd3d5d468fe9f0d1c2f2e5","_id":"simple-mock@0.7.3","_shasum":"461c9e6f1c339cc49a7871b390676cd064388036","_from":".","_npmVersion":"3.8.9","_nodeVersion":"4.3.2","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"dist":{"shasum":"461c9e6f1c339cc49a7871b390676cd064388036","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.7.3.tgz","integrity":"sha512-SQxZ+4z2LYLenQhhooYrtyD+dkxY3dbzpAgbFrmIsr0GoaieQ6y6UbCp0jMZVLHBnO9xAPKfqOJHwqbRHMLkZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSdcAY4eiJrCeDqkCOoLx02CS2cvwVAFwlGYL/aHPNSgIhANn2VvzOt8gN6XBTDci1zeBoNZRI7v4NJJ38dOY6Xpbp"}]},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/simple-mock-0.7.3.tgz_1479462478754_0.4850036215502769"}},"0.8.0":{"name":"simple-mock","version":"0.8.0","description":"Super simple stubs and spies with 1-step sandbox restore","license":"MIT","main":"index.js","scripts":{"npmrc":"printf \"_auth = $NPM_AUTH_TOKEN\nemail = $NPM_EMAIL\n\" > .npmrc","test":"npm run test-no-publish && if [ -n \"${TRAVIS_TAG}\" ]; then npm run npmrc && npm publish || 1; fi","test-no-publish":"standard && mocha"},"repository":{"type":"git","url":"git+https://github.com/jupiter/simple-mock.git"},"keywords":["test","simplemock","simple","mock","stub","spy","fake"],"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"homepage":"https://github.com/jupiter/simple-mock","devDependencies":{"mocha":"^2.2.5","standard":"^4.0.1"},"dependencies":{},"gitHead":"10a2dc16440154ef1426493fd2496426738b3b61","_id":"simple-mock@0.8.0","_shasum":"49c9a223fa6eea8e2c4fd6948fe8300cd8a594f3","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"jupiter","email":"pieter@wavana.com"},"maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"dist":{"shasum":"49c9a223fa6eea8e2c4fd6948fe8300cd8a594f3","tarball":"https://registry.npmjs.org/simple-mock/-/simple-mock-0.8.0.tgz","integrity":"sha512-rakKnocwPH9KPjOsmtMwJwKDmZIYyDeCz0bQYAdeB9h27SMpS5BS+0hDSzhAlvmzA3o7I9ck2NgqjcHpjIcwmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCo7zVAlGMpda05cDotnDyTVBvfwB9GarUDhJ4DEs46LAIgDd04Z6aAhHQNpWgX37aNg79X4Q5Zu4om4d96BoGWSDk="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-mock-0.8.0.tgz_1495610952021_0.8095779384020716"}}},"readme":"# simple-mock\n\n[![travis][travis-image]][travis-url]\n[![npm][npm-image]][npm-url]\n[![downloads][downloads-image]][downloads-url]\n\n[travis-image]: https://img.shields.io/travis/jupiter/simple-mock.svg?style=flat\n[travis-url]: https://travis-ci.org/jupiter/simple-mock\n[npm-image]: https://img.shields.io/npm/v/simple-mock.svg?style=flat\n[npm-url]: https://npmjs.org/package/simple-mock\n[downloads-image]: https://img.shields.io/npm/dm/simple-mock.svg?style=flat\n[downloads-url]: https://npmjs.org/package/simple-mock\n\nSuper simple stubs and spies with 1-step sandbox restore.\n\n## Install\n\nFor Node:\n\n```\n$ npm install simple-mock\n```\n\nFor Browser:\n\n```\n$ bower install simple-mock\n```\n\n## Mock\n\nNot sure when to use a mock, stub, or spy? Just use `simple.mock`.\n\nExamples:\n\n```js\nvar simple = require('simple-mock')\n\nsimple.mock(obj, 'example', 'value') // Replace with this value\n\nsimple.mock(obj, 'example') // Spy on underlying method *or* stub\nsimple.mock(obj, 'example').callFn(function () {}) // Stub\nsimple.mock(obj, 'example').callbackWith(null, 'etc') // Stub\nsimple.mock(obj, 'example').returnWith('etc') // Stub\nsimple.mock(obj, 'example').throwWith(new Error()) // Stub\nsimple.mock(obj, 'example').resolveWith('etc') // Stub\nsimple.mock(obj, 'example').rejectWith(new Error()) // Stub\nsimple.mock(obj, 'example').callOriginal() // Unstubbed call\n```\n\nThen, to make sure all objects are back to the state the were in before your mocks:\n\n```js\nsimple.restore() // Ideally called in an afterEach() block\n```\n\n`callbackWith`, `returnWith` and `throwWith` can be chained for queued behaviour, e.g.\n\n```js\nsimple.mock(Something.prototype, 'example')\n  .callbackWith(null, 'etc')\n  .callbackWith(new Error())\n```\n\n`callbackWith`, `returnWith` and `throwWith` configurations are stored on a simple array fn.actions\n\n## Expectations\n\nYou define your expectations with *your own choice* of assertion library.\n\n```js\nassert(fn.called)\nassert.equals(fn.callCount, 3)\nassert.equals(fn.lastCall.arg, error) // First parameter of the last call\nassert.equals(fn.lastCall.args[1], 'etc') // Second parameter of the last call\nassert.equals(fn.calls[0].returned, 'etc')\nassert.equals(fn.calls[1].threw, error)\n```\n\n## Standalone Stubs and Spies\n\nIf you need to create a standalone stub (stubs are also spies):\n\n```js\nvar fn = simple.stub().returnWith('etc')\n\nvar returned = fn()\n\nassert.equals(returned, 'etc')\n```\n\nOr spy on a standalone function:\n\n```js\nvar fn = simple.spy(function () {})\n\nassert.equals(fn.callCount, 0)\nassert.equals(fn.calls, [])\n```\n\nSee [examples](examples) for more common usage patterns.\n\n## API\n\nFor `var simple = require('simple-mock')`:\n\n### simple.mock(obj, key, value)\n\nSets the value on this object. E.g. `mock(config, 'title', 'test')` is the same as `config.title = 'test'`, but restorable with all mocks.\n\n### simple.mock(obj, key, fn)\n\nWraps `fn` in a spy and sets this on the `obj`, restorable with all mocks.\n\n### simple.mock(obj, key)\n\nIf `obj` has already has this function, it is wrapped in a spy. The resulting spy can be turned into a stub by further configuration. Restores with all mocks.\n\n### simple.restore()\n\nRestores all current mocks.\n\n### simple.restore(obj, key)\n\nUse this if you need to restore only a single mock value or function on an object.\n\n### simple.spy(fn) *or* simple.mock(fn)\n\nWraps `fn` in a spy.\n\n### simple.stub() *or* simple.mock()\n\nReturns a stub function that is also a spy.\n\n---\n\n### spy.called\n\nBoolean\n\n### spy.callCount\n\nNumber of times the function was called.\n\n### spy.calls\n\nAn array of calls, each having these properties:\n\n- **call.args** an array of arguments received on the call\n- **call.context** the context (`this`) of the call\n- **call.returned** the value returned by the wrapped function\n- **call.threw** the error thrown by the wrapped function\n- **call.k** autoincrementing number, can be compared to evaluate call order\n\n### spy.lastCall\n\nThe last call object, with properties as above. (This is often also the first and only call.)\n\n### spy.reset()\n\nResets all counts and properties to the original state.\n\n---\n\n### stub.callFn(fn)\n\nConfigures this stub to call this function, returning its return value. Subsequent calls of this on the same stub (chainable) will queue up different behaviours for each subsequent call of the stub.\n\n### stub.callOriginal()\n\nConfigures this stub to call the original, unstubbed function, returning its return value. Subsequent calls of this on the same stub (chainable) will queue up different behaviours for each subsequent call of the stub.\n\n\n### stub.returnWith(val)\n\nConfigures this stub to return with this value. Subsequent calls of this on the same stub (chainable) will queue up different behaviours for each subsequent call of the stub.\n\n### stub.throwWith(err)\n\nConfigures this stub to throw this error. Subsequent calls of this on the same stub (chainable) will queue up different behaviours for each subsequent call of the stub.\n\n### stub.callback(...) *or* stub.callbackAtIndex(cbArgumentIndex, ...)\n\nConfigures this stub to call back with the arguments passed. It will use either the last argument as callback, or the argument at `cbArgumentIndex`. Subsequent calls of this on the same stub (chainable) will queue up different behaviours for each subsequent call of the stub.\n\n### stub.inThisContext(obj)\n\nConfigures the last configured function or callback to be called in this context, i.e. `this` will be `obj`.\n\n### stub.resolveWith(val)\n\nConfigures the stub to return a Promise (where available] resolving to this value. Same as `stub.returnWith(Promise.resolve(val))`. You can use a custom Promise-conforming library, i.e. `simple.Promise = require('bluebird')` or `simple.Promise = $q`.\n\n### stub.rejectWith(val)\n\nConfigures the stub to return a Promise (where available) rejecting with this error. Same as `stub.returnWith(Promise.reject(val))`. You can use a custom Promise-conforming library, i.e. `simple.Promise = require('bluebird')` or `simple.Promise = $q`.\n\n### stub.actions\n\nAn array of behaviours, each having *one* of these properties:\n\n- **action.cbArgs** arguments to call back with\n- **action.returnValue**\n- **action.throwError**\n\nNote: modifying this array directly is not supported, rather use stub.withActions(actions) if you need to add actions.\n\n### stub.withActions(actions) *or* stub.withActions()\n\nConfigures this stub to use the specified array of actions. See `stub.actions` above for the syntax of an action.\n\n```js\nvar fn = simple.stub()\n         .returnWith('a')\n         .withActions([{ returnValue: 'b' }, { returnValue: 'c' }])\n         .returnWith('d')\n\nvar returned1 = fn()\nvar returned2 = fn()\nvar returned3 = fn()\nvar returned4 = fn()\n\nassert.equal(fn.callCount, 4)\nassert.equal(returned1, 'a')\nassert.equal(returned2, 'b')\nassert.equal(returned3, 'c')\nassert.equal(returned4, 'd')\n```\n\n### stub.loop\n\nBoolean (default: true) setting whether the queue of actions for this stub should repeat.\n\n### stub.withLoop() & stub.noLoop()\n\nConfigures the stub to enable/disable [looping](#stubloop).\n\n## Why\n\nThe most complete, framework-agnostic mocking library is [sinon.js](http://sinonjs.org/). It also has pages of documentation and lots of sugar-coating that we generally don't need. Keep it simple!\n","maintainers":[{"name":"jupiter","email":"pieter@wavana.com"}],"time":{"modified":"2022-06-26T19:44:34.892Z","created":"2014-11-02T18:41:32.464Z","0.2.0":"2014-11-02T18:41:32.464Z","0.2.1":"2014-11-03T14:08:04.018Z","0.2.3":"2014-11-07T09:21:48.400Z","0.2.4":"2014-11-07T11:15:00.531Z","0.2.5":"2014-11-08T16:00:35.783Z","0.2.6":"2014-11-12T12:58:11.760Z","0.2.7":"2015-02-13T10:55:33.406Z","0.2.8":"2015-02-17T22:22:13.381Z","0.2.9":"2015-03-12T16:11:11.948Z","0.2.10":"2015-04-10T11:07:12.153Z","0.2.11":"2015-04-16T10:36:13.564Z","0.2.12":"2015-04-18T11:39:04.869Z","0.2.13":"2015-04-20T09:42:22.922Z","0.2.14":"2015-04-20T21:00:26.207Z","0.3.0":"2015-05-07T11:45:24.090Z","0.3.1":"2015-06-05T12:44:06.653Z","0.4.0":"2015-09-21T13:36:01.057Z","0.4.1":"2015-09-21T13:42:57.069Z","0.5.0":"2015-11-26T10:39:41.449Z","0.6.0":"2016-01-26T17:01:44.037Z","0.7.0":"2016-03-31T15:44:03.564Z","0.7.1":"2016-10-31T17:30:42.989Z","0.7.2":"2016-11-04T11:20:03.820Z","0.7.3":"2016-11-18T09:47:59.334Z","0.8.0":"2017-05-24T07:29:13.157Z"},"homepage":"https://github.com/jupiter/simple-mock","keywords":["test","simplemock","simple","mock","stub","spy","fake"],"repository":{"type":"git","url":"git+https://github.com/jupiter/simple-mock.git"},"author":{"name":"Pieter Raubenheimer"},"bugs":{"url":"https://github.com/jupiter/simple-mock/issues"},"license":"MIT","readmeFilename":"README.md","users":{"mikemimik":true,"fleischer":true,"bsnote":true,"zhenzhong":true}}