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 5.0.0 to 5.0.1

10

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

@@ -25,11 +25,11 @@ "main": "index.cjs.js",

"@types/mocha": "^2.2.41",
"@types/node": "^7.0.21",
"@types/node": "^7.0.22",
"babel-core": "^6.24.1",
"chai": "^3.5.0",
"coffeescript": "next",
"coffeescript": "1.12.6",
"jsdom": "^11.0.0",
"mocha": "^3.4.1",
"mocha": "^3.4.2",
"rollup": "^0.41.6",
"ts-node": "^3.0.4",
"typescript": "^2.3.2"
"typescript": "^2.3.3"
},

@@ -36,0 +36,0 @@ "repository": {

@@ -72,7 +72,10 @@ # jsx-dom

document.body.appendChild(
<svg width="150" height="100" viewBox="0 0 3 2" class="flag italy">
<rect width="1" height="2" x="0" fill="#008d46" />
<rect width="1" height="2" x="1" fill="#ffffff" />
<rect width="1" height="2" x="2" fill="#d2232c" />
</svg>
<div class="flag" style={{ display: 'flex' }}>
<h1>Flag of Italy</h1>
<svg width="150" height="100" viewBox="0 0 3 2" class="flag italy">
<rect width="1" height="2" x="0" fill="#008d46" />
<rect width="1" height="2" x="1" fill="#ffffff" />
<rect width="1" height="2" x="2" fill="#d2232c" />
</svg>
</div>
);

@@ -79,0 +82,0 @@ ```

@@ -262,1 +262,5 @@ 'use strict';

exports.createElement = createElement$$1;
exports.DOM = DOM$$1;
exports.SVGNamespace = SVGNamespace;
exports.stopPropagation = stopPropagation;
exports.preventDefault = preventDefault;

@@ -259,2 +259,2 @@

export { createElement$$1 as createElement };
export { createElement$$1 as createElement, DOM$$1 as DOM, SVGNamespace, stopPropagation, preventDefault };
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