auto-release-sinon
Advanced tools
Comparing version 1.0.1 to 1.0.2
function own(obj, fn) { | ||
if (typeof obj !== 'object') return; | ||
Object.keys(obj).forEach(function (k) { | ||
var keys; | ||
try { keys = Object.keys(obj); } catch (e) {} // non-itterables will throw here | ||
(keys || []).forEach(function (k) { | ||
fn(obj[k], k, obj); | ||
@@ -7,0 +7,0 @@ }); |
{ | ||
"name": "auto-release-sinon", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Basic sinon wrapper that automatically releases it's stubs, works with mocha's BDD interface", | ||
@@ -5,0 +5,0 @@ "main": "autoReleaseSinon.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3027
62