css-in-props
Advanced tools
Comparing version 2.10.195 to 2.10.220
@@ -27,3 +27,3 @@ "use strict"; | ||
var import_registry = require("./registry"); | ||
const transformClassname = (props, context = {}, registry = import_registry.CSS_PROPS_REGISTRY, excludedProps = {}) => { | ||
const transformClassname = (props, context = {}, registry = import_registry.CSS_PROPS_REGISTRY, excludedProps = {}, fakeElement) => { | ||
const CLASS_NAMES = {}; | ||
@@ -36,3 +36,3 @@ if (!(0, import_utils.isObject)(props)) | ||
if (setter) | ||
setter(key, props[key], CLASS_NAMES); | ||
setter(key, props[key], CLASS_NAMES, fakeElement); | ||
else if ((0, import_utils.isFunction)(hasCSS)) { | ||
@@ -39,0 +39,0 @@ const stack = hasCSS({ props, context }); |
@@ -5,3 +5,3 @@ { | ||
"author": "symbo.ls", | ||
"version": "2.10.195", | ||
"version": "2.10.220", | ||
"repository": "https://github.com/symbo-ls/smbls", | ||
@@ -34,3 +34,3 @@ "type": "module", | ||
}, | ||
"gitHead": "18d849241526d08216fe70824a5b78dcd9042b82" | ||
"gitHead": "847aeea5ab044ded1909a4463c460b9bcf9c6db9" | ||
} |
@@ -8,3 +8,3 @@ 'use strict' | ||
export const transformClassname = (props, context = {}, registry = CSS_PROPS_REGISTRY, excludedProps = {}) => { | ||
export const transformClassname = (props, context = {}, registry = CSS_PROPS_REGISTRY, excludedProps = {}, fakeElement) => { | ||
const CLASS_NAMES = {} | ||
@@ -17,3 +17,3 @@ if (!isObject(props)) return | ||
if (setter) setter(key, props[key], CLASS_NAMES) | ||
if (setter) setter(key, props[key], CLASS_NAMES, fakeElement) | ||
else if (isFunction(hasCSS)) { | ||
@@ -20,0 +20,0 @@ const stack = hasCSS({ props, context }) |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
11106
13
0