@kitajs/html
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -527,1 +527,3 @@ /// <reference path="./jsx.d.ts" /> | ||
exports.Fragment = Fragment; | ||
//@ts-expect-error - global augmentation | ||
exports.Html = { ...exports }; |
{ | ||
"name": "@kitajs/html", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Fast and type safe HTML templates using TypeScript.", | ||
@@ -37,3 +37,3 @@ "homepage": "https://github.com/kitajs/html/tree/master/packages/html#readme", | ||
"@types/jsdom": "^21.1.7", | ||
"@types/node": "^20.14.11", | ||
"@types/node": "^22.1.0", | ||
"c8": "^10.1.2", | ||
@@ -40,0 +40,0 @@ "jsdom": "^24.1.1", |
@@ -12,4 +12,4 @@ <p align="center"> | ||
<p align="center" > | ||
<a href="https://kita.js.org" target="_blank" rel="noopener noreferrer"> | ||
<img src="https://kita.js.org/logo.png" width="180" alt="Kita JS logo" /> | ||
<a href="https://kitajs.org" target="_blank" rel="noopener noreferrer"> | ||
<img src="https://kitajs.org/logo.png" width="180" alt="Kita JS logo" /> | ||
</a> | ||
@@ -21,3 +21,3 @@ </p> | ||
<div align="center"> | ||
<a href="https://kita.js.org/discord"><img src="https://img.shields.io/discord/1216165027774595112?logo=discord&logoColor=white&color=%237289da" alt="Discord"></a> | ||
<a href="https://kitajs.org/discord"><img src="https://img.shields.io/discord/1216165027774595112?logo=discord&logoColor=white&color=%237289da" alt="Discord"></a> | ||
<a title="MIT license" target="_blank" href="https://github.com/kitajs/html/blob/master/LICENSE"><img alt="License" src="https://img.shields.io/github/license/kitajs/html"></a> | ||
@@ -24,0 +24,0 @@ <a title="Codecov" target="_blank" href="https://app.codecov.io/gh/kitajs/html"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/kitajs/html?token=ML0KGCU0VM"></a> |
@@ -18,8 +18,3 @@ process.emitWarning( | ||
if (!root.Html) { | ||
root.Html = require('./index'); | ||
root.Html = require('./index').Html; | ||
} | ||
// Removes the default export wrapper | ||
if (root.Html.default) { | ||
root.Html = root.Html.default; | ||
} |
@@ -30,3 +30,3 @@ const { contentsToString, contentToString } = require('./index'); | ||
<script id="kita-html-suspense"> | ||
/*! Apache-2.0 https://kita.js.org */ | ||
/*! Apache-2.0 https://kitajs.org */ | ||
function $KITA_RC(i){ | ||
@@ -33,0 +33,0 @@ // simple aliases |
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
122781
2806