Comparing version 9.1.4 to 9.1.5
{ | ||
"name": "hybrids", | ||
"version": "9.1.4", | ||
"version": "9.1.5", | ||
"description": "A JavaScript framework for creating fully-featured web applications, components libraries, and single web components with unique declarative and functional architecture", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -567,2 +567,8 @@ import * as cache from "./cache.js"; | ||
if (nestedType === "undefined") { | ||
throw TypeError( | ||
`The first item of the '${key}' array must be defined`, | ||
); | ||
} | ||
if (nestedType !== "object") { | ||
@@ -652,2 +658,8 @@ if ( | ||
if (Object.keys(defaultValue).length === 0) { | ||
throw TypeError( | ||
`The object for the '${key}' must have at least one property`, | ||
); | ||
} | ||
const nestedConfig = bootstrap(defaultValue, true); | ||
@@ -654,0 +666,0 @@ if (nestedConfig.enumerable || nestedConfig.external) { |
210510
6703