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 4.1.0 to 4.2.0

LICENSE

6

dist/index.cjs.js

@@ -161,3 +161,7 @@ 'use strict';

} else if (node) {
node.setAttribute(key, value);
if (value === true) {
node.setAttribute(key, '');
} else if (value !== false && value != null) {
node.setAttribute(key, value);
}
}

@@ -164,0 +168,0 @@ }

@@ -159,3 +159,7 @@

} else if (node) {
node.setAttribute(key, value);
if (value === true) {
node.setAttribute(key, '');
} else if (value !== false && value != null) {
node.setAttribute(key, value);
}
}

@@ -162,0 +166,0 @@ }

4

package.json
{
"name": "jsx-dom",
"version": "4.1.0",
"version": "4.2.0",
"description": "JSX to document.createElement.",

@@ -22,3 +22,3 @@ "main": "dist/index.cjs.js",

"@types/jsdom": "^2.0.30",
"@types/mocha": "^2.2.40",
"@types/mocha": "^2.2.41",
"@types/node": "^7.0.12",

@@ -25,0 +25,0 @@ "babel-core": "^6.24.1",

@@ -123,3 +123,7 @@ import { __assign } from 'tslib';

} else if ( node ) {
node.setAttribute( key, value );
if ( value === true ) {
node.setAttribute( key, '' );
} else if ( value !== false && value != null ) {
node.setAttribute( key, value );
}
}

@@ -126,0 +130,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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