muxrpc-validation
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -45,3 +45,7 @@ var zerr = require('zerr') | ||
module.exports.set = function (name, fn) { | ||
validators[name] = fn | ||
if (name && typeof name == 'object') | ||
for (var k in name) | ||
module.exports.set(k, name[k]) | ||
else | ||
validators[name] = fn | ||
} | ||
@@ -48,0 +52,0 @@ |
{ | ||
"name": "muxrpc-validation", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Validation library for muxrpc apis", | ||
@@ -5,0 +5,0 @@ "main": "index.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
5804
148