New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsx-dom-cjs

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-dom-cjs - npm Package Compare versions

Comparing version 8.0.3 to 8.0.4

12

index.js

@@ -453,3 +453,13 @@ /* eslint-disable */

} else {
node.addEventListener(attribute.substring(2), value)
let eventName
if (attribute in window) {
let standardEventName = attribute.substring(2)
eventName = standardEventName
} else {
let cutomEventName = attribute[2] + key.slice(3)
eventName = cutomEventName
}
node.addEventListener(eventName, value)
}

@@ -456,0 +466,0 @@ }

2

jsx-runtime.d.ts

@@ -1,1 +0,1 @@

export { jsx, jsxs, Fragment, JSX } from "./index"
export { jsx, jsxs, jsx as jsxDEV, Fragment, JSX } from "./index"

@@ -20,2 +20,8 @@ /* eslint-disable */

})
Object.defineProperty(exports, "jsxDEV", {
enumerable: true,
get: function () {
return jsxDomCjs.jsx
},
})
Object.defineProperty(exports, "jsxs", {

@@ -22,0 +28,0 @@ enumerable: true,

@@ -303,3 +303,13 @@ /* eslint-disable */

} else {
node.addEventListener(attribute.substring(2), value)
let eventName
if (attribute in window) {
let standardEventName = attribute.substring(2)
eventName = standardEventName
} else {
let cutomEventName = attribute[2] + key.slice(3)
eventName = cutomEventName
}
node.addEventListener(eventName, value)
}

@@ -306,0 +316,0 @@ }

@@ -1,1 +0,1 @@

export { jsx, jsxs, Fragment, JSX } from "./index"
export { jsx, jsxs, jsx as jsxDEV, Fragment, JSX } from "./index"

@@ -20,2 +20,8 @@ /* eslint-disable */

})
Object.defineProperty(exports, "jsxDEV", {
enumerable: true,
get: function () {
return min.jsx
},
})
Object.defineProperty(exports, "jsxs", {

@@ -22,0 +28,0 @@ enumerable: true,

{
"name": "jsx-dom-cjs",
"version": "8.0.3",
"version": "8.0.4",
"description": "JSX to document.createElement.",

@@ -5,0 +5,0 @@ "main": "index.js",

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