@rangojs/router 0.22.0 → 0.22.1
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/dist/vite/index.js
CHANGED
|
@@ -5428,7 +5428,7 @@ import { resolve } from "node:path";
|
|
|
5428
5428
|
// package.json
|
|
5429
5429
|
var package_default = {
|
|
5430
5430
|
name: "@rangojs/router",
|
|
5431
|
-
version: "0.22.
|
|
5431
|
+
version: "0.22.1",
|
|
5432
5432
|
description: "Django-inspired RSC router with composable URL patterns",
|
|
5433
5433
|
keywords: [
|
|
5434
5434
|
"react",
|
|
@@ -5636,7 +5636,7 @@ var package_default = {
|
|
|
5636
5636
|
},
|
|
5637
5637
|
dependencies: {
|
|
5638
5638
|
"@types/debug": "^4.1.12",
|
|
5639
|
-
"@vitejs/plugin-rsc": "^0.5.
|
|
5639
|
+
"@vitejs/plugin-rsc": "^0.5.36",
|
|
5640
5640
|
debug: "^4.4.1",
|
|
5641
5641
|
"magic-string": "^0.30.17",
|
|
5642
5642
|
picomatch: "^4.0.4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rangojs/router",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.1",
|
|
4
4
|
"description": "Django-inspired RSC router with composable URL patterns",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
},
|
|
195
195
|
"dependencies": {
|
|
196
196
|
"@types/debug": "^4.1.12",
|
|
197
|
-
"@vitejs/plugin-rsc": "^0.5.
|
|
197
|
+
"@vitejs/plugin-rsc": "^0.5.36",
|
|
198
198
|
"debug": "^4.4.1",
|
|
199
199
|
"magic-string": "^0.30.17",
|
|
200
200
|
"picomatch": "^4.0.4",
|
|
@@ -86,7 +86,12 @@ export async function getLoaderLazy(
|
|
|
86
86
|
|
|
87
87
|
// Same as the lazy branch: a thrown import is a server error, not a
|
|
88
88
|
// not-found. Let it propagate to the caller for a 500 + onError.
|
|
89
|
-
|
|
89
|
+
// Not a template literal: es-module-lexer 3 reports `/${x}` as the
|
|
90
|
+
// specifier "/*", and plugin-rsc's client-reference scan build rewrites
|
|
91
|
+
// every import to `import "<specifier>"`, so the build fails to resolve
|
|
92
|
+
// "/*" (dynamic-import-specifiers.test.ts).
|
|
93
|
+
const modulePath = "/" + filePath;
|
|
94
|
+
await import(/* @vite-ignore */ modulePath);
|
|
90
95
|
|
|
91
96
|
const registered = getFetchableLoader(id);
|
|
92
97
|
if (registered) {
|