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

ce-la-react

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ce-la-react - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

dist/ce-la-react.d.ts

@@ -65,3 +65,3 @@ /**

toAttributeName: (propName: string) => string;
toAttributeValue: (propValue: unknown) => unknown;
toAttributeValue: (propValue: unknown) => unknown | null | undefined;
}

@@ -68,0 +68,0 @@ export declare function defaultToAttributeName(propName: string): string;

@@ -61,7 +61,12 @@ /**

}
const attrValue = IS_REACT_19_OR_NEWER ? v : toAttributeValue(v);
if (attrName && attrValue !== void 0) {
attrs[attrName] = attrValue;
reactProps[attrName] = attrValue;
const attrValue = toAttributeValue(v);
if (attrName && attrValue != null) {
attrs[attrName] = String(attrValue);
if (!IS_REACT_19_OR_NEWER) {
reactProps[attrName] = attrValue;
}
}
if (attrName && IS_REACT_19_OR_NEWER) {
reactProps[attrName] = v;
}
}

@@ -68,0 +73,0 @@ if (typeof window !== "undefined") {

{
"name": "ce-la-react",
"version": "0.1.2",
"version": "0.1.3",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Create a React component from a custom element.",

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