model-attributes
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -56,7 +56,7 @@ /* jslint node: true, esnext: true */ | ||
Object.keys(definitions).forEach(name => { | ||
const d = definitions[name]; | ||
d.name = name; | ||
d.type = types.getType(d.type); | ||
}); | ||
const d = definitions[name]; | ||
d.name = name; | ||
d.type = types.getType(d.type) || types.getType('base'); | ||
}); | ||
return definitions; | ||
}; |
@@ -51,3 +51,3 @@ /* jslint node: true, esnext: true */ | ||
DeclareType('hostname', { | ||
parent: 'base', | ||
parent: 'string', | ||
description: 'fully qualified host name' | ||
@@ -57,3 +57,3 @@ }); | ||
DeclareType('duration', { | ||
parent: 'base', | ||
parent: 'string', | ||
description: 'time duration in seconds', | ||
@@ -60,0 +60,0 @@ toString(value) { |
{ | ||
"name": "model-attributes", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "attribute meta description", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
6032