🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

nativemodels

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativemodels - npm Package Compare versions

Comparing version
1.3.0
to
1.3.1
+4
-1
lib/parseValue.js

@@ -8,3 +8,6 @@ "use strict";

if (type.validate(value, key)) {
if (!type.validate || !type.parse) {
console.warn("Schema Key: '".concat(key, "' is not a valid datatype or customtype"));
return value;
} else if (type.validate(value, key)) {
return type.parse(value, key);

@@ -11,0 +14,0 @@ }

+1
-1

@@ -51,3 +51,3 @@ {

},
"version": "1.3.0"
"version": "1.3.1"
}