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

jsx-dom-runtime

Package Overview
Dependencies
Maintainers
0
Versions
109
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.71.0-dev.1 to 0.71.0-dev.2

plugins/style/index.cjs

14

jsx-runtime/index.js

@@ -5,15 +5,3 @@ const svgNs = 'http://www.w3.org/2000/svg';

const internalKeys = new Set(['_', 'children', 'ref']);
const extensions = new Map([['style', (node, value, key) => {
if ('string' == typeof value) {
node.setAttribute(key, value);
} else {
for (key in value) {
if (key.startsWith('-')) {
node.style.setProperty(key, value[key]);
} else {
node.style[key] = value[key];
}
}
}
}], ['$', (node, value, key) => {
const extensions = new Map([['$', (node, value, key) => {
for (key in value) {

@@ -20,0 +8,0 @@ node.addEventListener(key, value[key]);

{
"name": "jsx-dom-runtime",
"version": "0.71.0-dev.1",
"version": "0.71.0-dev.2",
"description": "A tiny in 500 bytes library to JSX syntax templates for DOM. Support HTML, SVG and MathML tags",

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

},
"./lib/*": "./lib/*",
"./plugins/*": "./plugins/*",
"./babel-preset": "./babel-preset/index.cjs",

@@ -29,3 +29,3 @@ "./package.json": "./package.json"

"test": "node --experimental-vm-modules node_modules/.bin/jest",
"build": "rollup -c",
"build": "NODE_NO_WARNINGS=1 rollup -c",
"size": "size-limit",

@@ -43,8 +43,8 @@ "types": "tsc --project tests/tsconfig.json"

"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/helper-validator-identifier": "^7.25.7",
"@babel/preset-typescript": "^7.25.7",
"@babel/types": "^7.25.8",
"@eslint/js": "^9.12.0",
"@evilmartians/lefthook": "^1.7.18",
"@babel/core": "^7.26.0",
"@babel/helper-validator-identifier": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@babel/types": "^7.26.0",
"@eslint/js": "^9.14.0",
"@evilmartians/lefthook": "^1.8.2",
"@jest/globals": "^29.7.0",

@@ -55,5 +55,5 @@ "@rollup/plugin-babel": "^6.0.4",

"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/jest-dom": "^6.6.3",
"@types/babel__helper-validator-identifier": "^7.15.2",
"@types/jest": "^29.5.13",
"@types/jest": "^29.5.14",
"babel-jest": "^29.7.0",

@@ -63,6 +63,6 @@ "babel-plugin-transform-lhs-constants": "^1.2.0",

"jest-environment-jsdom": "^29.7.0",
"rollup": "^4.24.0",
"rollup": "^4.24.3",
"size-limit": "^11.1.6",
"typescript": "^5.6.3",
"typescript-eslint": "^8.9.0"
"typescript-eslint": "^8.12.2"
},

@@ -72,3 +72,3 @@ "files": [

"jsx-runtime",
"lib",
"plugins",
"index.d.ts"

@@ -75,0 +75,0 @@ ],

Sorry, the diff of this file is too big to display

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