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