@nuxt/nitro-server-nightly 5.0.0-29809859.f0ca99e9 → 5.0.0-29809882.5e9dc0cc

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
@@ -27,7 +27,7 @@ import { compileRouterToString } from "rou3/compiler";
27
27
  import { createUnimport, scanDirExports, toExports } from "unimport";
28
28
  import { createUnplugin } from "unplugin";
29
29
  //#region package.json
30
- var version = "5.0.0-29809859.f0ca99e9";
30
+ var version = "5.0.0-29809882.5e9dc0cc";
31
31
  //#endregion
32
32
  //#region src/utils.ts
33
33
  function toArray(value) {
@@ -21,7 +21,7 @@ var error_default = async function errorhandler(error, event, { defaultHandler }
21
21
  }
22
22
  if (import.meta.dev && defaultRes.body && typeof defaultRes.body !== "string" && Array.isArray(defaultRes.body.stack)) defaultRes.body.stack = defaultRes.body.stack.join("\n");
23
23
  const errorObject = defaultRes.body || {};
24
- errorObject.data ??= error.data;
24
+ if (!error.unhandled) errorObject.data ??= error.data;
25
25
  errorObject.url = event.req.url;
26
26
  errorObject.fatal = error.fatal ?? false;
27
27
  const errorCause = import.meta.dev ? serializeErrorCause(error.cause) : void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/nitro-server-nightly",
3
- "version": "5.0.0-29809859.f0ca99e9",
3
+ "version": "5.0.0-29809882.5e9dc0cc",
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-29809859.f0ca99e9",
39
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@5.0.0-29809882.5e9dc0cc",
40
40
  "@unhead/vue": "^3.4.0",
41
41
  "@vue/shared": "^3.5.42",
42
42
  "consola": "^3.4.2",
@@ -72,7 +72,7 @@
72
72
  "@babel/plugin-proposal-decorators": "^7.25.0 || ^8.0.0",
73
73
  "@babel/plugin-syntax-typescript": "^7.25.0 || ^8.0.0",
74
74
  "@rollup/plugin-babel": "^6.0.0 || ^7.0.0",
75
- "nuxt": "npm:nuxt-nightly@5.0.0-29809859.f0ca99e9"
75
+ "nuxt": "npm:nuxt-nightly@5.0.0-29809882.5e9dc0cc"
76
76
  },
77
77
  "peerDependenciesMeta": {
78
78
  "@babel/plugin-proposal-decorators": {
@@ -88,10 +88,10 @@
88
88
  "devDependencies": {
89
89
  "@babel/plugin-proposal-decorators": "8.0.2",
90
90
  "@babel/plugin-syntax-typescript": "8.0.3",
91
- "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29809859.f0ca99e9",
91
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@5.0.0-29809882.5e9dc0cc",
92
92
  "@rollup/plugin-babel": "7.1.0",
93
93
  "hookable": "^6.1.1",
94
- "nuxt": "npm:nuxt-nightly@5.0.0-29809859.f0ca99e9",
94
+ "nuxt": "npm:nuxt-nightly@5.0.0-29809882.5e9dc0cc",
95
95
  "tsdown": "0.22.14",
96
96
  "vitest": "4.1.11"
97
97
  },