Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

css-in-props

Package Overview
Dependencies
Maintainers
3
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-in-props - npm Package Compare versions

Comparing version 2.10.195 to 2.10.220

LICENSE

4

dist/cjs/transform.js

@@ -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 })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc