@timber-js/app 0.2.0-alpha.106 → 0.2.0-alpha.108
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/LICENSE +8 -0
- package/dist/server/internal.js +1 -0
- package/dist/server/internal.js.map +1 -1
- package/dist/server/pipeline-phases.d.ts.map +1 -1
- package/dist/server/route-element-builder.d.ts.map +1 -1
- package/dist/server/rsc-entry/render-route.d.ts.map +1 -1
- package/package.json +6 -7
- package/src/cli.ts +0 -0
- package/src/server/pipeline-phases.ts +8 -0
- package/src/server/route-element-builder.ts +9 -1
- package/src/server/rsc-entry/render-route.ts +3 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
DONTFUCKINGUSE LICENSE
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Daniel Saewitz
|
|
4
|
+
|
|
5
|
+
This software may not be used, copied, modified, merged, published,
|
|
6
|
+
distributed, sublicensed, or sold by anyone other than the copyright holder.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
|
package/dist/server/internal.js
CHANGED
|
@@ -1869,6 +1869,7 @@ async function handleRequest(config, req, method, path) {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
}
|
|
1871
1871
|
let match = config.matchRoute(canonicalPathname);
|
|
1872
|
+
if (process.env.NODE_ENV !== "production") console.error(`[timber:route-debug] pathname=${canonicalPathname} matched=${!!match}` + (match ? ` segments=[${match.segments.map((s) => s.segmentName).join(" → ")}] leaf-has-page=${!!match.segments[match.segments.length - 1]?.page}` : ""));
|
|
1872
1873
|
let interception;
|
|
1873
1874
|
const sourceUrl = req.headers.get("X-Timber-URL");
|
|
1874
1875
|
if (sourceUrl && config.interceptionRewrites?.length) {
|