@nuxt/nitro-server-nightly 4.3.0-29450657.a9b0ebbb → 4.3.0-29454772.3822f69b

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
@@ -19,7 +19,7 @@ import { isWindows } from 'std-env';
19
19
  import { ImpoundPlugin } from 'impound';
20
20
  import { resolveModulePath } from 'exsolve';
21
21
 
22
- const version = "4.3.0-29450657.a9b0ebbb";
22
+ const version = "4.3.0-29454772.3822f69b";
23
23
  const nitroBuilder = {
24
24
  version: version};
25
25
 
@@ -618,7 +618,7 @@ async function bundle(nuxt) {
618
618
  nitroConfig.virtual["#build/dist/server/server.mjs".replace(FORWARD_SLASH_RE, "\\")] = "export default () => {}";
619
619
  }
620
620
  }
621
- if (nuxt.options.dev || nuxt.options.builder === "@nuxt/webpack-builder" || nuxt.options.builder === "@nuxt/rspack-builder") {
621
+ if (nuxt.options.dev) {
622
622
  nitroConfig.virtual["#build/dist/server/styles.mjs"] = "export default {}";
623
623
  if (process.platform === "win32") {
624
624
  nitroConfig.virtual["#build/dist/server/styles.mjs".replace(FORWARD_SLASH_RE, "\\")] = "export default {}";
@@ -1,3 +1,4 @@
1
+ import { decodePath } from "ufo";
1
2
  import { useRuntimeConfig } from "nitropack/runtime";
2
3
  import { createHead } from "@unhead/vue/server";
3
4
  import { sharedPrerenderCache } from "../cache.js";
@@ -6,7 +7,7 @@ import { NUXT_NO_SSR, NUXT_SHARED_DATA } from "#internal/nuxt/nitro-config.mjs";
6
7
  const PRERENDER_NO_SSR_ROUTES = /* @__PURE__ */ new Set(["/index.html", "/200.html", "/404.html"]);
7
8
  export function createSSRContext(event) {
8
9
  const ssrContext = {
9
- url: event.path,
10
+ url: decodePath(event.path),
10
11
  event,
11
12
  runtimeConfig: useRuntimeConfig(event),
12
13
  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.0-29450657.a9b0ebbb",
3
+ "version": "4.3.0-29454772.3822f69b",
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.0-29450657.a9b0ebbb",
22
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-29454772.3822f69b",
23
23
  "@unhead/vue": "^2.0.19",
24
24
  "@vue/shared": "^3.5.26",
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.0-29450657.a9b0ebbb"
50
+ "nuxt": "npm:nuxt-nightly@4.3.0-29454772.3822f69b"
51
51
  },
52
52
  "devDependencies": {
53
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-29450657.a9b0ebbb",
54
- "nuxt": "npm:nuxt-nightly@4.3.0-29450657.a9b0ebbb",
53
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-29454772.3822f69b",
54
+ "nuxt": "npm:nuxt-nightly@4.3.0-29454772.3822f69b",
55
55
  "unbuild": "3.6.1",
56
56
  "vitest": "3.2.4"
57
57
  },