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

jsx-dom

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-dom - npm Package Compare versions

Comparing version 6.4.8 to 6.4.9

3

lib/index.cjs.js

@@ -222,4 +222,3 @@ "use strict"

if (key[0] === "o" && key[1] === "n") {
var name = key.slice(2).toLowerCase()
node.addEventListener(name, value)
node[key.toLowerCase()] = value
}

@@ -226,0 +225,0 @@ } else if (value === true) {

@@ -217,4 +217,3 @@ var __assign = Object.assign

if (key[0] === "o" && key[1] === "n") {
var name = key.slice(2).toLowerCase()
node.addEventListener(name, value)
node[key.toLowerCase()] = value
}

@@ -221,0 +220,0 @@ } else if (value === true) {

@@ -317,4 +317,3 @@ "use strict"

if (key[0] === "o" && key[1] === "n") {
var name = key.slice(2).toLowerCase()
node.addEventListener(name, value)
node[key.toLowerCase()] = value
}

@@ -321,0 +320,0 @@ } else if (value === true) {

@@ -312,4 +312,3 @@ var __assign = Object.assign

if (key[0] === "o" && key[1] === "n") {
var name = key.slice(2).toLowerCase()
node.addEventListener(name, value)
node[key.toLowerCase()] = value
}

@@ -316,0 +315,0 @@ } else if (value === true) {

{
"name": "jsx-dom",
"version": "6.4.8",
"version": "6.4.9",
"description": "JSX to document.createElement.",

@@ -61,2 +61,2 @@ "main": "lib/index.cjs.js",

}
}
}

@@ -96,3 +96,3 @@ # jsx-dom

2. Attributes starts with `on` and has a function value will be treated as an event listener and attached to the node with `addEventListener`.
2. Attributes starts with `on` and has a function value will be treated as an event listener and attached to the node by setting the property directly (e.g. `node.onclick = ...`).

@@ -99,0 +99,0 @@ ```jsx

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