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
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.35.0 to 0.36.0

86

index.d.ts

@@ -462,2 +462,3 @@ /// <reference lib="dom" />

| 'treeitem'
| 'none presentation'

@@ -472,4 +473,5 @@ export interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {

draggable?: Booleanish
hidden?: boolean
hidden?: boolean | 'hidden'| 'until-found' | ''
id?: string
inert?: boolean | 'inert' | ''
lang?: string

@@ -602,3 +604,3 @@ placeholder?: string

'font-size'?: SVGProperties['fontSize']
'font-size-adjust'?:SVGProperties['fontSizeAdjust']
'font-size-adjust'?: SVGProperties['fontSizeAdjust']
'font-stretch'?: SVGProperties['fontStretch']

@@ -620,3 +622,3 @@ 'font-style'?: SVGProperties['fontStyle']

/** @deprecated */
'glyph-orientation-vertical'?: string
'glyph-orientation-vertical'?: string
/** @deprecated */

@@ -656,3 +658,3 @@ glyphRef?: string

lengthAdjust?: 'spacing' | 'spacingAndGlyphs'
'letter-spacing'?: SVGProperties['letterSpacing']
'letter-spacing'?: SVGProperties['letterSpacing']
'lighting-color'?: SVGProperties['lightingColor']

@@ -679,6 +681,6 @@ limitingConeAngle?: Numeric

name?: string
numOctaves?: number | string
numOctaves?: Numeric
offset?: number | string
opacity?: SVGProperties['opacity']
operator?: 'over' | 'in' | 'out' | 'atop' | 'xor' | 'lighter' | 'arithmetic'
operator?: 'over' | 'in' | 'out' | 'atop' | 'xor' | 'lighter' | 'arithmetic' | 'erode' | 'dilate'
order?: number | string

@@ -899,4 +901,4 @@ orient?: 'auto' | 'auto-start-reverse' | number | string

interface ButtonHTMLAttributes extends HTMLAttributes<HTMLButtonElement> {
autofocus?: boolean;
disabled?: boolean;
autofocus?: boolean | 'autofocus' | '';
disabled?: boolean | 'disabled' | '';
form?: string

@@ -906,3 +908,3 @@ formAction?: string

formMethod?: string
formNoValidate?: boolean
formNoValidate?: boolean | 'formnovalidate' | ''
formTarget?: string

@@ -933,3 +935,3 @@ name?: string;

interface DetailsHTMLAttributes extends HTMLAttributes<HTMLDetailsElement> {
open?: boolean;
open?: boolean | 'open' | '';
ontoggle?: TEventHandler<HTMLDetailsElement>;

@@ -944,3 +946,3 @@ }

interface DialogHTMLAttributes extends HTMLAttributes<HTMLDialogElement> {
open?: boolean
open?: boolean | 'open' | '';
ontoggle?: TEventHandler<HTMLDialogElement>;

@@ -957,3 +959,3 @@ }

interface FieldsetHTMLAttributes extends HTMLAttributes<HTMLFieldSetElement> {
disabled?: boolean;
disabled?: boolean | 'disabled' | '';
form?: string

@@ -970,3 +972,3 @@ name?: string;

name?: string;
noValidate?: boolean;
noValidate?: boolean | 'novalidate' | '';
target?: string

@@ -996,2 +998,3 @@ }

scrolling?: string
/** @deprecated */
seamless?: boolean

@@ -1027,7 +1030,7 @@ src?: string;

autocomplete?: string;
autofocus?: boolean;
autofocus?: boolean | 'autofocus' | '';
capture?: boolean | string // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
checked?: boolean;
checked?: boolean | 'checked' | '';
crossOrigin?: HTMLAttrinuteCORS;
disabled?: boolean;
disabled?: boolean | 'disabled' | '';
dirName?: string;

@@ -1039,3 +1042,3 @@ enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';

formMethod?: string
formNoValidate?: boolean
formNoValidate?: boolean | 'formnovalidate' | ''
formTarget?: string

@@ -1048,8 +1051,8 @@ height?: number | string

minLength?: number;
multiple?: boolean
multiple?: boolean | 'multiple' | '';
name?: string;
pattern?: string;
placeholder?: string;
readOnly?: boolean;
required?: boolean;
readOnly?: boolean | 'readonly' | '';
required?: boolean | 'required' | '';
size?: number;

@@ -1076,3 +1079,3 @@ src?: string

crossOrigin?: HTMLAttrinuteCORS;
disabled?: boolean;
disabled?: boolean | 'disabled' | '';
href?: string

@@ -1103,9 +1106,8 @@ hreflang?: string;

interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
autoplay?: boolean;
controls?: boolean;
autoplay?: boolean | 'autoplay' | '';
controls?: boolean | 'controls' | '';
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback'
crossOrigin?: HTMLAttrinuteCORS;
loop?: boolean;
loop?: boolean | 'loop' | '';
mediaGroup?: string
playsInline?: boolean;
preload?: 'none' | 'metadata' | 'auto';

@@ -1149,3 +1151,3 @@ src?: string;

interface OlHTMLAttributes extends HTMLAttributes<HTMLOListElement> {
reversed?: boolean;
reversed?: boolean | 'reversed' | '';
start?: number;

@@ -1156,3 +1158,3 @@ type?: '1' | 'a' | 'A' | 'i' | 'I';

interface OptgroupHTMLAttributes extends HTMLAttributes<HTMLOptGroupElement> {
disabled?: boolean;
disabled?: boolean | 'disabled' | '';
label?: string;

@@ -1162,5 +1164,5 @@ }

interface OptionHTMLAttributes extends HTMLAttributes<HTMLOptionElement> {
disabled?: boolean;
disabled?: boolean | 'disabled' | '';
label?: string;
selected?: boolean;
selected?: boolean | 'selected' | '';
value?: string | number;

@@ -1187,9 +1189,9 @@ }

interface ScriptHTMLAttributes extends HTMLAttributes<HTMLScriptElement> {
async?: boolean
async?: boolean | 'async' | ''
/** @deprecated */
charset?: string;
crossOrigin?: HTMLAttrinuteCORS;
defer?: boolean;
defer?: boolean | 'defer' | '';
integrity?: string
noModule?: boolean;
noModule?: boolean | 'nomodule' | ''
nonce?: string

@@ -1204,8 +1206,8 @@ referrerPolicy?: ReferrerPolicy;

autocomplete?: string;
autofocus?: boolean;
disabled?: boolean;
autofocus?: boolean | 'autofocus' | '';
disabled?: boolean | 'disabled' | '';
form?: string
multiple?: boolean;
multiple?: boolean | 'multiple' | '';
name?: string;
required?: boolean;
required?: boolean | 'required' | '';
size?: number;

@@ -1246,6 +1248,6 @@ value?: string | number;

autocomplete?: string;
autofocus?: boolean;
autofocus?: boolean | 'autofocus' | '';
cols?: number;
dirName?: string;
disabled?: boolean;
disabled?: boolean | 'disabled' | '';
form?: string

@@ -1256,4 +1258,4 @@ maxLength?: number;

placeholder?: string;
readOnly?: boolean;
required?: boolean;
readOnly?: boolean | 'readonly' | '';
required?: boolean | 'required' | '';
rows?: number;

@@ -1300,3 +1302,3 @@ value?: string | number;

height?: number | string;
playsInline?: boolean;
playsInline?: boolean | 'playsinline' | '';
poster?: string;

@@ -1314,3 +1316,3 @@ width?: number | string;

allowpopups?: boolean
autofocus?: boolean;
autofocus?: boolean | 'autofocus' | '';
autosize?: boolean

@@ -1317,0 +1319,0 @@ blinkfeatures?: string

{
"name": "jsx-dom-runtime",
"version": "0.35.0",
"version": "0.36.0",
"description": "A tiny in 500 bytes library to JSX syntax templates for DOM",

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

"dependencies": {
"@babel/core": "^7.21.5",
"@babel/core": "^7.21.8",
"@babel/helper-plugin-utils": "^7.21.5",

@@ -59,4 +59,4 @@ "@babel/plugin-transform-react-jsx": "^7.21.5",

"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"babel-jest": "^29.5.0",

@@ -67,3 +67,3 @@ "eslint": "^8.39.0",

"jest-environment-jsdom": "^29.5.0",
"rollup": "^3.21.2",
"rollup": "^3.21.4",
"size-limit": "^8.2.4",

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

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