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

jsx-dom-runtime

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-dom-runtime - npm Package Compare versions

Comparing version 0.41.0-beta.2 to 0.41.0-beta.3

11

jsx-runtime/index.js

@@ -25,6 +25,7 @@ let appendChildren = (node, children) => {

let properties = new Set(['innerHTML', 'value']);
let jsx = (tag, props) => {
let key,
val,
node = props.__ns ? document.createElementNS('http://www.w3.org/2000/svg', tag) : document.createElement(tag);
let jsx = (key, props) => {
let val,
node = props.__ns ? document.createElementNS('http://www.w3.org/2000/svg', key) : document.createElement(key);
// reuse `key` variable
for (key in props) {

@@ -96,2 +97,2 @@ if (internalKeys.has(key)) {

export { Extend, Fragment, Template, appendChildren, jsx, jsx as jsxs, parseFromString, properties, useRef, useText };
export { Extend, Fragment, Template, appendChildren, jsx, parseFromString, properties, useRef, useText };
{
"name": "jsx-dom-runtime",
"version": "0.41.0-beta.2",
"version": "0.41.0-beta.3",
"description": "A tiny in 500 bytes library to JSX syntax templates for DOM",

@@ -67,3 +67,3 @@ "type": "module",

"jest-environment-jsdom": "^29.5.0",
"rollup": "^3.21.5",
"rollup": "^3.21.6",
"size-limit": "^8.2.4",

@@ -70,0 +70,0 @@ "typescript": "^5.0.4"

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