@nuxt/nitro-server-nightly 4.3.1-29506502.fff89925 → 4.3.1-29506576.cda2d0b4
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/index.d.mts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import { resolveModulePath } from "exsolve";
|
|
|
21
21
|
import { runtimeDependencies } from "nitropack/runtime/meta";
|
|
22
22
|
|
|
23
23
|
//#region package.json
|
|
24
|
-
var version = "4.3.1-
|
|
24
|
+
var version = "4.3.1-29506576.cda2d0b4";
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/utils.ts
|
|
@@ -11,9 +11,16 @@ const PRERENDER_NO_SSR_ROUTES = new Set([
|
|
|
11
11
|
"/200.html",
|
|
12
12
|
"/404.html"
|
|
13
13
|
]);
|
|
14
|
+
function decodeEventPath(path) {
|
|
15
|
+
const queryIndex = path.indexOf("?");
|
|
16
|
+
if (queryIndex === -1) {
|
|
17
|
+
return decodePath(path);
|
|
18
|
+
}
|
|
19
|
+
return decodePath(path.slice(0, queryIndex)) + path.slice(queryIndex);
|
|
20
|
+
}
|
|
14
21
|
export function createSSRContext(event) {
|
|
15
22
|
const ssrContext = {
|
|
16
|
-
url:
|
|
23
|
+
url: decodeEventPath(event.path),
|
|
17
24
|
event,
|
|
18
25
|
runtimeConfig: useRuntimeConfig(event),
|
|
19
26
|
noSSR: !!NUXT_NO_SSR || event.context.nuxt?.noSSR || (import.meta.prerender ? PRERENDER_NO_SSR_ROUTES.has(event.path) : false),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/nitro-server-nightly",
|
|
3
|
-
"version": "4.3.1-
|
|
3
|
+
"version": "4.3.1-29506576.cda2d0b4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@nuxt/devalue": "^2.0.2",
|
|
22
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.1-
|
|
22
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.1-29506576.cda2d0b4",
|
|
23
23
|
"@unhead/vue": "^2.1.2",
|
|
24
24
|
"@vue/shared": "^3.5.27",
|
|
25
25
|
"consola": "^3.4.2",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"vue-devtools-stub": "^0.1.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"nuxt": "npm:nuxt-nightly@4.3.1-
|
|
50
|
+
"nuxt": "npm:nuxt-nightly@4.3.1-29506576.cda2d0b4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.1-
|
|
54
|
-
"nuxt": "npm:nuxt-nightly@4.3.1-
|
|
53
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.1-29506576.cda2d0b4",
|
|
54
|
+
"nuxt": "npm:nuxt-nightly@4.3.1-29506576.cda2d0b4",
|
|
55
55
|
"obuild": "0.4.14",
|
|
56
56
|
"vitest": "3.2.4"
|
|
57
57
|
},
|