@ultimat3/render 26.1.1 → 27.0.0
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.
- package/CLAUDE.md +2 -2
- package/package.json +6 -6
package/CLAUDE.md
CHANGED
|
@@ -4,7 +4,7 @@ Owns: the `route` primitive, the four render modes, the route table, the surface
|
|
|
4
4
|
islands + budgets, hydration directives, `<head>` merge, **the server JSX runtime and the two Bun
|
|
5
5
|
loaders that make an app's `.tsx` and `.scss` runnable**.
|
|
6
6
|
|
|
7
|
-
**
|
|
7
|
+
**Three entry points**; `"."` and `"./server"` disjoint. `"."` (`index.ts`) is the CLIENT half and bundles for the browser;
|
|
8
8
|
`"./server"` (`server.ts`) is the build-time half — `css-modules`, `module-loader`, `render-html`,
|
|
9
9
|
`render-isr`, `render-ssr`, `render-static`, `render-stream` — and does not (`css-modules.ts` needs
|
|
10
10
|
`node:url`, which a browser build cannot link; no `sideEffects` value repairs that). Never re-export
|
|
@@ -91,7 +91,7 @@ axiom 6). Never `cli` (upward).
|
|
|
91
91
|
| An undecodable path segment | not a match, never a throw — `decodeSegment` in `registry.ts`. |
|
|
92
92
|
| ISR registration | reconciled against `store.paths()` after every generation (`forgetEvictedPaths`). |
|
|
93
93
|
| Stream hole deadline | `DEFAULT_HOLE_TIMEOUT_MS` (15 s), `holeTimeoutMs: null` to opt out, otherwise a whole number ≥ 1. A hole reveals exactly once — promise, rejection or deadline. |
|
|
94
|
-
| Errors | `errors.ts` subclasses only. Never a bare `Error`, never a bare `TODO`. |
|
|
94
|
+
| Errors | `errors.ts` subclasses only, but for `navigation-errors.ts` (re-exported; keeps `./client` off the table). Never a bare `Error`, never a bare `TODO`. |
|
|
95
95
|
| Policy | render checks *presence* only. Evaluation belongs to `@ultimat3/policy`. |
|
|
96
96
|
| A gated route is never a cached one | `modes.ts` refuses `policy` on both `static` and `isr` (`X_ROUTE_MODE_INVALID`, `modes.test.ts`). `ssr` is the one gated mode. |
|
|
97
97
|
| Responses | return `RenderResult`. `@ultimat3/http` builds the `Response`. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/render",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "27.0.0",
|
|
4
4
|
"description": "The route primitive and the five render modes: static, isr, ssr, stream, spa.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"test": "bun test"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@ultimat3/cache": "
|
|
44
|
-
"@ultimat3/core": "
|
|
45
|
-
"@ultimat3/http": "
|
|
46
|
-
"@ultimat3/i18n": "
|
|
47
|
-
"@ultimat3/seo": "
|
|
43
|
+
"@ultimat3/cache": "27.0.0",
|
|
44
|
+
"@ultimat3/core": "27.0.0",
|
|
45
|
+
"@ultimat3/http": "27.0.0",
|
|
46
|
+
"@ultimat3/i18n": "27.0.0",
|
|
47
|
+
"@ultimat3/seo": "27.0.0",
|
|
48
48
|
"sass": "1.105.1"
|
|
49
49
|
}
|
|
50
50
|
}
|