@domql/element
Advanced tools
Comparing version 2.5.59 to 2.5.60
@@ -155,3 +155,3 @@ 'use strict' | ||
if (options.syntaxv3 || element.props?.syntaxv3) { | ||
if (options.syntaxv3 || (element.props && element.props.syntaxv3)) { | ||
return createValidDomqlObjectFromSugar(element, parent, key, options) | ||
@@ -158,0 +158,0 @@ } else if (checkIfKeyIsComponent(key)) { |
@@ -118,5 +118,4 @@ "use strict"; | ||
const redefineElement = (element, parent, key, options) => { | ||
var _a; | ||
const elementWrapper = createBasedOnType(element, parent, key, options); | ||
if (options.syntaxv3 || ((_a = element.props) == null ? void 0 : _a.syntaxv3)) { | ||
if (options.syntaxv3 || element.props && element.props.syntaxv3) { | ||
return (0, import_component.createValidDomqlObjectFromSugar)(element, parent, key, options); | ||
@@ -123,0 +122,0 @@ } else if ((0, import_component.checkIfKeyIsComponent)(key)) { |
{ | ||
"name": "@domql/element", | ||
"version": "2.5.59", | ||
"version": "2.5.60", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "type": "module", | ||
}, | ||
"gitHead": "8f9fd6c8f0c9b79542859548862864a0edc15e8e", | ||
"gitHead": "ea0a85fc95e055393c95181eb56c98e94403bea1", | ||
"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
180294
4911