@takazudo/zfb-runtime 0.1.0-next.9 → 0.1.0-next.91

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 (55) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +220 -15
  3. package/dist/client-router/events.d.ts +0 -1
  4. package/dist/client-router/events.js +2 -2
  5. package/dist/client-router/events.js.map +1 -1
  6. package/dist/client-router/index.d.ts +2 -3
  7. package/dist/client-router/index.js +2 -2
  8. package/dist/client-router/index.js.map +1 -1
  9. package/dist/client-router/prefetch.d.ts +0 -1
  10. package/dist/client-router/prefetch.js +126 -53
  11. package/dist/client-router/prefetch.js.map +1 -1
  12. package/dist/client-router/router.d.ts +28 -2
  13. package/dist/client-router/router.js +364 -30
  14. package/dist/client-router/router.js.map +1 -1
  15. package/dist/client-router/swap-functions.d.ts +0 -1
  16. package/dist/client-router/swap-functions.js +71 -11
  17. package/dist/client-router/swap-functions.js.map +1 -1
  18. package/dist/client-router/types.d.ts +4 -1
  19. package/dist/client-router/types.js.map +1 -1
  20. package/dist/client-router.d.ts +38 -2
  21. package/dist/client-router.js +56 -20
  22. package/dist/client-router.js.map +1 -1
  23. package/dist/framework.d.ts +0 -1
  24. package/dist/framework.js.map +1 -1
  25. package/dist/index.d.ts +2 -4
  26. package/dist/index.js +13 -4
  27. package/dist/index.js.map +1 -1
  28. package/dist/router.d.ts +32 -2
  29. package/dist/router.js +163 -33
  30. package/dist/router.js.map +1 -1
  31. package/dist/server.d.ts +2 -0
  32. package/dist/server.js +14 -0
  33. package/dist/server.js.map +1 -0
  34. package/dist/snapshot.d.ts +0 -1
  35. package/dist/snapshot.js +3 -2
  36. package/dist/snapshot.js.map +1 -1
  37. package/dist/view-transitions.d.ts +0 -1
  38. package/dist/view-transitions.js.map +1 -1
  39. package/package.json +26 -4
  40. package/dist/client-router/cssesc.d.ts +0 -9
  41. package/dist/client-router/cssesc.d.ts.map +0 -1
  42. package/dist/client-router/cssesc.js +0 -95
  43. package/dist/client-router/cssesc.js.map +0 -1
  44. package/dist/client-router/events.d.ts.map +0 -1
  45. package/dist/client-router/index.d.ts.map +0 -1
  46. package/dist/client-router/prefetch.d.ts.map +0 -1
  47. package/dist/client-router/router.d.ts.map +0 -1
  48. package/dist/client-router/swap-functions.d.ts.map +0 -1
  49. package/dist/client-router/types.d.ts.map +0 -1
  50. package/dist/client-router.d.ts.map +0 -1
  51. package/dist/framework.d.ts.map +0 -1
  52. package/dist/index.d.ts.map +0 -1
  53. package/dist/router.d.ts.map +0 -1
  54. package/dist/snapshot.d.ts.map +0 -1
  55. package/dist/view-transitions.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"router.js","sourceRoot":"","sources":["../src/router.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,EAAE;AACF,wEAAwE;AACxE,mCAAmC;AACnC,EAAE;AACF,oDAAoD;AACpD,0DAA0D;AAC1D,8EAA8E;AAC9E,gEAAgE;AAChE,uCAAuC;AACvC,EAAE;AACF,qEAAqE;AACrE,0EAA0E;AAC1E,uEAAuE;AACvE,uEAAuE;AACvE,4DAA4D;AAC5D,EAAE;AACF,qEAAqE;AACrE,kEAAkE;AAClE,oEAAoE;AACpE,+DAA+D;AAC/D,EAAE;AACF,oCAAoC;AACpC,EAAE;AACF,0EAA0E;AAC1E,qFAAqF;AACrF,qEAAqE;AACrE,+BAA+B;AAC/B,EAAE;AACF,+CAA+C;AAC/C,EAAE;AACF,4EAA4E;AAC5E,yEAAyE;AACzE,0EAA0E;AAC1E,2EAA2E;AAC3E,4EAA4E;AAC5E,uEAAuE;AAEvE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAwF3D,8EAA8E;AAC9E,iBAAiB;AACjB,8EAA8E;AAE9E;;;;;;GAMG;AACH,MAAM,oBAAoB,GAAG,0BAA0B,CAAC;AAExD;;;;;;;;;;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GASG;AACH,SAAS,yBAAyB,CAAC,KAAa;IAC9C,IAAI,KAAK,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,+DAA+D;IAC/D,gEAAgE;IAChE,yBAAyB;IACzB,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAC/D,uEAAuE;IACvE,IAAI,gCAAgC,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,2EAA2E;IAC3E,IAAI,4BAA4B,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;QAChD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,gCAAgC,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC","sourcesContent":["// `@takazudo/zfb-runtime` — Hono-based page router.\n//\n// `createPageRouter` is the JS-side entry point for ADR-007's SSG-first\n// architecture. The pipeline goes:\n//\n// user pages/ + content/ + layouts/ + components/\n// → esbuild bundle (T3) // single ESM file\n// → embedded V8 host (T6) // same WinterCG surface as CF Workers\n// → createPageRouter({ pages, contentSnapshot, framework })\n// → (request) => Promise<Response>\n//\n// The bundle's Worker entry point shape is documented in the package\n// README. The contract is intentionally minimal: one factory call returns\n// one fetch handler. Hono is an implementation detail — callers should\n// not depend on the Hono types leaking through. The exposed surface is\n// the four types here plus the `createPageRouter` function.\n//\n// Side effect on init: registers the supplied `ContentSnapshot` with\n// `zfb/content`'s module-level snapshot bridge so any page module\n// importing `getCollection(\"...\")` resolves from memory rather than\n// touching the Node `fs` API (the Worker runtime has no `fs`).\n//\n// ## Synthetic `__paths__` endpoint\n//\n// The Rust build pipeline needs to evaluate non-literal `paths()` exports\n// (e.g. those that `await import(\"@takazudo/zfb/content\")` and call `getCollection`)\n// at runtime against the running embedded host. The router exposes a\n// synthetic internal endpoint:\n//\n// GET /__paths__/<percent-encoded-route-key>\n//\n// When a page registered at `route` has a `paths` export, the handler calls\n// it and returns the JSON-serialized array as `application/json`. If the\n// `paths` export is missing or throws, the response is a descriptive 500.\n// This endpoint is only meant for the build pipeline — it is safe to leave\n// registered in production because no user-authored route should start with\n// `/__paths__/` (the build pipeline rejects any route that conflicts).\n\nimport { Hono } from \"hono\";\nimport { setContentSnapshot } from \"@takazudo/zfb/content\";\n\nimport type { FrameworkAdapter } from \"./framework.js\";\nimport type { ContentSnapshot } from \"./snapshot.js\";\n\n// ---------------------------------------------------------------------------\n// Public types\n// ---------------------------------------------------------------------------\n\n/**\n * Heading metadata emitted by the MDX `headings` export (T4). Cross-ref:\n * `crates/zfb-content/src/mdx_jsx_emit.rs`. Optional on the page-module\n * shape — non-MDX pages won't carry it.\n */\nexport interface PageHeading {\n readonly depth: number;\n readonly slug: string;\n readonly text: string;\n}\n\n/**\n * The shape every page module must export.\n *\n * - `default`: the JSX page component. Called with the props returned by\n * `getStaticProps` (if exported) or the `props` from the matching\n * `paths()` entry (for dynamic routes). The return value is fed straight\n * to the framework adapter's `renderToString`. A dynamic route with no\n * `paths()` export is called with `{ params: urlParams }` instead of\n * `{}` — see `createPageRouter`'s JSDoc for the full componentInput\n * derivation table.\n * - `prerender`: literal `false` opts a route OUT of build-time SSG (T5\n * contract). The page router still serves it under the embedded V8 host\n * so dev mode behaves identically; SSG callers filter the route list before\n * driving the renderer.\n * - `contentType`: optional override for non-HTML routes (e.g.\n * `application/xml` for `rss.xml.tsx`). Default is\n * `text/html; charset=utf-8`. Cross-ref shipped #49.\n * - `headings`: optional list emitted by MDX (T4).\n * - `paths`: optional dynamic-route enumerator. Called at build time by\n * the `__paths__` synthetic endpoint to produce the concrete URL list\n * for this route template. May be async. Returns an array of\n * `{ params, props? }` objects identical in shape to the Astro/zfb\n * `paths()` contract.\n * **Evaluated once per router instance** — the result is memoised and\n * shared across the `/__paths__` handler and all per-page render\n * requests. This matches the build-time-enumerator contract: every\n * entry rendered within a single build sees the same paths() snapshot.\n * Dev mode is safe because each file-save triggers a fresh bundle,\n * which creates a new router instance with a clean memo.\n * - `getStaticProps`: optional async function for static routes that need\n * to fetch data at build/render time. Called once per request (before\n * `default`). Must return `{ props: Record<string, unknown> }`. The\n * returned `props` are spread into the `default` component's props.\n */\nexport interface PageModule {\n readonly default: (props: Record<string, unknown>) => unknown;\n readonly prerender?: boolean;\n readonly contentType?: string;\n readonly headings?: readonly PageHeading[];\n readonly paths?: () => unknown[] | Promise<unknown[]>;\n readonly getStaticProps?: () => Promise<{ props: Record<string, unknown> }>;\n}\n\n/**\n * One page registered with the router.\n *\n * `route` is a Hono path pattern (e.g. `/`, `/blog/:slug`,\n * `/blog/page/:page`). `module` is a thunk so the bundle can use code\n * splitting if it wants to — today the bundler emits everything as one\n * ESM file and the thunk simply returns the already-loaded module.\n */\nexport interface PageDefinition {\n readonly route: string;\n readonly module: () => Promise<PageModule>;\n}\n\n/** Options accepted by [`createPageRouter`]. */\nexport interface CreatePageRouterOptions {\n /** Pages to register. Order does not affect routing — Hono dispatches by path. */\n readonly pages: readonly PageDefinition[];\n /**\n * In-memory content snapshot. Embedded into the bundle by T3; the\n * router hands it to `zfb/content` so user pages reading content via\n * `getCollection(...)` resolve synchronously from memory.\n */\n readonly contentSnapshot: ContentSnapshot;\n /** Framework adapter pinning the SSR call. */\n readonly framework: FrameworkAdapter;\n /**\n * When `true`, the 500 body for render errors includes the full JS stack\n * trace. When `false`, only the message + route are included. When\n * omitted, the runtime checks `globalThis.__zfb.ssrDebug` at request time:\n * that flag is set by the embedded V8 build/dev host (`globals_shim.js`)\n * and is absent on the production Cloudflare Workers runtime.\n *\n * Default is effectively OFF for production (no flag ⇒ message + route only).\n * Useful for explicit injection in unit tests without global mutation.\n */\n readonly includeErrorStack?: boolean;\n}\n\n/**\n * Fetch-handler shape returned by [`createPageRouter`]. Shaped as a plain\n * function (not a Hono `app`) so the consumer's contract is exactly\n * \"Worker-style fetch handler\" with no leaked framework types.\n */\nexport type PageRouter = (request: Request) => Promise<Response>;\n\n// ---------------------------------------------------------------------------\n// Implementation\n// ---------------------------------------------------------------------------\n\n/**\n * Default content-type when a page module does not override.\n *\n * Aligned with #49's per-page `contentType` convention: the default\n * served for HTML pages is `text/html; charset=utf-8`. Tests pin this\n * verbatim because the embedded V8 host does NOT auto-set a charset.\n */\nconst DEFAULT_CONTENT_TYPE = \"text/html; charset=utf-8\";\n\n/**\n * Issue #530: prepend `<!doctype html>\\n` to SSR-rendered HTML bodies that\n * lack a doctype declaration, mirroring the guard in\n * `crates/zfb-build/src/renderer.rs::render_one_inner` (issue #524).\n *\n * Gate conditions (all must hold to prepend):\n * 1. `contentType` media-type (before `;`) is `text/html` (case-insensitive).\n * 2. The body, after stripping an optional UTF-8 BOM (U+FEFF) and leading\n * ASCII whitespace, starts with `<html` (case-insensitive) — i.e. it is\n * an `<html>`-rooted document, not XML / JSON / a fragment.\n * 3. The body (same stripped prefix) does NOT already begin with `<!doctype`\n * (case-insensitive).\n *\n * Deliberately NOT shared with the Rust side — duplication of a 5-line guard\n * is the right call rather than introducing a new cross-language boundary.\n */\nfunction ensureHtml5Doctype(body: string, contentType: string): string {\n const mediaType = contentType.split(\";\")[0]?.trim().toLowerCase();\n if (mediaType !== \"text/html\") return body;\n // Strip optional BOM and leading whitespace to inspect the root element.\n const stripped = body.replace(/^/, \"\").trimStart();\n if (!stripped.toLowerCase().startsWith(\"<!doctype\")) {\n if (stripped.toLowerCase().startsWith(\"<html\")) {\n return `<!doctype html>\\n${body}`;\n }\n }\n return body;\n}\n\n/**\n * Evaluate `pathsFn` once per `routeKey`, sharing the result across all\n * concurrent and subsequent callers via a Promise stored in `memo`.\n *\n * Rejections are evicted from the memo so that a transient paths() failure\n * does not permanently poison the cache — the next request retries.\n */\nasync function getOrEvalPaths(\n memo: Map<string, Promise<unknown[]>>,\n routeKey: string,\n pathsFn: () => unknown[] | Promise<unknown[]>,\n): Promise<unknown[]> {\n const existing = memo.get(routeKey);\n if (existing !== undefined) {\n return existing;\n }\n const promise = Promise.resolve(pathsFn()).then(\n (v) => v as unknown[],\n (err) => {\n // Evict on rejection so the next request retries.\n memo.delete(routeKey);\n return Promise.reject(err) as Promise<unknown[]>;\n },\n );\n memo.set(routeKey, promise);\n return promise;\n}\n\n/**\n * Build a page router for the SSG-first architecture (ADR-005).\n *\n * Side effects:\n * 1. Registers `opts.contentSnapshot` with the `zfb/content` module so\n * `getCollection(name)` resolves from memory. Idempotent across\n * calls — the latest snapshot wins (matches the documented dev-mode\n * live-reload contract).\n * 2. Constructs an internal Hono app and registers a GET handler per\n * `pages[i].route`. The handler imports the page module, calls\n * `framework.renderToString(module.default({}))`, and returns the\n * string in a `Response` with the appropriate `Content-Type`.\n *\n * Per-route `componentInput` (the object passed to `module.default(...)`) is\n * derived from the route pattern and the page module's exports:\n * - Dynamic route + `paths()` export: match the URL params against the\n * `paths()` entries and pass `{ params, ...props }` (404 on no match).\n * - Static route + `getStaticProps()` export: pass the returned `props`.\n * - Dynamic route with NO `paths()` export (e.g. a per-request SSR page\n * whose slugs can't be enumerated ahead of time): pass `{ params:\n * urlParams }` so the component still knows which URL params it is\n * serving, rather than being invoked with `{}`.\n * - Anything else (static route, no `getStaticProps`): pass `{}`.\n *\n * The returned function is a plain `(request) => Promise<Response>` so a\n * Worker entry point can `export default { fetch: createPageRouter(...) }`\n * directly.\n */\nexport function createPageRouter(opts: CreatePageRouterOptions): PageRouter {\n setContentSnapshot(opts.contentSnapshot);\n\n const app = new Hono();\n\n // Build a lookup map: Hono route pattern → PageDefinition, for the\n // `__paths__` synthetic endpoint below. The map is keyed on the `route`\n // string exactly as the caller supplied it (e.g. \"/blog/:slug\").\n const pagesByRoute = new Map<string, PageDefinition>();\n for (const page of opts.pages) {\n pagesByRoute.set(page.route, page);\n }\n\n // Per-router-instance memo for paths() results.\n //\n // Keyed on page.route (e.g. \"/blog/:slug\"). Stores the in-flight or\n // settled Promise so that concurrent requests share one evaluation.\n // Rejections are NOT cached: if paths() throws the Promise is removed\n // from the map so the next request retries rather than re-propagating\n // the same error indefinitely.\n //\n // Production SSR isolates evaluate paths() once per isolate, which\n // matches the documented build-time-enumerator contract. Dev mode is\n // safe because each re-bundle creates a fresh router instance\n // (dev.rs reload_renderer), so stale paths() results never persist\n // across a file-save cycle. Watch-time invalidation is explicitly\n // out of scope per issue #507.\n const pathsMemo = new Map<string, Promise<unknown[]>>();\n\n // Sanity check: a user-authored route that happens to start with\n // `/__paths__` (or a top-level catchall like `/:slug{.+}`) would\n // shadow the synthetic endpoint registered below if Hono dispatched\n // by registration order. We register `/__paths__/:routeKey{.+}` first\n // (see directly below) but still warn on collisions so users do not\n // ship a page that conflicts with the build pipeline's wire format.\n for (const page of opts.pages) {\n if (routeShadowsPathsEndpoint(page.route)) {\n // Use console.warn so the message reaches the host's tail logs\n // without bringing down the worker. The build pipeline's\n // /__paths__ requests still resolve correctly because the\n // synthetic handler is registered first.\n // eslint-disable-next-line no-console\n console.warn(\n `[zfb-runtime] route \"${page.route}\" may shadow the synthetic /__paths__ endpoint; rename the page or use a more specific pattern`,\n );\n }\n }\n\n // -------------------------------------------------------------------------\n // Synthetic `/__paths__/<encoded-route-key>` endpoint.\n //\n // Called by the Rust build pipeline (crates/zfb/src/render_pipeline.rs)\n // to evaluate non-literal `paths()` exports at runtime. The route key is\n // the Hono pattern for the page (e.g. `/blog/:slug`) percent-encoded so\n // it survives in the URL path segment. The response is a JSON array of\n // `{ params, props? }` objects identical to the `paths()` contract.\n //\n // Pattern: `/__paths__/:routeKey{.+}` — the `{.+}` quantifier (Hono's\n // regex-segment syntax) allows slashes inside the route key so\n // `/blog/:slug` decodes correctly from `/__paths__/%2Fblog%2F%3Aslug`.\n //\n // IMPORTANT: this handler is registered BEFORE user routes so a\n // user-authored top-level catchall (e.g. `/:wildcard{.+}`) cannot\n // shadow it — Hono dispatches in registration order.\n // -------------------------------------------------------------------------\n app.get(\"/__paths__/:routeKey{.+}\", async (c) => {\n // Hono's `c.req.param(\"routeKey\")` already URL-decodes the captured\n // segment when it contains a `%`, so a single decode is correct\n // here — no explicit `decodeURIComponent` (that would be a\n // double-decode and break literal `%` characters in route keys).\n const routeKey = c.req.param(\"routeKey\");\n\n const page = pagesByRoute.get(routeKey);\n if (!page) {\n return c.body(\n `[zfb-runtime] /__paths__: no page registered for route key \"${routeKey}\"`,\n 404,\n { \"Content-Type\": \"text/plain; charset=utf-8\" },\n );\n }\n\n const mod = await page.module();\n if (typeof mod.paths !== \"function\") {\n return c.body(\n `[zfb-runtime] /__paths__: page module for \"${routeKey}\" has no paths() export`,\n 404,\n { \"Content-Type\": \"text/plain; charset=utf-8\" },\n );\n }\n\n let result: unknown[];\n try {\n result = await getOrEvalPaths(pathsMemo, routeKey, mod.paths);\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n return c.body(`[zfb-runtime] /__paths__: paths() threw for \"${routeKey}\": ${msg}`, 500, {\n \"Content-Type\": \"text/plain; charset=utf-8\",\n });\n }\n\n return c.body(JSON.stringify(result), 200, {\n \"Content-Type\": \"application/json; charset=utf-8\",\n });\n });\n\n for (const page of opts.pages) {\n // `app.all` (vs `app.get`) so SSR routes whose page handler dispatches\n // by `request.method` (e.g. POST API endpoints like\n // `pages/api/*.tsx`) actually reach the handler. The handler is then\n // responsible for returning a method-appropriate status (e.g. 405 for\n // an unsupported verb). With `app.get` the inner router would 404\n // before the handler ever ran, leaving e.g. `POST /api/foo` looking\n // identical to a missing route.\n app.all(page.route, async (c) => {\n const mod = await page.module();\n if (typeof mod.default !== \"function\") {\n // Surface as a 500 with a well-known message rather than letting\n // Hono swallow the error into a generic body. T6's embedded V8\n // host log-tail / source-map plumbing is what eventually projects\n // page-side errors back to the user's TSX line; until then the\n // pinned message is the contract this layer ships.\n return c.body(\n `[zfb-runtime] page module for \"${page.route}\" did not export a default component`,\n 500,\n { \"Content-Type\": \"text/plain; charset=utf-8\" },\n );\n }\n\n // For dynamic routes that export `paths()`, look up the concrete\n // entry for this URL by matching the URL params against the\n // paths() results. This implements the ADR-002 contract:\n // paths() → [{ params, props? }]\n // render(url) → find matching entry → pass { params, props } to default()\n //\n // For static routes (no `paths()` export, no URL params), we pass\n // an empty object — the component signature has no required props.\n // For dynamic routes whose URL params do not match any paths()\n // entry, we return a 404 rather than rendering with empty props.\n //\n // Whether the route is dynamic is derived from the ROUTE PATTERN,\n // not from the captured params: for an optional catchall\n // (`/docs/:slug{.+}?`), Hono matches the bare `/docs` with NO\n // params captured at all, so `Object.keys(c.req.param())` would\n // be empty and the old gate skipped paths() entirely — rendering\n // with `{}` instead of the entry whose `slug` is `[]`.\n const declaredParams = routeParamSpecs(page.route);\n const rawUrlParams = c.req.param() ?? {};\n const urlParams: Record<string, string> = {};\n for (const [k, v] of Object.entries(rawUrlParams)) {\n // Unmatched optional params may surface as undefined — drop them\n // so \"param absent\" is represented uniformly.\n if (typeof v === \"string\") urlParams[k] = v;\n }\n const isDynamicRoute = declaredParams.length > 0;\n\n let componentInput: Record<string, unknown> = {};\n\n if (isDynamicRoute && typeof mod.paths === \"function\") {\n let pathsResult: unknown;\n try {\n pathsResult = await getOrEvalPaths(pathsMemo, page.route, mod.paths);\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n return c.body(`[zfb-runtime] paths() threw for \"${page.route}\": ${msg}`, 500, {\n \"Content-Type\": \"text/plain; charset=utf-8\",\n });\n }\n\n if (!Array.isArray(pathsResult)) {\n return c.body(`[zfb-runtime] paths() for \"${page.route}\" did not return an array`, 500, {\n \"Content-Type\": \"text/plain; charset=utf-8\",\n });\n }\n\n // Validate each entry's shape per-entry rather than using a bare\n // cast — matches the strictness the Rust pipeline applies on the\n // same wire format. Any malformed entry surfaces as a 500.\n for (const entry of pathsResult) {\n if (!isPathsEntry(entry)) {\n return c.body(\n `[zfb-runtime] paths() for \"${page.route}\" returned an entry without a valid params object`,\n 500,\n { \"Content-Type\": \"text/plain; charset=utf-8\" },\n );\n }\n }\n\n // Find the entry whose params match the URL params for this\n // request. For catchall params (e.g. slug for\n // /docs/[...slug]), Hono returns a slash-joined string (e.g.\n // \"guides/install\"), so we compare against the paths() entry's\n // params.slug joined with \"/\".\n //\n // Matching iterates the params DECLARED by the route pattern so\n // the zero-segment optional-catchall case is covered: when Hono\n // matched `/docs` for `/docs/:slug{.+}?` no `slug` param exists\n // in the URL, and the matching entry is the one whose param is\n // the explicit empty array (`{ slug: [] }`).\n const match = (pathsResult as PathsEntry[]).find((entry) => {\n return declaredParams.every(({ name, optionalCatchall }) => {\n const urlVal = urlParams[name];\n const paramVal = entry.params[name];\n if (urlVal === undefined) {\n // Param absent from the URL: only valid for an optional\n // catchall, and only against the explicit `[]` entry.\n return optionalCatchall && Array.isArray(paramVal) && paramVal.length === 0;\n }\n if (Array.isArray(paramVal)) {\n // catchall: paths() emits slug as string[] but Hono\n // provides it as a \"/\"-joined string\n return paramVal.join(\"/\") === urlVal;\n }\n return String(paramVal) === urlVal;\n });\n });\n\n if (!match) {\n // The URL params do not correspond to any paths() entry —\n // this is the dev-mode equivalent of a build-time miss.\n // Hono's `c.notFound()` returns the framework's default 404,\n // which is cleaner than fabricating an empty-props render.\n return c.notFound();\n }\n\n // Pass the paths() entry's props directly as component props\n // (spread to top level, matching the Astro/zfb convention).\n // Also include `params` so components can access URL params if\n // needed, but individual prop keys from `props` win on collision.\n componentInput = {\n params: match.params,\n ...(match.props ?? {}),\n };\n } else if (isDynamicRoute) {\n // Dynamic route with no `paths()` export: the natural shape for a\n // per-request SSR page whose slugs can't be enumerated ahead of\n // time. Neither branch above applies (no paths() to match against,\n // and getStaticProps only fires for static routes), so without this\n // the component would be invoked with `{}` — no params, no\n // diagnostic, and no way to know which slug it is serving. Pass the\n // URL params through directly instead.\n componentInput = { params: urlParams };\n } else if (!isDynamicRoute && typeof mod.getStaticProps === \"function\") {\n // Static route with `getStaticProps`: call it to fetch build-time\n // data and pass the returned props to the default component. This\n // supports the `export async function getStaticProps()` pattern\n // used by static pages that need to query content collections (e.g.\n // a homepage listing all blog posts via `getCollection(\"blog\")`).\n let staticPropsResult: unknown;\n try {\n staticPropsResult = await mod.getStaticProps();\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n return c.body(`[zfb-runtime] getStaticProps() threw for \"${page.route}\": ${msg}`, 500, {\n \"Content-Type\": \"text/plain; charset=utf-8\",\n });\n }\n if (\n typeof staticPropsResult !== \"object\" ||\n staticPropsResult === null ||\n !(\"props\" in staticPropsResult)\n ) {\n return c.body(\n `[zfb-runtime] getStaticProps() for \"${page.route}\" must return { props: {...} }`,\n 500,\n { \"Content-Type\": \"text/plain; charset=utf-8\" },\n );\n }\n componentInput = (staticPropsResult as { props: Record<string, unknown> }).props;\n }\n\n // `await` so async page modules (e.g. API routes typed as\n // `(): Promise<Response>`) resolve before we inspect the value.\n // For sync pages that return a VNode/string the await is a no-op.\n //\n // Wrapped in a try/catch so that any error thrown by the component\n // or by renderToString surfaces as a descriptive 500 rather than\n // escaping to Hono's generic error handler (which discards the real\n // message). Mirrors the getStaticProps catch above.\n try {\n const result = await mod.default(componentInput);\n // API route short-circuit: a page module that returns a Response\n // directly (e.g. `pages/api/*.tsx` handlers that use Web Fetch\n // primitives instead of returning JSX) is responsible for its own\n // status, headers, and body — return it as-is rather than running\n // it through the framework SSR path. A `return` from inside a\n // `try` does not trigger the `catch`, so this passes through\n // correctly without special-casing.\n if (result instanceof Response) {\n return result;\n }\n // Non-HTML routes (e.g. `sitemap.xml.tsx`, `feed.xml.tsx`) commonly\n // return their body as a pre-serialised `string` instead of a\n // VNode. Routing those through `framework.renderToString` would\n // HTML-escape the angle brackets and ampersands, producing\n // garbage XML. Pass strings through verbatim; only wrap actual\n // VNodes.\n const html = typeof result === \"string\" ? result : opts.framework.renderToString(result);\n const contentType = mod.contentType ?? DEFAULT_CONTENT_TYPE;\n return c.body(ensureHtml5Doctype(html, contentType), 200, { \"Content-Type\": contentType });\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n // __zfb.ssrDebug is set only by the embedded V8 build/dev host\n // (globals_shim.js), never by the production Workers runtime.\n const includeStack =\n opts.includeErrorStack ??\n (globalThis as { __zfb?: { ssrDebug?: boolean } }).__zfb?.ssrDebug === true;\n const stack = includeStack && err instanceof Error && err.stack ? `\\n${err.stack}` : \"\";\n return c.body(`[zfb-runtime] render threw for \"${page.route}\": ${msg}${stack}`, 500, {\n \"Content-Type\": \"text/plain; charset=utf-8\",\n });\n }\n });\n }\n\n // Hono's `app.fetch` returns `Response | Promise<Response>`. The\n // public router contract is unconditionally async; using an `async`\n // wrapper (rather than `Promise.resolve(...)`) ensures any\n // synchronous throw inside `app.fetch` is converted to a rejected\n // promise instead of escaping the caller's `await`.\n return async (request) => await app.fetch(request);\n}\n\n/**\n * Shape of one entry produced by a page's `paths()` export. The\n * `params` object is required (every entry needs to identify the URL\n * it represents); `props` is optional (the page may render purely from\n * the URL params).\n */\ninterface PathsEntry {\n readonly params: Record<string, unknown>;\n readonly props?: Record<string, unknown>;\n}\n\n/**\n * Type guard for one `paths()` entry. Mirrors the strictness of the\n * Rust pipeline's `paths()` resolver — every entry must be a non-null\n * object whose `params` is itself a non-null object.\n */\nfunction isPathsEntry(x: unknown): x is PathsEntry {\n if (typeof x !== \"object\" || x === null) return false;\n const params = (x as { params?: unknown }).params;\n return typeof params === \"object\" && params !== null;\n}\n\n/**\n * One param declared by a Hono route pattern. `optionalCatchall` is\n * `true` for the `:name{.+}?` form (file-system `[[...name]]`), whose\n * zero-segment match captures no param at all.\n */\ninterface RouteParamSpec {\n readonly name: string;\n readonly optionalCatchall: boolean;\n}\n\n/**\n * Parse the params declared by a Hono route pattern (the `route` string\n * the build pipeline registers, e.g. `/blog/:slug`, `/docs/:slug{.+}`,\n * `/docs/:slug{.+}?`). Static routes return an empty list.\n *\n * Only the pattern shapes emitted by `bracket_to_hono` (zfb-build) are\n * recognised — `:name`, `:name{.+}`, `:name{.+}?` — which is the entire\n * grammar the file router produces.\n */\nfunction routeParamSpecs(route: string): RouteParamSpec[] {\n const specs: RouteParamSpec[] = [];\n for (const seg of route.split(\"/\")) {\n if (!seg.startsWith(\":\")) continue;\n const optionalCatchall = seg.endsWith(\"?\");\n const body = optionalCatchall ? seg.slice(1, -1) : seg.slice(1);\n const braceIdx = body.indexOf(\"{\");\n const name = braceIdx === -1 ? body : body.slice(0, braceIdx);\n if (name.length > 0) {\n specs.push({ name, optionalCatchall });\n }\n }\n return specs;\n}\n\n/**\n * Heuristic check for user-authored routes that may shadow the\n * synthetic `/__paths__/<encoded-route-key>` endpoint.\n *\n * Returns true when the route literal contains `/__paths__` (an\n * obvious collision) or when its first segment is a Hono catchall\n * (`:name{.+}`, optionally `:name{.+}?`) or a file-system catchall\n * (`[...name]` / `[[...name]]`) at the root — those would match\n * `/__paths__/...` once Hono dispatches to them.\n */\nfunction routeShadowsPathsEndpoint(route: string): boolean {\n if (route.includes(\"/__paths__\")) {\n return true;\n }\n // Strip the leading slash and look at the first segment only —\n // anything deeper cannot match `/__paths__` because the literal\n // first segment differs.\n const firstSeg = route.replace(/^\\/+/, \"\").split(\"/\")[0] ?? \"\";\n // Hono regex-quantifier catchall: `:name{.+}` / optional `:name{.+}?`.\n if (/^:[A-Za-z_][\\w]*\\{\\.[+*]\\}\\??$/.test(firstSeg)) {\n return true;\n }\n // File-system catchall (pre-bracket-to-hono): `[...name]` / `[[...name]]`.\n if (/^\\[\\.\\.\\.[A-Za-z_][\\w]*\\]$/.test(firstSeg)) {\n return true;\n }\n if (/^\\[\\[\\.\\.\\.[A-Za-z_][\\w]*\\]\\]$/.test(firstSeg)) {\n return true;\n }\n return false;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export { createPageRouter } from "./router.js";
2
+ export type { CreatePageRouterOptions, PageDefinition, PageHeading, PageModule, PageRouter, } from "./router.js";
package/dist/server.js ADDED
@@ -0,0 +1,14 @@
1
+ // Server-only entry point for `@takazudo/zfb-runtime` (subpath `/server`).
2
+ //
3
+ // `createPageRouter` builds a Hono app, so importing it pulls `hono` into the
4
+ // module graph. That is fine — even *desirable* — on the SSR / Worker side,
5
+ // but it must never reach a `--platform=browser` island bundle. Keeping the
6
+ // factory behind this dedicated subpath (rather than the client-safe `.`
7
+ // barrel in `./index.ts`) is what lets esbuild bundle an island that imports
8
+ // the bare `@takazudo/zfb-runtime` root without ever needing to resolve
9
+ // `hono` (issue #1298).
10
+ //
11
+ // The zfb SSR emit (`crates/zfb-build/src/bundler.rs`) imports
12
+ // `createPageRouter` from here.
13
+ export { createPageRouter } from "./router.js";
14
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,EAAE;AACF,8EAA8E;AAC9E,4EAA4E;AAC5E,4EAA4E;AAC5E,yEAAyE;AACzE,6EAA6E;AAC7E,wEAAwE;AACxE,wBAAwB;AACxB,EAAE;AACF,+DAA+D;AAC/D,gCAAgC;AAEhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC","sourcesContent":["// Server-only entry point for `@takazudo/zfb-runtime` (subpath `/server`).\n//\n// `createPageRouter` builds a Hono app, so importing it pulls `hono` into the\n// module graph. That is fine — even *desirable* — on the SSR / Worker side,\n// but it must never reach a `--platform=browser` island bundle. Keeping the\n// factory behind this dedicated subpath (rather than the client-safe `.`\n// barrel in `./index.ts`) is what lets esbuild bundle an island that imports\n// the bare `@takazudo/zfb-runtime` root without ever needing to resolve\n// `hono` (issue #1298).\n//\n// The zfb SSR emit (`crates/zfb-build/src/bundler.rs`) imports\n// `createPageRouter` from here.\n\nexport { createPageRouter } from \"./router.js\";\nexport type {\n CreatePageRouterOptions,\n PageDefinition,\n PageHeading,\n PageModule,\n PageRouter,\n} from \"./router.js\";\n"]}
@@ -35,4 +35,3 @@ export interface EntrySnapshot {
35
35
  export interface ContentSnapshot {
36
36
  readonly collections: Readonly<Record<string, readonly EntrySnapshot[]>>;
37
37
  }
38
- //# sourceMappingURL=snapshot.d.ts.map
package/dist/snapshot.js CHANGED
@@ -5,8 +5,9 @@
5
5
  // (see `ContentSnapshot` and `EntrySnapshot`). The build-time pipeline
6
6
  // constructs the snapshot, serializes it to JSON, and embeds it in the
7
7
  // Worker bundle that the embedded V8 host loads. At Worker boot the embedded value
8
- // is handed to [`createPageRouter`] (re-exported from the package root),
9
- // which registers it with the `zfb/content` module so user pages calling
8
+ // is handed to [`createPageRouter`] (exported from the server-only subpath
9
+ // `@takazudo/zfb-runtime/server`), which registers it with the `zfb/content`
10
+ // module so user pages calling
10
11
  // `getCollection("blog")` resolve from memory rather than from the
11
12
  // filesystem.
12
13
  //
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,8BAA8B;AAC9B,EAAE;AACF,kFAAkF;AAClF,uEAAuE;AACvE,uEAAuE;AACvE,mFAAmF;AACnF,yEAAyE;AACzE,yEAAyE;AACzE,mEAAmE;AACnE,cAAc;AACd,EAAE;AACF,wEAAwE;AACxE,iEAAiE"}
1
+ {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,8BAA8B;AAC9B,EAAE;AACF,kFAAkF;AAClF,uEAAuE;AACvE,uEAAuE;AACvE,mFAAmF;AACnF,2EAA2E;AAC3E,6EAA6E;AAC7E,+BAA+B;AAC/B,mEAAmE;AACnE,cAAc;AACd,EAAE;AACF,wEAAwE;AACxE,iEAAiE","sourcesContent":["// `@takazudo/zfb-runtime/snapshot` — TypeScript mirror of the Rust\n// `ContentSnapshot` contract.\n//\n// The canonical shape lives in Rust at `crates/zfb-content/src/content_bridge.rs`\n// (see `ContentSnapshot` and `EntrySnapshot`). The build-time pipeline\n// constructs the snapshot, serializes it to JSON, and embeds it in the\n// Worker bundle that the embedded V8 host loads. At Worker boot the embedded value\n// is handed to [`createPageRouter`] (exported from the server-only subpath\n// `@takazudo/zfb-runtime/server`), which registers it with the `zfb/content`\n// module so user pages calling\n// `getCollection(\"blog\")` resolve from memory rather than from the\n// filesystem.\n//\n// Keep this in sync with the Rust struct. Field names are snake_case to\n// match the JSON serialization (`module_specifier`, `rel_path`).\n\n/**\n * One entry in a content collection, in the shape the JS bridge sees.\n *\n * Mirrors `crates/zfb-content/src/content_bridge.rs::EntrySnapshot`.\n *\n * - `slug`: filename stem (no extension).\n * - `frontmatter`: parsed frontmatter — `null` when the source had none.\n * Type-erased to `unknown` here; user pages narrow via the generic on\n * `getCollection<T>()`.\n * - `body`: markdown body for `.md` / `.mdx` entries; empty string for\n * `.tsx` entries (TSX has no separate markdown body).\n * - `module_specifier`: stable specifier addressing the compiled module\n * (`mdx://collection/slug#hash` / `tsx://collection/slug#hash`). The\n * bridge resolver matches either the full-with-hash form or the\n * no-hash form `mdx://collection/slug`.\n * - `rel_path`: path relative to the collection root, normalized to\n * forward slashes so JSON is platform-stable.\n */\nexport interface EntrySnapshot {\n readonly slug: string;\n readonly frontmatter: unknown;\n readonly body: string;\n readonly module_specifier: string;\n readonly rel_path: string;\n}\n\n/**\n * Point-in-time snapshot of every configured collection.\n *\n * Mirrors `crates/zfb-content/src/content_bridge.rs::ContentSnapshot`.\n *\n * Iteration order is documented as deterministic on the Rust side\n * (collections sorted by name, entries sorted by slug). The snapshot\n * delivered to JS preserves that order via stable JSON serialization.\n */\nexport interface ContentSnapshot {\n readonly collections: Readonly<Record<string, readonly EntrySnapshot[]>>;\n}\n"]}
@@ -31,4 +31,3 @@ export type ViewTransitionsElement = {
31
31
  * documents.
32
32
  */
33
33
  export declare function ViewTransitions(): readonly ViewTransitionsElement[];
34
- //# sourceMappingURL=view-transitions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-transitions.js","sourceRoot":"","sources":["../src/view-transitions.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,EAAE;AACF,sFAAsF;AACtF,gDAAgD;AAChD,EAAE;AACF,6EAA6E;AAC7E,6EAA6E;AAC7E,6EAA6E;AAC7E,8DAA8D;AAC9D,EAAE;AACF,mEAAmE;AACnE,EAAE;AACF,uEAAuE;AACvE,wEAAwE;AACxE,wEAAwE;AACxE,sFAAsF;AACtF,yEAAyE;AACzE,+DAA+D;AAC/D,2EAA2E;AAC3E,4EAA4E;AAC5E,4EAA4E;AAC5E,wEAAwE;AACxE,oCAAoC;AACpC,EAAE;AACF,2DAA2D;AAC3D,0EAA0E;AAC1E,0EAA0E;AAC1E,2DAA2D;AAa3D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,eAAe;IAC7B,OAAO,EAAE,CAAC;AACZ,CAAC"}
1
+ {"version":3,"file":"view-transitions.js","sourceRoot":"","sources":["../src/view-transitions.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,EAAE;AACF,sFAAsF;AACtF,gDAAgD;AAChD,EAAE;AACF,6EAA6E;AAC7E,6EAA6E;AAC7E,6EAA6E;AAC7E,8DAA8D;AAC9D,EAAE;AACF,mEAAmE;AACnE,EAAE;AACF,uEAAuE;AACvE,wEAAwE;AACxE,wEAAwE;AACxE,sFAAsF;AACtF,yEAAyE;AACzE,+DAA+D;AAC/D,2EAA2E;AAC3E,4EAA4E;AAC5E,4EAA4E;AAC5E,wEAAwE;AACxE,oCAAoC;AACpC,EAAE;AACF,2DAA2D;AAC3D,0EAA0E;AAC1E,0EAA0E;AAC1E,2DAA2D;AAa3D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,eAAe;IAC7B,OAAO,EAAE,CAAC;AACZ,CAAC","sourcesContent":["// `@takazudo/zfb-runtime` — `<ViewTransitions />` component (typed no-op).\n//\n// For SPA soft-swap navigation with view-transition animation, use `<ClientRouter />`\n// from this package — see `./client-router.ts`.\n//\n// Originally mirrored Astro's `<ViewTransitions />` integration by injecting\n// (a) a `<meta name=\"view-transition\" content=\"same-origin\">` opt-in tag and\n// (b) an inline client-router IIFE that intercepted same-origin `<a>` clicks\n// and ran navigations through `document.startViewTransition`.\n//\n// Both pieces have since been deleted. The browser story moved on:\n//\n// - The meta-tag opt-in was a temporary experiment during Chromium's\n// cross-document VT spec development. It has been superseded by the\n// `@view-transition { navigation: auto; }` CSS at-rule (per MDN and\n// https://developer.chrome.com/docs/web-platform/view-transitions/cross-document)\n// and is no longer honoured by browsers that ship cross-document VT.\n// - The click-intercept IIFE was actively harmful: it called\n// `event.preventDefault()` and ran `window.location.href = url` inside\n// `document.startViewTransition`. Chromium treats that script reload as\n// EXCLUDED from the `auto` navigation type, so no `::view-transition-*`\n// pseudo-elements ever materialise. The \"router\" prevented the very\n// feature it claimed to enable.\n//\n// Cross-document View Transitions are now opted in via the\n// `@view-transition { navigation: auto; }` CSS at-rule on both the source\n// and destination documents. This component is a typed no-op kept so that\n// existing `<ViewTransitions />` mounts compile unchanged.\n\n/**\n * Public element shape — kept structural so consumers don't infer through\n * either framework's internal VNode type. Matches the shape `Island`\n * returns from `@takazudo/zfb`.\n */\nexport type ViewTransitionsElement = {\n readonly type: string;\n readonly props: Readonly<Record<string, unknown>>;\n readonly key: unknown;\n};\n\n/**\n * `<ViewTransitions />` — DEPRECATED: this component is now a typed\n * no-op. Cross-document View Transitions are opted in via the\n * `@view-transition { navigation: auto; }` CSS at-rule, NOT via this\n * component. Add the at-rule to your top-level stylesheet (outside\n * any `@layer` block — see https://developer.mozilla.org/en-US/docs/Web/CSS/@view-transition).\n *\n * The export is kept so consumers' existing `<ViewTransitions />`\n * mounts compile unchanged.\n *\n * The previous implementation injected an inline router IIFE that\n * called `event.preventDefault()` and `document.startViewTransition`\n * around `window.location.href = url`. That pattern is INCOMPATIBLE\n * with cross-document VT: Chromium treats the script reload as\n * excluded from `auto`, so no `::view-transition-*` pseudo-elements\n * ever materialize. See\n * https://developer.chrome.com/docs/web-platform/view-transitions/cross-document.\n *\n * @deprecated The runtime injection is removed. Use the\n * `@view-transition` CSS at-rule on both source and destination\n * documents.\n */\nexport function ViewTransitions(): readonly ViewTransitionsElement[] {\n return [];\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takazudo/zfb-runtime",
3
- "version": "0.1.0-next.9",
3
+ "version": "0.1.0-next.91",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "JavaScript runtime for zfb static sites — Hono-backed page router, content snapshots, and client-side hydration.",
@@ -29,11 +29,25 @@
29
29
  },
30
30
  "main": "./dist/index.js",
31
31
  "types": "./dist/index.d.ts",
32
+ "sideEffects": [
33
+ "./src/client-router.ts",
34
+ "./src/client-router/index.ts",
35
+ "./src/client-router/router.ts",
36
+ "./src/client-router/prefetch.ts",
37
+ "./dist/client-router.js",
38
+ "./dist/client-router/index.js",
39
+ "./dist/client-router/router.js",
40
+ "./dist/client-router/prefetch.js"
41
+ ],
32
42
  "exports": {
33
43
  ".": {
34
44
  "types": "./dist/index.d.ts",
35
45
  "default": "./dist/index.js"
36
46
  },
47
+ "./server": {
48
+ "types": "./dist/server.d.ts",
49
+ "default": "./dist/server.js"
50
+ },
37
51
  "./snapshot": {
38
52
  "types": "./dist/snapshot.d.ts",
39
53
  "default": "./dist/snapshot.js"
@@ -57,17 +71,25 @@
57
71
  "pnpm": ">=10.0.0"
58
72
  },
59
73
  "dependencies": {
60
- "hono": "^4.7.0"
74
+ "hono": "^4.12.25"
61
75
  },
62
76
  "peerDependencies": {
63
- "@takazudo/zfb": "0.1.0-next.9"
77
+ "react": "^19.2.3",
78
+ "@takazudo/zfb": "0.1.0-next.91"
79
+ },
80
+ "peerDependenciesMeta": {
81
+ "react": {
82
+ "optional": true
83
+ }
64
84
  },
65
85
  "devDependencies": {
66
86
  "@types/node": "^22.0.0",
87
+ "@types/react": "^19.0.0",
67
88
  "happy-dom": "^15.7.4",
89
+ "react": "^19.2.3",
68
90
  "typescript": "^5.9.0",
69
91
  "vitest": "^2.1.9",
70
- "@takazudo/zfb": "0.1.0-next.9"
92
+ "@takazudo/zfb": "0.1.0-next.91"
71
93
  },
72
94
  "scripts": {
73
95
  "build": "tsc",
@@ -1,9 +0,0 @@
1
- interface Options {
2
- escapeEverything: boolean;
3
- isIdentifier: boolean;
4
- quotes: "single" | "double";
5
- wrap: boolean;
6
- }
7
- export default function cssesc(string: string, options?: Partial<Options>): string;
8
- export {};
9
- //# sourceMappingURL=cssesc.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cssesc.d.ts","sourceRoot":"","sources":["../../src/client-router/cssesc.ts"],"names":[],"mappings":"AAYA,UAAU,OAAO;IACf,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,MAAM,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC5B,IAAI,EAAE,OAAO,CAAC;CACf;AASD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,OAAO,CAAC,OAAO,CAAM,UA4E5E"}
@@ -1,95 +0,0 @@
1
- /* eslint-disable regexp/control-character-escape */
2
- /* eslint-disable no-control-regex */
3
- /* eslint-disable regexp/no-optional-assertion */
4
- /* eslint-disable regexp/no-useless-escape */
5
- /* eslint-disable regexp/no-obscure-range */
6
- // ESM vendored version of cssesc: https://github.com/mathiasbynens/cssesc/blob/cb894eb42f27c8d3cd793f16afe35b3ab38000a1/cssesc.js
7
- // See https://github.com/withastro/astro/pull/15669
8
- const regexAnySingleEscape = /[ -,\.\/:-@\[-\^`\{-~]/;
9
- const regexSingleEscape = /[ -,\.\/:-@\[\]\^`\{-~]/;
10
- const regexExcessiveSpaces = /(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;
11
- const DEFAULT_OPTIONS = {
12
- escapeEverything: false,
13
- isIdentifier: false,
14
- quotes: "single",
15
- wrap: false,
16
- };
17
- export default function cssesc(string, options = {}) {
18
- options = { ...DEFAULT_OPTIONS, ...options };
19
- const quote = options.quotes === "double" ? '"' : "'";
20
- const { isIdentifier } = options;
21
- const firstChar = string.charAt(0);
22
- let output = "";
23
- let counter = 0;
24
- const length = string.length;
25
- while (counter < length) {
26
- const character = string.charAt(counter++);
27
- let codePoint = character.charCodeAt(0);
28
- let value;
29
- // If it's not a printable ASCII character…
30
- if (codePoint < 0x20 || codePoint > 0x7e) {
31
- if (codePoint >= 0xd800 && codePoint <= 0xdbff && counter < length) {
32
- // It's a high surrogate, and there is a next character.
33
- const extra = string.charCodeAt(counter++);
34
- if ((extra & 0xfc00) === 0xdc00) {
35
- // next character is low surrogate
36
- codePoint = ((codePoint & 0x3ff) << 10) + (extra & 0x3ff) + 0x10000;
37
- }
38
- else {
39
- // It's an unmatched surrogate; only append this code unit, in case
40
- // the next code unit is the high surrogate of a surrogate pair.
41
- counter--;
42
- }
43
- }
44
- value = "\\" + codePoint.toString(16).toUpperCase() + " ";
45
- }
46
- else {
47
- if (options.escapeEverything) {
48
- if (regexAnySingleEscape.test(character)) {
49
- value = "\\" + character;
50
- }
51
- else {
52
- value = "\\" + codePoint.toString(16).toUpperCase() + " ";
53
- }
54
- }
55
- else if (/[\t\n\f\r\x0B]/.test(character)) {
56
- value = "\\" + codePoint.toString(16).toUpperCase() + " ";
57
- }
58
- else if (character === "\\" ||
59
- (!isIdentifier &&
60
- ((character === '"' && quote === character) ||
61
- (character === "'" && quote === character))) ||
62
- (isIdentifier && regexSingleEscape.test(character))) {
63
- value = "\\" + character;
64
- }
65
- else {
66
- value = character;
67
- }
68
- }
69
- output += value;
70
- }
71
- if (isIdentifier) {
72
- if (/^-[-\d]/.test(output)) {
73
- output = "\\-" + output.slice(1);
74
- }
75
- else if (/\d/.test(firstChar)) {
76
- output = "\\3" + firstChar + " " + output.slice(1);
77
- }
78
- }
79
- // Remove spaces after `\HEX` escapes that are not followed by a hex digit,
80
- // since they're redundant. Note that this is only possible if the escape
81
- // sequence isn't preceded by an odd number of backslashes.
82
- output = output.replace(regexExcessiveSpaces, function ($0, $1, $2) {
83
- if ($1 && $1.length % 2) {
84
- // It's not safe to remove the space, so don't.
85
- return $0;
86
- }
87
- // Strip the space.
88
- return ($1 || "") + $2;
89
- });
90
- if (!isIdentifier && options.wrap) {
91
- return quote + output + quote;
92
- }
93
- return output;
94
- }
95
- //# sourceMappingURL=cssesc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cssesc.js","sourceRoot":"","sources":["../../src/client-router/cssesc.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,qCAAqC;AACrC,iDAAiD;AACjD,6CAA6C;AAC7C,4CAA4C;AAC5C,kIAAkI;AAClI,oDAAoD;AAEpD,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AACtD,MAAM,iBAAiB,GAAG,yBAAyB,CAAC;AACpD,MAAM,oBAAoB,GAAG,mDAAmD,CAAC;AASjF,MAAM,eAAe,GAAY;IAC/B,gBAAgB,EAAE,KAAK;IACvB,YAAY,EAAE,KAAK;IACnB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,KAAK;CACZ,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,MAAc,EAAE,UAA4B,EAAE;IAC3E,OAAO,GAAG,EAAE,GAAG,eAAe,EAAE,GAAG,OAAO,EAAE,CAAC;IAC7C,MAAM,KAAK,GAAG,OAAO,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;IACtD,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAEjC,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACnC,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,IAAI,OAAO,GAAG,CAAC,CAAC;IAChB,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;IAC7B,OAAO,OAAO,GAAG,MAAM,EAAE,CAAC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3,"file":"prefetch.d.ts","sourceRoot":"","sources":["../../src/client-router/prefetch.ts"],"names":[],"mappings":"AAiBA,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC;AAErE,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,gBAAgB,CAAC;CACpC;AAED,MAAM,WAAW,eAAe;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACzB;AAoBD;;;GAGG;AACH,wBAAgB,eAAe,IAAI,IAAI,CAWtC;AAqED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,eAAoB,GAAG,IAAI,CAStE;AAyJD;;;;;;;;GAQG;AACH,wBAAgB,IAAI,CAAC,OAAO,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAgCxD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/client-router/router.ts"],"names":[],"mappings":"AAgDA,OAAO,KAAK,EAAa,QAAQ,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAgC/D,eAAO,MAAM,uBAAuB,SAA8C,CAAC;AAEnF,eAAO,MAAM,2BAA2B,eACwC,CAAC;AAwFjF,wBAAgB,WAAW,IAAI,QAAQ,CAMtC;AA2dD,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,iBAe7D;AAsND,MAAM,WAAW,WAAW;IAC1B,oFAAoF;IACpF,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAMD;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,QAAQ,CAAC,EAAE,WAAW,GAAG,IAAI,CAYjD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"swap-functions.d.ts","sourceRoot":"","sources":["../../src/client-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KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"client-router.d.ts","sourceRoot":"","sources":["../src/client-router.ts"],"names":[],"mappings":"AA4CA,MAAM,WAAW,iBAAiB;IAChC,kFAAkF;IAClF,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;IACvC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAClD,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CACvB,CAAC;AAqCF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAoB,EACpB,WAAW,EAAE,eAAuB,GACrC,GAAE,iBAAsB,GAAG,SAAS,mBAAmB,EAAE,CAmCzD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"framework.d.ts","sourceRoot":"","sources":["../src/framework.ts"],"names":[],"mappings":"AAgBA;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,MAAM,CAAC;CAC5C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,YAAY,EACV,uBAAuB,EACvB,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,GACX,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,gBAAgB,EAAE,MAAM,g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AgB,gBAAgB,CAAC,IAAI,EAAE,uBAAuB,GAAG,UAAU,CA0P1E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAeA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,CAAC,CAAC,CAAC;CAC1E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"view-transitions.d.ts","sourceRoot":"","sources":["../src/view-transitions.ts"],"names":[],"mappings":"AA6BA;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAClD,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,eAAe,IAAI,SAAS,sBAAsB,EAAE,CAEnE"}