elysia 2.0.0-beta.11 → 2.0.0-beta.13
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/adapter/bun/index.js +36 -21
- package/dist/adapter/bun/index.mjs +36 -21
- package/dist/adapter/utils.js +1 -0
- package/dist/adapter/utils.mjs +1 -0
- package/dist/adapter/web-standard/handler.js +8 -2
- package/dist/adapter/web-standard/handler.mjs +8 -2
- package/dist/base.d.ts +5 -0
- package/dist/base.js +109 -4
- package/dist/base.mjs +111 -6
- package/dist/compile/aot-capture.d.ts +2 -13
- package/dist/compile/aot-capture.js +5 -27
- package/dist/compile/aot-capture.mjs +6 -24
- package/dist/compile/aot-emit.js +1 -1
- package/dist/compile/aot-emit.mjs +1 -1
- package/dist/compile/aot.d.ts +1 -1
- package/dist/compile/aot.js +2 -2
- package/dist/compile/aot.mjs +2 -2
- package/dist/compile/handler/descriptor.d.ts +4 -8
- package/dist/compile/handler/descriptor.js +8 -21
- package/dist/compile/handler/descriptor.mjs +9 -21
- package/dist/compile/handler/index.d.ts +4 -3
- package/dist/compile/handler/index.js +16 -6
- package/dist/compile/handler/index.mjs +16 -7
- package/dist/compile/handler/jit.js +82 -76
- package/dist/compile/handler/jit.mjs +83 -77
- package/dist/compile/handler/params.d.ts +1 -4
- package/dist/compile/handler/params.js +3 -4
- package/dist/compile/handler/params.mjs +5 -5
- package/dist/compile/handler/reconstruct.d.ts +1 -1
- package/dist/compile/handler/static-clone-resolver.d.ts +6 -0
- package/dist/compile/handler/static-clone-resolver.js +8 -0
- package/dist/compile/handler/static-clone-resolver.mjs +7 -0
- package/dist/compile/handler/utils.d.ts +7 -7
- package/dist/compile/handler/utils.js +24 -20
- package/dist/compile/handler/utils.mjs +24 -20
- package/dist/compile/utils.js +7 -4
- package/dist/compile/utils.mjs +7 -4
- package/dist/context.js +3 -21
- package/dist/context.mjs +4 -22
- package/dist/cookie/index.d.ts +1 -2
- package/dist/cookie/index.js +0 -2
- package/dist/cookie/index.mjs +1 -2
- package/dist/cookie/lib.js +2 -1
- package/dist/cookie/lib.mjs +2 -1
- package/dist/cookie/utils.d.ts +3 -7
- package/dist/cookie/utils.js +9 -28
- package/dist/cookie/utils.mjs +11 -29
- package/dist/error.d.ts +40 -83
- package/dist/error.js +18 -19
- package/dist/error.mjs +18 -20
- package/dist/handler/error.js +4 -5
- package/dist/handler/error.mjs +4 -5
- package/dist/handler/fetch.js +31 -17
- package/dist/handler/fetch.mjs +32 -18
- package/dist/handler/utils.d.ts +3 -3
- package/dist/handler/utils.js +28 -17
- package/dist/handler/utils.mjs +28 -17
- package/dist/index.d.ts +3 -3
- package/dist/package.js +1 -1
- package/dist/package.mjs +1 -1
- package/dist/plugin/aot/core.d.ts +3 -7
- package/dist/plugin/aot/core.js +8 -18
- package/dist/plugin/aot/core.mjs +9 -17
- package/dist/plugin/aot/hooks.js +5 -1
- package/dist/plugin/aot/hooks.mjs +5 -1
- package/dist/trace.js +23 -10
- package/dist/trace.mjs +23 -10
- package/dist/type/bridge-live.d.ts +3 -2
- package/dist/type/bridge-live.js +4 -2
- package/dist/type/bridge-live.mjs +3 -2
- package/dist/type/bridge.d.ts +6 -4
- package/dist/type/bridge.js +9 -1
- package/dist/type/bridge.mjs +3 -1
- package/dist/type/coerce-plan.d.ts +2 -2
- package/dist/type/coerce-plan.js +0 -1
- package/dist/type/coerce-plan.mjs +2 -2
- package/dist/type/compat.js +2 -1
- package/dist/type/compat.mjs +3 -2
- package/dist/type/constants.d.ts +1 -1
- package/dist/type/shared.d.ts +1 -3
- package/dist/type/shared.js +0 -3
- package/dist/type/shared.mjs +1 -3
- package/dist/type/typebox-value-live.d.ts +4 -3
- package/dist/type/typebox-value-live.js +5 -3
- package/dist/type/typebox-value-live.mjs +4 -3
- package/dist/type/typebox-value.d.ts +11 -7
- package/dist/type/typebox-value.js +2 -1
- package/dist/type/typebox-value.mjs +1 -1
- package/dist/type/validator/index.d.ts +1 -1
- package/dist/type/validator/validator-cache.d.ts +1 -1
- package/dist/types.d.ts +10 -17
- package/dist/universal/file.d.ts +1 -3
- package/dist/universal/file.js +0 -2
- package/dist/universal/file.mjs +1 -2
- package/dist/universal/is-production.d.ts +1 -2
- package/dist/universal/is-production.js +1 -3
- package/dist/universal/is-production.mjs +2 -3
- package/dist/utils.d.ts +0 -1
- package/package.json +13 -6
package/dist/types.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ import { ElysiaFile } from "./universal/file.js";
|
|
|
4
4
|
import { StatusMap, StatusMapBack } from "./constants.js";
|
|
5
5
|
import { Serve } from "./universal/server.js";
|
|
6
6
|
import { ChainNode } from "./utils.js";
|
|
7
|
-
import { ElysiaError, ElysiaStatus, ProblemResponseBody } from "./error.js";
|
|
7
|
+
import { ElysiaError, ElysiaStatus, ProblemResponseBody, ValidationErrorResponse } from "./error.js";
|
|
8
8
|
import { Context, ErrorContext, LifecycleContext, PreContext } from "./context.js";
|
|
9
9
|
import { AnySchema, StandardSchemaV1Like, TypeBoxSchema } from "./type/types.js";
|
|
10
10
|
import { AnyElysia, Elysia } from "./base.js";
|
|
11
11
|
import { ElysiaAdapter } from "./adapter/index.js";
|
|
12
|
-
import { Static, StaticDecode, StaticEncode, TIntersect, TObject, TSchema } from "typebox";
|
|
12
|
+
import { Static, StaticDecode, StaticEncode, TIntersect, TObject, TRef, TSchema } from "typebox";
|
|
13
13
|
import { OpenAPIV3 } from "openapi-types";
|
|
14
14
|
|
|
15
15
|
//#region src/types.d.ts
|
|
@@ -70,7 +70,8 @@ interface ElysiaConfig<in out Prefix extends string | undefined, in out Scope ex
|
|
|
70
70
|
*
|
|
71
71
|
* Only required for root instance (instance which use listen) to effect
|
|
72
72
|
*
|
|
73
|
-
*
|
|
73
|
+
* TypeBox loads during build when needed, regardless of this setting.
|
|
74
|
+
* Enable this only to compile route handlers and validators before listen().
|
|
74
75
|
*
|
|
75
76
|
* @default false
|
|
76
77
|
*/
|
|
@@ -634,11 +635,12 @@ type ContextAppendType = 'append' | 'override';
|
|
|
634
635
|
type OptionalField = {
|
|
635
636
|
'~optional': true;
|
|
636
637
|
};
|
|
638
|
+
type IsOptionalRoot<Schema, Definitions, Seen extends string = never> = Schema extends OptionalField ? true : Schema extends TRef<infer Ref> ? Ref extends Seen ? false : Ref extends keyof Definitions ? IsOptionalRoot<Definitions[Ref], Definitions, Seen | Ref> : false : false;
|
|
637
639
|
type StaticCyclic<T extends TypeBoxSchema, Definitions extends Record<string, AnySchema>> = {} extends Definitions ? StaticDecode<T> : StaticDecode<T, Definitions>;
|
|
638
|
-
type UnwrapSchema<Schema extends AnySchema | string | undefined, Definitions extends DefinitionBase['typebox'] = {}> = Schema extends undefined ? unknown : Schema extends TypeBoxSchema ?
|
|
639
|
-
type UnwrapBodySchema<Schema extends AnySchema | string | undefined, Definitions extends DefinitionBase['typebox'] = {}> = undefined extends Schema ? unknown : Schema extends TypeBoxSchema ?
|
|
640
|
+
type UnwrapSchema<Schema extends AnySchema | string | undefined, Definitions extends DefinitionBase['typebox'] = {}> = Schema extends undefined ? unknown : Schema extends TypeBoxSchema ? true extends IsOptionalRoot<Schema, Definitions> ? Partial<StaticCyclic<Schema, Definitions>> : StaticCyclic<Schema, Definitions> : Schema extends StandardSchemaV1Like ? NonNullable<Schema['~standard']['types']>['output'] : Schema extends string ? Schema extends keyof Definitions ? Definitions[Schema] extends TypeBoxSchema ? true extends IsOptionalRoot<Definitions[Schema], Definitions> ? Partial<StaticCyclic<Definitions[Schema], Definitions>> : StaticCyclic<Definitions[Schema], Definitions> : Definitions[Schema] extends StandardSchemaV1Like ? NonNullable<Definitions[Schema]['~standard']['types']>['output'] : unknown : unknown : unknown;
|
|
641
|
+
type UnwrapBodySchema<Schema extends AnySchema | string | undefined, Definitions extends DefinitionBase['typebox'] = {}> = undefined extends Schema ? unknown : Schema extends TypeBoxSchema ? true extends IsOptionalRoot<Schema, Definitions> ? Partial<StaticCyclic<Schema, Definitions>> | null | undefined : StaticCyclic<Schema, Definitions> : Schema extends StandardSchemaV1Like ? NonNullable<Schema['~standard']['types']>['output'] : Schema extends string ? Schema extends keyof Definitions ? Definitions[Schema] extends TypeBoxSchema ? true extends IsOptionalRoot<Definitions[Schema], Definitions> ? Partial<StaticCyclic<Definitions[Schema], Definitions>> | null | undefined : StaticCyclic<Definitions[Schema], Definitions> : Definitions[Schema] extends StandardSchemaV1Like ? NonNullable<Definitions[Schema]['~standard']['types']>['output'] : unknown : unknown : unknown;
|
|
640
642
|
type FormInnerProperties<Schema> = Extract<Schema extends TIntersect<infer Members> ? Members[number] : never, TObject>['properties'];
|
|
641
|
-
type UnwrapResponseSchema<Schema extends AnySchema | string | undefined, Definitions extends DefinitionBase['typebox'] = {}> = Schema extends TypeBoxSchema ? StaticEncode<Schema> extends ElysiaFormData<any> ? ElysiaFormData<{ [K in keyof FormInnerProperties<Schema>]: Static<FormInnerProperties<Schema>[K] & TSchema> }> :
|
|
643
|
+
type UnwrapResponseSchema<Schema extends AnySchema | string | undefined, Definitions extends DefinitionBase['typebox'] = {}> = Schema extends TypeBoxSchema ? StaticEncode<Schema> extends ElysiaFormData<any> ? ElysiaFormData<{ [K in keyof FormInnerProperties<Schema>]: Static<FormInnerProperties<Schema>[K] & TSchema> }> : Schema extends OptionalField ? Partial<StaticCyclic<Schema, Definitions>> : StaticCyclic<Schema, Definitions> : Schema extends StandardSchemaV1Like ? NonNullable<Schema['~standard']['types']>['input'] : Schema extends string ? Schema extends keyof Definitions ? Definitions[Schema] extends TypeBoxSchema ? StaticCyclic<Definitions[Schema], Definitions> : Definitions[Schema] extends StandardSchemaV1Like ? NonNullable<Definitions[Schema]['~standard']['types']>['input'] : unknown : unknown : unknown;
|
|
642
644
|
interface UnwrapRoute<in out Schema extends InputSchema<any>, in out Definitions extends DefinitionBase['typebox'] = {}, in out Path extends string = ''> {
|
|
643
645
|
body: UnwrapBodySchema<Schema['body'], Definitions>;
|
|
644
646
|
headers: UnwrapSchema<Schema['headers'], Definitions>;
|
|
@@ -773,7 +775,7 @@ type MacroRefResolve<MacroFn, SelectedMacro, Definitions> = MacroToContext<Macro
|
|
|
773
775
|
*/
|
|
774
776
|
type ObjectMacroDefs<Body, Headers, Query, Params, Cookie, N, AmbientSchema extends RouteSchema, ScopedSchemas extends RouteSchema, Singleton extends SingletonBase, Definitions extends DefinitionBase, MacroNames extends BaseMacro, MacroFn = {}, Refs = {}> = MacroChannel<Body, 'body', Definitions> & MacroChannel<Headers, 'headers', Definitions> & MacroChannel<Query, 'query', Definitions> & MacroChannel<Params, 'params', Definitions> & MacroChannel<Cookie, 'cookie', Definitions> & MacroRefChannel<Refs> & { [K in keyof N]: MaybeValueOrVoidFunction<MacroProperty<MacroNames & InputSchema<keyof Definitions['typebox'] & string>, IntersectIfObjectSchema<MergeSchema<UnwrapMacroSchema<MacroDefSchema<K, Body, Headers, Query, Params, Cookie>, Definitions['typebox']>, AmbientSchema>, ScopedSchemas>, Singleton & {
|
|
775
777
|
derive: Singleton['derive'] & MacroRefResolve<MacroFn, K extends keyof Refs ? Refs[K] : {}, Definitions['typebox']>;
|
|
776
|
-
}, Definitions['error']>> } & { [K in keyof N]: N[K] extends ((...a: any[]) => any) ? unknown : string extends keyof N[K] ? unknown : { [P in Exclude<keyof N[K], MacroPropertyKey | InputSchemaKey | keyof
|
|
778
|
+
}, Definitions['error']>> } & { [K in keyof N]: N[K] extends ((...a: any[]) => any) ? unknown : string extends keyof N[K] ? unknown : { [P in Exclude<keyof N[K], MacroPropertyKey | InputSchemaKey | keyof MacroFn | keyof N>]: `Unknown macro property '${P & string}'` } } & N;
|
|
777
779
|
type CreateEden<Path extends string, Property extends Record<string, unknown> = {}> = Path extends `/${infer Rest}` ? _CreateEden<Rest, Property> : Path extends '' | '/' ? Property : _CreateEden<Path, Property>;
|
|
778
780
|
type _CreateEden<Path extends string, Property extends Record<string, unknown> = {}> = Path extends `${infer Start}/${infer Rest}` ? { [x in Start]: _CreateEden<Rest, Property> } : Path extends '' ? Property : { [x in Path]: Property };
|
|
779
781
|
/**
|
|
@@ -901,16 +903,7 @@ type ReconcileStatus<in out A extends Record<number, unknown>, in out B extends
|
|
|
901
903
|
type UnionResponseStatus<A, B> = {} extends A ? B : {} extends B ? A : { [key in keyof A | keyof B]: key extends keyof A ? key extends keyof B ? A[key] | B[key] : A[key] : key extends keyof B ? B[key] : never };
|
|
902
904
|
type HasInputValidator<Schema extends RouteSchema, Path extends string> = EmptyInputSchema extends Pick<Schema, Exclude<InputSchemaKey, 'params' | 'response'>> ? undefined extends Schema['params'] ? false : Schema['params'] extends ResolvePath<Path> ? ResolvePath<Path> extends Schema['params'] ? false : true : true : true;
|
|
903
905
|
type ComposeElysiaResponse<Schema extends RouteSchema, Handle, Possibility extends PossibleResponse, Errors extends ErrorDefinition[] = [], Path extends string = string> = ReconcileStatus<Schema['response'], UnionResponseStatus<ValueOrFunctionToResponseSchema<Handle, Errors>, Possibility & (HasInputValidator<Schema, Path> extends false ? {} : {
|
|
904
|
-
422:
|
|
905
|
-
type: 'validation';
|
|
906
|
-
title: 'Validation Error';
|
|
907
|
-
status: 422;
|
|
908
|
-
detail?: string;
|
|
909
|
-
on: string;
|
|
910
|
-
found?: unknown;
|
|
911
|
-
property?: string;
|
|
912
|
-
expected?: string;
|
|
913
|
-
};
|
|
906
|
+
422: ValidationErrorResponse;
|
|
914
907
|
})>>;
|
|
915
908
|
type ExtractErrorFromHandle<in out Handle> = { [ErrorResponse in Extract<Handle, AnyElysiaStatus> as ErrorResponse extends AnyElysiaStatus ? ErrorResponse['status'] : never]: Prettify<ErrorResponse['response']> };
|
|
916
909
|
/**
|
package/dist/universal/file.d.ts
CHANGED
|
@@ -37,8 +37,6 @@ declare const mime: {
|
|
|
37
37
|
readonly ppt: "application/vnd.ms-powerpoint";
|
|
38
38
|
readonly pptx: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
39
39
|
};
|
|
40
|
-
/** @internal exported for test/universal/file-extension.test.ts */
|
|
41
|
-
declare function getFileExtension(path: string): string;
|
|
42
40
|
/**
|
|
43
41
|
* Serve a file from a path as the response.
|
|
44
42
|
*/
|
|
@@ -54,4 +52,4 @@ declare class ElysiaFile {
|
|
|
54
52
|
get length(): number | Promise<number>;
|
|
55
53
|
}
|
|
56
54
|
//#endregion
|
|
57
|
-
export { ElysiaFile, file,
|
|
55
|
+
export { ElysiaFile, file, mime };
|
package/dist/universal/file.js
CHANGED
|
@@ -41,7 +41,6 @@ const mime = {
|
|
|
41
41
|
ppt: `${application}vnd.ms-powerpoint`,
|
|
42
42
|
pptx: `${msft365}presentationml.presentation`
|
|
43
43
|
};
|
|
44
|
-
/** @internal exported for test/universal/file-extension.test.ts */
|
|
45
44
|
function getFileExtension(path) {
|
|
46
45
|
const index = path.lastIndexOf(".");
|
|
47
46
|
if (index === -1) return "";
|
|
@@ -115,5 +114,4 @@ Object.defineProperty(ElysiaFile, "name", { value: "ElysiaFile" });
|
|
|
115
114
|
//#endregion
|
|
116
115
|
exports.ElysiaFile = ElysiaFile;
|
|
117
116
|
exports.file = file;
|
|
118
|
-
exports.getFileExtension = getFileExtension;
|
|
119
117
|
exports.mime = mime;
|
package/dist/universal/file.mjs
CHANGED
|
@@ -40,7 +40,6 @@ const mime = {
|
|
|
40
40
|
ppt: `${application}vnd.ms-powerpoint`,
|
|
41
41
|
pptx: `${msft365}presentationml.presentation`
|
|
42
42
|
};
|
|
43
|
-
/** @internal exported for test/universal/file-extension.test.ts */
|
|
44
43
|
function getFileExtension(path) {
|
|
45
44
|
const index = path.lastIndexOf(".");
|
|
46
45
|
if (index === -1) return "";
|
|
@@ -112,4 +111,4 @@ var ElysiaFile = class {
|
|
|
112
111
|
Object.defineProperty(ElysiaFile, "name", { value: "ElysiaFile" });
|
|
113
112
|
|
|
114
113
|
//#endregion
|
|
115
|
-
export { ElysiaFile, file,
|
|
114
|
+
export { ElysiaFile, file, mime };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/universal/is-production.d.ts
|
|
2
|
-
declare const computeIsProduction: (readable: boolean, nodeEnv?: string, elysiaEnv?: string) => boolean;
|
|
3
2
|
declare const isProduction: () => boolean;
|
|
4
3
|
//#endregion
|
|
5
|
-
export {
|
|
4
|
+
export { isProduction };
|
|
@@ -2,9 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_universal_env = require('./env.js');
|
|
3
3
|
|
|
4
4
|
//#region src/universal/is-production.ts
|
|
5
|
-
const
|
|
6
|
-
const isProduction = () => computeIsProduction(require_universal_env.hasReadableEnv, require_universal_env.env.NODE_ENV, require_universal_env.env.ENV);
|
|
5
|
+
const isProduction = () => !require_universal_env.hasReadableEnv || (require_universal_env.env.NODE_ENV ?? require_universal_env.env.ENV) === "production";
|
|
7
6
|
|
|
8
7
|
//#endregion
|
|
9
|
-
exports.computeIsProduction = computeIsProduction;
|
|
10
8
|
exports.isProduction = isProduction;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { env, hasReadableEnv } from "./env.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/universal/is-production.ts
|
|
4
|
-
const
|
|
5
|
-
const isProduction = () => computeIsProduction(hasReadableEnv, env.NODE_ENV, env.ENV);
|
|
4
|
+
const isProduction = () => !hasReadableEnv || (env.NODE_ENV ?? env.ENV) === "production";
|
|
6
5
|
|
|
7
6
|
//#endregion
|
|
8
|
-
export {
|
|
7
|
+
export { isProduction };
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AnyLocalHook, AppHook, ElysiaFormData, EventFn, EventScope, GuardSchemaType, InputSchema, Macro, MaybeArray, Prettify, SSEPayload } from "./types.js";
|
|
2
2
|
import { Context } from "./context.js";
|
|
3
3
|
import { AnySchema, StandardSchemaV1Like } from "./type/types.js";
|
|
4
|
-
|
|
5
4
|
//#region src/utils.d.ts
|
|
6
5
|
type DeriveEntry = Function | readonly [Function, 'mapDerive'];
|
|
7
6
|
declare const nullObject: () => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "elysia",
|
|
3
3
|
"description": "Ergonomic Framework for Human",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.13",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "saltyAom",
|
|
7
7
|
"url": "https://github.com/SaltyAom",
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
"main": "./dist/index.js",
|
|
11
11
|
"module": "./dist/index.mjs",
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=20.19 <21 || >=22.12"
|
|
15
|
+
},
|
|
13
16
|
"files": [
|
|
14
17
|
"dist"
|
|
15
18
|
],
|
|
@@ -220,12 +223,14 @@
|
|
|
220
223
|
],
|
|
221
224
|
"license": "MIT",
|
|
222
225
|
"scripts": {
|
|
223
|
-
"test": "bun run test:functionality && bun run test:types && bun run test:node && bun run test:bundle",
|
|
224
|
-
"test:functionality": "bun run build && bun test test && bun run test:imports",
|
|
226
|
+
"test": "bun run test:functionality && bun run test:types && bun run test:node && bun run test:bundle && bun run test:type-perf",
|
|
227
|
+
"test:functionality": "bun run build && bun test ./test && bun run test:imports",
|
|
225
228
|
"test:imports": "bun run test/type-system/import.ts",
|
|
226
229
|
"test:types": "tsc --project tsconfig.test.json",
|
|
227
230
|
"test:node": "bun run build && npm install --prefix test/node/cjs && npm install --prefix test/node/esm/ && node test/node/cjs/index.js && node test/node/esm/index.js",
|
|
228
231
|
"test:bundle": "bun run test/bundle-size.ts",
|
|
232
|
+
"test:type-perf": "bun run test/type-perf.ts",
|
|
233
|
+
"lint": "eslint src",
|
|
229
234
|
"test:cf": "bun run build && npm install --prefix test/cloudflare && cd test/cloudflare && bun run cf-typegen && bun run test",
|
|
230
235
|
"bench": "bun run example/stress/run.ts",
|
|
231
236
|
"bench:quick": "bun run example/stress/run.ts --quick",
|
|
@@ -245,7 +250,9 @@
|
|
|
245
250
|
"./dist/type/bridge-live.mjs",
|
|
246
251
|
"./dist/type/bridge-live.js",
|
|
247
252
|
"./dist/type/typebox-value-live.mjs",
|
|
248
|
-
"./dist/type/typebox-value-live.js"
|
|
253
|
+
"./dist/type/typebox-value-live.js",
|
|
254
|
+
"./dist/type/typebox-type-live.mjs",
|
|
255
|
+
"./dist/type/typebox-type-live.js"
|
|
249
256
|
],
|
|
250
257
|
"dependencies": {
|
|
251
258
|
"deuri": "^3.0.0",
|
|
@@ -262,7 +269,7 @@
|
|
|
262
269
|
"esbuild": "0.25.4",
|
|
263
270
|
"eslint": "^9.24.0",
|
|
264
271
|
"eslint-plugin-sonarjs": "^4.0.2",
|
|
265
|
-
"exact-mirror": "^1.2.
|
|
272
|
+
"exact-mirror": "^1.2.6",
|
|
266
273
|
"expect-type": "^1.2.1",
|
|
267
274
|
"file-type": "^22.0.0",
|
|
268
275
|
"globals": "^17.4.0",
|
|
@@ -278,7 +285,7 @@
|
|
|
278
285
|
},
|
|
279
286
|
"peerDependencies": {
|
|
280
287
|
"@types/bun": ">= 1.3.0",
|
|
281
|
-
"exact-mirror": ">= 1.2.
|
|
288
|
+
"exact-mirror": ">= 1.2.6",
|
|
282
289
|
"openapi-types": ">= 12.0.0",
|
|
283
290
|
"typebox": ">= 1.3.0",
|
|
284
291
|
"typescript": ">= 5.7.0"
|