RubyGems
npm
Organizations
Log in
Sign up
npm
badmfck-api-server
Versions diffs
1.5.0 → 1.5.1
badmfck-api-server 1.5.0 → 1.5.1
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
package/dist/apiServer/helper/Validator.js
+1
-1
package/package.json
+1
-1
package/dist/apiServer/helper/Validator.js
CHANGED
Viewed
@@ -21,7 +21,7 @@ class Validator {
21
21
return true;
22
22
}
23
23
static validateValue(value, opt) {
24
-
if (
!
value)
24
+
if (value
=== undefined || value === null
)
25
25
return ValidationReport.VALUE_IS_NULL;
26
26
if (!opt)
27
27
return ValidationReport.OK;
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "badmfck-api-server",
3
-
"version": "1.5.
0
",
3
+
"version": "1.5.
1
",
4
4
"description": "Simple API http server based on express",
5
5
"main": "dist/index.js",
6
6
"types": "dist/index.d.ts",