check-data
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -312,3 +312,3 @@ "use strict"; | ||
for (let key in result) { | ||
if (result[key] === undefined) { | ||
if (result[key] === undefined || result[key] === "") { | ||
delete result[key] | ||
@@ -315,0 +315,0 @@ } else { |
{ | ||
"name": "check-data", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "JS数据验证器", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -82,3 +82,3 @@ let Verify = require('../index') | ||
return { | ||
"a": 666, | ||
"a": "123", | ||
"b": undefined, | ||
@@ -85,0 +85,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
21173