elysia
Advanced tools
Comparing version 1.0.2 to 1.0.3
import 'bun'; | ||
import 'memoirist'; | ||
export { Static, TSchema } from '@sinclair/typebox'; | ||
export { A as AfterHandler, K as BodyHandler, a3 as Checksum, C as ComposedHandler, az as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, g as ElysiaConfig, W as ErrorHandler, u as HTTPMethod, H as Handler, I as InputSchema, Z as InternalRoute, s as LifeCycleEvent, L as LifeCycleStore, ac as LifeCycleType, _ as ListenCallback, Y as LocalHook, h as MaybePromise, v as MergeSchema, x as OptionalHandler, aA as PreContext, N as PreHandler, m as RouteBase, o as RouteSchema, S as SchemaValidator, k as SingletonBase, B as TraceEvent, T as TraceHandler, F as TraceProcess, a as TraceReporter, b as TraceStream, q as UnwrapRoute, U as UnwrapSchema, V as VoidHandler, E as default, al as getResponseSchemaValidator, ak as getSchemaValidator, aN as mapCompactResponse, aM as mapEarlyResponse, aL as mapResponse, aj as mergeHook, ag as mergeObjectArray, aB as t } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { A as AfterHandler, K as BodyHandler, a3 as Checksum, C as ComposedHandler, az as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, g as ElysiaConfig, W as ErrorHandler, u as HTTPMethod, H as Handler, I as InputSchema, Z as InternalRoute, s as LifeCycleEvent, L as LifeCycleStore, ac as LifeCycleType, _ as ListenCallback, Y as LocalHook, h as MaybePromise, v as MergeSchema, x as OptionalHandler, aA as PreContext, N as PreHandler, m as RouteBase, o as RouteSchema, S as SchemaValidator, k as SingletonBase, B as TraceEvent, T as TraceHandler, F as TraceProcess, a as TraceReporter, b as TraceStream, q as UnwrapRoute, U as UnwrapSchema, V as VoidHandler, E as default, al as getResponseSchemaValidator, ak as getSchemaValidator, aN as mapCompactResponse, aM as mapEarlyResponse, aL as mapResponse, aj as mergeHook, ag as mergeObjectArray, aB as t } from './dynamic-handle-C5x4edS-.js'; | ||
export { InternalServerError, InvalidCookieSignature, NotFoundError, ParseError, ValidationError, error } from './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/compiler'; | ||
@@ -11,1 +10,2 @@ import 'openapi-types'; | ||
import '@sinclair/typebox/system'; | ||
import 'undici-types'; |
@@ -1,5 +0,4 @@ | ||
import { E as Elysia, L as LifeCycleStore, S as SchemaValidator, H as Handler, C as ComposedHandler } from './dynamic-handle-DHdbPdQ3.js'; | ||
import { E as Elysia, L as LifeCycleStore, S as SchemaValidator, H as Handler, C as ComposedHandler } from './dynamic-handle-C5x4edS-.js'; | ||
import { TAnySchema } from '@sinclair/typebox'; | ||
import { Sucrose } from './sucrose.js'; | ||
import 'undici-types'; | ||
import 'bun'; | ||
@@ -11,2 +10,3 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; | ||
@@ -13,0 +13,0 @@ |
@@ -1,4 +0,3 @@ | ||
export { az as Context, aA as PreContext } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { az as Context, aA as PreContext } from './dynamic-handle-C5x4edS-.js'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import 'bun'; | ||
@@ -11,1 +10,2 @@ import 'memoirist'; | ||
import '@sinclair/typebox/system'; | ||
import 'undici-types'; |
@@ -1,3 +0,2 @@ | ||
export { e as Cookie, c as CookieOptions, d as ElysiaCookie, f as createCookieJar, p as parseCookie } from './dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
export { e as Cookie, c as CookieOptions, d as ElysiaCookie, f as createCookieJar, p as parseCookie } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -10,2 +9,3 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; |
@@ -1,3 +0,2 @@ | ||
import 'undici-types'; | ||
export { aP as DynamicHandler, aR as createDynamicErrorHandler, aQ as createDynamicHandler } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { aP as DynamicHandler, aR as createDynamicErrorHandler, aQ as createDynamicHandler } from './dynamic-handle-C5x4edS-.js'; | ||
import './error.js'; | ||
@@ -11,1 +10,2 @@ import 'bun'; | ||
import '@sinclair/typebox/system'; | ||
import 'undici-types'; |
@@ -71,3 +71,3 @@ import * as undici_types from 'undici-types'; | ||
readonly 511: "Network Authentication Required"; | ||
}[Code] : Code, const Status extends number = Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? { | ||
}[Code] : Code, const Status extends Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? { | ||
readonly Continue: 100; | ||
@@ -133,2 +133,63 @@ readonly 'Switching Protocols': 101; | ||
readonly 'Network Authentication Required': 511; | ||
}[Code] : Code = Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? { | ||
readonly Continue: 100; | ||
readonly 'Switching Protocols': 101; | ||
readonly Processing: 102; | ||
readonly 'Early Hints': 103; | ||
readonly OK: 200; | ||
readonly Created: 201; | ||
readonly Accepted: 202; | ||
readonly 'Non-Authoritative Information': 203; | ||
readonly 'No Content': 204; | ||
readonly 'Reset Content': 205; | ||
readonly 'Partial Content': 206; | ||
readonly 'Multi-Status': 207; | ||
readonly 'Already Reported': 208; | ||
readonly 'Multiple Choices': 300; | ||
readonly 'Moved Permanently': 301; | ||
readonly Found: 302; | ||
readonly 'See Other': 303; | ||
readonly 'Not Modified': 304; | ||
readonly 'Temporary Redirect': 307; | ||
readonly 'Permanent Redirect': 308; | ||
readonly 'Bad Request': 400; | ||
readonly Unauthorized: 401; | ||
readonly 'Payment Required': 402; | ||
readonly Forbidden: 403; | ||
readonly 'Not Found': 404; | ||
readonly 'Method Not Allowed': 405; | ||
readonly 'Not Acceptable': 406; | ||
readonly 'Proxy Authentication Required': 407; | ||
readonly 'Request Timeout': 408; | ||
readonly Conflict: 409; | ||
readonly Gone: 410; | ||
readonly 'Length Required': 411; | ||
readonly 'Precondition Failed': 412; | ||
readonly 'Payload Too Large': 413; | ||
readonly 'URI Too Long': 414; | ||
readonly 'Unsupported Media Type': 415; | ||
readonly 'Range Not Satisfiable': 416; | ||
readonly 'Expectation Failed': 417; | ||
readonly "I'm a teapot": 418; | ||
readonly 'Misdirected Request': 421; | ||
readonly 'Unprocessable Content': 422; | ||
readonly Locked: 423; | ||
readonly 'Failed Dependency': 424; | ||
readonly 'Too Early': 425; | ||
readonly 'Upgrade Required': 426; | ||
readonly 'Precondition Required': 428; | ||
readonly 'Too Many Requests': 429; | ||
readonly 'Request Header Fields Too Large': 431; | ||
readonly 'Unavailable For Legal Reasons': 451; | ||
readonly 'Internal Server Error': 500; | ||
readonly 'Not Implemented': 501; | ||
readonly 'Bad Gateway': 502; | ||
readonly 'Service Unavailable': 503; | ||
readonly 'Gateway Timeout': 504; | ||
readonly 'HTTP Version Not Supported': 505; | ||
readonly 'Variant Also Negotiates': 506; | ||
readonly 'Insufficient Storage': 507; | ||
readonly 'Loop Detected': 508; | ||
readonly 'Not Extended': 510; | ||
readonly 'Network Authentication Required': 511; | ||
}[Code] : Code>(code: Code, response?: T) => { | ||
@@ -135,0 +196,0 @@ response: T; |
import 'undici-types'; | ||
export { aO as errorToResponse, aI as isNotEmpty, aN as mapCompactResponse, aM as mapEarlyResponse, aL as mapResponse, aJ as parseSetCookies, aK as serializeCookie } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { aO as errorToResponse, aI as isNotEmpty, aN as mapCompactResponse, aM as mapEarlyResponse, aL as mapResponse, aJ as parseSetCookies, aK as serializeCookie } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -4,0 +4,0 @@ import 'memoirist'; |
import 'bun'; | ||
import 'memoirist'; | ||
export { Static, TSchema } from '@sinclair/typebox'; | ||
export { A as AfterHandler, K as BodyHandler, a3 as Checksum, C as ComposedHandler, az as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, g as ElysiaConfig, W as ErrorHandler, u as HTTPMethod, H as Handler, I as InputSchema, Z as InternalRoute, s as LifeCycleEvent, L as LifeCycleStore, ac as LifeCycleType, _ as ListenCallback, Y as LocalHook, h as MaybePromise, v as MergeSchema, x as OptionalHandler, aA as PreContext, N as PreHandler, m as RouteBase, o as RouteSchema, S as SchemaValidator, k as SingletonBase, B as TraceEvent, T as TraceHandler, F as TraceProcess, a as TraceReporter, b as TraceStream, q as UnwrapRoute, U as UnwrapSchema, V as VoidHandler, E as default, al as getResponseSchemaValidator, ak as getSchemaValidator, aN as mapCompactResponse, aM as mapEarlyResponse, aL as mapResponse, aj as mergeHook, ag as mergeObjectArray, aB as t } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { A as AfterHandler, K as BodyHandler, a3 as Checksum, C as ComposedHandler, az as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, g as ElysiaConfig, W as ErrorHandler, u as HTTPMethod, H as Handler, I as InputSchema, Z as InternalRoute, s as LifeCycleEvent, L as LifeCycleStore, ac as LifeCycleType, _ as ListenCallback, Y as LocalHook, h as MaybePromise, v as MergeSchema, x as OptionalHandler, aA as PreContext, N as PreHandler, m as RouteBase, o as RouteSchema, S as SchemaValidator, k as SingletonBase, B as TraceEvent, T as TraceHandler, F as TraceProcess, a as TraceReporter, b as TraceStream, q as UnwrapRoute, U as UnwrapSchema, V as VoidHandler, E as default, al as getResponseSchemaValidator, ak as getSchemaValidator, aN as mapCompactResponse, aM as mapEarlyResponse, aL as mapResponse, aj as mergeHook, ag as mergeObjectArray, aB as t } from './dynamic-handle-C5x4edS-.js'; | ||
export { InternalServerError, InvalidCookieSignature, NotFoundError, ParseError, ValidationError, error } from './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/compiler'; | ||
@@ -11,1 +10,2 @@ import 'openapi-types'; | ||
import '@sinclair/typebox/system'; | ||
import 'undici-types'; |
@@ -1,3 +0,2 @@ | ||
import { L as LifeCycleStore, H as Handler, T as TraceHandler } from './dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
import { L as LifeCycleStore, H as Handler, T as TraceHandler } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -10,2 +9,3 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; | ||
@@ -12,0 +12,0 @@ |
@@ -1,3 +0,2 @@ | ||
import { a as TraceReporter, T as TraceHandler, b as TraceStream } from './dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
import { a as TraceReporter, T as TraceHandler, b as TraceStream } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -10,2 +9,3 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; | ||
@@ -12,0 +12,0 @@ |
import '@sinclair/typebox'; | ||
export { TypeCheck, TypeCompiler } from '@sinclair/typebox/compiler'; | ||
export { aD as ElysiaType, aC as ElysiaTypeOptions, aE as TCookie, aB as t } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { aD as ElysiaType, aC as ElysiaTypeOptions, aE as TCookie, aB as t } from './dynamic-handle-C5x4edS-.js'; | ||
export { TypeSystem, TypeSystemDuplicateFormat, TypeSystemDuplicateTypeKind, TypeSystemPolicy } from '@sinclair/typebox/system'; | ||
import 'undici-types'; | ||
import 'bun'; | ||
@@ -11,1 +10,2 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; |
@@ -1,2 +0,2 @@ | ||
export { $ as AddPrefix, a0 as AddPrefixCapitalize, a1 as AddSuffix, a2 as AddSuffixCapitalize, A as AfterHandler, a4 as BaseMacro, K as BodyHandler, a3 as Checksum, aa as ComposeElysiaResponse, C as ComposedHandler, t as ContentType, a9 as CreateEden, D as DefinitionBase, g as ElysiaConfig, a6 as ElysiaFn, l as EphemeralType, W as ErrorHandler, G as GetPathParameter, Q as GracefulHandler, u as HTTPMethod, H as Handler, w as InlineHandler, I as InputSchema, Z as InternalRoute, X as Isolate, s as LifeCycleEvent, L as LifeCycleStore, ac as LifeCycleType, _ as ListenCallback, Y as LocalHook, a7 as MacroManager, a8 as MacroQueue, a5 as MacroToProperty, y as MapResponse, M as MaybeArray, h as MaybePromise, ab as MergeElysiaInstances, v as MergeSchema, n as MetadataBase, O as ObjectValues, x as OptionalHandler, j as Partial2, N as PreHandler, P as Prettify, i as Prettify2, R as Reconcile, m as RouteBase, o as RouteSchema, S as SchemaValidator, k as SingletonBase, B as TraceEvent, T as TraceHandler, J as TraceListener, F as TraceProcess, a as TraceReporter, b as TraceStream, z as TransformHandler, r as UnwrapGroupGuardRoute, q as UnwrapRoute, U as UnwrapSchema, V as VoidHandler } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { $ as AddPrefix, a0 as AddPrefixCapitalize, a1 as AddSuffix, a2 as AddSuffixCapitalize, A as AfterHandler, a4 as BaseMacro, K as BodyHandler, a3 as Checksum, aa as ComposeElysiaResponse, C as ComposedHandler, t as ContentType, a9 as CreateEden, D as DefinitionBase, g as ElysiaConfig, a6 as ElysiaFn, l as EphemeralType, W as ErrorHandler, G as GetPathParameter, Q as GracefulHandler, u as HTTPMethod, H as Handler, w as InlineHandler, I as InputSchema, Z as InternalRoute, X as Isolate, s as LifeCycleEvent, L as LifeCycleStore, ac as LifeCycleType, _ as ListenCallback, Y as LocalHook, a7 as MacroManager, a8 as MacroQueue, a5 as MacroToProperty, y as MapResponse, M as MaybeArray, h as MaybePromise, ab as MergeElysiaInstances, v as MergeSchema, n as MetadataBase, O as ObjectValues, x as OptionalHandler, j as Partial2, N as PreHandler, P as Prettify, i as Prettify2, R as Reconcile, m as RouteBase, o as RouteSchema, S as SchemaValidator, k as SingletonBase, B as TraceEvent, T as TraceHandler, J as TraceListener, F as TraceProcess, a as TraceReporter, b as TraceStream, z as TransformHandler, r as UnwrapGroupGuardRoute, q as UnwrapRoute, U as UnwrapSchema, V as VoidHandler } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -8,4 +8,4 @@ import '@sinclair/typebox'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import 'memoirist'; | ||
import '@sinclair/typebox/system'; | ||
import 'undici-types'; |
import '@sinclair/typebox'; | ||
import '@sinclair/typebox/compiler'; | ||
export { as as InvertedStatusMap, ay as PromiseGroup, ar as StatusMap, ap as asHookType, am as checksum, aw as createMacroManager, aq as filterGlobalHook, an as getCookieValidator, al as getResponseSchemaValidator, ak as getSchemaValidator, ax as isNumericString, af as mergeCookie, ae as mergeDeep, aj as mergeHook, ao as mergeLifeCycle, ag as mergeObjectArray, ai as mergeResponse, ah as primitiveHooks, ad as replaceUrlPath, at as signCookie, av as traceBackMacro, au as unsignCookie } from './dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
export { as as InvertedStatusMap, ay as PromiseGroup, ar as StatusMap, ap as asHookType, am as checksum, aw as createMacroManager, aq as filterGlobalHook, an as getCookieValidator, al as getResponseSchemaValidator, ak as getSchemaValidator, ax as isNumericString, af as mergeCookie, ae as mergeDeep, aj as mergeHook, ao as mergeLifeCycle, ag as mergeObjectArray, ai as mergeResponse, ah as primitiveHooks, ad as replaceUrlPath, at as signCookie, av as traceBackMacro, au as unsignCookie } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -10,2 +9,3 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; |
import 'bun'; | ||
import '@sinclair/typebox'; | ||
import '@sinclair/typebox/compiler'; | ||
export { aG as ElysiaWS, aF as websocket } from '../dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
export { aG as ElysiaWS, aF as websocket } from '../dynamic-handle-C5x4edS-.js'; | ||
import 'memoirist'; | ||
@@ -10,2 +9,3 @@ import 'openapi-types'; | ||
import '../error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; |
import 'bun'; | ||
import '@sinclair/typebox'; | ||
import '@sinclair/typebox/compiler'; | ||
export { aH as WS } from '../dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
export { aH as WS } from '../dynamic-handle-C5x4edS-.js'; | ||
import 'memoirist'; | ||
@@ -10,2 +9,3 @@ import 'openapi-types'; | ||
import '../error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; |
@@ -1,5 +0,4 @@ | ||
import { E as Elysia, L as LifeCycleStore, S as SchemaValidator, H as Handler, C as ComposedHandler } from './dynamic-handle-DHdbPdQ3.js'; | ||
import { E as Elysia, L as LifeCycleStore, S as SchemaValidator, H as Handler, C as ComposedHandler } from './dynamic-handle-C5x4edS-.js'; | ||
import { TAnySchema } from '@sinclair/typebox'; | ||
import { Sucrose } from './sucrose.js'; | ||
import 'undici-types'; | ||
import 'bun'; | ||
@@ -11,2 +10,3 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; | ||
@@ -13,0 +13,0 @@ |
@@ -1,4 +0,3 @@ | ||
export { az as Context, aA as PreContext } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { az as Context, aA as PreContext } from './dynamic-handle-C5x4edS-.js'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import 'bun'; | ||
@@ -11,1 +10,2 @@ import 'memoirist'; | ||
import '@sinclair/typebox/system'; | ||
import 'undici-types'; |
@@ -1,3 +0,2 @@ | ||
export { e as Cookie, c as CookieOptions, d as ElysiaCookie, f as createCookieJar, p as parseCookie } from './dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
export { e as Cookie, c as CookieOptions, d as ElysiaCookie, f as createCookieJar, p as parseCookie } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -10,2 +9,3 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; |
@@ -1,3 +0,2 @@ | ||
import 'undici-types'; | ||
export { aP as DynamicHandler, aR as createDynamicErrorHandler, aQ as createDynamicHandler } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { aP as DynamicHandler, aR as createDynamicErrorHandler, aQ as createDynamicHandler } from './dynamic-handle-C5x4edS-.js'; | ||
import './error.js'; | ||
@@ -11,1 +10,2 @@ import 'bun'; | ||
import '@sinclair/typebox/system'; | ||
import 'undici-types'; |
@@ -71,3 +71,3 @@ import * as undici_types from 'undici-types'; | ||
readonly 511: "Network Authentication Required"; | ||
}[Code] : Code, const Status extends number = Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? { | ||
}[Code] : Code, const Status extends Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? { | ||
readonly Continue: 100; | ||
@@ -133,2 +133,63 @@ readonly 'Switching Protocols': 101; | ||
readonly 'Network Authentication Required': 511; | ||
}[Code] : Code = Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? { | ||
readonly Continue: 100; | ||
readonly 'Switching Protocols': 101; | ||
readonly Processing: 102; | ||
readonly 'Early Hints': 103; | ||
readonly OK: 200; | ||
readonly Created: 201; | ||
readonly Accepted: 202; | ||
readonly 'Non-Authoritative Information': 203; | ||
readonly 'No Content': 204; | ||
readonly 'Reset Content': 205; | ||
readonly 'Partial Content': 206; | ||
readonly 'Multi-Status': 207; | ||
readonly 'Already Reported': 208; | ||
readonly 'Multiple Choices': 300; | ||
readonly 'Moved Permanently': 301; | ||
readonly Found: 302; | ||
readonly 'See Other': 303; | ||
readonly 'Not Modified': 304; | ||
readonly 'Temporary Redirect': 307; | ||
readonly 'Permanent Redirect': 308; | ||
readonly 'Bad Request': 400; | ||
readonly Unauthorized: 401; | ||
readonly 'Payment Required': 402; | ||
readonly Forbidden: 403; | ||
readonly 'Not Found': 404; | ||
readonly 'Method Not Allowed': 405; | ||
readonly 'Not Acceptable': 406; | ||
readonly 'Proxy Authentication Required': 407; | ||
readonly 'Request Timeout': 408; | ||
readonly Conflict: 409; | ||
readonly Gone: 410; | ||
readonly 'Length Required': 411; | ||
readonly 'Precondition Failed': 412; | ||
readonly 'Payload Too Large': 413; | ||
readonly 'URI Too Long': 414; | ||
readonly 'Unsupported Media Type': 415; | ||
readonly 'Range Not Satisfiable': 416; | ||
readonly 'Expectation Failed': 417; | ||
readonly "I'm a teapot": 418; | ||
readonly 'Misdirected Request': 421; | ||
readonly 'Unprocessable Content': 422; | ||
readonly Locked: 423; | ||
readonly 'Failed Dependency': 424; | ||
readonly 'Too Early': 425; | ||
readonly 'Upgrade Required': 426; | ||
readonly 'Precondition Required': 428; | ||
readonly 'Too Many Requests': 429; | ||
readonly 'Request Header Fields Too Large': 431; | ||
readonly 'Unavailable For Legal Reasons': 451; | ||
readonly 'Internal Server Error': 500; | ||
readonly 'Not Implemented': 501; | ||
readonly 'Bad Gateway': 502; | ||
readonly 'Service Unavailable': 503; | ||
readonly 'Gateway Timeout': 504; | ||
readonly 'HTTP Version Not Supported': 505; | ||
readonly 'Variant Also Negotiates': 506; | ||
readonly 'Insufficient Storage': 507; | ||
readonly 'Loop Detected': 508; | ||
readonly 'Not Extended': 510; | ||
readonly 'Network Authentication Required': 511; | ||
}[Code] : Code>(code: Code, response?: T) => { | ||
@@ -135,0 +196,0 @@ response: T; |
import 'undici-types'; | ||
export { aO as errorToResponse, aI as isNotEmpty, aN as mapCompactResponse, aM as mapEarlyResponse, aL as mapResponse, aJ as parseSetCookies, aK as serializeCookie } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { aO as errorToResponse, aI as isNotEmpty, aN as mapCompactResponse, aM as mapEarlyResponse, aL as mapResponse, aJ as parseSetCookies, aK as serializeCookie } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -4,0 +4,0 @@ import 'memoirist'; |
import 'bun'; | ||
import 'memoirist'; | ||
export { Static, TSchema } from '@sinclair/typebox'; | ||
export { A as AfterHandler, K as BodyHandler, a3 as Checksum, C as ComposedHandler, az as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, g as ElysiaConfig, W as ErrorHandler, u as HTTPMethod, H as Handler, I as InputSchema, Z as InternalRoute, s as LifeCycleEvent, L as LifeCycleStore, ac as LifeCycleType, _ as ListenCallback, Y as LocalHook, h as MaybePromise, v as MergeSchema, x as OptionalHandler, aA as PreContext, N as PreHandler, m as RouteBase, o as RouteSchema, S as SchemaValidator, k as SingletonBase, B as TraceEvent, T as TraceHandler, F as TraceProcess, a as TraceReporter, b as TraceStream, q as UnwrapRoute, U as UnwrapSchema, V as VoidHandler, E as default, al as getResponseSchemaValidator, ak as getSchemaValidator, aN as mapCompactResponse, aM as mapEarlyResponse, aL as mapResponse, aj as mergeHook, ag as mergeObjectArray, aB as t } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { A as AfterHandler, K as BodyHandler, a3 as Checksum, C as ComposedHandler, az as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, g as ElysiaConfig, W as ErrorHandler, u as HTTPMethod, H as Handler, I as InputSchema, Z as InternalRoute, s as LifeCycleEvent, L as LifeCycleStore, ac as LifeCycleType, _ as ListenCallback, Y as LocalHook, h as MaybePromise, v as MergeSchema, x as OptionalHandler, aA as PreContext, N as PreHandler, m as RouteBase, o as RouteSchema, S as SchemaValidator, k as SingletonBase, B as TraceEvent, T as TraceHandler, F as TraceProcess, a as TraceReporter, b as TraceStream, q as UnwrapRoute, U as UnwrapSchema, V as VoidHandler, E as default, al as getResponseSchemaValidator, ak as getSchemaValidator, aN as mapCompactResponse, aM as mapEarlyResponse, aL as mapResponse, aj as mergeHook, ag as mergeObjectArray, aB as t } from './dynamic-handle-C5x4edS-.js'; | ||
export { InternalServerError, InvalidCookieSignature, NotFoundError, ParseError, ValidationError, error } from './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/compiler'; | ||
@@ -11,1 +10,2 @@ import 'openapi-types'; | ||
import '@sinclair/typebox/system'; | ||
import 'undici-types'; |
@@ -1,3 +0,2 @@ | ||
import { L as LifeCycleStore, H as Handler, T as TraceHandler } from './dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
import { L as LifeCycleStore, H as Handler, T as TraceHandler } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -10,2 +9,3 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; | ||
@@ -12,0 +12,0 @@ |
@@ -1,3 +0,2 @@ | ||
import { a as TraceReporter, T as TraceHandler, b as TraceStream } from './dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
import { a as TraceReporter, T as TraceHandler, b as TraceStream } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -10,2 +9,3 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; | ||
@@ -12,0 +12,0 @@ |
import '@sinclair/typebox'; | ||
export { TypeCheck, TypeCompiler } from '@sinclair/typebox/compiler'; | ||
export { aD as ElysiaType, aC as ElysiaTypeOptions, aE as TCookie, aB as t } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { aD as ElysiaType, aC as ElysiaTypeOptions, aE as TCookie, aB as t } from './dynamic-handle-C5x4edS-.js'; | ||
export { TypeSystem, TypeSystemDuplicateFormat, TypeSystemDuplicateTypeKind, TypeSystemPolicy } from '@sinclair/typebox/system'; | ||
import 'undici-types'; | ||
import 'bun'; | ||
@@ -11,1 +10,2 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; |
@@ -1,2 +0,2 @@ | ||
export { $ as AddPrefix, a0 as AddPrefixCapitalize, a1 as AddSuffix, a2 as AddSuffixCapitalize, A as AfterHandler, a4 as BaseMacro, K as BodyHandler, a3 as Checksum, aa as ComposeElysiaResponse, C as ComposedHandler, t as ContentType, a9 as CreateEden, D as DefinitionBase, g as ElysiaConfig, a6 as ElysiaFn, l as EphemeralType, W as ErrorHandler, G as GetPathParameter, Q as GracefulHandler, u as HTTPMethod, H as Handler, w as InlineHandler, I as InputSchema, Z as InternalRoute, X as Isolate, s as LifeCycleEvent, L as LifeCycleStore, ac as LifeCycleType, _ as ListenCallback, Y as LocalHook, a7 as MacroManager, a8 as MacroQueue, a5 as MacroToProperty, y as MapResponse, M as MaybeArray, h as MaybePromise, ab as MergeElysiaInstances, v as MergeSchema, n as MetadataBase, O as ObjectValues, x as OptionalHandler, j as Partial2, N as PreHandler, P as Prettify, i as Prettify2, R as Reconcile, m as RouteBase, o as RouteSchema, S as SchemaValidator, k as SingletonBase, B as TraceEvent, T as TraceHandler, J as TraceListener, F as TraceProcess, a as TraceReporter, b as TraceStream, z as TransformHandler, r as UnwrapGroupGuardRoute, q as UnwrapRoute, U as UnwrapSchema, V as VoidHandler } from './dynamic-handle-DHdbPdQ3.js'; | ||
export { $ as AddPrefix, a0 as AddPrefixCapitalize, a1 as AddSuffix, a2 as AddSuffixCapitalize, A as AfterHandler, a4 as BaseMacro, K as BodyHandler, a3 as Checksum, aa as ComposeElysiaResponse, C as ComposedHandler, t as ContentType, a9 as CreateEden, D as DefinitionBase, g as ElysiaConfig, a6 as ElysiaFn, l as EphemeralType, W as ErrorHandler, G as GetPathParameter, Q as GracefulHandler, u as HTTPMethod, H as Handler, w as InlineHandler, I as InputSchema, Z as InternalRoute, X as Isolate, s as LifeCycleEvent, L as LifeCycleStore, ac as LifeCycleType, _ as ListenCallback, Y as LocalHook, a7 as MacroManager, a8 as MacroQueue, a5 as MacroToProperty, y as MapResponse, M as MaybeArray, h as MaybePromise, ab as MergeElysiaInstances, v as MergeSchema, n as MetadataBase, O as ObjectValues, x as OptionalHandler, j as Partial2, N as PreHandler, P as Prettify, i as Prettify2, R as Reconcile, m as RouteBase, o as RouteSchema, S as SchemaValidator, k as SingletonBase, B as TraceEvent, T as TraceHandler, J as TraceListener, F as TraceProcess, a as TraceReporter, b as TraceStream, z as TransformHandler, r as UnwrapGroupGuardRoute, q as UnwrapRoute, U as UnwrapSchema, V as VoidHandler } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -8,4 +8,4 @@ import '@sinclair/typebox'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import 'memoirist'; | ||
import '@sinclair/typebox/system'; | ||
import 'undici-types'; |
import '@sinclair/typebox'; | ||
import '@sinclair/typebox/compiler'; | ||
export { as as InvertedStatusMap, ay as PromiseGroup, ar as StatusMap, ap as asHookType, am as checksum, aw as createMacroManager, aq as filterGlobalHook, an as getCookieValidator, al as getResponseSchemaValidator, ak as getSchemaValidator, ax as isNumericString, af as mergeCookie, ae as mergeDeep, aj as mergeHook, ao as mergeLifeCycle, ag as mergeObjectArray, ai as mergeResponse, ah as primitiveHooks, ad as replaceUrlPath, at as signCookie, av as traceBackMacro, au as unsignCookie } from './dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
export { as as InvertedStatusMap, ay as PromiseGroup, ar as StatusMap, ap as asHookType, am as checksum, aw as createMacroManager, aq as filterGlobalHook, an as getCookieValidator, al as getResponseSchemaValidator, ak as getSchemaValidator, ax as isNumericString, af as mergeCookie, ae as mergeDeep, aj as mergeHook, ao as mergeLifeCycle, ag as mergeObjectArray, ai as mergeResponse, ah as primitiveHooks, ad as replaceUrlPath, at as signCookie, av as traceBackMacro, au as unsignCookie } from './dynamic-handle-C5x4edS-.js'; | ||
import 'bun'; | ||
@@ -10,2 +9,3 @@ import 'memoirist'; | ||
import './error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; |
import 'bun'; | ||
import '@sinclair/typebox'; | ||
import '@sinclair/typebox/compiler'; | ||
export { aG as ElysiaWS, aF as websocket } from '../dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
export { aG as ElysiaWS, aF as websocket } from '../dynamic-handle-C5x4edS-.js'; | ||
import 'memoirist'; | ||
@@ -10,2 +9,3 @@ import 'openapi-types'; | ||
import '../error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; |
import 'bun'; | ||
import '@sinclair/typebox'; | ||
import '@sinclair/typebox/compiler'; | ||
export { aH as WS } from '../dynamic-handle-DHdbPdQ3.js'; | ||
import 'undici-types'; | ||
export { aH as WS } from '../dynamic-handle-C5x4edS-.js'; | ||
import 'memoirist'; | ||
@@ -10,2 +9,3 @@ import 'openapi-types'; | ||
import '../error.js'; | ||
import 'undici-types'; | ||
import '@sinclair/typebox/system'; |
{ | ||
"name": "elysia", | ||
"description": "Ergonomic Framework for Human", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "saltyAom", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
1838483
38526