muxrpc-validation
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -62,2 +62,3 @@ var zerr = require('zerr') | ||
} | ||
module.exports.sink = | ||
module.exports.async = function (fn) { | ||
@@ -82,4 +83,3 @@ var spec = Array.prototype.slice.call(arguments, 1) | ||
} | ||
module.exports.source = | ||
module.exports.sink = function (fn) { | ||
module.exports.source = function (fn) { | ||
var spec = Array.prototype.slice.call(arguments, 1) | ||
@@ -119,4 +119,4 @@ return function () { | ||
// no value? | ||
if (typeof args[i] == 'undefined') { | ||
// falsey? | ||
if (!args[i]) { | ||
err = (type.optional) ? false : errs.MissingParam(''+i) | ||
@@ -123,0 +123,0 @@ break |
{ | ||
"name": "muxrpc-validation", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"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
5617