nitropack-nightly 2.11.4-20250306-165704.142d8fac → 2.11.4-20250306-223021.f52d522e
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/core/index.mjs
CHANGED
|
@@ -45,8 +45,7 @@ import { Worker } from 'node:worker_threads';
|
|
|
45
45
|
import { createProxyServer } from 'httpxy';
|
|
46
46
|
import nodeCrypto from 'node:crypto';
|
|
47
47
|
import { resolve as resolve$1, dirname as dirname$1 } from 'node:path';
|
|
48
|
-
import
|
|
49
|
-
import { Youch } from 'youch';
|
|
48
|
+
import * as _youch from 'youch-redist';
|
|
50
49
|
import { SourceMapConsumer } from 'source-map';
|
|
51
50
|
import serveStatic from 'serve-static';
|
|
52
51
|
import { listen } from 'listhen';
|
|
@@ -2393,6 +2392,7 @@ function defineNitroErrorHandler(handler) {
|
|
|
2393
2392
|
return handler;
|
|
2394
2393
|
}
|
|
2395
2394
|
|
|
2395
|
+
const { Youch, ErrorParser } = _youch;
|
|
2396
2396
|
const devErrorHandler = defineNitroErrorHandler(
|
|
2397
2397
|
async function defaultNitroErrorHandler(error, event) {
|
|
2398
2398
|
const res = await defaultHandler(error, event);
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED
package/dist/meta/index.mjs
CHANGED
|
@@ -11,10 +11,10 @@ import nodeCrypto from "node:crypto";
|
|
|
11
11
|
import { readFile } from "node:fs/promises";
|
|
12
12
|
import { resolve, dirname } from "node:path";
|
|
13
13
|
import consola from "consola";
|
|
14
|
-
import
|
|
15
|
-
import { Youch } from "youch";
|
|
14
|
+
import * as _youch from "youch-redist";
|
|
16
15
|
import { SourceMapConsumer } from "source-map";
|
|
17
16
|
import { defineNitroErrorHandler } from "./utils.mjs";
|
|
17
|
+
const { Youch, ErrorParser } = _youch;
|
|
18
18
|
export default defineNitroErrorHandler(
|
|
19
19
|
async function defaultNitroErrorHandler(error, event) {
|
|
20
20
|
const res = await defaultHandler(error, event);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitropack-nightly",
|
|
3
|
-
"version": "2.11.4-20250306-
|
|
3
|
+
"version": "2.11.4-20250306-223021.f52d522e",
|
|
4
4
|
"description": "Build and Deploy Universal JavaScript Servers",
|
|
5
5
|
"repository": "nitrojs/nitro",
|
|
6
6
|
"license": "MIT",
|
|
@@ -170,8 +170,7 @@
|
|
|
170
170
|
"unstorage": "^1.15.0",
|
|
171
171
|
"untyped": "^2.0.0",
|
|
172
172
|
"unwasm": "^0.3.9",
|
|
173
|
-
"youch": "4.1.0-beta.5"
|
|
174
|
-
"youch-core": "^0.3.1"
|
|
173
|
+
"youch-redist": "4.1.0-beta.5-1"
|
|
175
174
|
},
|
|
176
175
|
"devDependencies": {
|
|
177
176
|
"@azure/functions": "^3.5.1",
|
|
@@ -207,7 +206,9 @@
|
|
|
207
206
|
"unbuild": "^3.5.0",
|
|
208
207
|
"undici": "^7.4.0",
|
|
209
208
|
"vitest": "^3.0.7",
|
|
210
|
-
"xml2js": "^0.6.2"
|
|
209
|
+
"xml2js": "^0.6.2",
|
|
210
|
+
"youch": "^4.1.0-beta.5",
|
|
211
|
+
"youch-core": "^0.3.1"
|
|
211
212
|
},
|
|
212
213
|
"peerDependencies": {
|
|
213
214
|
"xml2js": "^0.6.2"
|