ezobjects
Advanced tools
Comparing version 5.4.1 to 5.4.2
const docket = require(`docket-parser`); | ||
docket.title(`EZ Objects v5.4.1`); | ||
docket.title(`EZ Objects v5.4.2`); | ||
docket.linkClass(`text-success`); | ||
docket.parseFiles([`index.js`]); | ||
docket.generateDocs(`docs`); |
@@ -149,10 +149,2 @@ /** | ||
/** If type is invalid, throw error */ | ||
if ( property.type && typeof property.type !== 'string' ) | ||
throw new Error(`ezobjects.validatePropertyConfig(): Property '${property.name}' configured with invalid 'type'.`); | ||
/** If instanceOf is invalid, throw error */ | ||
if ( property.instanceOf && typeof property.instanceOf !== 'string' ) | ||
throw new Error(`ezobjects.validatePropertyConfig(): Property '${property.name}' configured with invalid 'instanceOf'.`); | ||
/** If the original type has not yet been recorded */ | ||
@@ -159,0 +151,0 @@ if ( property.type && typeof property.originalType !== 'string' ) { |
{ | ||
"name": "ezobjects", | ||
"version": "5.4.1", | ||
"version": "5.4.2", | ||
"description": "Easy Auto-Generated Strictly-Typed JavaScript Class Objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# EZ Objects v5.4.1 | ||
# EZ Objects v5.4.2 | ||
@@ -3,0 +3,0 @@ EZ Objects is a Node.js module (that can also be usefully browserify'd) that aims to save you lots of time |
Sorry, the diff of this file is not supported yet
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
339904
1587