@nuxt/nitro-server-nightly 4.2.2-29381683.af492e0e → 4.2.2-29382831.243261ed

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
@@ -17,7 +17,7 @@ import { isWindows } from 'std-env';
17
17
  import { ImpoundPlugin } from 'impound';
18
18
  import { resolveModulePath } from 'exsolve';
19
19
 
20
- const version = "4.2.2-29381683.af492e0e";
20
+ const version = "4.2.2-29382831.243261ed";
21
21
 
22
22
  function toArray(value) {
23
23
  return Array.isArray(value) ? value : [value];
@@ -55,7 +55,7 @@ export default (async function errorhandler(error, event, { defaultHandler }) {
55
55
  setResponseHeader(event, header, value);
56
56
  }
57
57
  setResponseStatus(event, res.status && res.status !== 200 ? res.status : defaultRes.status, res.statusText || defaultRes.statusText);
58
- if (import.meta.dev) {
58
+ if (import.meta.dev && !import.meta.test) {
59
59
  const prettyResponse = await defaultHandler(error, event, { json: false });
60
60
  return send(event, html.replace("</body>", `${generateErrorOverlayHTML(prettyResponse.body, { startMinimized: 300 <= statusCode && statusCode < 500 })}</body>`));
61
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/nitro-server-nightly",
3
- "version": "4.2.2-29381683.af492e0e",
3
+ "version": "4.2.2-29382831.243261ed",
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.2-29381683.af492e0e",
22
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.2-29382831.243261ed",
23
23
  "@unhead/vue": "^2.0.19",
24
24
  "@vue/shared": "^3.5.24",
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.2-29381683.af492e0e"
49
+ "nuxt": "npm:nuxt-nightly@4.2.2-29382831.243261ed"
50
50
  },
51
51
  "devDependencies": {
52
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.2-29381683.af492e0e",
53
- "nuxt": "npm:nuxt-nightly@4.2.2-29381683.af492e0e",
52
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.2-29382831.243261ed",
53
+ "nuxt": "npm:nuxt-nightly@4.2.2-29382831.243261ed",
54
54
  "unbuild": "3.6.1",
55
55
  "vitest": "3.2.4"
56
56
  },