Socket
Socket
Sign inDemoInstall

elysia

Package Overview
Dependencies
7
Maintainers
1
Versions
334
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-beta.6 to 1.0.0-beta.7

dist/cjs/dynamic-handle-vbef6G-Q.d.ts

2

dist/bun/index.d.ts
import 'bun';
import 'memoirist';
export { Static, TSchema } from '@sinclair/typebox';
export { K as AfterHandler, $ as BodyHandler, ac as Checksum, C as ComposedHandler, aD as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, m as ElysiaConfig, a2 as ErrorHandler, z as HTTPMethod, H as Handler, A as InputSchema, a6 as InternalRoute, I as InternalServerError, l as InvalidCookieSignature, x as LifeCycleEvent, L as LifeCycleStore, a7 as ListenCallback, a5 as LocalHook, n as MaybePromise, B as MergeSchema, N as NotFoundError, J as OptionalHandler, P as ParseError, aE as PreContext, a0 as PreHandler, s as RouteBase, u as RouteSchema, S as SchemaValidator, r as SingletonBase, Y as TraceEvent, a as TraceHandler, Z as TraceProcess, T as TraceReporter, b as TraceStream, v as UnwrapRoute, U as UnwrapSchema, V as ValidationError, W as VoidHandler, E as default, k as error, aq as getResponseSchemaValidator, ap as getSchemaValidator, b3 as mapCompactResponse, b2 as mapEarlyResponse, b1 as mapResponse, ak as mergeDeep, ao as mergeHook, am as mergeObjectArray, aF as t } from './dynamic-handle-xw-d-sPE.js';
export { K as AfterHandler, $ as BodyHandler, ac as Checksum, C as ComposedHandler, aD as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, m as ElysiaConfig, a2 as ErrorHandler, z as HTTPMethod, H as Handler, A as InputSchema, a6 as InternalRoute, I as InternalServerError, l as InvalidCookieSignature, x as LifeCycleEvent, L as LifeCycleStore, a7 as ListenCallback, a5 as LocalHook, n as MaybePromise, B as MergeSchema, N as NotFoundError, J as OptionalHandler, P as ParseError, aE as PreContext, a0 as PreHandler, s as RouteBase, u as RouteSchema, S as SchemaValidator, r as SingletonBase, Y as TraceEvent, a as TraceHandler, Z as TraceProcess, T as TraceReporter, b as TraceStream, v as UnwrapRoute, U as UnwrapSchema, V as ValidationError, W as VoidHandler, E as default, k as error, aq as getResponseSchemaValidator, ap as getSchemaValidator, b4 as mapCompactResponse, b3 as mapEarlyResponse, b2 as mapResponse, ak as mergeDeep, ao as mergeHook, am as mergeObjectArray, aF as t } from './dynamic-handle-vbef6G-Q.js';
import '@sinclair/typebox/compiler';

@@ -6,0 +6,0 @@ import 'openapi-types';

@@ -1,2 +0,2 @@

import { E as Elysia, L as LifeCycleStore, S as SchemaValidator, H as Handler, C as ComposedHandler } from './dynamic-handle-xw-d-sPE.js';
import { E as Elysia, L as LifeCycleStore, S as SchemaValidator, H as Handler, C as ComposedHandler } from './dynamic-handle-vbef6G-Q.js';
import { TAnySchema } from '@sinclair/typebox';

@@ -3,0 +3,0 @@ import 'bun';

@@ -1,2 +0,2 @@

export { aD as Context, aE as PreContext } from './dynamic-handle-xw-d-sPE.js';
export { aD as Context, aE as PreContext } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

@@ -1,2 +0,2 @@

export { e as Cookie, c as CookieOptions, d as ElysiaCookie, f as createCookieJar, p as parseCookie } from './dynamic-handle-xw-d-sPE.js';
export { e as Cookie, c as CookieOptions, d as ElysiaCookie, f as createCookieJar, p as parseCookie } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

@@ -1,2 +0,2 @@

export { b5 as DynamicHandler, b7 as createDynamicErrorHandler, b6 as createDynamicHandler } from './dynamic-handle-xw-d-sPE.js';
export { b6 as DynamicHandler, b8 as createDynamicErrorHandler, b7 as createDynamicHandler } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

