@nuxt/nitro-server-nightly 5.0.0-29837352.b059261d → 5.0.0-29837649.bdf0b4f2

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
@@ -36,7 +36,7 @@ import "nitro/context";
36
36
  import { getRouteRules } from "nitro/app";
37
37
  import "nuxt/internal/renderer/url";
38
38
  //#region package.json
39
- var version = "5.0.0-29837352.b059261d";
39
+ var version = "5.0.0-29837649.bdf0b4f2";
40
40
  //#endregion
41
41
  //#region src/utils.ts
42
42
  /**
@@ -2612,6 +2612,7 @@ async function bundle(nuxt) {
2612
2612
  "#internal/unhead-options.mjs": () => nuxt.vfs["#build/unhead-options.mjs"] || "",
2613
2613
  "#internal/unhead.config.mjs": () => nuxt.vfs["#build/unhead.config.mjs"] || "",
2614
2614
  "#internal/nuxt/dev-client-css": () => `export const getDevClientCss = () => []`,
2615
+ "#internal/nuxt/error-channel": () => nuxt.options.dev ? `export * from ${JSON.stringify(resolve(distDir, "runtime/utils/error-channel"))}` : "export {}",
2615
2616
  "#internal/nuxt/nitro-config.mjs": () => [
2616
2617
  `export const NUXT_ERROR_CHANNEL = ${JSON.stringify(nuxt.options.devServer.errorChannel)}`,
2617
2618
  `export const NUXT_DEV_LOGS = ${!!nuxt.options.features.devLogs}`,
@@ -14,7 +14,7 @@ var error_default = async function errorhandler(_error, event, { defaultHandler
14
14
  let devError;
15
15
  let errorCause;
16
16
  if (import.meta.dev) {
17
- const errorChannel = await import("../utils/error-channel.mjs");
17
+ const errorChannel = await import("#internal/nuxt/error-channel");
18
18
  const isExpected = !error.unhandled && HTTPError.isError(error) && (error.status || 500) < 500 && !(THROWN_VALUE in error);
19
19
  devError = await errorChannel.observeDevError(error, event, {
20
20
  expected: isExpected,
@@ -33,7 +33,7 @@ const rendererOptions = {
33
33
  writeEarlyHints: (event, hints) => writeEarlyHints(appEvent(event), hints),
34
34
  renderIsland: (event) => import("#internal/nuxt/island-renderer.mjs").then((r) => r.default.fetch(event.req)),
35
35
  onRenderSuccess: import.meta.dev ? () => {
36
- import("../error-channel.mjs").then(({ clearErrorReport }) => clearErrorReport()).catch(() => {});
36
+ import("#internal/nuxt/error-channel").then(({ clearErrorReport }) => clearErrorReport()).catch(() => {});
37
37
  } : void 0,
38
38
  captureError: (error, { event, tags }) => {
39
39
  useNitroApp().captureError?.(error, {
@@ -41,7 +41,7 @@ const rendererOptions = {
41
41
  tags: ["ssr", ...tags ?? []]
42
42
  });
43
43
  },
44
- onDevError: import.meta.dev ? (error, event, options) => import("../error-channel.mjs").then(({ observeDevError }) => observeDevError(error, appEvent(event), options)) : void 0,
44
+ onDevError: import.meta.dev ? (error, event, options) => import("#internal/nuxt/error-channel").then(({ observeDevError }) => observeDevError(error, appEvent(event), options)) : void 0,
45
45
  prerender: import.meta.prerender ? {
46
46
  payloadCache,
47
47
  sharedDataCache: NUXT_SHARED_DATA ? sharedPrerenderCache : void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/nitro-server-nightly",
3
- "version": "5.0.0-29837352.b059261d",
3
+ "version": "5.0.0-29837649.bdf0b4f2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -36,7 +36,7 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@ampproject/remapping": "^2.3.0",
39
- "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29837352.b059261d",
39
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29837649.bdf0b4f2",
40
40
  "@unhead/vue": "^3.4.1",
41
41
  "consola": "^3.4.2",
42
42
  "defu": "^6.1.7",
@@ -73,7 +73,7 @@
73
73
  "@babel/plugin-proposal-decorators": "^7.25.0 || ^8.0.0",
74
74
  "@babel/plugin-syntax-typescript": "^7.25.0 || ^8.0.0",
75
75
  "@rollup/plugin-babel": "^6.0.0 || ^7.0.0",
76
- "nuxt": "npm:nuxt-nightly@5.0.0-29837352.b059261d"
76
+ "nuxt": "npm:nuxt-nightly@5.0.0-29837649.bdf0b4f2"
77
77
  },
78
78
  "peerDependenciesMeta": {
79
79
  "@babel/plugin-proposal-decorators": {
@@ -89,11 +89,11 @@
89
89
  "devDependencies": {
90
90
  "@babel/plugin-proposal-decorators": "8.0.2",
91
91
  "@babel/plugin-syntax-typescript": "8.0.3",
92
- "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29837352.b059261d",
92
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29837649.bdf0b4f2",
93
93
  "@rollup/plugin-babel": "7.1.0",
94
94
  "h3": "^2.0.1-rc.31",
95
95
  "hookable": "^6.1.2",
96
- "nuxt": "npm:nuxt-nightly@5.0.0-29837352.b059261d",
96
+ "nuxt": "npm:nuxt-nightly@5.0.0-29837649.bdf0b4f2",
97
97
  "tsdown": "0.23.0",
98
98
  "vitest": "5.0.1"
99
99
  },