mono-jsx 0.10.0-beta.1 → 0.10.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/jsx-runtime.mjs +2 -2
  2. package/package.json +1 -1
package/jsx-runtime.mjs CHANGED
@@ -830,9 +830,9 @@ async function renderNode(rc, node, stripSlotProp) {
830
830
  const now = Date.now();
831
831
  const value = cache.get(key);
832
832
  if (value && (!value.expiresAt || value.expiresAt > now)) {
833
- write("<!-- " + tag + " -->");
833
+ write("<!-- cache-hit -->");
834
834
  write(value.html);
835
- write("<!-- /" + tag + " -->");
835
+ write("<!-- /cache -->");
836
836
  } else {
837
837
  let buf = "";
838
838
  await renderChildren(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mono-jsx",
3
- "version": "0.10.0-beta.1",
3
+ "version": "0.10.0-beta.2",
4
4
  "description": "`<html>` as a `Response`.",
5
5
  "type": "module",
6
6
  "module": "./index.mjs",