model-types
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -178,3 +178,3 @@ 'use strict'; | ||
if (args.default || args.default === null) { | ||
if (args.default !== undefined) { | ||
if (typeof args.default === 'string' || args.default === null) { | ||
@@ -224,3 +224,3 @@ _this._default = args.default; | ||
if (args.default || args.default === null) { | ||
if (args.default !== undefined) { | ||
if (typeof args.default === 'number' || args.default === null) { | ||
@@ -272,3 +272,3 @@ _this2._default = args.default; | ||
if (args.default || args.default === null) { | ||
if (args.default !== undefined) { | ||
if (args.default === null || args.default === false || args.default === true) { | ||
@@ -330,3 +330,3 @@ _this3._default = args.default; | ||
if (args.default || args.default === null) { | ||
if (args.default !== undefined) { | ||
if (args.default instanceof Array || args.default === null) { | ||
@@ -376,3 +376,5 @@ _this4._default = _this4.parse(args.default); | ||
_this5._default = _this5.parse(args.default); | ||
if (args.default !== undefined) { | ||
_this5._default = _this5.parse(args.default); | ||
} | ||
@@ -423,3 +425,5 @@ _this5._value = _this5._default; | ||
_this6._default = _this6.parse(args.default); | ||
if (args.default !== undefined) { | ||
_this6._default = _this6.parse(args.default); | ||
} | ||
@@ -471,3 +475,5 @@ _this6._value = _this6._default; | ||
_this7._default = _this7.parse(args.default); | ||
if (args.default !== undefined) { | ||
_this7._default = _this7.parse(args.default); | ||
} | ||
@@ -474,0 +480,0 @@ _this7._value = _this7._default; |
{ | ||
"name": "model-types", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "Javascript library for typed object modeling.", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26372
616
0