New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 7.0.3 to 7.0.4

12

index.js

@@ -376,5 +376,9 @@ const keys = Object.keys

node[key] = value
} else if (value === true) {
attr(node, key, "")
} else if (value !== false && value != null) {
} else if (isBoolean(value)) {
if (value === true) {
attr(node, key, "")
}
node[key] = value
} else if (value != null) {
if (node instanceof SVGElement && !nonPresentationSVGAttributes.test(key)) {

@@ -481,3 +485,2 @@ attr(node, normalizeAttribute(key, "-"), value)

export default index
export {

@@ -491,2 +494,3 @@ Component,

createRef,
index as default,
createElement as h,

@@ -493,0 +497,0 @@ isRef,

@@ -226,5 +226,9 @@ const keys = Object.keys

node[key] = value
} else if (value === true) {
attr(node, key, "")
} else if (value !== false && value != null) {
} else if (isBoolean(value)) {
if (value === true) {
attr(node, key, "")
}
node[key] = value
} else if (value != null) {
attr(node, key, value)

@@ -323,3 +327,2 @@ }

export default index
export {

@@ -333,2 +336,3 @@ Component,

createRef,
index as default,
createElement as h,

@@ -335,0 +339,0 @@ isRef,

{
"name": "jsx-dom",
"version": "7.0.3",
"version": "7.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