Comparing version 1.0.1 to 1.0.2
2
0.js
module.exports = function(fn) { | ||
return function() { | ||
fn.apply(null, arguments); | ||
return fn.apply(null, arguments); | ||
}; | ||
}; |
{ | ||
"name": "arity-n", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Wraps a function with a function of a sertain arity.", | ||
@@ -5,0 +5,0 @@ "main": "N.js", |
@@ -89,4 +89,7 @@ var arity0 = require('./0'), | ||
hasArity(spy5, spy, 5); | ||
var spyX = arityN(spy, undefined); | ||
hasArity(spyX, spy, 0); | ||
}); | ||
}); | ||
}); |
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
6286
116