@domql/element
Advanced tools
Comparing version 2.5.61 to 2.5.62
@@ -155,3 +155,3 @@ 'use strict' | ||
if (options.syntaxv3 || element.props?.syntaxv3 || parent.props?.syntaxv3) { | ||
if (options.syntaxv3 || element.props?.syntaxv3 || parent?.props?.syntaxv3) { | ||
element.props.syntaxv3 = true | ||
@@ -219,3 +219,7 @@ return createValidDomqlObjectFromSugar(element, parent, key, options) | ||
// CREATE a real NODE | ||
createNode(element, options) | ||
try { | ||
createNode(element, options) | ||
} catch (e) { | ||
if (ENV === 'test' || ENV === 'development') console.warn(e) | ||
} | ||
@@ -222,0 +226,0 @@ if (!ref.__if) { |
@@ -120,3 +120,3 @@ "use strict"; | ||
const elementWrapper = createBasedOnType(element, parent, key, options); | ||
if (options.syntaxv3 || ((_a = element.props) == null ? void 0 : _a.syntaxv3) || ((_b = parent.props) == null ? void 0 : _b.syntaxv3)) { | ||
if (options.syntaxv3 || ((_a = element.props) == null ? void 0 : _a.syntaxv3) || ((_b = parent == null ? void 0 : parent.props) == null ? void 0 : _b.syntaxv3)) { | ||
element.props.syntaxv3 = true; | ||
@@ -171,3 +171,8 @@ return (0, import_component.createValidDomqlObjectFromSugar)(element, parent, key, options); | ||
const { __ref: ref, key } = element; | ||
(0, import_node.default)(element, options); | ||
try { | ||
(0, import_node.default)(element, options); | ||
} catch (e) { | ||
if (ENV === "test" || ENV === "development") | ||
console.warn(e); | ||
} | ||
if (!ref.__if) { | ||
@@ -174,0 +179,0 @@ parent[key || element.key] = element; |
{ | ||
"name": "@domql/element", | ||
"version": "2.5.61", | ||
"version": "2.5.62", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "type": "module", | ||
}, | ||
"gitHead": "c6aea56536fc17cf5176fed238cf77da99965ed8", | ||
"gitHead": "005657169525f7aaa256f4e62d6a4688d6e2046a", | ||
"devDependencies": { | ||
@@ -37,0 +37,0 @@ "@babel/core": "^7.12.0" |
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
180679
4923