New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsx-async-runtime

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsx-async-runtime - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

2

dist/esm/index.js

@@ -76,3 +76,3 @@ // src/jsx/jsx-runtime.ts

case "class":
const classes = Object.entries(value).filter(([k, v]) => v).map(([k, v]) => k);
const classes = Array.isArray(value) ? value.filter((v) => v) : Object.entries(value).filter(([k, v]) => v).map(([k, v]) => k);
return classes.length > 0 ? `class="${escapeQuotes(classes.join(" "))}"` : "";

@@ -79,0 +79,0 @@ default:

@@ -25,3 +25,3 @@ export type Tag = {

autofocus?: "" | "autofocus" | boolean;
class?: string | {
class?: string | string[] | {
[key: string]: boolean;

@@ -28,0 +28,0 @@ };

{
"name": "jsx-async-runtime",
"version": "0.7.0",
"version": "0.7.1",
"description": "An asynchronous JSX runtime without dependencies to be used as html template engine.",

@@ -5,0 +5,0 @@ "keywords": [

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