{"_id":"stand-in","_rev":"41-88fde1c7287aba9926c0260ec5cf9c50","name":"stand-in","description":"Method replacement and testing utility","dist-tags":{"latest":"4.2.0"},"versions":{"0.0.1":{"name":"stand-in","version":"0.0.1","description":"Method replacement and testing utility","main":"index.js","scripts":{"test":"npm test"},"keywords":["testing","proxy","spy","function replace"],"author":{"name":"Adam Bretz"},"license":"ISC","devDependencies":{"lab":"^4.3.0"},"_id":"stand-in@0.0.1","_shasum":"65ad2a59f88cbdd58327e7a950b6ba06b06e8ec1","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"}],"dist":{"shasum":"65ad2a59f88cbdd58327e7a950b6ba06b06e8ec1","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-0.0.1.tgz","integrity":"sha512-i5WDlDF4Y9o/qWT1W8hQPAHtpr7NvqcrbKp2oMXFV0jjzPbfazqtI+F8X3UvvbCIrWtowbjj31V2cwPiQNVM4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuwwwLv54JkvWSrVWEnbNUoTadgEQGYsh5qZkyMkZ/bgIhAM/SUvswE1bAtREDi7194tBlnyTqbgKL8eFw+xNvpUJZ"}]},"directories":{}},"1.0.0":{"name":"stand-in","version":"1.0.0","description":"Method replacement and testing utility","main":"index.js","scripts":{"test":"node node_modules/.bin/lab -c -t 100"},"keywords":["testing","proxy","spy","function replace"],"author":{"name":"Adam Bretz"},"license":"ISC","devDependencies":{"lab":"^4.x.x"},"dependencies":{"objhash":"^1.0.x"},"_id":"stand-in@1.0.0","_shasum":"fee20eaa36bbf5e83f8cf2c15e13b3359d81ac6c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"}],"dist":{"shasum":"fee20eaa36bbf5e83f8cf2c15e13b3359d81ac6c","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-1.0.0.tgz","integrity":"sha512-lsFXMuuD0iqTR7dI2EtjOww+h+mSeZIMUfid05Dc5x4mpdiRBjygG49wLY3hAm2avANGYhHPW4nBqnpWvkFcKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdXFhHeFHrhxM0FJhbnnS2MDogM3PB/VApqq7pOEdBJAiEA4us6ut/LXGJxaSY+FGHdDL4xb4FX18aLZBkpJviKm6Q="}]},"directories":{}},"1.0.1":{"name":"stand-in","version":"1.0.1","description":"Method replacement and testing utility","main":"index.js","scripts":{"test":"node node_modules/.bin/lab -c -t 100"},"keywords":["testing","proxy-method","spy","function-replace"],"author":{"name":"Adam Bretz"},"license":"ISC","devDependencies":{"lab":"^4.x.x"},"dependencies":{"objhash":"^1.0.x"},"_id":"stand-in@1.0.1","_shasum":"e630f3ef1b843ba3468d37b483ecb52b8944e11c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"}],"dist":{"shasum":"e630f3ef1b843ba3468d37b483ecb52b8944e11c","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-1.0.1.tgz","integrity":"sha512-+NuD6+Q1onx5uPTrIUkyVUqs8XWQL+fQvIwpmmqzThrjFCgTSsbkqU2n5YfUqwyh4Sil6eTIZtVPaqULtfvutQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCMmG80icYG+jakGL2uJj8mLohljBvApz84XSauZWFFQIgTbq1SjhU17d7jJCd5YoBOOVe9FMZbavyl0f2cPnC2dQ="}]},"directories":{}},"1.0.2":{"name":"stand-in","version":"1.0.2","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/arb/stand-in.git"},"main":"index.js","scripts":{"test":"node node_modules/.bin/lab -c -t 100"},"keywords":["testing","proxy-method","spy","function-replace"],"author":{"name":"Adam Bretz"},"license":"ISC","devDependencies":{"lab":"^4.x.x"},"dependencies":{"objhash":"^1.0.x"},"bugs":{"url":"https://github.com/arb/stand-in/issues"},"homepage":"https://github.com/arb/stand-in","_id":"stand-in@1.0.2","_shasum":"6001d54bce250bd35290bd4605fab785192f9099","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"}],"dist":{"shasum":"6001d54bce250bd35290bd4605fab785192f9099","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-1.0.2.tgz","integrity":"sha512-udNgdgjSatd/WLPxzj5UP4Lxa5dDdeAdiRyFQ/munaVIq87l27z9KBtCsxIHYp+Xl2tcJ1cDQnPivX77EfVx0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHj0zt14lUWcv4nkgimdT09pSzUU9hzYWG7qKtyjpJKjAiEA5nfniLMEvnwnxlzanZmiJyLreIiJABTbluK/74jDmY4="}]},"directories":{}},"1.1.0":{"name":"stand-in","version":"1.1.0","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/arb/stand-in.git"},"main":"index.js","scripts":{"test":"node node_modules/.bin/lab -cv -t 100"},"keywords":["testing","proxy-method","spy","function-replace"],"author":{"name":"Adam Bretz"},"license":"ISC","devDependencies":{"lab":"^4.x.x"},"dependencies":{"objhash":"^1.0.x"},"gitHead":"d358181b119e476016bb20036c6a4f8730269ed8","bugs":{"url":"https://github.com/arb/stand-in/issues"},"homepage":"https://github.com/arb/stand-in","_id":"stand-in@1.1.0","_shasum":"f6a58560c4679a6ef8e6c8c83ed6f8ecf68200b5","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"}],"dist":{"shasum":"f6a58560c4679a6ef8e6c8c83ed6f8ecf68200b5","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-1.1.0.tgz","integrity":"sha512-NeKNNxvSWA6icII6omv+xP40IsK8L5GBVRW8bstGuDeohIso2GRQZuPXCnUkDe9HUUdJY8byV3ESAWVgetggAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBODNAlWI5j5xW0f6L0yUapMy+dKc3ZtJ6w0sYwzlJbQAiEAofYcVKrP53EQVnSFFjkn4zv+Le7TensKS7KyDLqNjUU="}]},"directories":{}},"1.1.1":{"name":"stand-in","version":"1.1.1","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/arb/stand-in.git"},"main":"index.js","scripts":{"test":"node node_modules/.bin/lab -cv -t 100"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"author":{"name":"Adam Bretz"},"license":"ISC","devDependencies":{"lab":"^4.x.x"},"dependencies":{"objhash":"^1.0.x"},"gitHead":"d92940adc828aa9842d94b832a8f9710fb6463ce","bugs":{"url":"https://github.com/arb/stand-in/issues"},"homepage":"https://github.com/arb/stand-in","_id":"stand-in@1.1.1","_shasum":"2aa419ddeb57c8ae5fa8f8590234042809bd8962","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"}],"dist":{"shasum":"2aa419ddeb57c8ae5fa8f8590234042809bd8962","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-1.1.1.tgz","integrity":"sha512-rA0DjXFqrvZ5BSxV/vMy1QIoI8AJCQYf1WB3Z6m0qLfdOf2A7oAMcFG9K0Y3Gu87+oV27qJ9tFHRJ3VkbNavZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMbAoSRplUeAq26VqBO/r3Qo5og8YPtrj8MpdDBRUiwAiA2p2+TVEfZgfs9qszdsIYgp+0wawRhr2V7VXRu9BFc1Q=="}]},"directories":{}},"2.0.0":{"name":"stand-in","version":"2.0.0","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/arb/stand-in.git"},"main":"index.js","scripts":{"test":"node node_modules/.bin/lab -cv -t 100 -a code -L"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"author":{"name":"Adam Bretz"},"license":"ISC","devDependencies":{"lab":"5.x.x","code":"1.x.x"},"dependencies":{"objhash":"1.0.x"},"gitHead":"cbf8a6a8102264f8616b9136a998f73694c77f14","bugs":{"url":"https://github.com/arb/stand-in/issues"},"homepage":"https://github.com/arb/stand-in","_id":"stand-in@2.0.0","_shasum":"6a60e79f3915a114febb0aec8ea93c4cf9647314","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"}],"dist":{"shasum":"6a60e79f3915a114febb0aec8ea93c4cf9647314","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-2.0.0.tgz","integrity":"sha512-LVN21BOBl7vCAJeBMOpAhUkFw12QkS5c1FV7bXYGN4q9qwztPTyOcDW55eGI1bf3qpOqLk7KSPRfULoNmvoJkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBRYugUqZFAiRzl2P2PjjVojjFrhAyDDGjTzohQRzm+1AiByy2iXq+Bojd7KIPoX6hNNMbkOCSfpB2czDlpriWSjTQ=="}]},"directories":{}},"2.0.1":{"name":"stand-in","version":"2.0.1","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/arb/stand-in.git"},"main":"index.js","scripts":{"test":"node node_modules/.bin/lab -cv -t 100 -a code -L"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"author":{"name":"Adam Bretz"},"license":"ISC","devDependencies":{"lab":"5.x.x","code":"1.x.x"},"dependencies":{"objhash":"1.0.x"},"gitHead":"9fffdf5704f8b21e21a6a03976b0fcfad3c556a8","bugs":{"url":"https://github.com/arb/stand-in/issues"},"homepage":"https://github.com/arb/stand-in","_id":"stand-in@2.0.1","_shasum":"b8a515117ef2aeb7b5aba292f7570019d6c6c67a","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.36","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"}],"dist":{"shasum":"b8a515117ef2aeb7b5aba292f7570019d6c6c67a","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-2.0.1.tgz","integrity":"sha512-Zm8BdWbQ56YExI9RXZOHeQzEtAg0sH9Fw6pnZNWgzpaYamw+tztr7OiK2P6gTf0B6WJNbb8hD4KfFT784Z5/Fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPCbq3NLatOjMFca0t5a+8/mDv1K8J5FiwGNgo1hPsZAIhAN44Kgl7WsORYBjXi8hdihZ8v0GChyGB5t4nQVW5wWK6"}]},"directories":{}},"2.0.5":{"name":"stand-in","version":"2.0.5","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"main":"index.js","scripts":{"test":"lab -cv -t 100 -a code -L"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"devDependencies":{"lab":"5.x.x","code":"1.x.x"},"dependencies":{"objhash":"1.0.x"},"gitHead":"cd89debf4f9774f97f47b55718d91c114cb5c6f1","bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"homepage":"https://github.com/continuationlabs/stand-in","_id":"stand-in@2.0.5","_shasum":"a91efdae32e8cac2cc8b3d18a07530ddf5095c5b","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.36","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"cjihrig","email":"cjihrig@gmail.com"}],"dist":{"shasum":"a91efdae32e8cac2cc8b3d18a07530ddf5095c5b","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-2.0.5.tgz","integrity":"sha512-YZS2Ckx8cEwOq1TsTf5JaG03c3PdhZRucI6dYKd60hk8sko1BAL+b+Tpp0gjKFmxGXpM1DpKhhupW4PiqznHkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeIDMWr36mLw/n5KO8BlALYJ6/wKgGkdRo2UBO54a5PgIgDl/ct5D7A4ju7nsPW9vdSQmcjg4WE/MXySqQQlUIO4M="}]},"directories":{}},"3.0.1":{"name":"stand-in","version":"3.0.1","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"main":"lib/index.js","license":"MIT","scripts":{"test":"semistandard && lab -t 100 -va code"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"devDependencies":{"code":"1.x.x","lab":"5.x.x","semistandard":"7.0.x"},"gitHead":"cd745b5a7d3abd5b9507c83a42ffc2912732685f","bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"homepage":"https://github.com/continuationlabs/stand-in#readme","_id":"stand-in@3.0.1","_shasum":"8068d027f1906b8336fe36eeba22329e511c2fd5","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.10.40","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"cjihrig","email":"cjihrig@gmail.com"}],"dist":{"shasum":"8068d027f1906b8336fe36eeba22329e511c2fd5","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-3.0.1.tgz","integrity":"sha512-6/r4ZrGz0NKTlRPV0XLMWXXQmtWJO5IKPhBaInpDmTMF151pjFzrK+lXNEnDSvh1pgCG3vzVK5391m+E2U1w6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTjY0F32HaHV0hVQSnoPy1oC+T+GoQsilE2q5skvJOjwIhAIQu/eTlTAR3SF7EgW6hliUD4CPXd6PVoJ+LrNdBu7Md"}]},"directories":{}},"3.1.0":{"name":"stand-in","version":"3.1.0","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"main":"lib/index.js","license":"MIT","scripts":{"test":"belly-button && lab -t 100 -va code"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"devDependencies":{"belly-button":"1.x.x","code":"1.x.x","lab":"6.x.x"},"dependencies":{"object-path":"0.9.x"},"gitHead":"6147df0fcfc4c29bb0fe54c4e2adbf438f825495","bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"homepage":"https://github.com/continuationlabs/stand-in","_id":"stand-in@3.1.0","_shasum":"fe415f7b58f7953849eaa03271d691a893fb0aa1","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"cjihrig","email":"cjihrig@gmail.com"}],"dist":{"shasum":"fe415f7b58f7953849eaa03271d691a893fb0aa1","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-3.1.0.tgz","integrity":"sha512-9vo90K8PuAzJTJ1sAOwjgpKsHeDjYXkpIcMAMkFWQ5cnfNpjWDIQdQDbvANI6+8/eqVHmjFENE0j+3rm3hOsTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFuMez9CW3sPn+knMWNWa0KZBgx432BYrUxSB7u6x3VoAiEA7FmuoMy2dWVYY6xkgcnzJhLd0b9m7HpGJvZ2dqFlt6w="}]},"directories":{}},"3.2.0":{"name":"stand-in","version":"3.2.0","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"main":"lib/index.js","license":"MIT","scripts":{"test":"belly-button && lab -t 100 -va code"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"devDependencies":{"belly-button":"1.x.x","code":"1.x.x","lab":"6.x.x"},"dependencies":{"lodash.get":"3.7.x","lodash.set":"3.7.x"},"gitHead":"03f24516ceddbaf613d37d503e215ca98121be30","bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"homepage":"https://github.com/continuationlabs/stand-in","_id":"stand-in@3.2.0","_shasum":"a115b4f7097f48bfa149919f042abea84fc1c9a1","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"cjihrig","email":"cjihrig@gmail.com"}],"dist":{"shasum":"a115b4f7097f48bfa149919f042abea84fc1c9a1","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-3.2.0.tgz","integrity":"sha512-5Ild1fuyksP2oIHZtStH7sp6gT3fxBeWLHxhB5GRVlxWzivglRwXZ0k8eGPXkZgguNlN5S8H5H+6f8fbSnMVmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGotaBxp5Zghq44SIxYpsv+ylekigjVXOfAnbSocuADwIgWHyrUFm3eKXabFcZ19UQim9p0M0i6P6zrkPGCph5gVU="}]},"directories":{}},"3.2.1":{"name":"stand-in","version":"3.2.1","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"main":"lib/index.js","license":"MIT","scripts":{"test":"belly-button && lab -t 100 -va code"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"devDependencies":{"belly-button":"1.x.x","code":"1.x.x","lab":"6.x.x"},"dependencies":{"lodash.get":"3.7.x","lodash.set":"3.7.x"},"gitHead":"f9f4f02f4f7d32967c3cbb1b3122f9fc0b1b2c8f","bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"homepage":"https://github.com/continuationlabs/stand-in#readme","_id":"stand-in@3.2.1","_shasum":"ca31ecc46c4673af65fe048f57cd309d88ba798c","_from":".","_npmVersion":"2.15.3","_nodeVersion":"4.4.0","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"cjihrig","email":"cjihrig@gmail.com"}],"dist":{"shasum":"ca31ecc46c4673af65fe048f57cd309d88ba798c","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-3.2.1.tgz","integrity":"sha512-6Tk7mHT9q/YImVr5sQvwFK1aHX2sztwrU5FpCuFKkGFj+cqf+PCMqHO6ubqOZsjnylx1xTbcM91RoQeANopNMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC40WeLlqUwU2gVjezfCu4FxJRlA3wWd9DNT3CBuhUWhQIhAOoQnrVRGcoiu0wlbLnBhXkBzw+E6wDCSaTgU/eL8QuZ"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stand-in-3.2.1.tgz_1459775749233_0.13079167786054313"},"directories":{}},"3.3.0":{"name":"stand-in","version":"3.3.0","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"main":"lib/index.js","license":"MIT","scripts":{"test":"belly-button && lab -t 100 -va code"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"devDependencies":{"belly-button":"1.x.x","code":"1.x.x","lab":"6.x.x"},"dependencies":{"lodash.get":"3.7.x","lodash.merge":"4.3.x","lodash.set":"3.7.x"},"gitHead":"bcfbedf5e25e6f05507cfdd281beff19aad3ba28","bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"homepage":"https://github.com/continuationlabs/stand-in#readme","_id":"stand-in@3.3.0","_shasum":"e1518b401c3cf47e31d2cceaad14bd54ff9a4d3b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"4.4.0","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"cjihrig","email":"cjihrig@gmail.com"}],"dist":{"shasum":"e1518b401c3cf47e31d2cceaad14bd54ff9a4d3b","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-3.3.0.tgz","integrity":"sha512-nrfk+xrelnTdY59mJAPf2m1+RcameZ4aUrNKVvnk/d4ctznySXeCxpSsKGBuNyNqfZ0Tji5MthrptLXFp8z8sA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAWobCRbpz/7GKu9zfplQF+RmZYqUzEdubEjpzO0c1cgIgIPJu9u2Z4iVRa8zG2KMz4GFaLlCcqV/Vo/UQk7BFZ/0="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stand-in-3.3.0.tgz_1462048332472_0.10642830864526331"},"directories":{}},"3.3.1":{"name":"stand-in","version":"3.3.1","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"main":"lib/index.js","license":"MIT","scripts":{"test":"belly-button && lab -t 100 -va code"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"devDependencies":{"belly-button":"2.x.x","code":"1.x.x","lab":"6.x.x"},"dependencies":{"lodash.get":"3.7.x","lodash.merge":"4.3.x","lodash.set":"3.7.x"},"gitHead":"31f59ffe6dc41ab349a8901fea2e13552b4a230b","bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"homepage":"https://github.com/continuationlabs/stand-in#readme","_id":"stand-in@3.3.1","_shasum":"9f5defaa419b4917dafc962fd773162ced036fc7","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"cjihrig","email":"cjihrig@gmail.com"},"dist":{"shasum":"9f5defaa419b4917dafc962fd773162ced036fc7","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-3.3.1.tgz","integrity":"sha512-Fz4S8eoR+UaEOOtRf5Yg5C59NnC7VQJQU8nKaRm6q1SkIU9YKIK74hHbkL4zfPSrogXmnIABBRVCxcQ3d2HWRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbhIHgspBYsvpAB/8XezdJVd8xFNOfi+OXhe9XbeoJFAiEA0OkzKzveiBO1zrRkMaUnHtUwl4Ccg5rRkpoz3XzLfnA="}]},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"cjihrig","email":"cjihrig@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stand-in-3.3.1.tgz_1462072765625_0.480295748449862"},"directories":{}},"4.0.0":{"name":"stand-in","version":"4.0.0","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"main":"lib/index.js","license":"MIT","scripts":{"test":"belly-button && lab -t 100 -va code"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"devDependencies":{"belly-button":"2.x.x","code":"2.x.x","lab":"10.x.x"},"dependencies":{"lodash.get":"4.2.1","lodash.set":"4.1.0"},"gitHead":"c08d963ddeaeb72a5587709d70c42688454829b3","bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"homepage":"https://github.com/continuationlabs/stand-in#readme","_id":"stand-in@4.0.0","_shasum":"811bde8e460cd5da9a83c890eedc9700c94614ba","_from":".","_npmVersion":"3.8.6","_nodeVersion":"4.4.0","_npmUser":{"name":"arb","email":"arbretz@gmail.com"},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"cjihrig","email":"cjihrig@gmail.com"}],"dist":{"shasum":"811bde8e460cd5da9a83c890eedc9700c94614ba","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-4.0.0.tgz","integrity":"sha512-9kSa05ZzLc35A2qX4eQlYuyEd+VUePpy3Vf2a6SdnZAo2UgwzufE+D8Khksut4XVx6pjzOR1whnvvCBmEmB6jw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNZU4IzqPhFxCr2pJu5TtWtPLzMLx5xEP7IBJWAyuNbgIgWMUt7+TnRGNR1ROEPYgtKkKtfS/52AwQsysGXnlDbRs="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stand-in-4.0.0.tgz_1462209279878_0.44387612165883183"},"directories":{}},"4.1.0":{"name":"stand-in","version":"4.1.0","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"main":"lib/index.js","license":"MIT","scripts":{"test":"belly-button && lab -t 100 -va code"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"devDependencies":{"belly-button":"3.x.x","code":"4.x.x","lab":"11.x.x"},"dependencies":{"lodash.get":"4.4.2","lodash.set":"4.3.2"},"gitHead":"cc3e6f1da8e9f0605b8aba6509946f5551d3460a","bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"homepage":"https://github.com/continuationlabs/stand-in#readme","_id":"stand-in@4.1.0","_shasum":"3ddb34f340c27a9ed96e6f3b2244e9cd8e817df8","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"cjihrig","email":"cjihrig@gmail.com"},"dist":{"shasum":"3ddb34f340c27a9ed96e6f3b2244e9cd8e817df8","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-4.1.0.tgz","integrity":"sha512-87kH/0TFbGKLp9F4GYnH9yw3aOkuB/OCS4VToZVkrX6ovL2ZptqJDiiFtcGrqcHrVdAS5FZQBqFbuBVwRw4kcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlLAOhDiwX6OdQX4DOhnANJXP6dn+43jDETzkRZJj16QIgA+tC5Z7y5dawfTlpXgIfu+c5y7jd2GQJjagBSn3FA3w="}]},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"cjihrig","email":"cjihrig@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stand-in-4.1.0.tgz_1477670256860_0.6041278068441898"},"directories":{}},"4.2.0":{"name":"stand-in","version":"4.2.0","description":"Method replacement and testing utility","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"main":"lib/index.js","license":"MIT","scripts":{"test":"belly-button && lab -t 100 -va code"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"devDependencies":{"belly-button":"4.x.x","code":"4.x.x","lab":"14.x.x"},"dependencies":{"lodash.get":"4.4.2","lodash.set":"4.3.2"},"gitHead":"9fa077c25dfc725f78ec73558cdd187b9abe8108","bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"homepage":"https://github.com/continuationlabs/stand-in#readme","_id":"stand-in@4.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"cjihrig","email":"cjihrig@gmail.com"},"dist":{"integrity":"sha512-7bsb3EF5H1BasEKDKagkfEaYaYX2wNJ9tNC/aV/dIiMbKGKgz9jmY9Xgj8fBSYgg4z9A1WEtRKLN6YE2nuLwdA==","shasum":"476016e8ceb7ef5f059138c32e068b50921cd1c3","tarball":"https://registry.npmjs.org/stand-in/-/stand-in-4.2.0.tgz","fileCount":4,"unpackedSize":6606,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAs8TXYxeiOMtLlFDIRYx4Z35ry0YgrTe61Ny+KBqSkbAiBgeo6M97VGgJnJ3TMKLFYh9WcZ1BskGSqfTdFK4NvTyg=="}]},"maintainers":[{"name":"arb","email":"arbretz@gmail.com"},{"name":"cjihrig","email":"cjihrig@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stand-in_4.2.0_1518616969562_0.3056862185086675"},"_hasShrinkwrap":false}},"readme":"# stand-in\nMethod replacement and testing utility\n\n[![Build Status](https://travis-ci.org/continuationlabs/stand-in.svg?branch=master)](https://travis-ci.org/continuationlabs/stand-in)\n[![npm version](https://img.shields.io/npm/v/stand-in.svg)](https://www.npmjs.org/package/stand-in)\n[![Dependencies](https://img.shields.io/david/continuationlabs/stand-in.svg)](https://github.com/continuationlabs/stand-in)\n\n[![belly-button-style](https://cdn.rawgit.com/continuationlabs/belly-button/master/badge.svg)](https://github.com/continuationlabs/belly-button)\n\n## Description\n\nOften when unit testing, it is helpful to capture or replace function calls with testing code. `stand-in` provides a quick and easy way to replace object methods with your own. It also provides a method to restore the original method after testing is complete.\n\n## Usage\n\n```javascript\nvar standin = require('stand-in');\nvar assert = require('assert');\nvar log = standin.replace(console, 'log', function (stand, value) {\n  assert.strictEqual(value, 'test data', 'value should equal test data');\n  stand.restore();\n});\n\nconsole.log('test data');\n```\n\n- `replace(obj, path, fn [, options])` - replaces `obj[path]` with `fn` where:\n  - `obj` - object that has the method to replace. Will be used at `this` pointer inside `fn`.\n  - `path` - string path to the function to replace. Supports deep paths via \"foo.bar.baz\".\n  - `fn` - function to replace `obj[method]` with. The first argument to this function will be a stand-in object. This is helpful if you don't want to create a holding variable.\n  - `options` - an optional object supporting the following properties.\n    - `startOn` - the invocation number to begin using the replacement function. Defaults to `0`.\n    - `stopAfter` - the final invocation number to use the replacement function. Once this number is reached, the `stand-in` object will `restore()` itself. Defaults to `Infinity`.\n\nReturns a `stand-in` object:\n  - `restore()` - restores the original `obj[method]` to the previous function. Generally, this will restore the method back to the initial value.\n  - `original` - a handle to the original method in case you need to conditionally call it.\n  - `invocations` - the number of times the `stand-in` has been called.\n\n`replaceOnce()` can be used to create a one time replacement. It is identical to `replace()`, except the `stopAfter` option will be set automatically to an appropriate value, depending on the value of `startOn`.\n\n## Note\n\n`replace` tries to prevent users from completely losing a handle to the original method. For example, you will receive an `AssertionError` if you try to replace `console.log` twice without first `restore`ing the function first.\n","maintainers":[{"email":"cjihrig@gmail.com","name":"cjihrig"}],"time":{"modified":"2022-06-26T23:43:58.348Z","created":"2014-09-07T23:22:35.761Z","0.0.1":"2014-09-07T23:22:35.761Z","1.0.0":"2014-09-08T02:10:02.546Z","1.0.1":"2014-09-08T02:18:12.434Z","1.0.2":"2014-09-08T02:22:15.812Z","1.1.0":"2014-09-08T14:42:34.496Z","1.1.1":"2014-09-08T16:31:48.766Z","2.0.0":"2014-11-30T19:20:24.578Z","2.0.1":"2015-04-15T02:38:53.498Z","2.0.2":"2015-04-20T16:05:44.432Z","2.0.3":"2015-04-20T16:07:57.868Z","2.0.4":"2015-04-20T16:49:18.414Z","2.0.5":"2015-04-20T16:50:53.444Z","3.0.0":"2015-09-21T14:36:03.214Z","3.0.1":"2015-10-16T13:16:42.574Z","3.1.0":"2015-10-22T13:24:07.642Z","3.2.0":"2015-11-23T21:47:34.227Z","3.2.1":"2016-04-04T13:15:51.561Z","3.3.0":"2016-04-30T20:32:14.884Z","3.3.1":"2016-05-01T03:19:28.105Z","4.0.0":"2016-05-02T17:14:40.336Z","4.1.0":"2016-10-28T15:57:38.942Z","4.2.0":"2018-02-14T14:02:50.925Z"},"keywords":["testing","proxy-method","function-replace","mock","stub"],"readmeFilename":"README.md","homepage":"https://github.com/continuationlabs/stand-in#readme","repository":{"type":"git","url":"git://github.com/continuationlabs/stand-in.git"},"bugs":{"url":"https://github.com/continuationlabs/stand-in/issues"},"users":{"arb":true},"license":"MIT"}