attrs-in-props
Advanced tools
Comparing version 2.11.453 to 2.11.455
@@ -1060,7 +1060,7 @@ 'use strict' | ||
export const exetuteAttrPerComponent = (component, element) => { | ||
export const executeAttr = (elem, element) => { | ||
const attrObj = {} | ||
if (component.attr) { | ||
for (const attrProp in component.attr) { | ||
attrObj[attrProp] = component.attr[attrProp](element) | ||
if (elem.attr) { | ||
for (const attrProp in elem.attr) { | ||
attrObj[attrProp] = elem.attr[attrProp](element, element.state, element.context) | ||
} | ||
@@ -1067,0 +1067,0 @@ } |
@@ -5,6 +5,6 @@ { | ||
"author": "symbo.ls", | ||
"version": "2.11.453", | ||
"version": "2.11.455", | ||
"repository": "https://github.com/symbo-ls/smbls", | ||
"main": "index.js", | ||
"gitHead": "8e5458a957b9d2c75944023e2c31bab157034314", | ||
"gitHead": "2ec12ac36ba08a2d424a3806dba7ccb6f7bddfba", | ||
"dependencies": { | ||
@@ -11,0 +11,0 @@ "@domql/utils": "^2.5.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