{"_id":"karma-commonjs-plus","_rev":"29-d89c059e746fbcfa7001f1d5fbc3a742","name":"karma-commonjs-plus","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.13":{"name":"karma-commonjs-plus","version":"0.0.13","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.13","dist":{"shasum":"d5851db1b43520dab75b8305cbf0dadf141c54e8","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.13.tgz","integrity":"sha512-hYAWo+RSG6AMcm68vaveilv9WEklTFUxU5N8a0BuHNQzn2EGR0Xw9D1f9rIwv/khvYFbZbVQta3JAxyzUSNLJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC4kggFK8pfswlQblHX4tUDJYT5UwJib3nXZRXKRDajQAiBkcar4WOBB5fHjySQHSr2nBhgfFAIhTW289gIPJkhRUQ=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.15":{"name":"karma-commonjs-plus","version":"0.0.15","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.15","dist":{"shasum":"a8e679d58e7a1b34d34f8b909dc991e6fb0ba622","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.15.tgz","integrity":"sha512-GrE17EP96boXY6vz05fzDsN2ul8zoTj2pIyVDH62qhw/XPh87+/U67V6hvgCZlPccGXYZ290uEM7XSiNShBXpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0hh+R7QmuqYigaMbL1ilGaA0y1zSwB0P6eUo22gkwHAiAsPL9j6P8s0Ew8G9ZJ4gaQrOFPnHVvxunH7iSXTDVbUw=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.16":{"name":"karma-commonjs-plus","version":"0.0.16","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.16","dist":{"shasum":"45f00a5b88794e8eb86e8caef94a531324b2d3e2","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.16.tgz","integrity":"sha512-KhBK1Pmze0TuScHNJB84GBDD7hKn1jbkr7KrA0wKbLR1iMRmR4/mVO7fj6ci61f2GIgo6VjtkopGRiubIg0IfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNP3AUdKYBV8KRYxGseC/QyxESU3S83gquSUgggHpMSAiEA9EwzEIMtzQgEhU9Oi8K9AmCMITB5mLfDCWsSf5t1Tm4="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.17":{"name":"karma-commonjs-plus","version":"0.0.17","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.17","dist":{"shasum":"9b98cde08814889ca9dc2b6e55d9d6d0f370d856","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.17.tgz","integrity":"sha512-Ie8DGcnwwmk5TojKvb7e7vGUBA5YJxlBQR7D4WcB6jEHkCQ393ZBLrDEk5TfS+Pea0svoOha4Ry7x2dihiQzQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7SB1++h8UDiePq75uXADM9XeFw696LKXs+BhHOP6PuwIgUJ92Jv5IMxm5ifuVAyqIcXJ5ECtrESPSmuovr1oXPnk="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.18":{"name":"karma-commonjs-plus","version":"0.0.18","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.18","dist":{"shasum":"0cc999c64a68b96b5269e4329e792886e7ca045b","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.18.tgz","integrity":"sha512-C3yw5tXaTnhCIMKaFnPTIyHMkfLHAryGNNQfz5Bc+3hgele28P43i8G25YmbWBo6eFkjNDl0QIVpvfX7sFm9IA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4jwIem/kYyRMVetf7cpqm060FI/56kYFiLr0hLTIIRQIgVhs2LdCAzO2DwU+k8usoKt6OPtVouen0Ii2f48A6QHk="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.19":{"name":"karma-commonjs-plus","version":"0.0.19","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.19","dist":{"shasum":"c9e759066fd3c6630b89ccb6ed84c8536446d66f","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.19.tgz","integrity":"sha512-jBCRSylYwWGQ2mT4GTpEesk3EoYgb5NgLwn53xUBhhmq0IZ9L1e5EkMB3Ju+RTu8+G63sy2MteJ+5TefW/zQwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDocM3PSQFmWfoFXUPwVylx+GKVB1yAX1N/bR9IzJtimQIhAMRnVCTt18Ul+GaGpUj8zlR9T3DAvAOsDAsPLccmdi2v"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.20":{"name":"karma-commonjs-plus","version":"0.0.20","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.20","dist":{"shasum":"960d05145b5e903fd33a5d6e9b19e3a9319333d8","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.20.tgz","integrity":"sha512-ZcQjJAWKcJCy33jy24ZVdzFxCGprkAFTwsxqfTD2/l973dVqEIRujuwmgKWNR/Jb0Hu6HRBwMRwjnTdmwMUe4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyJpwjr0DiFsAqpkmylVQQiMs5vNdUKQrWLK4FC0j2qAIgTBaZUqzAdVXqb8psXCy3rQdn4ol8ogmkB3W1l0UpfdU="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.21":{"name":"karma-commonjs-plus","version":"0.0.21","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.21","dist":{"shasum":"f132415a3cf92a2851da42830e63b1ab435c55fc","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.21.tgz","integrity":"sha512-NPGMb319lGi7a2QqlhvLvDVdSUgozkRK6ojzuISxGSQsMpMB1OIpekab4843v+V79+8h6Nt5XexXFDR8Oi9tZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAhlrl8qUdk1Abk2p/v+QVReaEkunMt5VmgKpQu/ClR8AiAdsHlPXsSTBkqgDvKzDMr21xhBAYYGDnkKOeZpqgWlZQ=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.22":{"name":"karma-commonjs-plus","version":"0.0.22","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.22","dist":{"shasum":"1bddf982da4640b77570bd673d12ef984e5f016c","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.22.tgz","integrity":"sha512-moQfLROanIUEo0y02UhOiUoDbAiyFZ8OBn5+oHiaXgTdvr0HsF1/Y06IlrFDeo5odhLVHz2aZMEKGYZQMT+V7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUhxxLFFCUEuKjmztsIoefUxp15odrYmZahX0GxuYHBgIhALqOdUH7yBK4OOxNwlNbaJnCS2vFuwrGwiXWXjFrC1Fb"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.23":{"name":"karma-commonjs-plus","version":"0.0.23","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.23","dist":{"shasum":"05218d85416b05f4ae6188ef78268c35c213003c","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.23.tgz","integrity":"sha512-v1MNqKRXy5dnEfm2gGWbJB3GT5BRaPs6l8rBRBJJu14vg+jYJ5LKr9PY8WDri4caYy9iummFhxrKtYWIXBI9+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAlYLt1QKZIOsjEH0skAc/JLYQ2ID559a4RaRe/KqmhgIgXUwrC3ft0GX0d+1X8I3bH3navyEDsdw3s6MJEXWNcxs="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.24":{"name":"karma-commonjs-plus","version":"0.0.24","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.24","dist":{"shasum":"5ece134c980429c12714f716a60b398304deb823","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.24.tgz","integrity":"sha512-UOZLjANSV5NsbaZ1+LIT/1SRj+aXfev3LBWEnwKjZ8MFW1/hKw0OHnfB4fjJQx5CdsJ/eb7kiZq7wbJg45fd7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsMug8hGSQz9SrYBL3lx9jO1Bp5e5vKamcQFDzb7937AIgGAbu6giL4cTm4LGzpNIerFfQBVFdN2LIn5U6+hcFfYE="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.25":{"name":"karma-commonjs-plus","version":"0.0.25","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.25","dist":{"shasum":"4ef765e3cb70cfeaa875554c507c548476c60a23","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.25.tgz","integrity":"sha512-K1sK1XC4qZTCDYDuM+iPCHJ9+35nMTHZFhdA6FIJNNL38Uzif3159DFs6h7XXHc2wDtqi1qwQ19fe2y1VYbJ/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsiNLx0p75Bo5w82BH1CgvDMpPKSuN1qHbpk4GU4exaQIgW20lFUcUuqLDAqao05akayp8M2CfLkmS6DL9rl7Pij0="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}]},"0.0.26":{"name":"karma-commonjs-plus","version":"0.0.26","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"gitHead":"96e4d27bea00ebe77c5cb170f6fd50bd112653cf","bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@0.0.26","_shasum":"9d0472304078864f6bef1739d787d17bdf9abe0c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}],"dist":{"shasum":"9d0472304078864f6bef1739d787d17bdf9abe0c","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-0.0.26.tgz","integrity":"sha512-cM/Vcln4zLTQeETCkMaFEvrXNZBNyKsa+9ejR0ZpTSqW2zCgLbwO17v3nGfXHmv22U+1/pfBJjAcvlc/6sBNpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0pPwXYzDPdhDVwAIQhW0O5upLwOh6mEFu4bkoGAU4rQIhAPOgtFYwA6y90blK/7zMupn9H/Ud4jteANpB5u5mCQa9"}]}},"1.0.0":{"name":"karma-commonjs-plus","version":"1.0.0","description":"A Karma plugin. Test CommonJS modules and allows reference global dependencies and mock internal dependencies","main":"lib/plugin.js","scripts":{"test":"grunt karma:client"},"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-npm":"~0.0.2","grunt-bump":"~0.0.11","grunt-karma":"~0.6.2","grunt-contrib-jshint":"~0.6.0","grunt-auto-release":"~0.0.3"},"peerDependencies":{"karma":">=0.9"},"license":"MIT","contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"gitHead":"15076d589ccb8a900d3941dd27f32fa48ac9daf7","bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"homepage":"https://github.com/royriojas/karma-commonjs","_id":"karma-commonjs-plus@1.0.0","_shasum":"305f7f340605c16e2cf8c6a5d0b5db7153785278","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.12.0","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}],"dist":{"shasum":"305f7f340605c16e2cf8c6a5d0b5db7153785278","tarball":"https://registry.npmjs.org/karma-commonjs-plus/-/karma-commonjs-plus-1.0.0.tgz","integrity":"sha512-WhRFXjwk+KkCx8u8eqBSnRsQyNhWXOjv+cE7tqDY1jGZhSlmwhB+VUQ6/3YgxGDR7UNATqfp2qDcbGhfu64nsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGZ+sPKc3FRy0OCpU0jpzBnVom1FgIYEcS9bekMWKOZVAiBPMtl0zbuNCo63p2/fIP93/ev+TYyAU/pwsX5zbJdE5w=="}]}}},"readme":"# Changes added in this fork...\n\n**Breaking changes in 1.0.0**: \n \n- **processContent** is now async. Beware of it.\n\nThis is a fork of [karma-commonjs] this adds the following features. It is published in the npm registry as `karma-commonjs-plus`. See the details of how to use it after this section ends.\n\n0. **Add global \"global\" variable**. Some commonjs modules, mostly the ones that run in the browser some times need to access the global scope. Accesing the global scope is discouraged and only needed in extremely rare cases... In any case, code that is meant to run in browsers and interact with legacy code sometimes need to do this.\n\n1. **Look for global dependencies**: If a required dependency is not found will be looked in the global namespace (if you're already including the dependency the old school way)\n  ```javascript\n  var $ = require('jQuery'); // if $ module does not exists... will look for window.jQuery\n  ```\n  If you're using browserify you probably are using the `browserify-shim` in that case the best option is to make sure you add the browsers section to your package.json to resolve the same global dependency, like\n  ```json\n  \"browserify-shim\" : {\n    \"jQuery\" : \"global:jQuery\"\n  }\n  ```\n  That way you will have your variables properly resolved in the bundle too\n\n2. **require can mock internal dependencies**: require allow to pass a second parameter to the mock the internal dependencies. This is usually useful for testing:\n\t```javascript\n\tvar mockObject = jasmine.createSpyObj( 'mockObject', [ 'start' ] );\n\tvar moduleA = require('../../moduleA', {\n\t  './moduleB' : mockObject\n\t});\n\t\n\tmoduleA.callStart(); // internally call moduleB.start();\n\t\n\texpect(mockObject.start).toHaveBeenCalled();\n\t```\n3. **shouldExecFile** config callback. a function to be called for each file processed, the file descriptor is passed to it \n   as the first parameter. It can be used to only autoExecute the modules that match a given pattern.\n\n4. **processContent** config callback. a function to be called for each file processed, the content and the file descriptor are passed to the function.\n   It can be used to modify the content of the module being processed. Like making sure all the modules run in `strict mode`, or other tasks...\n\t```javascript\n\t// this section should go inside your karma config object\n\tcommonjsPreprocessor: {\n\t shouldExecFile: function (file) {\n\t   return file.path.indexOf('/specs/') > -1;\n\t },\n\t processContent: function (content, file, cb) {\n\t   // make sure content is executed in stricter mode during testing\n\t   cb(\"'use strict';\\n\" + content);\n\t }  \n\t}\n\t```\n5. **global.__cjs__clearCachedModules method**. to clear all the cached modules (including mock ones) and make the tests easy to repeat. usually you will want to put this in an afterEach block:\n\n\t```javascript\n\tafterEach(function () {\n\t    // commonjs-plus the tool execute and caches \n\t    // modules during startup we want to be able to\n        // execute the module code again for testing\n        // purposes, so we're manually clearing the \n        // modules cache here.\n\t    global.__cjs__clearCachedModules();\n\t  });\n\t```\n6. **global.__clearMocks method**. to clear all the cached mocks. \n\n\t```javascript\n\tafterEach(function () {\n\t    global.__clearMocks(); // clear only the mocks\n\t  });\n\t```\n\n\n# karma-commonjs-plus\n\n> A Karma plugin that allows testing [CommonJS] modules in the browser. So if you are using [Browserify] for instance, you might find this plugin useful...\n\n### Why not just using Browserify for testing ?\n\nCreating a single bundle means \"recompiling\" the bundle anytime any file changes. On big project, this can significantly slow down the development. This plugin processes only files that changed.\n\n## Installation\n\nThe easiest way is to keep `karma-commonjs-plus` as a devDependency:\n\n`npm install karma-commonjs-plus --save-dev`\n\nwhich should result in the following entry in your `package.json`:\n\n```json\n{\n  \"devDependencies\": {\n    \"karma\": \"~0.10\",\n    \"karma-commonjs-plus\": \"~0.1.20\"\n  }\n}\n```\n\n## Configuration\n```js\n// karma.conf.js\nmodule.exports = function(config) {\n  config.set({\n    frameworks: ['jasmine', 'commonjs'],\n    files: [\n      // your tests, sources, ...\n    ],\n\n    preprocessors: {\n      '**/*.js': ['commonjs']\n    }\n  });\n};\n```\nAdditionally you can specify a root folder (relative to project's directory) which is used to look for required modules:\n```\ncommonjsPreprocessor: {\n  modulesRoot: 'some_folder'  \n}\n```\n\nWhen not specified the root folder default to the `karma.basePath/node_modules` configuration option.\n\nFor an example project, check out Karma's [client tests](https://github.com/karma-runner/karma/tree/master/test/client).\n\n----\n\nFor more information on Karma see the [homepage].\n\n\n[homepage]: http://karma-runner.github.com\n[CommonJS]: http://www.commonjs.org/\n[Browserify]: https://github.com/substack/node-browserify\n[karma-commonjs]: https://github.com/karma-runner/karma-commonjs\n","maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}],"time":{"modified":"2022-06-19T07:55:38.928Z","created":"2014-06-13T10:26:58.210Z","0.0.13":"2014-06-13T10:26:58.210Z","0.0.15":"2014-08-15T03:25:17.820Z","0.0.16":"2014-08-15T03:46:26.221Z","0.0.17":"2014-08-15T03:48:53.802Z","0.0.18":"2014-08-15T03:54:37.628Z","0.0.19":"2014-08-15T18:41:17.108Z","0.0.20":"2014-08-15T20:56:32.337Z","0.0.21":"2014-08-15T21:11:06.850Z","0.0.22":"2014-08-18T22:08:03.963Z","0.0.23":"2014-08-23T03:57:11.682Z","0.0.24":"2014-08-24T07:28:34.766Z","0.0.25":"2014-09-02T09:35:39.008Z","0.0.26":"2014-11-25T08:28:32.030Z","1.0.0":"2015-03-30T07:41:36.151Z"},"homepage":"https://github.com/royriojas/karma-commonjs","keywords":["karma-plugin","commonjs","mock commonjs dependencies"],"repository":{"type":"git","url":"git://github.com/royriojas/karma-commonjs.git"},"contributors":[{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"James Shore","email":"jshore@jamesshore.com"},{"name":"Roy Riojas","email":"royriojas@gmail.com"}],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"bugs":{"url":"https://github.com/royriojas/karma-commonjs/issues"},"license":"MIT","readmeFilename":"README.md"}