@nuxt/nitro-server-nightly 4.2.0-29344154.f3dc0780 → 4.2.0-29344233.e79f117e
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.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import { isWindows } from 'std-env';
|
|
|
16
16
|
import { ImpoundPlugin } from 'impound';
|
|
17
17
|
import { resolveModulePath } from 'exsolve';
|
|
18
18
|
|
|
19
|
-
const version = "4.2.0-
|
|
19
|
+
const version = "4.2.0-29344233.e79f117e";
|
|
20
20
|
|
|
21
21
|
function toArray(value) {
|
|
22
22
|
return Array.isArray(value) ? value : [value];
|
|
@@ -331,7 +331,6 @@ async function bundle(nuxt) {
|
|
|
331
331
|
],
|
|
332
332
|
exclude: [
|
|
333
333
|
...nuxt.options.modulesDir.map((m) => relativeWithDot(nuxt.options.buildDir, m)),
|
|
334
|
-
// nitro generate output: https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/core/nitro.ts#L186
|
|
335
334
|
relativeWithDot(nuxt.options.buildDir, resolve(nuxt.options.rootDir, "dist"))
|
|
336
335
|
]
|
|
337
336
|
}
|
|
@@ -107,7 +107,7 @@ export default defineRenderHandler(async (event) => {
|
|
|
107
107
|
}
|
|
108
108
|
if (_PAYLOAD_EXTRACTION) {
|
|
109
109
|
appendResponseHeader(event, "x-nitro-prerender", joinURL(ssrContext.url.replace(/\?.*$/, ""), PAYLOAD_FILENAME));
|
|
110
|
-
await payloadCache.setItem(ssrContext.url.replace(/\/$/, ""), renderPayloadResponse(ssrContext));
|
|
110
|
+
await payloadCache.setItem(ssrContext.url === "/" ? "/" : ssrContext.url.replace(/\/$/, ""), renderPayloadResponse(ssrContext));
|
|
111
111
|
}
|
|
112
112
|
const NO_SCRIPTS = process.env.NUXT_NO_SCRIPTS || routeOptions.noScripts;
|
|
113
113
|
const { styles, scripts } = getRequestDependencies(ssrContext, renderer.rendererContext);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/nitro-server-nightly",
|
|
3
|
-
"version": "4.2.0-
|
|
3
|
+
"version": "4.2.0-29344233.e79f117e",
|
|
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.2.0-
|
|
22
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.0-29344233.e79f117e",
|
|
23
23
|
"@unhead/vue": "^2.0.14",
|
|
24
24
|
"@vue/shared": "^3.5.22",
|
|
25
25
|
"consola": "^3.4.2",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"vue-devtools-stub": "^0.1.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"nuxt": "npm:nuxt-nightly@4.2.0-
|
|
49
|
+
"nuxt": "npm:nuxt-nightly@4.2.0-29344233.e79f117e"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-
|
|
53
|
-
"nuxt": "npm:nuxt-nightly@4.2.0-
|
|
52
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-29344233.e79f117e",
|
|
53
|
+
"nuxt": "npm:nuxt-nightly@4.2.0-29344233.e79f117e",
|
|
54
54
|
"unbuild": "3.6.1",
|
|
55
55
|
"vitest": "3.2.4"
|
|
56
56
|
},
|