nitro-nightly 3.0.1-20251107-104441-121cb7ef → 3.0.1-20251108-010549-1ea01a41
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.
|
@@ -9,7 +9,7 @@ import { createHash } from "node:crypto";
|
|
|
9
9
|
import { isCSSRequest, normalizePath } from "vite";
|
|
10
10
|
import assert$1 from "node:assert/strict";
|
|
11
11
|
|
|
12
|
-
//#region node_modules/.pnpm/@pi0+vite-plugin-fullstack@0.0.5-pr-1297_vite@7.2.
|
|
12
|
+
//#region node_modules/.pnpm/@pi0+vite-plugin-fullstack@0.0.5-pr-1297_vite@7.2.2_@types+node@24.10.0_jiti@2.6.1_ligh_420de11c17db6dc1bb00fb6cc17e9a42/node_modules/@pi0/vite-plugin-fullstack/dist/index.js
|
|
13
13
|
function parseIdQuery(id) {
|
|
14
14
|
if (!id.includes("?")) return {
|
|
15
15
|
filename: id,
|
package/dist/builder.d.mts
CHANGED
|
@@ -36,7 +36,7 @@ declare function createDevServer(nitro: Nitro): NitroDevServer;
|
|
|
36
36
|
declare class NitroDevServer extends NitroDevApp implements DevRPCHooks {
|
|
37
37
|
#private;
|
|
38
38
|
constructor(nitro: Nitro);
|
|
39
|
-
upgrade(req: IncomingMessage, socket: OutgoingMessage<IncomingMessage> | Duplex, head: any): Promise<
|
|
39
|
+
upgrade(req: IncomingMessage, socket: OutgoingMessage<IncomingMessage> | Duplex, head: any): Promise<any>;
|
|
40
40
|
listen(opts?: Partial<Omit<ServerOptions, "fetch">>): Server;
|
|
41
41
|
close(): Promise<void>;
|
|
42
42
|
reload(): void;
|
package/dist/types/index.d.mts
CHANGED
|
@@ -2448,7 +2448,6 @@ type $defs = Record<string, SchemaObject>;
|
|
|
2448
2448
|
type MaybeArray$1<T> = T | T[];
|
|
2449
2449
|
/** @experimental */
|
|
2450
2450
|
interface NitroRouteMeta {
|
|
2451
|
-
format: EventHandlerFormat;
|
|
2452
2451
|
openAPI?: OperationObject & {
|
|
2453
2452
|
$global?: Pick<OpenAPI3, "components"> & Extensable;
|
|
2454
2453
|
};
|
|
@@ -2508,7 +2507,7 @@ type NitroErrorHandler = (error: HTTPError, event: HTTPEvent, _: {
|
|
|
2508
2507
|
headers: Record<string, string>;
|
|
2509
2508
|
body: string | Record<string, any>;
|
|
2510
2509
|
}>;
|
|
2511
|
-
}) => Response |
|
|
2510
|
+
}) => MaybePromise<Response | void>;
|
|
2512
2511
|
//#endregion
|
|
2513
2512
|
//#region src/dev/worker.d.ts
|
|
2514
2513
|
interface DevWorkerData {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-nightly",
|
|
3
|
-
"version": "3.0.1-
|
|
3
|
+
"version": "3.0.1-20251108-010549-1ea01a41",
|
|
4
4
|
"description": "Build and Deploy Universal JavaScript Servers",
|
|
5
5
|
"homepage": "https://nitro.build",
|
|
6
6
|
"repository": "nitrojs/nitro",
|
|
@@ -43,10 +43,8 @@
|
|
|
43
43
|
"nitro": "node ./src/cli/index.ts",
|
|
44
44
|
"release": "pnpm test && pnpm build && changelogen --release --prerelease --push",
|
|
45
45
|
"stub": "obuild --stub",
|
|
46
|
-
"test": "pnpm lint && pnpm vitest run",
|
|
47
|
-
"test:fixture:types": "pnpm stub && node ./test/scripts/gen-fixture-types.ts && cd test/fixture && tsc --noEmit",
|
|
46
|
+
"test": "pnpm lint && pnpm test:types && pnpm vitest run",
|
|
48
47
|
"test:rolldown": "NITRO_BUILDER=rolldown pnpm vitest",
|
|
49
|
-
"test:rollup": "NITRO_BUILDER=rollup pnpm vitest",
|
|
50
48
|
"test:types": "tsc --noEmit"
|
|
51
49
|
},
|
|
52
50
|
"resolutions": {
|