@hono/node-server 2.0.0-rc.1 → 2.0.0
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/README.md +55 -11
- package/dist/{listener-Brd4yZ5d.js → index.cjs} +388 -108
- package/dist/{index.d.ts → index.d.cts} +12 -1
- package/dist/index.d.mts +12 -1
- package/dist/index.mjs +981 -4
- package/dist/{serve-static.js → serve-static.cjs} +1 -1
- package/dist/serve-static.mjs +1 -1
- package/dist/utils/{response.js → response.cjs} +1 -1
- package/dist/utils/response.mjs +1 -1
- package/package.json +44 -29
- package/dist/index.js +0 -28
- package/dist/listener-RIBxK9_x.mjs +0 -715
- package/dist/vercel.d.mts +0 -8
- package/dist/vercel.d.ts +0 -8
- package/dist/vercel.js +0 -10
- package/dist/vercel.mjs +0 -9
- /package/dist/{conninfo.js → conninfo.cjs} +0 -0
- /package/dist/{conninfo.d.ts → conninfo.d.cts} +0 -0
- /package/dist/{constants-DEKKqoym.mjs → constants-BLSFu_RU.mjs} +0 -0
- /package/dist/{constants-B7DBcQew.js → constants-BXAKTxRC.cjs} +0 -0
- /package/dist/{serve-static.d.ts → serve-static.d.cts} +0 -0
- /package/dist/utils/{response.d.ts → response.d.cts} +0 -0
package/dist/vercel.d.mts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Hono } from "hono";
|
|
2
|
-
import * as http from "http";
|
|
3
|
-
import * as http2 from "http2";
|
|
4
|
-
|
|
5
|
-
//#region src/vercel.d.ts
|
|
6
|
-
declare const handle: (app: Hono<any, any, any>) => (incoming: http.IncomingMessage | http2.Http2ServerRequest, outgoing: http.ServerResponse | http2.Http2ServerResponse) => Promise<void>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { handle };
|
package/dist/vercel.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Hono } from "hono";
|
|
2
|
-
import * as http from "http";
|
|
3
|
-
import * as http2 from "http2";
|
|
4
|
-
|
|
5
|
-
//#region src/vercel.d.ts
|
|
6
|
-
declare const handle: (app: Hono<any, any, any>) => (incoming: http.IncomingMessage | http2.Http2ServerRequest, outgoing: http.ServerResponse | http2.Http2ServerResponse) => Promise<void>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { handle };
|
package/dist/vercel.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_listener = require('./listener-Brd4yZ5d.js');
|
|
3
|
-
|
|
4
|
-
//#region src/vercel.ts
|
|
5
|
-
const handle = (app) => {
|
|
6
|
-
return require_listener.getRequestListener(app.fetch);
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
//#endregion
|
|
10
|
-
exports.handle = handle;
|
package/dist/vercel.mjs
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|