functionality
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -20,2 +20,8 @@ var Masquerade = require('./Masquerade.js'), | ||
Functionality.prototype.any = function() { | ||
return new Masquerade(function(value) { | ||
return value !== undefined && value !== null; | ||
}); | ||
}; | ||
Functionality.prototype.opt = function(mask) { | ||
@@ -22,0 +28,0 @@ return new Masquerade(function(value, next) { |
{ | ||
"name": "functionality", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Simple function overloading for JavaScript", | ||
@@ -21,3 +21,2 @@ "author": "Sierra Softworks", | ||
], | ||
"main": "index.js", | ||
@@ -27,7 +26,5 @@ "scripts": { | ||
}, | ||
"dependencies": { | ||
"lodash": "*" | ||
}, | ||
"devDependencies": { | ||
@@ -34,0 +31,0 @@ "mocha": "*", |
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
18334
385