import '@sinclair/typebox/compiler';
import '@sinclair/typebox';
export { h as ELYSIA_RESPONSE, g as ERROR_CODE, j as ElysiaErrors, I as InternalServerError, l as InvalidCookieSignature, N as NotFoundError, P as ParseError, V as ValidationError, k as error, i as isProduction } from './dynamic-handle-xw-d-sPE.js';
export { h as ELYSIA_RESPONSE, g as ERROR_CODE, j as ElysiaErrors, I as InternalServerError, l as InvalidCookieSignature, N as NotFoundError, P as ParseError, V as ValidationError, k as error, i as isProduction } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -5,0 +5,0 @@ import 'memoirist';

@@ -1,2 +0,2 @@

export { b4 as errorToResponse, a_ as isNotEmpty, b3 as mapCompactResponse, b2 as mapEarlyResponse, b1 as mapResponse, a$ as parseSetCookies, b0 as serializeCookie } from './dynamic-handle-xw-d-sPE.js';
export { b5 as errorToResponse, a$ as isNotEmpty, b4 as mapCompactResponse, b3 as mapEarlyResponse, b2 as mapResponse, b0 as parseSetCookies, b1 as serializeCookie } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

import 'bun';
import 'memoirist';
export { Static, TSchema } from '@sinclair/typebox';
export { K as AfterHandler, $ as BodyHandler, ac as Checksum, C as ComposedHandler, aD as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, m as ElysiaConfig, a2 as ErrorHandler, z as HTTPMethod, H as Handler, A as InputSchema, a6 as InternalRoute, I as InternalServerError, l as InvalidCookieSignature, x as LifeCycleEvent, L as LifeCycleStore, a7 as ListenCallback, a5 as LocalHook, n as MaybePromise, B as MergeSchema, N as NotFoundError, J as OptionalHandler, P as ParseError, aE as PreContext, a0 as PreHandler, s as RouteBase, u as RouteSchema, S as SchemaValidator, r as SingletonBase, Y as TraceEvent, a as TraceHandler, Z as TraceProcess, T as TraceReporter, b as TraceStream, v as UnwrapRoute, U as UnwrapSchema, V as ValidationError, W as VoidHandler, E as default, k as error, aq as getResponseSchemaValidator, ap as getSchemaValidator, b3 as mapCompactResponse, b2 as mapEarlyResponse, b1 as mapResponse, ak as mergeDeep, ao as mergeHook, am as mergeObjectArray, aF as t } from './dynamic-handle-xw-d-sPE.js';
export { K as AfterHandler, $ as BodyHandler, ac as Checksum, C as ComposedHandler, aD as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, m as ElysiaConfig, a2 as ErrorHandler, z as HTTPMethod, H as Handler, A as InputSchema, a6 as InternalRoute, I as InternalServerError, l as InvalidCookieSignature, x as LifeCycleEvent, L as LifeCycleStore, a7 as ListenCallback, a5 as LocalHook, n as MaybePromise, B as MergeSchema, N as NotFoundError, J as OptionalHandler, P as ParseError, aE as PreContext, a0 as PreHandler, s as RouteBase, u as RouteSchema, S as SchemaValidator, r as SingletonBase, Y as TraceEvent, a as TraceHandler, Z as TraceProcess, T as TraceReporter, b as TraceStream, v as UnwrapRoute, U as UnwrapSchema, V as ValidationError, W as VoidHandler, E as default, k as error, aq as getResponseSchemaValidator, ap as getSchemaValidator, b4 as mapCompactResponse, b3 as mapEarlyResponse, b2 as mapResponse, ak as mergeDeep, ao as mergeHook, am as mergeObjectArray, aF as t } from './dynamic-handle-vbef6G-Q.js';
import '@sinclair/typebox/compiler';

@@ -6,0 +6,0 @@ import 'openapi-types';

@@ -1,2 +0,2 @@

export { aJ as Sucrose, aL as bracketPairRange, aM as bracketPairRangeReverse, aR as extractMainParameter, aQ as findAlias, aO as findParameterReference, aP as findTraceParameterReference, aS as inferBodyReference, aU as inferTraceBodyReference, aT as removeDefaultParameter, aN as retrieveRootParamters, aK as separateFunction, aV as sucrose, aW as sucroseTrace } from './dynamic-handle-xw-d-sPE.js';
export { aJ as Sucrose, aL as bracketPairRange, aM as bracketPairRangeReverse, aR as extractMainParameter, aQ as findAlias, aO as findParameterReference, aP as findTraceParameterReference, aS as inferBodyReference, aV as inferTraceBodyReference, aT as removeDefaultParameter, aN as retrieveRootParamters, aK as separateFunction, aW as sucrose, aX as sucroseTrace, aU as validateInferencedQueries } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

