@kitajs/html
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -497,4 +497,6 @@ // This file is a result from https://github.com/Desdaemon/typed-htmx and https://htmx.org | ||
/** | ||
* The element or elements to disable during requests. Accepts CSS selectors. | ||
* This extensions functionality has been folded into the core of htmx via the hx-disabled-elt attribute | ||
* The element or elements to disable during requests. Accepts CSS selectors. This | ||
* extensions functionality has been folded into the core of htmx via the | ||
* hx-disabled-elt attribute | ||
* | ||
* @see https://htmx.org/extensions/disable-element/ | ||
@@ -510,3 +512,3 @@ */ | ||
['hx-disabled-elt']?: 'this' | AnyStr; | ||
/** | ||
@@ -513,0 +515,0 @@ * The strategy for merging new head content. |
15
jsx.d.ts
@@ -6,2 +6,5 @@ // This file is a result from many sources, including: RFCs, typescript dom lib, w3schools, and others. | ||
/** Same as a string type but allows autocompletion of literal values */ | ||
type AnyString = string & {}; | ||
declare namespace JSX { | ||
@@ -200,2 +203,5 @@ /** | ||
height?: undefined | number | string; | ||
decoding?: 'sync' | 'async' | 'auto' | AnyString; | ||
loading?: 'eager' | 'lazy' | AnyString; | ||
srcset?: string; | ||
} | ||
@@ -216,3 +222,4 @@ | ||
max?: undefined | string; | ||
maxlength?: undefined | string; | ||
minlength?: undefined | number | string; | ||
maxlength?: undefined | number | string; | ||
method?: undefined | string; | ||
@@ -314,3 +321,3 @@ min?: undefined | string; | ||
label?: undefined | string; | ||
selected?: undefined | string; | ||
selected?: undefined | boolean | string; | ||
value?: undefined | string; | ||
@@ -408,4 +415,4 @@ } | ||
form?: undefined | string; | ||
maxlength?: undefined | string; | ||
minlength?: undefined | string; | ||
maxlength?: undefined | number | string; | ||
minlength?: undefined | number | string; | ||
name?: undefined | string; | ||
@@ -412,0 +419,0 @@ placeholder?: undefined | string; |
{ | ||
"name": "@kitajs/html", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Fast and type safe HTML templates using TypeScript.", | ||
"bugs": "https://github.com/kitajs/html/issues", | ||
"repository": "https://github.com/kitajs/html", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/kitajs/html.git" | ||
}, | ||
"funding": "https://github.com/kitajs/html?sponsor=1", | ||
@@ -17,13 +20,13 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"@arthurfiorette/prettier-config": "^1.0.9", | ||
"@types/node": "^20.4.2", | ||
"@arthurfiorette/prettier-config": "^1.0.11", | ||
"@types/node": "^20.8.3", | ||
"benny": "^3.7.1", | ||
"c8": "^8.0.1", | ||
"prettier": "^3.0.0", | ||
"tslib": "^2.6.1", | ||
"prettier": "^3.0.3", | ||
"tslib": "^2.6.2", | ||
"typed-html": "^3.0.1", | ||
"typescript": "^5.1.6" | ||
"typescript": "^5.2.2" | ||
}, | ||
"peerDependencies": { | ||
"@kitajs/ts-html-plugin": ">=1.1" | ||
"@kitajs/ts-html-plugin": ">=1.2.0" | ||
}, | ||
@@ -30,0 +33,0 @@ "packageManager": "pnpm@8.7.5", |
@@ -810,5 +810,5 @@ <p align="center"> | ||
- 2023-09-23T19:26:24.506Z | ||
- Node: v20.7.0 | ||
- V8: 11.3.244.8-node.15 | ||
- 2023-10-07T16:32:38.524Z | ||
- Node: v20.8.0 | ||
- V8: 11.3.244.8-node.16 | ||
- OS: linux | ||
@@ -821,5 +821,5 @@ - Arch: x64 | ||
| ------ | ------------ | ---------- | ----- | ---------- | ---------------- | -------------- | | ||
| 10 | 0.0071ms | 0.0123ms | 1.72x | 0.0459ms | 0.16x | 0.27x | | ||
| 10000 | 0.4891ms | 1.9689ms | 4.03x | 0.4315ms | 1.13x | 4.56x | | ||
| 100000 | 4.717ms | 13.653ms | 2.89x | 1.5551ms | 3.03x | 8.78x | | ||
| 10 | 0.0051ms | 0.0115ms | 2.25x | 0.037ms | 0.14x | 0.31x | | ||
| 10000 | 0.5453ms | 1.8617ms | 3.41x | 0.2964ms | 1.84x | 6.28x | | ||
| 100000 | 4.2937ms | 12.4456ms | 2.9x | 1.3948ms | 3.08x | 8.92x | | ||
@@ -830,13 +830,13 @@ ## Mdn Homepage | ||
| ------ | ------------ | ------------ | ----- | ---------- | ---------------- | -------------- | | ||
| 10 | 0.6441ms | 3.0466ms | 4.73x | 0.0029ms | 221.57x | 1048.03x | | ||
| 10000 | 601.5763ms | 3013.5356ms | 5.01x | 0.2293ms | 2623.21x | 13140.72x | | ||
| 100000 | 5953.055ms | 30076.7341ms | 5.05x | 1.1917ms | 4995.36x | 25238.17x | | ||
| 10 | 0.6555ms | 3.8335ms | 5.85x | 0.0216ms | 30.37x | 177.62x | | ||
| 10000 | 564.8611ms | 2972.7084ms | 5.26x | 0.2644ms | 2136.01x | 11241.23x | | ||
| 100000 | 5682.3627ms | 30272.9508ms | 5.33x | 1.4159ms | 4013.37x | 21381.35x | | ||
## Many Props | ||
| Runs | @kitajs/html | typed-html | + | .compile() | + / @kitajs/html | + / typed-html | | ||
| ------ | ------------ | ----------- | ----- | ---------- | ---------------- | -------------- | | ||
| 10 | 0.1971ms | 0.9631ms | 4.89x | 0.0026ms | 76.26x | 372.58x | | ||
| 10000 | 164.2186ms | 698.8376ms | 4.26x | 0.682ms | 240.78x | 1024.67x | | ||
| 100000 | 1688.9518ms | 7065.3811ms | 4.18x | 2.8688ms | 588.73x | 2462.82x | | ||
| Runs | @kitajs/html | typed-html | + | .compile() | + / @kitajs/html | + / typed-html | | ||
| ------ | ------------ | ---------- | ----- | ---------- | ---------------- | -------------- | | ||
| 10 | 0.1863ms | 0.9531ms | 5.12x | 0.0107ms | 17.38x | 88.93x | | ||
| 10000 | 165.5015ms | 705.8572ms | 4.26x | 0.6545ms | 252.85x | 1078.41x | | ||
| 100000 | 1669.4264ms | 7092.11ms | 4.25x | 3.0786ms | 542.27x | 2303.68x | | ||
@@ -847,5 +847,5 @@ ## Many Components | ||
| ------ | ------------ | ----------- | ----- | ---------- | ---------------- | -------------- | | ||
| 10 | 0.2367ms | 0.4481ms | 1.89x | 0.0041ms | 57.64x | 109.14x | | ||
| 10000 | 148.0245ms | 368.8733ms | 2.49x | 1.2694ms | 116.61x | 290.6x | | ||
| 100000 | 1548.758ms | 3748.9902ms | 2.42x | 6.009ms | 257.74x | 623.9x | | ||
| 10 | 0.1567ms | 0.3688ms | 2.35x | 0.0027ms | 57.43x | 135.17x | | ||
| 10000 | 145.0478ms | 362.2195ms | 2.5x | 1.2776ms | 113.53x | 283.52x | | ||
| 100000 | 1400.2911ms | 3676.7311ms | 2.63x | 5.7281ms | 244.46x | 641.88x | | ||
``` | ||
@@ -852,0 +852,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
114354
2362
0