routup 6.0.0-beta.0 → 6.0.0-beta.2
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/bun.d.mts +2 -2
- package/dist/bun.mjs +1 -1
- package/dist/cloudflare.d.mts +2 -2
- package/dist/cloudflare.mjs +1 -1
- package/dist/deno.d.mts +2 -2
- package/dist/deno.mjs +1 -1
- package/dist/generic.d.mts +2 -2
- package/dist/generic.mjs +1 -1
- package/dist/{index-kxLRw2Wc.d.mts → index-6qjxyFZh.d.mts} +170 -365
- package/dist/node.d.mts +2 -2
- package/dist/node.mjs +1 -1
- package/dist/service-worker.d.mts +2 -2
- package/dist/service-worker.mjs +1 -1
- package/dist/{src-gmPicCWT.mjs → src-BfsqxIfL.mjs} +174 -551
- package/dist/src-BfsqxIfL.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/src-gmPicCWT.mjs.map +0 -1
package/dist/bun.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as AppOptions, $t as HandlerType, A as sendFormat, At as NodeHandler, B as setResponseHeaderAttachment, Bt as HandlerAfterListener, C as getRequestAcceptableContentTypes, Ct as isWebHandler, D as setResponseContentTypeByFileName, Dt as WebHandlerProvider, E as toResponse, Et as WebHandler, F as SendFileStats, Ft as Handler, G as EventStreamHandle, Gt as PathMatcher, H as appendResponseHeader, Ht as HandlerBeforeListener, I as sendFile, It as HandlerOptions, J as EventStreamListener, Jt as PathMatcherExecResult, K as EventStreamOptions, Kt as IPathMatcher, L as sendCreated, Lt as defineErrorHandler, M as SendFileContentOptions, Mt as defineCoreHandler, N as SendFileDisposition, Nt as CoreHandler, O as sendStream, Ot as fromNodeHandler, P as SendFileOptions, Pt as CoreHandlerOptions, Q as AppContext, Qt as HandlerSymbol, R as sendAccepted, Rt as ErrorHandler, S as getRequestAcceptableContentType, St as isHandlerOptions, T as isRequestCacheable, Tt as fromWebHandler, U as appendResponseHeaderDirective, Ut as HandlerErrorListener, V as setResponseHeaderInline, Vt as HandlerBaseOptions, W as serializeEventStreamMessage, Wt as isPath, X as ResponseCacheHeadersOptions, Xt as isError, Y as EventStreamMessage, Yt as PathMatcherOptions, Z as setResponseCacheHeaders, Zt as createError, _ as getRequestAcceptableLanguages, _t as isPluginError, a as SmartRouter, an as AppRequest, at as Route, b as getRequestAcceptableCharset, bt as matchHandlerMethod, c as RequestProtocolOptions, cn as NextFn, ct as LruCacheOptions, d as RequestIpOptions, dn as MethodNameLike, dt as Plugin, en as DispatcherEvent, et as AppOptionsInput, f as getRequestIP, fn as AppError, ft as PluginInstallContext, g as getRequestAcceptableLanguage, gt as PluginAlreadyInstalledError, h as matchRequestContentType, ht as PluginInstallError, i as TrieRouter, in as AppEventCreateContext, it as ObjectLiteral, j as SendFileContent, jt as NodeMiddleware, k as sendRedirect, kt as fromNodeMiddleware, l as getRequestProtocol, ln as HeaderName, lt as ICache, m as getRequestHostName, mn as HTTPErrorInput, mt as PluginNotInstalledError, n as App, nn as IDispatcherEvent, nt as BaseRouterOptions, o as SmartRouterOptions, on as AppResponse, ot as RouteMatch, p as RequestHostNameOptions, pn as ErrorSymbol, pt as PluginInstallFn, q as createEventStream, qt as Path, r as buildRoutePathMatcher, rn as AppEvent, rt as IRouter, s as LinearRouter, sn as IAppEvent, st as LruCache, t as normalizeAppOptions, tn as IDispatcher, tt as IApp, u as useRequestNegotiator, un as MethodName, ut as isPlugin, v as getRequestAcceptableEncoding, vt as PluginError, w as getRequestHeader, wt as isWebHandlerProvider, x as getRequestAcceptableCharsets, xt as isHandler, y as getRequestAcceptableEncodings, yt as PluginErrorCode, z as setResponseHeaderContentType, zt as ErrorHandlerOptions } from "./index-6qjxyFZh.mjs";
|
|
2
2
|
import { Server, ServerOptions } from "srvx";
|
|
3
3
|
|
|
4
4
|
//#region src/_entries/bun.d.ts
|
|
5
5
|
declare function serve(app: IApp, options?: Omit<ServerOptions, 'fetch'>): Server;
|
|
6
6
|
//#endregion
|
|
7
|
-
export { App, AppContext, AppError, AppEvent, AppEventCreateContext, AppOptions, AppOptionsInput,
|
|
7
|
+
export { App, AppContext, AppError, AppEvent, AppEventCreateContext, AppOptions, AppOptionsInput, AppRequest, AppResponse, BaseRouterOptions, CoreHandler, CoreHandlerOptions, DispatcherEvent, ErrorHandler, ErrorHandlerOptions, ErrorSymbol, EventStreamHandle, EventStreamListener, EventStreamMessage, EventStreamOptions, HTTPErrorInput, Handler, HandlerAfterListener, HandlerBaseOptions, HandlerBeforeListener, HandlerErrorListener, HandlerOptions, HandlerSymbol, HandlerType, HeaderName, IApp, IAppEvent, ICache, IDispatcher, IDispatcherEvent, IPathMatcher, IRouter, LinearRouter, LruCache, LruCacheOptions, MethodName, MethodNameLike, NextFn, NodeHandler, NodeMiddleware, ObjectLiteral, Path, PathMatcher, PathMatcherExecResult, PathMatcherOptions, Plugin, PluginAlreadyInstalledError, PluginError, PluginErrorCode, PluginInstallContext, PluginInstallError, PluginInstallFn, PluginNotInstalledError, RequestHostNameOptions, RequestIpOptions, RequestProtocolOptions, ResponseCacheHeadersOptions, Route, RouteMatch, SendFileContent, SendFileContentOptions, SendFileDisposition, SendFileOptions, SendFileStats, SmartRouter, SmartRouterOptions, TrieRouter, WebHandler, WebHandlerProvider, appendResponseHeader, appendResponseHeaderDirective, buildRoutePathMatcher, createError, createEventStream, defineCoreHandler, defineErrorHandler, fromNodeHandler, fromNodeMiddleware, fromWebHandler, getRequestAcceptableCharset, getRequestAcceptableCharsets, getRequestAcceptableContentType, getRequestAcceptableContentTypes, getRequestAcceptableEncoding, getRequestAcceptableEncodings, getRequestAcceptableLanguage, getRequestAcceptableLanguages, getRequestHeader, getRequestHostName, getRequestIP, getRequestProtocol, isError, isHandler, isHandlerOptions, isPath, isPlugin, isPluginError, isRequestCacheable, isWebHandler, isWebHandlerProvider, matchHandlerMethod, matchRequestContentType, normalizeAppOptions, sendAccepted, sendCreated, sendFile, sendFormat, sendRedirect, sendStream, serializeEventStreamMessage, serve, setResponseCacheHeaders, setResponseContentTypeByFileName, setResponseHeaderAttachment, setResponseHeaderContentType, setResponseHeaderInline, toResponse, useRequestNegotiator };
|
|
8
8
|
//# sourceMappingURL=bun.d.mts.map
|
package/dist/bun.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as isError, A as fromWebHandler, B as DispatcherEvent, C as getRequestAcceptableEncodings, D as matchHandlerMethod, E as isRequestCacheable, F as defineErrorHandler, G as getRequestAcceptableContentTypes, H as sendRedirect, I as defineCoreHandler, J as sendFile, K as useRequestNegotiator, L as Handler, M as isWebHandlerProvider, N as fromNodeHandler, O as isHandler, P as fromNodeMiddleware, Q as createError, R as HandlerSymbol, S as getRequestAcceptableEncoding, T as getRequestAcceptableCharsets, U as sendFormat, V as sendStream, W as getRequestAcceptableContentType, X as sendAccepted, Y as sendCreated, Z as toResponse, _ as getRequestIP, a as LinearRouter, at as appendResponseHeaderDirective, b as getRequestAcceptableLanguage, c as PluginNotInstalledError, ct as AppError, d as PluginError, dt as AppEvent, et as setResponseHeaderContentType, f as isPluginError, ft as HeaderName, g as getRequestProtocol, h as PathMatcher, i as TrieRouter, it as appendResponseHeader, j as isWebHandler, k as isHandlerOptions, l as PluginInstallError, lt as ErrorSymbol, m as isPath, mt as LruCache, n as normalizeAppOptions, nt as setResponseHeaderInline, o as buildRoutePathMatcher, ot as createEventStream, p as PluginErrorCode, pt as MethodName, q as getRequestHeader, r as SmartRouter, rt as setResponseContentTypeByFileName, s as isPlugin, st as serializeEventStreamMessage, t as App, tt as setResponseHeaderAttachment, u as PluginAlreadyInstalledError, ut as setResponseCacheHeaders, v as getRequestHostName, w as getRequestAcceptableCharset, x as getRequestAcceptableLanguages, y as matchRequestContentType, z as HandlerType } from "./src-
|
|
1
|
+
import { $ as isError, A as fromWebHandler, B as DispatcherEvent, C as getRequestAcceptableEncodings, D as matchHandlerMethod, E as isRequestCacheable, F as defineErrorHandler, G as getRequestAcceptableContentTypes, H as sendRedirect, I as defineCoreHandler, J as sendFile, K as useRequestNegotiator, L as Handler, M as isWebHandlerProvider, N as fromNodeHandler, O as isHandler, P as fromNodeMiddleware, Q as createError, R as HandlerSymbol, S as getRequestAcceptableEncoding, T as getRequestAcceptableCharsets, U as sendFormat, V as sendStream, W as getRequestAcceptableContentType, X as sendAccepted, Y as sendCreated, Z as toResponse, _ as getRequestIP, a as LinearRouter, at as appendResponseHeaderDirective, b as getRequestAcceptableLanguage, c as PluginNotInstalledError, ct as AppError, d as PluginError, dt as AppEvent, et as setResponseHeaderContentType, f as isPluginError, ft as HeaderName, g as getRequestProtocol, h as PathMatcher, i as TrieRouter, it as appendResponseHeader, j as isWebHandler, k as isHandlerOptions, l as PluginInstallError, lt as ErrorSymbol, m as isPath, mt as LruCache, n as normalizeAppOptions, nt as setResponseHeaderInline, o as buildRoutePathMatcher, ot as createEventStream, p as PluginErrorCode, pt as MethodName, q as getRequestHeader, r as SmartRouter, rt as setResponseContentTypeByFileName, s as isPlugin, st as serializeEventStreamMessage, t as App, tt as setResponseHeaderAttachment, u as PluginAlreadyInstalledError, ut as setResponseCacheHeaders, v as getRequestHostName, w as getRequestAcceptableCharset, x as getRequestAcceptableLanguages, y as matchRequestContentType, z as HandlerType } from "./src-BfsqxIfL.mjs";
|
|
2
2
|
import { serve as serve$1 } from "srvx/bun";
|
|
3
3
|
//#region src/_entries/bun.ts
|
|
4
4
|
function serve(app, options) {
|
package/dist/cloudflare.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as AppOptions, $t as HandlerType, A as sendFormat, At as NodeHandler, B as setResponseHeaderAttachment, Bt as HandlerAfterListener, C as getRequestAcceptableContentTypes, Ct as isWebHandler, D as setResponseContentTypeByFileName, Dt as WebHandlerProvider, E as toResponse, Et as WebHandler, F as SendFileStats, Ft as Handler, G as EventStreamHandle, Gt as PathMatcher, H as appendResponseHeader, Ht as HandlerBeforeListener, I as sendFile, It as HandlerOptions, J as EventStreamListener, Jt as PathMatcherExecResult, K as EventStreamOptions, Kt as IPathMatcher, L as sendCreated, Lt as defineErrorHandler, M as SendFileContentOptions, Mt as defineCoreHandler, N as SendFileDisposition, Nt as CoreHandler, O as sendStream, Ot as fromNodeHandler, P as SendFileOptions, Pt as CoreHandlerOptions, Q as AppContext, Qt as HandlerSymbol, R as sendAccepted, Rt as ErrorHandler, S as getRequestAcceptableContentType, St as isHandlerOptions, T as isRequestCacheable, Tt as fromWebHandler, U as appendResponseHeaderDirective, Ut as HandlerErrorListener, V as setResponseHeaderInline, Vt as HandlerBaseOptions, W as serializeEventStreamMessage, Wt as isPath, X as ResponseCacheHeadersOptions, Xt as isError, Y as EventStreamMessage, Yt as PathMatcherOptions, Z as setResponseCacheHeaders, Zt as createError, _ as getRequestAcceptableLanguages, _t as isPluginError, a as SmartRouter, an as AppRequest, at as Route, b as getRequestAcceptableCharset, bt as matchHandlerMethod, c as RequestProtocolOptions, cn as NextFn, ct as LruCacheOptions, d as RequestIpOptions, dn as MethodNameLike, dt as Plugin, en as DispatcherEvent, et as AppOptionsInput, f as getRequestIP, fn as AppError, ft as PluginInstallContext, g as getRequestAcceptableLanguage, gt as PluginAlreadyInstalledError, h as matchRequestContentType, ht as PluginInstallError, i as TrieRouter, in as AppEventCreateContext, it as ObjectLiteral, j as SendFileContent, jt as NodeMiddleware, k as sendRedirect, kt as fromNodeMiddleware, l as getRequestProtocol, ln as HeaderName, lt as ICache, m as getRequestHostName, mn as HTTPErrorInput, mt as PluginNotInstalledError, n as App, nn as IDispatcherEvent, nt as BaseRouterOptions, o as SmartRouterOptions, on as AppResponse, ot as RouteMatch, p as RequestHostNameOptions, pn as ErrorSymbol, pt as PluginInstallFn, q as createEventStream, qt as Path, r as buildRoutePathMatcher, rn as AppEvent, rt as IRouter, s as LinearRouter, sn as IAppEvent, st as LruCache, t as normalizeAppOptions, tn as IDispatcher, tt as IApp, u as useRequestNegotiator, un as MethodName, ut as isPlugin, v as getRequestAcceptableEncoding, vt as PluginError, w as getRequestHeader, wt as isWebHandlerProvider, x as getRequestAcceptableCharsets, xt as isHandler, y as getRequestAcceptableEncodings, yt as PluginErrorCode, z as setResponseHeaderContentType, zt as ErrorHandlerOptions } from "./index-6qjxyFZh.mjs";
|
|
2
2
|
import { Server, ServerOptions } from "srvx";
|
|
3
3
|
|
|
4
4
|
//#region src/_entries/cloudflare.d.ts
|
|
5
5
|
declare function serve(app: IApp, options?: Omit<ServerOptions, 'fetch'>): Server;
|
|
6
6
|
//#endregion
|
|
7
|
-
export { App, AppContext, AppError, AppEvent, AppEventCreateContext, AppOptions, AppOptionsInput,
|
|
7
|
+
export { App, AppContext, AppError, AppEvent, AppEventCreateContext, AppOptions, AppOptionsInput, AppRequest, AppResponse, BaseRouterOptions, CoreHandler, CoreHandlerOptions, DispatcherEvent, ErrorHandler, ErrorHandlerOptions, ErrorSymbol, EventStreamHandle, EventStreamListener, EventStreamMessage, EventStreamOptions, HTTPErrorInput, Handler, HandlerAfterListener, HandlerBaseOptions, HandlerBeforeListener, HandlerErrorListener, HandlerOptions, HandlerSymbol, HandlerType, HeaderName, IApp, IAppEvent, ICache, IDispatcher, IDispatcherEvent, IPathMatcher, IRouter, LinearRouter, LruCache, LruCacheOptions, MethodName, MethodNameLike, NextFn, NodeHandler, NodeMiddleware, ObjectLiteral, Path, PathMatcher, PathMatcherExecResult, PathMatcherOptions, Plugin, PluginAlreadyInstalledError, PluginError, PluginErrorCode, PluginInstallContext, PluginInstallError, PluginInstallFn, PluginNotInstalledError, RequestHostNameOptions, RequestIpOptions, RequestProtocolOptions, ResponseCacheHeadersOptions, Route, RouteMatch, SendFileContent, SendFileContentOptions, SendFileDisposition, SendFileOptions, SendFileStats, SmartRouter, SmartRouterOptions, TrieRouter, WebHandler, WebHandlerProvider, appendResponseHeader, appendResponseHeaderDirective, buildRoutePathMatcher, createError, createEventStream, defineCoreHandler, defineErrorHandler, fromNodeHandler, fromNodeMiddleware, fromWebHandler, getRequestAcceptableCharset, getRequestAcceptableCharsets, getRequestAcceptableContentType, getRequestAcceptableContentTypes, getRequestAcceptableEncoding, getRequestAcceptableEncodings, getRequestAcceptableLanguage, getRequestAcceptableLanguages, getRequestHeader, getRequestHostName, getRequestIP, getRequestProtocol, isError, isHandler, isHandlerOptions, isPath, isPlugin, isPluginError, isRequestCacheable, isWebHandler, isWebHandlerProvider, matchHandlerMethod, matchRequestContentType, normalizeAppOptions, sendAccepted, sendCreated, sendFile, sendFormat, sendRedirect, sendStream, serializeEventStreamMessage, serve, setResponseCacheHeaders, setResponseContentTypeByFileName, setResponseHeaderAttachment, setResponseHeaderContentType, setResponseHeaderInline, toResponse, useRequestNegotiator };
|
|
8
8
|
//# sourceMappingURL=cloudflare.d.mts.map
|
package/dist/cloudflare.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as isError, A as fromWebHandler, B as DispatcherEvent, C as getRequestAcceptableEncodings, D as matchHandlerMethod, E as isRequestCacheable, F as defineErrorHandler, G as getRequestAcceptableContentTypes, H as sendRedirect, I as defineCoreHandler, J as sendFile, K as useRequestNegotiator, L as Handler, M as isWebHandlerProvider, N as fromNodeHandler, O as isHandler, P as fromNodeMiddleware, Q as createError, R as HandlerSymbol, S as getRequestAcceptableEncoding, T as getRequestAcceptableCharsets, U as sendFormat, V as sendStream, W as getRequestAcceptableContentType, X as sendAccepted, Y as sendCreated, Z as toResponse, _ as getRequestIP, a as LinearRouter, at as appendResponseHeaderDirective, b as getRequestAcceptableLanguage, c as PluginNotInstalledError, ct as AppError, d as PluginError, dt as AppEvent, et as setResponseHeaderContentType, f as isPluginError, ft as HeaderName, g as getRequestProtocol, h as PathMatcher, i as TrieRouter, it as appendResponseHeader, j as isWebHandler, k as isHandlerOptions, l as PluginInstallError, lt as ErrorSymbol, m as isPath, mt as LruCache, n as normalizeAppOptions, nt as setResponseHeaderInline, o as buildRoutePathMatcher, ot as createEventStream, p as PluginErrorCode, pt as MethodName, q as getRequestHeader, r as SmartRouter, rt as setResponseContentTypeByFileName, s as isPlugin, st as serializeEventStreamMessage, t as App, tt as setResponseHeaderAttachment, u as PluginAlreadyInstalledError, ut as setResponseCacheHeaders, v as getRequestHostName, w as getRequestAcceptableCharset, x as getRequestAcceptableLanguages, y as matchRequestContentType, z as HandlerType } from "./src-
|
|
1
|
+
import { $ as isError, A as fromWebHandler, B as DispatcherEvent, C as getRequestAcceptableEncodings, D as matchHandlerMethod, E as isRequestCacheable, F as defineErrorHandler, G as getRequestAcceptableContentTypes, H as sendRedirect, I as defineCoreHandler, J as sendFile, K as useRequestNegotiator, L as Handler, M as isWebHandlerProvider, N as fromNodeHandler, O as isHandler, P as fromNodeMiddleware, Q as createError, R as HandlerSymbol, S as getRequestAcceptableEncoding, T as getRequestAcceptableCharsets, U as sendFormat, V as sendStream, W as getRequestAcceptableContentType, X as sendAccepted, Y as sendCreated, Z as toResponse, _ as getRequestIP, a as LinearRouter, at as appendResponseHeaderDirective, b as getRequestAcceptableLanguage, c as PluginNotInstalledError, ct as AppError, d as PluginError, dt as AppEvent, et as setResponseHeaderContentType, f as isPluginError, ft as HeaderName, g as getRequestProtocol, h as PathMatcher, i as TrieRouter, it as appendResponseHeader, j as isWebHandler, k as isHandlerOptions, l as PluginInstallError, lt as ErrorSymbol, m as isPath, mt as LruCache, n as normalizeAppOptions, nt as setResponseHeaderInline, o as buildRoutePathMatcher, ot as createEventStream, p as PluginErrorCode, pt as MethodName, q as getRequestHeader, r as SmartRouter, rt as setResponseContentTypeByFileName, s as isPlugin, st as serializeEventStreamMessage, t as App, tt as setResponseHeaderAttachment, u as PluginAlreadyInstalledError, ut as setResponseCacheHeaders, v as getRequestHostName, w as getRequestAcceptableCharset, x as getRequestAcceptableLanguages, y as matchRequestContentType, z as HandlerType } from "./src-BfsqxIfL.mjs";
|
|
2
2
|
import { serve as serve$1 } from "srvx/cloudflare";
|
|
3
3
|
//#region src/_entries/cloudflare.ts
|
|
4
4
|
function serve(app, options) {
|
package/dist/deno.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as AppOptions, $t as HandlerType, A as sendFormat, At as NodeHandler, B as setResponseHeaderAttachment, Bt as HandlerAfterListener, C as getRequestAcceptableContentTypes, Ct as isWebHandler, D as setResponseContentTypeByFileName, Dt as WebHandlerProvider, E as toResponse, Et as WebHandler, F as SendFileStats, Ft as Handler, G as EventStreamHandle, Gt as PathMatcher, H as appendResponseHeader, Ht as HandlerBeforeListener, I as sendFile, It as HandlerOptions, J as EventStreamListener, Jt as PathMatcherExecResult, K as EventStreamOptions, Kt as IPathMatcher, L as sendCreated, Lt as defineErrorHandler, M as SendFileContentOptions, Mt as defineCoreHandler, N as SendFileDisposition, Nt as CoreHandler, O as sendStream, Ot as fromNodeHandler, P as SendFileOptions, Pt as CoreHandlerOptions, Q as AppContext, Qt as HandlerSymbol, R as sendAccepted, Rt as ErrorHandler, S as getRequestAcceptableContentType, St as isHandlerOptions, T as isRequestCacheable, Tt as fromWebHandler, U as appendResponseHeaderDirective, Ut as HandlerErrorListener, V as setResponseHeaderInline, Vt as HandlerBaseOptions, W as serializeEventStreamMessage, Wt as isPath, X as ResponseCacheHeadersOptions, Xt as isError, Y as EventStreamMessage, Yt as PathMatcherOptions, Z as setResponseCacheHeaders, Zt as createError, _ as getRequestAcceptableLanguages, _t as isPluginError, a as SmartRouter, an as AppRequest, at as Route, b as getRequestAcceptableCharset, bt as matchHandlerMethod, c as RequestProtocolOptions, cn as NextFn, ct as LruCacheOptions, d as RequestIpOptions, dn as MethodNameLike, dt as Plugin, en as DispatcherEvent, et as AppOptionsInput, f as getRequestIP, fn as AppError, ft as PluginInstallContext, g as getRequestAcceptableLanguage, gt as PluginAlreadyInstalledError, h as matchRequestContentType, ht as PluginInstallError, i as TrieRouter, in as AppEventCreateContext, it as ObjectLiteral, j as SendFileContent, jt as NodeMiddleware, k as sendRedirect, kt as fromNodeMiddleware, l as getRequestProtocol, ln as HeaderName, lt as ICache, m as getRequestHostName, mn as HTTPErrorInput, mt as PluginNotInstalledError, n as App, nn as IDispatcherEvent, nt as BaseRouterOptions, o as SmartRouterOptions, on as AppResponse, ot as RouteMatch, p as RequestHostNameOptions, pn as ErrorSymbol, pt as PluginInstallFn, q as createEventStream, qt as Path, r as buildRoutePathMatcher, rn as AppEvent, rt as IRouter, s as LinearRouter, sn as IAppEvent, st as LruCache, t as normalizeAppOptions, tn as IDispatcher, tt as IApp, u as useRequestNegotiator, un as MethodName, ut as isPlugin, v as getRequestAcceptableEncoding, vt as PluginError, w as getRequestHeader, wt as isWebHandlerProvider, x as getRequestAcceptableCharsets, xt as isHandler, y as getRequestAcceptableEncodings, yt as PluginErrorCode, z as setResponseHeaderContentType, zt as ErrorHandlerOptions } from "./index-6qjxyFZh.mjs";
|
|
2
2
|
import { Server, ServerOptions } from "srvx";
|
|
3
3
|
|
|
4
4
|
//#region src/_entries/deno.d.ts
|
|
5
5
|
declare function serve(app: IApp, options?: Omit<ServerOptions, 'fetch'>): Server;
|
|
6
6
|
//#endregion
|
|
7
|
-
export { App, AppContext, AppError, AppEvent, AppEventCreateContext, AppOptions, AppOptionsInput,
|
|
7
|
+
export { App, AppContext, AppError, AppEvent, AppEventCreateContext, AppOptions, AppOptionsInput, AppRequest, AppResponse, BaseRouterOptions, CoreHandler, CoreHandlerOptions, DispatcherEvent, ErrorHandler, ErrorHandlerOptions, ErrorSymbol, EventStreamHandle, EventStreamListener, EventStreamMessage, EventStreamOptions, HTTPErrorInput, Handler, HandlerAfterListener, HandlerBaseOptions, HandlerBeforeListener, HandlerErrorListener, HandlerOptions, HandlerSymbol, HandlerType, HeaderName, IApp, IAppEvent, ICache, IDispatcher, IDispatcherEvent, IPathMatcher, IRouter, LinearRouter, LruCache, LruCacheOptions, MethodName, MethodNameLike, NextFn, NodeHandler, NodeMiddleware, ObjectLiteral, Path, PathMatcher, PathMatcherExecResult, PathMatcherOptions, Plugin, PluginAlreadyInstalledError, PluginError, PluginErrorCode, PluginInstallContext, PluginInstallError, PluginInstallFn, PluginNotInstalledError, RequestHostNameOptions, RequestIpOptions, RequestProtocolOptions, ResponseCacheHeadersOptions, Route, RouteMatch, SendFileContent, SendFileContentOptions, SendFileDisposition, SendFileOptions, SendFileStats, SmartRouter, SmartRouterOptions, TrieRouter, WebHandler, WebHandlerProvider, appendResponseHeader, appendResponseHeaderDirective, buildRoutePathMatcher, createError, createEventStream, defineCoreHandler, defineErrorHandler, fromNodeHandler, fromNodeMiddleware, fromWebHandler, getRequestAcceptableCharset, getRequestAcceptableCharsets, getRequestAcceptableContentType, getRequestAcceptableContentTypes, getRequestAcceptableEncoding, getRequestAcceptableEncodings, getRequestAcceptableLanguage, getRequestAcceptableLanguages, getRequestHeader, getRequestHostName, getRequestIP, getRequestProtocol, isError, isHandler, isHandlerOptions, isPath, isPlugin, isPluginError, isRequestCacheable, isWebHandler, isWebHandlerProvider, matchHandlerMethod, matchRequestContentType, normalizeAppOptions, sendAccepted, sendCreated, sendFile, sendFormat, sendRedirect, sendStream, serializeEventStreamMessage, serve, setResponseCacheHeaders, setResponseContentTypeByFileName, setResponseHeaderAttachment, setResponseHeaderContentType, setResponseHeaderInline, toResponse, useRequestNegotiator };
|
|
8
8
|
//# sourceMappingURL=deno.d.mts.map
|
package/dist/deno.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as isError, A as fromWebHandler, B as DispatcherEvent, C as getRequestAcceptableEncodings, D as matchHandlerMethod, E as isRequestCacheable, F as defineErrorHandler, G as getRequestAcceptableContentTypes, H as sendRedirect, I as defineCoreHandler, J as sendFile, K as useRequestNegotiator, L as Handler, M as isWebHandlerProvider, N as fromNodeHandler, O as isHandler, P as fromNodeMiddleware, Q as createError, R as HandlerSymbol, S as getRequestAcceptableEncoding, T as getRequestAcceptableCharsets, U as sendFormat, V as sendStream, W as getRequestAcceptableContentType, X as sendAccepted, Y as sendCreated, Z as toResponse, _ as getRequestIP, a as LinearRouter, at as appendResponseHeaderDirective, b as getRequestAcceptableLanguage, c as PluginNotInstalledError, ct as AppError, d as PluginError, dt as AppEvent, et as setResponseHeaderContentType, f as isPluginError, ft as HeaderName, g as getRequestProtocol, h as PathMatcher, i as TrieRouter, it as appendResponseHeader, j as isWebHandler, k as isHandlerOptions, l as PluginInstallError, lt as ErrorSymbol, m as isPath, mt as LruCache, n as normalizeAppOptions, nt as setResponseHeaderInline, o as buildRoutePathMatcher, ot as createEventStream, p as PluginErrorCode, pt as MethodName, q as getRequestHeader, r as SmartRouter, rt as setResponseContentTypeByFileName, s as isPlugin, st as serializeEventStreamMessage, t as App, tt as setResponseHeaderAttachment, u as PluginAlreadyInstalledError, ut as setResponseCacheHeaders, v as getRequestHostName, w as getRequestAcceptableCharset, x as getRequestAcceptableLanguages, y as matchRequestContentType, z as HandlerType } from "./src-
|
|
1
|
+
import { $ as isError, A as fromWebHandler, B as DispatcherEvent, C as getRequestAcceptableEncodings, D as matchHandlerMethod, E as isRequestCacheable, F as defineErrorHandler, G as getRequestAcceptableContentTypes, H as sendRedirect, I as defineCoreHandler, J as sendFile, K as useRequestNegotiator, L as Handler, M as isWebHandlerProvider, N as fromNodeHandler, O as isHandler, P as fromNodeMiddleware, Q as createError, R as HandlerSymbol, S as getRequestAcceptableEncoding, T as getRequestAcceptableCharsets, U as sendFormat, V as sendStream, W as getRequestAcceptableContentType, X as sendAccepted, Y as sendCreated, Z as toResponse, _ as getRequestIP, a as LinearRouter, at as appendResponseHeaderDirective, b as getRequestAcceptableLanguage, c as PluginNotInstalledError, ct as AppError, d as PluginError, dt as AppEvent, et as setResponseHeaderContentType, f as isPluginError, ft as HeaderName, g as getRequestProtocol, h as PathMatcher, i as TrieRouter, it as appendResponseHeader, j as isWebHandler, k as isHandlerOptions, l as PluginInstallError, lt as ErrorSymbol, m as isPath, mt as LruCache, n as normalizeAppOptions, nt as setResponseHeaderInline, o as buildRoutePathMatcher, ot as createEventStream, p as PluginErrorCode, pt as MethodName, q as getRequestHeader, r as SmartRouter, rt as setResponseContentTypeByFileName, s as isPlugin, st as serializeEventStreamMessage, t as App, tt as setResponseHeaderAttachment, u as PluginAlreadyInstalledError, ut as setResponseCacheHeaders, v as getRequestHostName, w as getRequestAcceptableCharset, x as getRequestAcceptableLanguages, y as matchRequestContentType, z as HandlerType } from "./src-BfsqxIfL.mjs";
|
|
2
2
|
import { serve as serve$1 } from "srvx/deno";
|
|
3
3
|
//#region src/_entries/deno.ts
|
|
4
4
|
function serve(app, options) {
|
package/dist/generic.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as AppOptions, $t as HandlerType, A as sendFormat, At as NodeHandler, B as setResponseHeaderAttachment, Bt as HandlerAfterListener, C as getRequestAcceptableContentTypes, Ct as isWebHandler, D as setResponseContentTypeByFileName, Dt as WebHandlerProvider, E as toResponse, Et as WebHandler, F as SendFileStats, Ft as Handler, G as EventStreamHandle, Gt as PathMatcher, H as appendResponseHeader, Ht as HandlerBeforeListener, I as sendFile, It as HandlerOptions, J as EventStreamListener, Jt as PathMatcherExecResult, K as EventStreamOptions, Kt as IPathMatcher, L as sendCreated, Lt as defineErrorHandler, M as SendFileContentOptions, Mt as defineCoreHandler, N as SendFileDisposition, Nt as CoreHandler, O as sendStream, Ot as fromNodeHandler, P as SendFileOptions, Pt as CoreHandlerOptions, Q as AppContext, Qt as HandlerSymbol, R as sendAccepted, Rt as ErrorHandler, S as getRequestAcceptableContentType, St as isHandlerOptions, T as isRequestCacheable, Tt as fromWebHandler, U as appendResponseHeaderDirective, Ut as HandlerErrorListener, V as setResponseHeaderInline, Vt as HandlerBaseOptions, W as serializeEventStreamMessage, Wt as isPath, X as ResponseCacheHeadersOptions, Xt as isError, Y as EventStreamMessage, Yt as PathMatcherOptions, Z as setResponseCacheHeaders, Zt as createError, _ as getRequestAcceptableLanguages, _t as isPluginError, a as SmartRouter, an as AppRequest, at as Route, b as getRequestAcceptableCharset, bt as matchHandlerMethod, c as RequestProtocolOptions, cn as NextFn, ct as LruCacheOptions, d as RequestIpOptions, dn as MethodNameLike, dt as Plugin, en as DispatcherEvent, et as AppOptionsInput, f as getRequestIP, fn as AppError, ft as PluginInstallContext, g as getRequestAcceptableLanguage, gt as PluginAlreadyInstalledError, h as matchRequestContentType, ht as PluginInstallError, i as TrieRouter, in as AppEventCreateContext, it as ObjectLiteral, j as SendFileContent, jt as NodeMiddleware, k as sendRedirect, kt as fromNodeMiddleware, l as getRequestProtocol, ln as HeaderName, lt as ICache, m as getRequestHostName, mn as HTTPErrorInput, mt as PluginNotInstalledError, n as App, nn as IDispatcherEvent, nt as BaseRouterOptions, o as SmartRouterOptions, on as AppResponse, ot as RouteMatch, p as RequestHostNameOptions, pn as ErrorSymbol, pt as PluginInstallFn, q as createEventStream, qt as Path, r as buildRoutePathMatcher, rn as AppEvent, rt as IRouter, s as LinearRouter, sn as IAppEvent, st as LruCache, t as normalizeAppOptions, tn as IDispatcher, tt as IApp, u as useRequestNegotiator, un as MethodName, ut as isPlugin, v as getRequestAcceptableEncoding, vt as PluginError, w as getRequestHeader, wt as isWebHandlerProvider, x as getRequestAcceptableCharsets, xt as isHandler, y as getRequestAcceptableEncodings, yt as PluginErrorCode, z as setResponseHeaderContentType, zt as ErrorHandlerOptions } from "./index-6qjxyFZh.mjs";
|
|
2
2
|
import { Server, ServerOptions } from "srvx";
|
|
3
3
|
|
|
4
4
|
//#region src/_entries/generic.d.ts
|
|
5
5
|
declare function serve(app: IApp, options?: Omit<ServerOptions, 'fetch'>): Server;
|
|
6
6
|
//#endregion
|
|
7
|
-
export { App, AppContext, AppError, AppEvent, AppEventCreateContext, AppOptions, AppOptionsInput,
|
|
7
|
+
export { App, AppContext, AppError, AppEvent, AppEventCreateContext, AppOptions, AppOptionsInput, AppRequest, AppResponse, BaseRouterOptions, CoreHandler, CoreHandlerOptions, DispatcherEvent, ErrorHandler, ErrorHandlerOptions, ErrorSymbol, EventStreamHandle, EventStreamListener, EventStreamMessage, EventStreamOptions, HTTPErrorInput, Handler, HandlerAfterListener, HandlerBaseOptions, HandlerBeforeListener, HandlerErrorListener, HandlerOptions, HandlerSymbol, HandlerType, HeaderName, IApp, IAppEvent, ICache, IDispatcher, IDispatcherEvent, IPathMatcher, IRouter, LinearRouter, LruCache, LruCacheOptions, MethodName, MethodNameLike, NextFn, NodeHandler, NodeMiddleware, ObjectLiteral, Path, PathMatcher, PathMatcherExecResult, PathMatcherOptions, Plugin, PluginAlreadyInstalledError, PluginError, PluginErrorCode, PluginInstallContext, PluginInstallError, PluginInstallFn, PluginNotInstalledError, RequestHostNameOptions, RequestIpOptions, RequestProtocolOptions, ResponseCacheHeadersOptions, Route, RouteMatch, SendFileContent, SendFileContentOptions, SendFileDisposition, SendFileOptions, SendFileStats, SmartRouter, SmartRouterOptions, TrieRouter, WebHandler, WebHandlerProvider, appendResponseHeader, appendResponseHeaderDirective, buildRoutePathMatcher, createError, createEventStream, defineCoreHandler, defineErrorHandler, fromNodeHandler, fromNodeMiddleware, fromWebHandler, getRequestAcceptableCharset, getRequestAcceptableCharsets, getRequestAcceptableContentType, getRequestAcceptableContentTypes, getRequestAcceptableEncoding, getRequestAcceptableEncodings, getRequestAcceptableLanguage, getRequestAcceptableLanguages, getRequestHeader, getRequestHostName, getRequestIP, getRequestProtocol, isError, isHandler, isHandlerOptions, isPath, isPlugin, isPluginError, isRequestCacheable, isWebHandler, isWebHandlerProvider, matchHandlerMethod, matchRequestContentType, normalizeAppOptions, sendAccepted, sendCreated, sendFile, sendFormat, sendRedirect, sendStream, serializeEventStreamMessage, serve, setResponseCacheHeaders, setResponseContentTypeByFileName, setResponseHeaderAttachment, setResponseHeaderContentType, setResponseHeaderInline, toResponse, useRequestNegotiator };
|
|
8
8
|
//# sourceMappingURL=generic.d.mts.map
|
package/dist/generic.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as isError, A as fromWebHandler, B as DispatcherEvent, C as getRequestAcceptableEncodings, D as matchHandlerMethod, E as isRequestCacheable, F as defineErrorHandler, G as getRequestAcceptableContentTypes, H as sendRedirect, I as defineCoreHandler, J as sendFile, K as useRequestNegotiator, L as Handler, M as isWebHandlerProvider, N as fromNodeHandler, O as isHandler, P as fromNodeMiddleware, Q as createError, R as HandlerSymbol, S as getRequestAcceptableEncoding, T as getRequestAcceptableCharsets, U as sendFormat, V as sendStream, W as getRequestAcceptableContentType, X as sendAccepted, Y as sendCreated, Z as toResponse, _ as getRequestIP, a as LinearRouter, at as appendResponseHeaderDirective, b as getRequestAcceptableLanguage, c as PluginNotInstalledError, ct as AppError, d as PluginError, dt as AppEvent, et as setResponseHeaderContentType, f as isPluginError, ft as HeaderName, g as getRequestProtocol, h as PathMatcher, i as TrieRouter, it as appendResponseHeader, j as isWebHandler, k as isHandlerOptions, l as PluginInstallError, lt as ErrorSymbol, m as isPath, mt as LruCache, n as normalizeAppOptions, nt as setResponseHeaderInline, o as buildRoutePathMatcher, ot as createEventStream, p as PluginErrorCode, pt as MethodName, q as getRequestHeader, r as SmartRouter, rt as setResponseContentTypeByFileName, s as isPlugin, st as serializeEventStreamMessage, t as App, tt as setResponseHeaderAttachment, u as PluginAlreadyInstalledError, ut as setResponseCacheHeaders, v as getRequestHostName, w as getRequestAcceptableCharset, x as getRequestAcceptableLanguages, y as matchRequestContentType, z as HandlerType } from "./src-
|
|
1
|
+
import { $ as isError, A as fromWebHandler, B as DispatcherEvent, C as getRequestAcceptableEncodings, D as matchHandlerMethod, E as isRequestCacheable, F as defineErrorHandler, G as getRequestAcceptableContentTypes, H as sendRedirect, I as defineCoreHandler, J as sendFile, K as useRequestNegotiator, L as Handler, M as isWebHandlerProvider, N as fromNodeHandler, O as isHandler, P as fromNodeMiddleware, Q as createError, R as HandlerSymbol, S as getRequestAcceptableEncoding, T as getRequestAcceptableCharsets, U as sendFormat, V as sendStream, W as getRequestAcceptableContentType, X as sendAccepted, Y as sendCreated, Z as toResponse, _ as getRequestIP, a as LinearRouter, at as appendResponseHeaderDirective, b as getRequestAcceptableLanguage, c as PluginNotInstalledError, ct as AppError, d as PluginError, dt as AppEvent, et as setResponseHeaderContentType, f as isPluginError, ft as HeaderName, g as getRequestProtocol, h as PathMatcher, i as TrieRouter, it as appendResponseHeader, j as isWebHandler, k as isHandlerOptions, l as PluginInstallError, lt as ErrorSymbol, m as isPath, mt as LruCache, n as normalizeAppOptions, nt as setResponseHeaderInline, o as buildRoutePathMatcher, ot as createEventStream, p as PluginErrorCode, pt as MethodName, q as getRequestHeader, r as SmartRouter, rt as setResponseContentTypeByFileName, s as isPlugin, st as serializeEventStreamMessage, t as App, tt as setResponseHeaderAttachment, u as PluginAlreadyInstalledError, ut as setResponseCacheHeaders, v as getRequestHostName, w as getRequestAcceptableCharset, x as getRequestAcceptableLanguages, y as matchRequestContentType, z as HandlerType } from "./src-BfsqxIfL.mjs";
|
|
2
2
|
import { serve as serve$1 } from "srvx/generic";
|
|
3
3
|
//#region src/_entries/generic.ts
|
|
4
4
|
function serve(app, options) {
|