@@ -35,3 +35,4 @@ "use strict";

sucrose: () => sucrose,
sucroseTrace: () => sucroseTrace
sucroseTrace: () => sucroseTrace,
validateInferencedQueries: () => validateInferencedQueries
});

@@ -153,2 +154,16 @@ module.exports = __toCommonJS(sucrose_exports);

};
var findEndIndex = (type, content, index) => {
const newLineIndex = content.indexOf(type + "\n", index);
const newTabIndex = content.indexOf(type + " ", index);
const commaIndex = content.indexOf(type + ",", index);
const semicolonIndex = content.indexOf(type + ";", index);
const emptyIndex = content.indexOf(type + " ", index);
return [newLineIndex, newTabIndex, commaIndex, semicolonIndex, emptyIndex].filter((i) => i > 0).sort((a, b) => a - b)[0] || -1;
};
var findEndQueryBracketIndex = (type, content, index) => {
const bracketEndIndex = content.indexOf(type + "]", index);
const singleQuoteIndex = content.indexOf(type + "'", index);
const doubleQuoteIndex = content.indexOf(type + '"', index);
return [bracketEndIndex, singleQuoteIndex, doubleQuoteIndex].filter((i) => i > 0).sort((a, b) => a - b)[0] || -1;
};
var findAlias = (type, body, depth = 0) => {

@@ -160,7 +175,3 @@ if (depth > 5)

while (true) {
const newLineIndex = content.indexOf(" = " + type + "\n");
const commaIndex = content.indexOf(" = " + type + ",");
const semicolonIndex = content.indexOf(" = " + type + ";");
const emptyIndex = content.indexOf(" = " + type + " ");
let index = [newLineIndex, commaIndex, semicolonIndex, emptyIndex].filter((i) => i > 0).sort((a, b) => a - b)[0] || -1;
let index = findEndIndex(" = " + type, content);
if (index === -1) {

@@ -242,7 +253,22 @@ const lastIndex = content.indexOf(" = " + type);

keyword = alias + ".query";
let isBracket = false;
let start = code.indexOf(keyword);
if (start === -1)
start = code.indexOf(alias + "[");
if (start === -1) {
isBracket = true;
start = code.indexOf(alias + '["');
}
if (start === -1) {
isBracket = true;
start = code.indexOf(alias + "['");
}
if (start === -1 && code.indexOf(alias + "[") !== -1) {
inference.queries = [];
break;
}
if (start !== -1) {
let end = code.indexOf(" ", start);
let end = isBracket ? findEndQueryBracketIndex(
"",
code,
start + keyword.length + 1
) : findEndIndex("", code, start + keyword.length + 1);
if (end === -1)

@@ -266,2 +292,4 @@ end = void 0;

query = query.slice(0, -1);
if (isBracket)
query = query.replaceAll(/("|')/g, "");
if (query && !inference.queries.includes(query)) {

@@ -303,2 +331,17 @@ inference.queries.push(query);

};
var validateInferencedQueries = (queries) => {
for (const query of queries) {
if (query.charCodeAt(0) === 123)
return false;
if (query.indexOf("'") !== -1)
return false;
if (query.indexOf('"') !== -1)
return false;
if (query.indexOf("\n") !== -1)
return false;
if (query.indexOf(" ") !== -1)
return false;
}
return true;
};
var inferTraceBodyReference = (code, aliases, inference) => {

@@ -427,2 +470,4 @@ const access = (type, alias) => code.includes(type + "." + alias) || code.includes(type + '["' + alias + '"]') || code.includes(type + "['" + alias + "']");

}
if (!validateInferencedQueries(inference.queries))
inference.queries = [];
return inference;

@@ -471,3 +516,4 @@ };

sucrose,
sucroseTrace
sucroseTrace,
validateInferencedQueries
});

@@ -1,2 +0,2 @@

import { T as TraceReporter, a as TraceHandler, b as TraceStream } from './dynamic-handle-xw-d-sPE.js';
import { T as TraceReporter, a as TraceHandler, b as TraceStream } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

import '@sinclair/typebox';
export { TypeCheck, TypeCompiler } from '@sinclair/typebox/compiler';
export { aH as ElysiaType, aG as ElysiaTypeOptions, aI as TCookie, aF as t } from './dynamic-handle-xw-d-sPE.js';
export { aH as ElysiaType, aG as ElysiaTypeOptions, aI as TCookie, aF as t } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -5,0 +5,0 @@ export { TypeSystem, TypeSystemDuplicateFormat, TypeSystemDuplicateTypeKind, TypeSystemPolicy } from '@sinclair/typebox/system';

@@ -1,2 +0,2 @@

export { a8 as AddPrefix, a9 as AddPrefixCapitalize, aa as AddSuffix, ab as AddSuffixCapitalize, K as AfterHandler, ad as BaseMacro, $ as BodyHandler, ac as Checksum, ah as ComposeElysiaResponse, C as ComposedHandler, y as ContentType, ag as CreateEden, D as DefinitionBase, m as ElysiaConfig, a2 as ErrorHandler, G as GetPathParameter, a1 as GracefulHandler, z as HTTPMethod, H as Handler, F as InlineHandler, A as InputSchema, a6 as InternalRoute, a3 as Isolate, x as LifeCycleEvent, L as LifeCycleStore, a7 as ListenCallback, a5 as LocalHook, af as MacroManager, ae as MacroToProperty, Q as MapResponse, M as MaybeArray, n as MaybePromise, ai as MergeElysiaInstances, B as MergeSchema, t as MetadataBase, a4 as NoInfer, O as ObjectValues, J as OptionalHandler, a0 as PreHandler, o as Prettify, q as Prettify2, R as Reconcile, s as RouteBase, u as RouteSchema, S as SchemaValidator, r as SingletonBase, Y as TraceEvent, a as TraceHandler, _ as TraceListener, Z as TraceProcess, T as TraceReporter, b as TraceStream, X as TransformHandler, w as UnwrapGroupGuardRoute, v as UnwrapRoute, U as UnwrapSchema, W as VoidHandler } from './dynamic-handle-xw-d-sPE.js';
export { a8 as AddPrefix, a9 as AddPrefixCapitalize, aa as AddSuffix, ab as AddSuffixCapitalize, K as AfterHandler, ad as BaseMacro, $ as BodyHandler, ac as Checksum, ah as ComposeElysiaResponse, C as ComposedHandler, y as ContentType, ag as CreateEden, D as DefinitionBase, m as ElysiaConfig, a2 as ErrorHandler, G as GetPathParameter, a1 as GracefulHandler, z as HTTPMethod, H as Handler, F as InlineHandler, A as InputSchema, a6 as InternalRoute, a3 as Isolate, x as LifeCycleEvent, L as LifeCycleStore, a7 as ListenCallback, a5 as LocalHook, af as MacroManager, ae as MacroToProperty, Q as MapResponse, M as MaybeArray, n as MaybePromise, ai as MergeElysiaInstances, B as MergeSchema, t as MetadataBase, a4 as NoInfer, O as ObjectValues, J as OptionalHandler, a0 as PreHandler, o as Prettify, q as Prettify2, R as Reconcile, s as RouteBase, u as RouteSchema, S as SchemaValidator, r as SingletonBase, Y as TraceEvent, a as TraceHandler, _ as TraceListener, Z as TraceProcess, T as TraceReporter, b as TraceStream, X as TransformHandler, w as UnwrapGroupGuardRoute, v as UnwrapRoute, U as UnwrapSchema, W as VoidHandler } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import '@sinclair/typebox';

import '@sinclair/typebox';
import '@sinclair/typebox/compiler';
export { ax as HTTPStatusName, aw as StatusMap, au as asGlobal, at as asGlobalHook, ar as checksum, aB as createMacroManager, av as filterGlobalHook, aq as getResponseSchemaValidator, ap as getSchemaValidator, aC as isNumericString, al as mergeCookie, ak as mergeDeep, ao as mergeHook, as as mergeLifeCycle, am as mergeObjectArray, an as primitiveHooks, aj as replaceUrlPath, ay as signCookie, aA as traceBackMacro, az as unsignCookie } from './dynamic-handle-xw-d-sPE.js';
export { ax as HTTPStatusName, aw as StatusMap, au as asGlobal, at as asGlobalHook, ar as checksum, aB as createMacroManager, av as filterGlobalHook, aq as getResponseSchemaValidator, ap as getSchemaValidator, aC as isNumericString, al as mergeCookie, ak as mergeDeep, ao as mergeHook, as as mergeLifeCycle, am as mergeObjectArray, an as primitiveHooks, aj as replaceUrlPath, ay as signCookie, aA as traceBackMacro, az as unsignCookie } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -5,0 +5,0 @@ import 'memoirist';

import 'bun';
import '@sinclair/typebox';
import '@sinclair/typebox/compiler';
export { aY as ElysiaWS, aX as websocket } from '../dynamic-handle-xw-d-sPE.js';
export { aZ as ElysiaWS, aY as websocket } from '../dynamic-handle-vbef6G-Q.js';
import 'memoirist';

@@ -6,0 +6,0 @@ import 'openapi-types';

import 'bun';
import '@sinclair/typebox';
import '@sinclair/typebox/compiler';
export { aZ as WS } from '../dynamic-handle-xw-d-sPE.js';
export { a_ as WS } from '../dynamic-handle-vbef6G-Q.js';
import 'memoirist';

@@ -6,0 +6,0 @@ import 'openapi-types';

@@ -1,2 +0,2 @@

import { E as Elysia, L as LifeCycleStore, S as SchemaValidator, H as Handler, C as ComposedHandler } from './dynamic-handle-xw-d-sPE.js';
import { E as Elysia, L as LifeCycleStore, S as SchemaValidator, H as Handler, C as ComposedHandler } from './dynamic-handle-vbef6G-Q.js';
import { TAnySchema } from '@sinclair/typebox';

@@ -3,0 +3,0 @@ import 'bun';

@@ -1,2 +0,2 @@

export { aD as Context, aE as PreContext } from './dynamic-handle-xw-d-sPE.js';
export { aD as Context, aE as PreContext } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

@@ -1,2 +0,2 @@

export { e as Cookie, c as CookieOptions, d as ElysiaCookie, f as createCookieJar, p as parseCookie } from './dynamic-handle-xw-d-sPE.js';
export { e as Cookie, c as CookieOptions, d as ElysiaCookie, f as createCookieJar, p as parseCookie } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

@@ -1,2 +0,2 @@

export { b5 as DynamicHandler, b7 as createDynamicErrorHandler, b6 as createDynamicHandler } from './dynamic-handle-xw-d-sPE.js';
export { b6 as DynamicHandler, b8 as createDynamicErrorHandler, b7 as createDynamicHandler } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

import '@sinclair/typebox/compiler';
import '@sinclair/typebox';
export { h as ELYSIA_RESPONSE, g as ERROR_CODE, j as ElysiaErrors, I as InternalServerError, l as InvalidCookieSignature, N as NotFoundError, P as ParseError, V as ValidationError, k as error, i as isProduction } from './dynamic-handle-xw-d-sPE.js';
export { h as ELYSIA_RESPONSE, g as ERROR_CODE, j as ElysiaErrors, I as InternalServerError, l as InvalidCookieSignature, N as NotFoundError, P as ParseError, V as ValidationError, k as error, i as isProduction } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -5,0 +5,0 @@ import 'memoirist';

@@ -1,2 +0,2 @@

export { b4 as errorToResponse, a_ as isNotEmpty, b3 as mapCompactResponse, b2 as mapEarlyResponse, b1 as mapResponse, a$ as parseSetCookies, b0 as serializeCookie } from './dynamic-handle-xw-d-sPE.js';
export { b5 as errorToResponse, a$ as isNotEmpty, b4 as mapCompactResponse, b3 as mapEarlyResponse, b2 as mapResponse, b0 as parseSetCookies, b1 as serializeCookie } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

import 'bun';
import 'memoirist';
export { Static, TSchema } from '@sinclair/typebox';
export { K as AfterHandler, $ as BodyHandler, ac as Checksum, C as ComposedHandler, aD as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, m as ElysiaConfig, a2 as ErrorHandler, z as HTTPMethod, H as Handler, A as InputSchema, a6 as InternalRoute, I as InternalServerError, l as InvalidCookieSignature, x as LifeCycleEvent, L as LifeCycleStore, a7 as ListenCallback, a5 as LocalHook, n as MaybePromise, B as MergeSchema, N as NotFoundError, J as OptionalHandler, P as ParseError, aE as PreContext, a0 as PreHandler, s as RouteBase, u as RouteSchema, S as SchemaValidator, r as SingletonBase, Y as TraceEvent, a as TraceHandler, Z as TraceProcess, T as TraceReporter, b as TraceStream, v as UnwrapRoute, U as UnwrapSchema, V as ValidationError, W as VoidHandler, E as default, k as error, aq as getResponseSchemaValidator, ap as getSchemaValidator, b3 as mapCompactResponse, b2 as mapEarlyResponse, b1 as mapResponse, ak as mergeDeep, ao as mergeHook, am as mergeObjectArray, aF as t } from './dynamic-handle-xw-d-sPE.js';
export { K as AfterHandler, $ as BodyHandler, ac as Checksum, C as ComposedHandler, aD as Context, e as Cookie, c as CookieOptions, D as DefinitionBase, E as Elysia, m as ElysiaConfig, a2 as ErrorHandler, z as HTTPMethod, H as Handler, A as InputSchema, a6 as InternalRoute, I as InternalServerError, l as InvalidCookieSignature, x as LifeCycleEvent, L as LifeCycleStore, a7 as ListenCallback, a5 as LocalHook, n as MaybePromise, B as MergeSchema, N as NotFoundError, J as OptionalHandler, P as ParseError, aE as PreContext, a0 as PreHandler, s as RouteBase, u as RouteSchema, S as SchemaValidator, r as SingletonBase, Y as TraceEvent, a as TraceHandler, Z as TraceProcess, T as TraceReporter, b as TraceStream, v as UnwrapRoute, U as UnwrapSchema, V as ValidationError, W as VoidHandler, E as default, k as error, aq as getResponseSchemaValidator, ap as getSchemaValidator, b4 as mapCompactResponse, b3 as mapEarlyResponse, b2 as mapResponse, ak as mergeDeep, ao as mergeHook, am as mergeObjectArray, aF as t } from './dynamic-handle-vbef6G-Q.js';
import '@sinclair/typebox/compiler';

@@ -6,0 +6,0 @@ import 'openapi-types';

@@ -1,2 +0,2 @@

export { aJ as Sucrose, aL as bracketPairRange, aM as bracketPairRangeReverse, aR as extractMainParameter, aQ as findAlias, aO as findParameterReference, aP as findTraceParameterReference, aS as inferBodyReference, aU as inferTraceBodyReference, aT as removeDefaultParameter, aN as retrieveRootParamters, aK as separateFunction, aV as sucrose, aW as sucroseTrace } from './dynamic-handle-xw-d-sPE.js';
export { aJ as Sucrose, aL as bracketPairRange, aM as bracketPairRangeReverse, aR as extractMainParameter, aQ as findAlias, aO as findParameterReference, aP as findTraceParameterReference, aS as inferBodyReference, aV as inferTraceBodyReference, aT as removeDefaultParameter, aN as retrieveRootParamters, aK as separateFunction, aW as sucrose, aX as sucroseTrace, aU as validateInferencedQueries } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

@@ -1,2 +0,2 @@

import { T as TraceReporter, a as TraceHandler, b as TraceStream } from './dynamic-handle-xw-d-sPE.js';
import { T as TraceReporter, a as TraceHandler, b as TraceStream } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import 'memoirist';

import '@sinclair/typebox';
export { TypeCheck, TypeCompiler } from '@sinclair/typebox/compiler';
export { aH as ElysiaType, aG as ElysiaTypeOptions, aI as TCookie, aF as t } from './dynamic-handle-xw-d-sPE.js';
export { aH as ElysiaType, aG as ElysiaTypeOptions, aI as TCookie, aF as t } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -5,0 +5,0 @@ export { TypeSystem, TypeSystemDuplicateFormat, TypeSystemDuplicateTypeKind, TypeSystemPolicy } from '@sinclair/typebox/system';

@@ -1,2 +0,2 @@

export { a8 as AddPrefix, a9 as AddPrefixCapitalize, aa as AddSuffix, ab as AddSuffixCapitalize, K as AfterHandler, ad as BaseMacro, $ as BodyHandler, ac as Checksum, ah as ComposeElysiaResponse, C as ComposedHandler, y as ContentType, ag as CreateEden, D as DefinitionBase, m as ElysiaConfig, a2 as ErrorHandler, G as GetPathParameter, a1 as GracefulHandler, z as HTTPMethod, H as Handler, F as InlineHandler, A as InputSchema, a6 as InternalRoute, a3 as Isolate, x as LifeCycleEvent, L as LifeCycleStore, a7 as ListenCallback, a5 as LocalHook, af as MacroManager, ae as MacroToProperty, Q as MapResponse, M as MaybeArray, n as MaybePromise, ai as MergeElysiaInstances, B as MergeSchema, t as MetadataBase, a4 as NoInfer, O as ObjectValues, J as OptionalHandler, a0 as PreHandler, o as Prettify, q as Prettify2, R as Reconcile, s as RouteBase, u as RouteSchema, S as SchemaValidator, r as SingletonBase, Y as TraceEvent, a as TraceHandler, _ as TraceListener, Z as TraceProcess, T as TraceReporter, b as TraceStream, X as TransformHandler, w as UnwrapGroupGuardRoute, v as UnwrapRoute, U as UnwrapSchema, W as VoidHandler } from './dynamic-handle-xw-d-sPE.js';
export { a8 as AddPrefix, a9 as AddPrefixCapitalize, aa as AddSuffix, ab as AddSuffixCapitalize, K as AfterHandler, ad as BaseMacro, $ as BodyHandler, ac as Checksum, ah as ComposeElysiaResponse, C as ComposedHandler, y as ContentType, ag as CreateEden, D as DefinitionBase, m as ElysiaConfig, a2 as ErrorHandler, G as GetPathParameter, a1 as GracefulHandler, z as HTTPMethod, H as Handler, F as InlineHandler, A as InputSchema, a6 as InternalRoute, a3 as Isolate, x as LifeCycleEvent, L as LifeCycleStore, a7 as ListenCallback, a5 as LocalHook, af as MacroManager, ae as MacroToProperty, Q as MapResponse, M as MaybeArray, n as MaybePromise, ai as MergeElysiaInstances, B as MergeSchema, t as MetadataBase, a4 as NoInfer, O as ObjectValues, J as OptionalHandler, a0 as PreHandler, o as Prettify, q as Prettify2, R as Reconcile, s as RouteBase, u as RouteSchema, S as SchemaValidator, r as SingletonBase, Y as TraceEvent, a as TraceHandler, _ as TraceListener, Z as TraceProcess, T as TraceReporter, b as TraceStream, X as TransformHandler, w as UnwrapGroupGuardRoute, v as UnwrapRoute, U as UnwrapSchema, W as VoidHandler } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -3,0 +3,0 @@ import '@sinclair/typebox';

import '@sinclair/typebox';
import '@sinclair/typebox/compiler';
export { ax as HTTPStatusName, aw as StatusMap, au as asGlobal, at as asGlobalHook, ar as checksum, aB as createMacroManager, av as filterGlobalHook, aq as getResponseSchemaValidator, ap as getSchemaValidator, aC as isNumericString, al as mergeCookie, ak as mergeDeep, ao as mergeHook, as as mergeLifeCycle, am as mergeObjectArray, an as primitiveHooks, aj as replaceUrlPath, ay as signCookie, aA as traceBackMacro, az as unsignCookie } from './dynamic-handle-xw-d-sPE.js';
export { ax as HTTPStatusName, aw as StatusMap, au as asGlobal, at as asGlobalHook, ar as checksum, aB as createMacroManager, av as filterGlobalHook, aq as getResponseSchemaValidator, ap as getSchemaValidator, aC as isNumericString, al as mergeCookie, ak as mergeDeep, ao as mergeHook, as as mergeLifeCycle, am as mergeObjectArray, an as primitiveHooks, aj as replaceUrlPath, ay as signCookie, aA as traceBackMacro, az as unsignCookie } from './dynamic-handle-vbef6G-Q.js';
import 'bun';

@@ -5,0 +5,0 @@ import 'memoirist';

import 'bun';
import '@sinclair/typebox';
import '@sinclair/typebox/compiler';
export { aY as ElysiaWS, aX as websocket } from '../dynamic-handle-xw-d-sPE.js';
export { aZ as ElysiaWS, aY as websocket } from '../dynamic-handle-vbef6G-Q.js';
import 'memoirist';

@@ -6,0 +6,0 @@ import 'openapi-types';

import 'bun';
import '@sinclair/typebox';
import '@sinclair/typebox/compiler';
export { aZ as WS } from '../dynamic-handle-xw-d-sPE.js';
export { a_ as WS } from '../dynamic-handle-vbef6G-Q.js';
import 'memoirist';

@@ -6,0 +6,0 @@ import 'openapi-types';

{
"name": "elysia",
"description": "Ergonomic Framework for Human",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc