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.1 to 0.1.2

4

dist/ce-la-react.js

@@ -53,3 +53,3 @@ /**

const attrName = toAttributeName(reactPropToAttrNameMap[k] ?? k);
if (k in elementClass.prototype && !(k in HTMLElement.prototype) && !elementClass.observedAttributes?.some((attr) => attr === attrName)) {
if (k in elementClass.prototype && !(k in (globalThis.HTMLElement?.prototype ?? {})) && !elementClass.observedAttributes?.some((attr) => attr === attrName)) {
elementProps[k] = v;

@@ -130,3 +130,3 @@ continue;

node[name] = value;
if (value == null && name in HTMLElement.prototype) {
if (value == null && name in (globalThis.HTMLElement?.prototype ?? {})) {
node.removeAttribute(name);

@@ -133,0 +133,0 @@ }

{
"name": "ce-la-react",
"version": "0.1.1",
"version": "0.1.2",
"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