From c38adf006d1ccd76d446382fee083ce70d190274 Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Sat, 29 Jul 2023 10:48:34 +0200 Subject: [PATCH 01/30] refactor: move toJSON method to operationMapper.ts --- packages/specs/schema/jest.config.js | 6 +- .../specs/schema/src/components/anyMapper.ts | 7 +- packages/specs/schema/src/components/index.ts | 7 +- .../schema/src/components/lazyRefMapper.ts | 16 +-- .../specs/schema/src/components/mapMapper.ts | 2 +- .../src/components/operationInFilesMapper.ts | 2 +- ...apper.ts => operationInParameterMapper.ts} | 10 +- .../components/operationInParametersMapper.ts | 9 ++ .../src/components/operationInQueryMapper.ts | 2 +- .../schema/src/components/operationMapper.ts | 65 +++++++++ .../src/components/operationMediaMapper.ts | 11 ++ .../components/operationRequestBodyMapper.ts | 73 ++++++++++ .../schema/src/components/pathsMapper.ts | 126 ++++++++++++++++++ .../schema/src/components/schemaMapper.ts | 6 +- .../src/decorators/operations/in.spec.ts | 10 +- .../specs/schema/src/domain/JsonLazyRef.ts | 6 - packages/specs/schema/src/domain/JsonMap.ts | 4 +- packages/specs/schema/src/domain/JsonMedia.ts | 23 ++++ .../schema/src/domain/JsonOperation.spec.ts | 4 +- .../specs/schema/src/domain/JsonOperation.ts | 108 +-------------- .../src/domain/JsonOperationPathsMap.ts | 2 + .../specs/schema/src/domain/JsonParameter.ts | 13 +- .../schema/src/domain/JsonRequestBody.ts | 2 + .../specs/schema/src/domain/JsonResponse.ts | 33 +---- .../specs/schema/src/domain/JsonSchema.ts | 2 + packages/specs/schema/src/index.ts | 9 +- .../registries/JsonSchemaMapperContainer.ts | 4 + packages/specs/schema/src/tsconfig.json | 2 +- packages/specs/schema/src/utils/getSpec.ts | 72 ++++------ .../specs/schema/src/utils/mergeOperation.ts | 64 --------- packages/specs/schema/test/tsconfig.json | 4 +- 31 files changed, 403 insertions(+), 301 deletions(-) rename packages/specs/schema/src/components/{operationParameterMapper.ts => operationInParameterMapper.ts} (81%) create mode 100644 packages/specs/schema/src/components/operationInParametersMapper.ts create mode 100644 packages/specs/schema/src/components/operationMapper.ts create mode 100644 packages/specs/schema/src/components/operationMediaMapper.ts create mode 100644 packages/specs/schema/src/components/operationRequestBodyMapper.ts create mode 100644 packages/specs/schema/src/components/pathsMapper.ts create mode 100644 packages/specs/schema/src/domain/JsonMedia.ts delete mode 100644 packages/specs/schema/src/utils/mergeOperation.ts diff --git a/packages/specs/schema/jest.config.js b/packages/specs/schema/jest.config.js index 1bceba9a9ff..5c7bff70c20 100644 --- a/packages/specs/schema/jest.config.js +++ b/packages/specs/schema/jest.config.js @@ -6,10 +6,10 @@ module.exports = { roots: ["/src", "/test"], coverageThreshold: { global: { - statements: 99.45, - branches: 96.16, + statements: 99.46, + branches: 96.23, functions: 100, - lines: 99.45 + lines: 99.46 } }, moduleNameMapper: { diff --git a/packages/specs/schema/src/components/anyMapper.ts b/packages/specs/schema/src/components/anyMapper.ts index 7e87337a6d8..353b9e714ab 100644 --- a/packages/specs/schema/src/components/anyMapper.ts +++ b/packages/specs/schema/src/components/anyMapper.ts @@ -1,7 +1,7 @@ import {JsonLazyRef} from "../domain/JsonLazyRef"; import {JsonSchema} from "../domain/JsonSchema"; import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; -import {execMapper, registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; +import {execMapper, oneOfMapper, registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; import {mapGenericsOptions} from "../utils/generics"; import {toRef} from "../utils/ref"; @@ -20,8 +20,9 @@ export function anyMapper(input: any, options: JsonSchemaOptions = {}): any { return toRef(enumSchema, enumSchema.toJSON(options), options); } - if ("toJSON" in input) { - const schema = input.toJSON(mapGenericsOptions(options)); + if (input.kind) { + const kind = oneOfMapper(input.kind, "map"); + const schema = execMapper(kind, input, mapGenericsOptions(options)); return input.canRef ? toRef(input, schema, options) : schema; } diff --git a/packages/specs/schema/src/components/index.ts b/packages/specs/schema/src/components/index.ts index 57b4e20d0ba..87b647ee2a7 100644 --- a/packages/specs/schema/src/components/index.ts +++ b/packages/specs/schema/src/components/index.ts @@ -12,8 +12,13 @@ export * from "./mapMapper"; export * from "./objectMapper"; export * from "./ofMapper"; export * from "./operationInFilesMapper"; +export * from "./operationInParameterMapper"; +export * from "./operationInParametersMapper"; export * from "./operationInQueryMapper"; -export * from "./operationParameterMapper"; +export * from "./operationMapper"; +export * from "./operationMediaMapper"; +export * from "./operationRequestBodyMapper"; export * from "./operationResponseMapper"; +export * from "./pathsMapper"; export * from "./propertiesMapper"; export * from "./schemaMapper"; diff --git a/packages/specs/schema/src/components/lazyRefMapper.ts b/packages/specs/schema/src/components/lazyRefMapper.ts index 5b9a9a2d8af..111447bbc7c 100644 --- a/packages/specs/schema/src/components/lazyRefMapper.ts +++ b/packages/specs/schema/src/components/lazyRefMapper.ts @@ -1,21 +1,21 @@ import {JsonLazyRef} from "../domain/JsonLazyRef"; import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; -import {registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; +import {execMapper, registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; import {mapGenericsOptions} from "../utils/generics"; import {createRef, toRef} from "../utils/ref"; -export function lazyRefMapper(input: JsonLazyRef, options: JsonSchemaOptions) { - const name = input.name; +export function lazyRefMapper(jsonLazyRef: JsonLazyRef, options: JsonSchemaOptions) { + const name = jsonLazyRef.name; - if (options.$refs?.find((t: any) => t === input.target)) { - return createRef(name, input.schema, options); + if (options.$refs?.find((t: any) => t === jsonLazyRef.target)) { + return createRef(name, jsonLazyRef.schema, options); } - options.$refs = [...(options.$refs || []), input.target]; + options.$refs = [...(options.$refs || []), jsonLazyRef.target]; - const schema = input.toJSON(mapGenericsOptions(options)); + const schema = jsonLazyRef.getType() && execMapper("schema", jsonLazyRef.schema, mapGenericsOptions(options)); - return toRef(input.schema, schema, options); + return toRef(jsonLazyRef.schema, schema, options); } registerJsonSchemaMapper("lazyRef", lazyRefMapper); diff --git a/packages/specs/schema/src/components/mapMapper.ts b/packages/specs/schema/src/components/mapMapper.ts index 9b013774c8d..622169bd19c 100644 --- a/packages/specs/schema/src/components/mapMapper.ts +++ b/packages/specs/schema/src/components/mapMapper.ts @@ -9,7 +9,7 @@ import {execMapper, registerJsonSchemaMapper} from "../registries/JsonSchemaMapp * @param options * @ignore */ -export function mapMapper(input: Map, {ignore = [], ...options}: JsonSchemaOptions): any { +export function mapMapper(input: Map, {ignore = [], ...options}: JsonSchemaOptions = {}): any { options = mapGenericsOptions(options); return Array.from(input.entries()).reduce((obj: any, [key, value]) => { diff --git a/packages/specs/schema/src/components/operationInFilesMapper.ts b/packages/specs/schema/src/components/operationInFilesMapper.ts index b4291388a63..d67982dc59b 100644 --- a/packages/specs/schema/src/components/operationInFilesMapper.ts +++ b/packages/specs/schema/src/components/operationInFilesMapper.ts @@ -1,6 +1,6 @@ import {cleanObject} from "@tsed/core"; import {registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; -import type {JsonParameterOptions} from "./operationParameterMapper"; +import type {JsonParameterOptions} from "./operationInParameterMapper"; export function operationInFilesMapper(parameter: any, {jsonSchema}: JsonParameterOptions) { const schema = { diff --git a/packages/specs/schema/src/components/operationParameterMapper.ts b/packages/specs/schema/src/components/operationInParameterMapper.ts similarity index 81% rename from packages/specs/schema/src/components/operationParameterMapper.ts rename to packages/specs/schema/src/components/operationInParameterMapper.ts index b67cd4ba71b..26b74239a7c 100644 --- a/packages/specs/schema/src/components/operationParameterMapper.ts +++ b/packages/specs/schema/src/components/operationInParameterMapper.ts @@ -2,7 +2,7 @@ import {OS3Schema} from "@tsed/openspec"; import {camelCase} from "change-case"; import type {JSONSchema6} from "json-schema"; import {JsonParameter} from "../domain/JsonParameter"; -import {isParameterType, JsonParameterTypes} from "../domain/JsonParameterTypes"; +import {JsonParameterTypes} from "../domain/JsonParameterTypes"; import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; import {execMapper, hasMapper, registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; import {popGenerics} from "../utils/generics"; @@ -21,11 +21,7 @@ function mapOptions(parameter: JsonParameter, options: JsonSchemaOptions = {}) { }; } -export function operationParameterMapper(jsonParameter: JsonParameter, opts?: JsonSchemaOptions) { - if (!isParameterType(jsonParameter.get("in"))) { - return null; - } - +export function operationInParameterMapper(jsonParameter: JsonParameter, opts?: JsonSchemaOptions) { const options = mapOptions(jsonParameter, opts); const schemas = {...(options.schemas || {})}; @@ -56,4 +52,4 @@ export function operationParameterMapper(jsonParameter: JsonParameter, opts?: Js return parameter; } -registerJsonSchemaMapper("operationParameter", operationParameterMapper); +registerJsonSchemaMapper("operationInParameter", operationInParameterMapper); diff --git a/packages/specs/schema/src/components/operationInParametersMapper.ts b/packages/specs/schema/src/components/operationInParametersMapper.ts new file mode 100644 index 00000000000..565c31825fe --- /dev/null +++ b/packages/specs/schema/src/components/operationInParametersMapper.ts @@ -0,0 +1,9 @@ +import {JsonParameter} from "../domain/JsonParameter"; +import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; +import {execMapper, registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; + +export function operationInParametersMapper(parameters: JsonParameter[], options: JsonSchemaOptions) { + return parameters.flatMap((parameter) => execMapper("operationInParameter", parameter, options)).filter(Boolean); +} + +registerJsonSchemaMapper("operationInParameters", operationInParametersMapper); diff --git a/packages/specs/schema/src/components/operationInQueryMapper.ts b/packages/specs/schema/src/components/operationInQueryMapper.ts index 7cd9853577d..e289546bd9f 100644 --- a/packages/specs/schema/src/components/operationInQueryMapper.ts +++ b/packages/specs/schema/src/components/operationInQueryMapper.ts @@ -2,7 +2,7 @@ import {cleanObject} from "@tsed/core"; import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; import {registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; import {createRefName} from "../utils/ref"; -import type {JsonParameterOptions} from "./operationParameterMapper"; +import type {JsonParameterOptions} from "./operationInParameterMapper"; function inlineReference(parameter: any, {jsonParameter, ...options}: JsonSchemaOptions) { const name = createRefName(jsonParameter.$schema.getName(), options); diff --git a/packages/specs/schema/src/components/operationMapper.ts b/packages/specs/schema/src/components/operationMapper.ts new file mode 100644 index 00000000000..7b0462df1e2 --- /dev/null +++ b/packages/specs/schema/src/components/operationMapper.ts @@ -0,0 +1,65 @@ +import {getStatusMessage} from "../constants/httpStatusMessages"; +import {JsonOperation} from "../domain/JsonOperation"; +import {JsonParameter} from "../domain/JsonParameter"; +import {isParameterType, JsonParameterTypes} from "../domain/JsonParameterTypes"; +import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; +import {execMapper, registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; + +function extractParameters(jsonOperation: JsonOperation, options: JsonSchemaOptions) { + return jsonOperation + .get("parameters") + .filter((parameter: JsonParameter) => isParameterType(parameter.get("in"))) + .reduce( + (inputs: [any[], JsonParameter[]], parameter: JsonParameter) => { + const [parameters, bodyParameters] = inputs; + + if ([JsonParameterTypes.BODY, JsonParameterTypes.FILES].includes(parameter.get("in"))) { + return [parameters, [...bodyParameters, parameter]]; + } + + return [[...parameters, parameter], bodyParameters]; + }, + [[], []] + ); +} + +export function operationMapper(jsonOperation: JsonOperation, {tags = [], defaultTags = [], ...options}: JsonSchemaOptions = {}) { + const {consumes, produces, ...operation} = execMapper("map", jsonOperation, {...options, ignore: ["parameters"]}); + + if (operation.security) { + operation.security = [].concat(operation.security); + } + + if (jsonOperation.get("responses").size === 0) { + operation.responses = { + "200": { + description: getStatusMessage(200) + } + }; + } + + const parametersOptions = { + ...options, + consumes: jsonOperation.get("consumes")?.length ? jsonOperation.get("consumes") : ["application/json"] + }; + + const [parameters, bodyParameters] = extractParameters(jsonOperation, parametersOptions); + + operation.parameters = execMapper("operationInParameters", parameters, options); + + if (bodyParameters.length) { + operation.requestBody = execMapper("operationRequestBody", bodyParameters, parametersOptions); + } + + const operationTags = operation.tags?.length ? operation.tags : defaultTags; + + if (operationTags.length) { + operation.tags = operationTags.map(({name}: any) => name); + } + + tags.push(...operationTags); + + return operation; +} + +registerJsonSchemaMapper("operation", operationMapper); diff --git a/packages/specs/schema/src/components/operationMediaMapper.ts b/packages/specs/schema/src/components/operationMediaMapper.ts new file mode 100644 index 00000000000..bc4f4435f26 --- /dev/null +++ b/packages/specs/schema/src/components/operationMediaMapper.ts @@ -0,0 +1,11 @@ +import {JsonMedia} from "../domain/JsonMedia"; +import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; +import {execMapper, registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; + +export function operationMediaMapper(jsonMedia: JsonMedia, options: JsonSchemaOptions) { + let groups = [...(jsonMedia.groups || [])]; + + return execMapper("map", jsonMedia, {...options, groups, groupsName: jsonMedia.groupsName}); +} + +registerJsonSchemaMapper("operationMedia", operationMediaMapper); diff --git a/packages/specs/schema/src/components/operationRequestBodyMapper.ts b/packages/specs/schema/src/components/operationRequestBodyMapper.ts new file mode 100644 index 00000000000..9f86e4ab55e --- /dev/null +++ b/packages/specs/schema/src/components/operationRequestBodyMapper.ts @@ -0,0 +1,73 @@ +import {JsonOperation} from "../domain/JsonOperation"; +import {JsonParameter} from "../domain/JsonParameter"; +import {isParameterType, JsonParameterTypes} from "../domain/JsonParameterTypes"; +import {JsonRequestBody} from "../domain/JsonRequestBody"; +import {JsonSchema} from "../domain/JsonSchema"; +import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; +import {execMapper, registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; + +function buildSchemaFromBodyParameters(parameters: JsonParameter[], options: JsonSchemaOptions) { + let schema = new JsonSchema(); + const props: any = {}; + const refs: JsonSchema[] = []; + let propsLength = 0; + + parameters.forEach((parameter) => { + const name = parameter.getName(); + + [...parameter.entries()] + .filter(([key]) => !["in", "name"].includes(key)) + .forEach(([key, value]) => { + if (props[key] === undefined) { + props[key] = value; + } + }); + + const jsonParameter = execMapper("operationInParameter", parameter, options); + + if (name) { + schema.addProperty( + name, + jsonParameter.schema || { + type: jsonParameter.type + } + ); + + if (parameter.get("required")) { + schema.addRequired(name); + } + + propsLength++; + } else { + refs.push(jsonParameter); + } + }); + + if (!propsLength) { + if (refs.length === 1) { + return refs[0]; + } + } + + schema.type("object"); + + return { + schema: schema.toJSON(options), + required: false, + ...props + }; +} + +export function operationRequestBodyMapper(bodyParameters: JsonParameter[], {consumes, ...options}: JsonSchemaOptions) { + const {schema, examples, in: _, ...props} = buildSchemaFromBodyParameters(bodyParameters, options); + + const requestBody = new JsonRequestBody(props); + + consumes.forEach((consume: string) => { + requestBody.addContent(consume, schema, examples); + }); + + return execMapper("map", requestBody, options); +} + +registerJsonSchemaMapper("operationRequestBody", operationRequestBodyMapper); diff --git a/packages/specs/schema/src/components/pathsMapper.ts b/packages/specs/schema/src/components/pathsMapper.ts new file mode 100644 index 00000000000..0e657afb222 --- /dev/null +++ b/packages/specs/schema/src/components/pathsMapper.ts @@ -0,0 +1,126 @@ +import {OS3Operation, OS3Paths} from "@tsed/openspec"; +import {JsonMethodStore} from "../domain/JsonMethodStore"; +import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; +import {execMapper, registerJsonSchemaMapper} from "../registries/JsonSchemaMapperContainer"; +import {buildPath} from "../utils/buildPath"; +import {concatParameters} from "../utils/concatParameters"; +import {getJsonEntityStore} from "../utils/getJsonEntityStore"; +import {getJsonPathParameters} from "../utils/getJsonPathParameters"; +import {getOperationsStores} from "../utils/getOperationsStores"; + +function operationId(path: string, {store, operationIdFormatter}: JsonSchemaOptions) { + return operationIdFormatter!(store.parent.schema.get("name") || store.parent.targetName, store.propertyName, path); +} + +function pushToPath( + paths: OS3Paths, + { + path, + method, + operation + }: { + method: string; + path: string; + operation: OS3Operation; + } +) { + return { + ...paths, + [path]: { + ...(paths as any)[path], + [method.toLowerCase()]: operation + } + }; +} + +function removeHiddenOperation(operationStore: JsonMethodStore) { + return !operationStore.store.get("hidden"); +} + +function mapOperationPaths({operationStore, operation}: {operationStore: JsonMethodStore; operation: OS3Operation}) { + return [...operationStore.operation!.operationPaths.values()] + .map((operationPath) => { + return { + ...operationPath, + operationStore, + operation + }; + }) + .filter(({method}) => method); +} + +function mapOperationInPathParameters(options: JsonSchemaOptions) { + return ({ + path, + method, + operation, + operationStore + }: { + path: string; + method: string; + operation: OS3Operation; + operationStore: JsonMethodStore; + }) => { + return getJsonPathParameters(options.ctrlRootPath, path).map(({path, parameters}) => { + path = path ? path : "/"; + + parameters = concatParameters( + parameters.map(({type, ...param}) => { + return { + ...param, + schema: { + type + } + }; + }), + operation + ); + + return { + operation: { + ...operation, + parameters, + operationId: + operation.operationId || + operationId(path, { + ...options, + store: operationStore + }) + }, + method, + path + }; + }); + }; +} + +function mapOperation(options: JsonSchemaOptions) { + return (operationStore: JsonMethodStore) => { + const operation = execMapper("operation", operationStore.operation, options); + + return { + operation, + operationStore + }; + }; +} + +export function pathsMapper(model: any, {paths, rootPath, ...options}: JsonSchemaOptions) { + const store = getJsonEntityStore(model); + const ctrlPath = store.path; + const ctrlRootPath = buildPath(rootPath + ctrlPath); + + options = { + ...options, + ctrlRootPath + }; + + return [...getOperationsStores(model).values()] + .filter(removeHiddenOperation) + .map(mapOperation(options)) + .flatMap(mapOperationPaths) + .flatMap(mapOperationInPathParameters(options)) + .reduce(pushToPath, paths); +} + +registerJsonSchemaMapper("paths", pathsMapper); diff --git a/packages/specs/schema/src/components/schemaMapper.ts b/packages/specs/schema/src/components/schemaMapper.ts index 203aa7767d2..a1b12153127 100644 --- a/packages/specs/schema/src/components/schemaMapper.ts +++ b/packages/specs/schema/src/components/schemaMapper.ts @@ -142,11 +142,7 @@ function serializeSchema(schema: JsonSchema, options: JsonSchemaOptions) { } export function schemaMapper(schema: JsonSchema, opts: JsonSchemaOptions): any { - const { - options, - options: {useAlias, schemas}, - addDef - } = mapOptions(opts); + const {options, addDef} = mapOptions(opts); const obj = serializeSchema(schema, options); diff --git a/packages/specs/schema/src/decorators/operations/in.spec.ts b/packages/specs/schema/src/decorators/operations/in.spec.ts index a708efd4eff..cece16d3084 100644 --- a/packages/specs/schema/src/decorators/operations/in.spec.ts +++ b/packages/specs/schema/src/decorators/operations/in.spec.ts @@ -1,4 +1,4 @@ -import {getSpec, In, JsonEntityStore, Name, OperationPath, Path, SpecTypes} from "../../index"; +import {execMapper, getSpec, In, JsonEntityStore, Name, OperationPath, Path, SpecTypes} from "../../index"; describe("In", () => { it("should declare all schema correctly (param)", () => { @@ -14,7 +14,7 @@ describe("In", () => { const paramSchema = JsonEntityStore.from(Controller, "method", 0); const methodSchema = paramSchema.parent; - const operation = methodSchema.operation!.toJSON({}); + const operation = execMapper("operation", methodSchema.operation, {}); expect(operation).toEqual({ parameters: [ @@ -48,7 +48,7 @@ describe("In", () => { const paramSchema = JsonEntityStore.from(Controller, "method", 0); const methodSchema = paramSchema.parent; - const operation = methodSchema.operation!.toJSON({}); + const operation = execMapper("operation", methodSchema.operation, {}); expect(operation).toEqual({ parameters: [ @@ -91,7 +91,7 @@ describe("In", () => { const paramSchema = JsonEntityStore.from(Controller, "method", 0); const methodSchema = paramSchema.parent; - const operation = methodSchema.operation!.toJSON({}); + const operation = execMapper("operation", methodSchema.operation, {}); expect(operation).toEqual({ parameters: [ @@ -141,7 +141,7 @@ describe("In", () => { const paramSchema = JsonEntityStore.from(Controller, "method", 0); const methodSchema = paramSchema.parent; - const operation = methodSchema.operation!.toJSON({ + const operation = execMapper("operation", methodSchema.operation!, { specType: SpecTypes.OPENAPI }); diff --git a/packages/specs/schema/src/domain/JsonLazyRef.ts b/packages/specs/schema/src/domain/JsonLazyRef.ts index 9d1e84b4f35..4f4378a5fbd 100644 --- a/packages/specs/schema/src/domain/JsonLazyRef.ts +++ b/packages/specs/schema/src/domain/JsonLazyRef.ts @@ -1,6 +1,4 @@ import {nameOf, Type} from "@tsed/core"; -import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; -import {execMapper} from "../registries/JsonSchemaMapperContainer"; import {getJsonEntityStore} from "../utils/getJsonEntityStore"; export class JsonLazyRef { @@ -19,8 +17,4 @@ export class JsonLazyRef { get name() { return nameOf(this.getType()); } - - toJSON(options?: JsonSchemaOptions) { - return this.getType() && execMapper("schema", this.schema, options); - } } diff --git a/packages/specs/schema/src/domain/JsonMap.ts b/packages/specs/schema/src/domain/JsonMap.ts index 34b0587788f..4ef4b7c0375 100644 --- a/packages/specs/schema/src/domain/JsonMap.ts +++ b/packages/specs/schema/src/domain/JsonMap.ts @@ -5,6 +5,8 @@ import {execMapper} from "../registries/JsonSchemaMapperContainer"; export class JsonMap extends Map { [key: string]: any; + kind: string = "map"; + constructor(obj: Partial = {}) { super(); @@ -23,7 +25,7 @@ export class JsonMap extends Map { return this; } - toJSON(options: JsonSchemaOptions = {}) { + toJSON(options?: JsonSchemaOptions) { return execMapper("map", this, options); } } diff --git a/packages/specs/schema/src/domain/JsonMedia.ts b/packages/specs/schema/src/domain/JsonMedia.ts new file mode 100644 index 00000000000..9eeffad18a4 --- /dev/null +++ b/packages/specs/schema/src/domain/JsonMedia.ts @@ -0,0 +1,23 @@ +import {OS3MediaType} from "@tsed/openspec"; +import {JsonMap} from "./JsonMap"; +import {JsonSchema} from "./JsonSchema"; + +export class JsonMedia extends JsonMap> { + kind: string = "operationMedia"; + + groups: string[] = []; + groupsName: string; + allowedGroups?: Set; + + schema(schema: JsonSchema) { + this.set("schema", schema); + + return this; + } + + examples(examples: any) { + this.set("examples", examples); + + return this; + } +} diff --git a/packages/specs/schema/src/domain/JsonOperation.spec.ts b/packages/specs/schema/src/domain/JsonOperation.spec.ts index 9f6ffd8fac5..074ad21f33a 100644 --- a/packages/specs/schema/src/domain/JsonOperation.spec.ts +++ b/packages/specs/schema/src/domain/JsonOperation.spec.ts @@ -1,5 +1,5 @@ import {descriptorOf} from "@tsed/core"; -import {Get, getSpec, In, JsonEntityStore, OperationPath, Path, Redirect, Returns, SpecTypes} from "../index"; +import {execMapper, Get, getSpec, In, JsonEntityStore, OperationPath, Path, Redirect, Returns, SpecTypes} from "../index"; describe("JsonOperation", () => { describe("getStatus()", () => { @@ -15,7 +15,7 @@ describe("JsonOperation", () => { expect(entity.operation?.getStatus()).toBe(200); expect(entity.operation?.status).toBe(200); - expect(entity.operation?.response?.toJSON()).toEqual({ + expect(execMapper("operationResponse", entity.operation?.response, {})).toEqual({ content: { "*/*": { schema: { diff --git a/packages/specs/schema/src/domain/JsonOperation.ts b/packages/specs/schema/src/domain/JsonOperation.ts index 9859cd46413..71131093cfd 100644 --- a/packages/specs/schema/src/domain/JsonOperation.ts +++ b/packages/specs/schema/src/domain/JsonOperation.ts @@ -1,13 +1,9 @@ import {deepMerge, uniq, uniqBy} from "@tsed/core"; import {OpenSpecSecurity, OpenSpecTag, OS3Operation} from "@tsed/openspec"; -import {getStatusMessage} from "../constants/httpStatusMessages"; import {JsonHeader} from "../interfaces/JsonOpenSpec"; -import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; import {isRedirectionStatus, isSuccessStatus} from "../utils/isSuccessStatus"; import {JsonMap} from "./JsonMap"; import {JsonParameter} from "./JsonParameter"; -import {isParameterType, JsonParameterTypes} from "./JsonParameterTypes"; -import {JsonRequestBody} from "./JsonRequestBody"; import {JsonResponse} from "./JsonResponse"; import {JsonSchema} from "./JsonSchema"; @@ -24,6 +20,8 @@ export interface JsonOperationOptions extends OS3Operation { + kind: string = "operation"; + readonly operationPaths: Map = new Map(); #status: number; #redirection: boolean = false; @@ -209,106 +207,4 @@ export class JsonOperation extends JsonMap { return this; } - - toJSON(options: JsonSchemaOptions = {}): any { - const operation = super.toJSON({...options, ignore: ["parameters"]}); - const bodyParameters: JsonParameter[] = []; - const parameters: any[] = []; - - if (operation.security) { - operation.security = [].concat(operation.security); - } - - this.get("parameters").forEach((parameter: JsonParameter) => { - if (!isParameterType(this.get("in"))) { - if (parameter.get("in")) { - if ([JsonParameterTypes.BODY, JsonParameterTypes.FILES].includes(parameter.get("in"))) { - bodyParameters.push(parameter); - } else { - parameters.push(...[].concat(parameter.toJSON(options))); - } - } - } - }); - - operation.parameters = parameters.filter(Boolean); - - if (this.get("responses").size === 0) { - operation.responses = { - "200": { - description: getStatusMessage(200) - } - }; - } - - if (bodyParameters.length) { - const parameter = buildSchemaFromBodyParameters(bodyParameters, options); - operation.requestBody = toRequestBody(this, parameter).toJSON(options); - } - - delete operation.consumes; - delete operation.produces; - - return operation; - } -} - -function toRequestBody(operation: JsonOperation, {schema, examples, in: _, ...props}: any) { - const requestBody = new JsonRequestBody(props); - - const consumes = operation.get("consumes")?.length ? operation.get("consumes") : ["application/json"]; - - consumes.forEach((consume: string) => { - requestBody.addContent(consume, schema, examples); - }); - - return requestBody; -} - -function buildSchemaFromBodyParameters(parameters: JsonParameter[], options: JsonSchemaOptions) { - let schema = new JsonSchema(); - const props: any = {}; - const refs: JsonSchema[] = []; - let propsLength = 0; - - parameters.forEach((parameter) => { - const name = parameter.getName(); - - Array.from(parameter.entries()) - .filter(([key]) => !["in", "name"].includes(key)) - .forEach(([key, value]) => { - if (props[key] === undefined) { - props[key] = value; - } - }); - - const jsonParameter = parameter.toJSON(options); - - if (name) { - schema.addProperty( - name, - jsonParameter.schema || { - type: jsonParameter.type - } - ); - - if (parameter.get("required")) { - schema.addRequired(name); - } - - propsLength++; - } else { - refs.push(jsonParameter); - } - }); - - if (!propsLength) { - if (refs.length === 1) { - return refs[0]; - } - } - - schema.type("object"); - - return {schema: schema.toJSON(options), required: false, ...props}; } diff --git a/packages/specs/schema/src/domain/JsonOperationPathsMap.ts b/packages/specs/schema/src/domain/JsonOperationPathsMap.ts index f4aaab54dbe..0448edbcd3d 100644 --- a/packages/specs/schema/src/domain/JsonOperationPathsMap.ts +++ b/packages/specs/schema/src/domain/JsonOperationPathsMap.ts @@ -2,6 +2,8 @@ import {OperationMethods} from "../constants/httpMethods"; import {JsonMethodPath} from "./JsonOperation"; export class JsonOperationPathsMap extends Map { + kind: string = "operationPaths"; + setOperationPath(operationPath: JsonMethodPath) { if (operationPath.method !== OperationMethods.CUSTOM) { const key = this.getKey(operationPath.method, operationPath.path); diff --git a/packages/specs/schema/src/domain/JsonParameter.ts b/packages/specs/schema/src/domain/JsonParameter.ts index d9d443637bb..3fe3c59125b 100644 --- a/packages/specs/schema/src/domain/JsonParameter.ts +++ b/packages/specs/schema/src/domain/JsonParameter.ts @@ -1,14 +1,15 @@ -import {cleanObject, toMap, Type} from "@tsed/core"; -import {OpenSpecHash, OpenSpecRef, OS3Example, OS3Parameter, OS3Schema} from "@tsed/openspec"; +import {Type} from "@tsed/core"; +import {OpenSpecHash, OpenSpecRef, OS3Example, OS3Parameter} from "@tsed/openspec"; import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; import {execMapper} from "../registries/JsonSchemaMapperContainer"; -import {NestedGenerics, popGenerics} from "../utils/generics"; -import {createRefName} from "../utils/ref"; +import {NestedGenerics} from "../utils/generics"; import {JsonMap} from "./JsonMap"; -import {formatParameterType, isParameterType, JsonParameterTypes} from "./JsonParameterTypes"; +import {formatParameterType} from "./JsonParameterTypes"; import {JsonSchema} from "./JsonSchema"; export class JsonParameter extends JsonMap> implements NestedGenerics { + kind = "operationInParameter"; + nestedGenerics: Type[][] = []; groups: string[]; groupsName: string; @@ -63,6 +64,6 @@ export class JsonParameter extends JsonMap> implements } toJSON(options?: JsonSchemaOptions) { - return execMapper("operationParameter", this, options); + return execMapper("operationInParameter", this, options); } } diff --git a/packages/specs/schema/src/domain/JsonRequestBody.ts b/packages/specs/schema/src/domain/JsonRequestBody.ts index 7bf801e5088..2fd5db4fd8c 100644 --- a/packages/specs/schema/src/domain/JsonRequestBody.ts +++ b/packages/specs/schema/src/domain/JsonRequestBody.ts @@ -6,6 +6,8 @@ import {JsonSchema} from "./JsonSchema"; export type JsonRequestBodyOptions = OS3RequestBody; export class JsonRequestBody extends JsonMap { + kind = "operationRequestBody"; + constructor(obj: Partial = {}) { super(obj); diff --git a/packages/specs/schema/src/domain/JsonResponse.ts b/packages/specs/schema/src/domain/JsonResponse.ts index eb8ea459976..8f7fe393032 100644 --- a/packages/specs/schema/src/domain/JsonResponse.ts +++ b/packages/specs/schema/src/domain/JsonResponse.ts @@ -1,39 +1,16 @@ import {OS3MediaType, OS3Response} from "@tsed/openspec"; import {JsonHeader} from "../interfaces/JsonOpenSpec"; -import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; -import {execMapper} from "../registries/JsonSchemaMapperContainer"; import {mapHeaders} from "../utils/mapHeaders"; import {toJsonMapCollection} from "../utils/toJsonMapCollection"; import {JsonMap} from "./JsonMap"; +import {JsonMedia} from "./JsonMedia"; import {JsonSchema} from "./JsonSchema"; export type JsonResponseOptions = OS3Response; -export class JsonMedia extends JsonMap> { - groups: string[] = []; - groupsName: string; - allowedGroups?: Set; - - schema(schema: JsonSchema) { - this.set("schema", schema); - - return this; - } - - examples(examples: any) { - this.set("examples", examples); - - return this; - } - - toJSON(options: JsonSchemaOptions = {}): any { - let groups = [...(this.groups || [])]; - - return super.toJSON({...options, groups, groupsName: this.groupsName}); - } -} - export class JsonResponse extends JsonMap { + kind: string = "operationResponse"; + status: number; constructor(obj: Partial = {}) { @@ -79,8 +56,4 @@ export class JsonResponse extends JsonMap { return this; } - - toJSON(options?: JsonSchemaOptions): any { - return execMapper("operationResponse", this, options); - } } diff --git a/packages/specs/schema/src/domain/JsonSchema.ts b/packages/specs/schema/src/domain/JsonSchema.ts index cd06734a5e7..ad2bb689518 100644 --- a/packages/specs/schema/src/domain/JsonSchema.ts +++ b/packages/specs/schema/src/domain/JsonSchema.ts @@ -75,6 +75,8 @@ function mapToJsonSchema(item: any): any { } export class JsonSchema extends Map implements NestedGenerics { + kind: string = "schema"; + readonly isJsonSchema = true; readonly $hooks = new Hooks(); readonly $required: Set = new Set(); diff --git a/packages/specs/schema/src/index.ts b/packages/specs/schema/src/index.ts index b07e15076d5..8e057ce120d 100644 --- a/packages/specs/schema/src/index.ts +++ b/packages/specs/schema/src/index.ts @@ -12,9 +12,14 @@ export * from "./components/mapMapper"; export * from "./components/objectMapper"; export * from "./components/ofMapper"; export * from "./components/operationInFilesMapper"; +export * from "./components/operationInParameterMapper"; +export * from "./components/operationInParametersMapper"; export * from "./components/operationInQueryMapper"; -export * from "./components/operationParameterMapper"; +export * from "./components/operationMapper"; +export * from "./components/operationMediaMapper"; +export * from "./components/operationRequestBodyMapper"; export * from "./components/operationResponseMapper"; +export * from "./components/pathsMapper"; export * from "./components/propertiesMapper"; export * from "./components/schemaMapper"; export * from "./constants/httpMethods"; @@ -103,6 +108,7 @@ export * from "./domain/JsonEntityStore"; export * from "./domain/JsonFormatTypes"; export * from "./domain/JsonLazyRef"; export * from "./domain/JsonMap"; +export * from "./domain/JsonMedia"; export * from "./domain/JsonMethodStore"; export * from "./domain/JsonOperation"; export * from "./domain/JsonOperationPathsMap"; @@ -153,7 +159,6 @@ export * from "./utils/mapOpenSpec3"; export * from "./utils/mapOpenSpecInfo"; export * from "./utils/mapRouteOptions"; export * from "./utils/matchGroups"; -export * from "./utils/mergeOperation"; export * from "./utils/mergeSpec"; export * from "./utils/operationIdFormatter"; export * from "./utils/ref"; diff --git a/packages/specs/schema/src/registries/JsonSchemaMapperContainer.ts b/packages/specs/schema/src/registries/JsonSchemaMapperContainer.ts index 5927c614d8c..2a41ce86ef5 100644 --- a/packages/specs/schema/src/registries/JsonSchemaMapperContainer.ts +++ b/packages/specs/schema/src/registries/JsonSchemaMapperContainer.ts @@ -38,3 +38,7 @@ export function execMapper(type: string, schema: any, options: any, parent?: any export function hasMapper(type: string) { return JsonSchemaMappersContainer.has(type); } + +export function oneOfMapper(...types: string[]): string { + return types.find((type) => JsonSchemaMappersContainer.has(type))!; +} diff --git a/packages/specs/schema/src/tsconfig.json b/packages/specs/schema/src/tsconfig.json index a11edbb97d6..5fa049fa6e5 100644 --- a/packages/specs/schema/src/tsconfig.json +++ b/packages/specs/schema/src/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "baseUrl": ".", "module": "commonjs", - "rootDir": "..", + "rootDir": ".", "declaration": false, "composite": true, "noEmit": true diff --git a/packages/specs/schema/src/utils/getSpec.ts b/packages/specs/schema/src/utils/getSpec.ts index d3584228156..3ec5fcdf628 100644 --- a/packages/specs/schema/src/utils/getSpec.ts +++ b/packages/specs/schema/src/utils/getSpec.ts @@ -2,12 +2,10 @@ import {cleanObject, isArray, Type, uniqBy} from "@tsed/core"; import {OpenSpec3} from "@tsed/openspec"; import {SpecTypes} from "../domain/SpecTypes"; import {JsonSchemaOptions} from "../interfaces/JsonSchemaOptions"; -import {buildPath} from "./buildPath"; +import {execMapper} from "../registries/JsonSchemaMapperContainer"; import {getJsonEntityStore} from "./getJsonEntityStore"; -import {getOperationsStores} from "./getOperationsStores"; -import {mergeOperation} from "./mergeOperation"; -import {operationIdFormatter} from "./operationIdFormatter"; import {mergeSpec} from "./mergeSpec"; +import {operationIdFormatter} from "./operationIdFormatter"; export type JsonTokenOptions = ({token: Type} & Partial)[]; @@ -55,48 +53,30 @@ function get(model: Type, options: any, cb: any) { function generate(model: Type, options: SpecSerializerOptions) { const store = getJsonEntityStore(model); - const {schemas = {}, paths = {}, rootPath = "/", tags = []} = options; + const {rootPath = "/"} = options; const specType = SpecTypes.OPENAPI; - const ctrlPath = store.path; - const defaultTags = cleanObject({ - name: store.schema.getName(), - description: store.schema.get("description") - }); - - const specJson: any = {paths}; - - getOperationsStores(model).forEach((operationStore) => { - if (operationStore.store.get("hidden")) { - return; - } - - const operation = operationStore.operation!.toJSON({...options, specType, schemas}); - - operationStore.operation!.operationPaths.forEach(({path, method}: {path: string; method: string}) => { - if (method) { - mergeOperation(specJson, operation, { - rootPath: buildPath(rootPath + ctrlPath), - path, - method, - defaultTags, - tags, - specType, - operationId: (path: string) => - options.operationIdFormatter!( - operationStore.parent.schema.get("name") || operationStore.parent.targetName, - operationStore.propertyName, - path - ) - }); - } - }); - }); - specJson.tags = uniqBy(tags, "name"); + options = { + ...options, + rootPath, + defaultTags: [ + cleanObject({ + name: store.schema.getName(), + description: store.schema.get("description") + }) + ], + specType + }; + + const specJson: any = { + paths: execMapper("paths", model, options) + }; + + specJson.tags = uniqBy(options.tags, "name"); - if (Object.keys(schemas).length) { + if (Object.keys(options.schemas!).length) { specJson.components = { - schemas + schemas: options.schemas }; } @@ -110,7 +90,11 @@ function generate(model: Type, options: SpecSerializerOptions) { */ export function getSpec(model: Type | JsonTokenOptions, options: SpecSerializerOptions = {}): Partial { options = { + specType: SpecTypes.OPENAPI, ...options, + tags: [], + paths: {}, + schemas: {}, operationIdFormatter: options.operationIdFormatter || operationIdFormatter(options.operationIdPattern), root: false }; @@ -120,10 +104,6 @@ export function getSpec(model: Type | JsonTokenOptions, options: SpecSerial options = { ...options, - specType: SpecTypes.OPENAPI, - paths: {}, - tags: [], - schemas: {}, append(spec: any) { finalSpec = mergeSpec(finalSpec, spec); } diff --git a/packages/specs/schema/src/utils/mergeOperation.ts b/packages/specs/schema/src/utils/mergeOperation.ts deleted file mode 100644 index 71cb0e57032..00000000000 --- a/packages/specs/schema/src/utils/mergeOperation.ts +++ /dev/null @@ -1,64 +0,0 @@ -import {SpecTypes} from "../domain/SpecTypes"; -import {concatParameters} from "./concatParameters"; -import {getJsonPathParameters} from "./getJsonPathParameters"; - -/** - * @ignore - */ -export interface MergeOperationOptions { - rootPath: string; - specType: SpecTypes; - operationId: (path: string) => string | undefined; - defaultTags: string[]; - tags: string[]; - path: string; - method: string; -} - -/** - * @ignore - */ -export function mergeOperation( - obj: any, - operation: any, - {rootPath, specType, operationId, defaultTags, tags, path, method}: MergeOperationOptions -) { - const pathParameters = getJsonPathParameters(rootPath, path).map(({path, parameters}) => { - path = path ? path : "/"; - - // FIXME not on the right place - if (specType === SpecTypes.OPENAPI) { - parameters = parameters.map(({type, ...param}) => { - return { - ...param, - schema: { - type - } - }; - }); - } - - return {path, parameters}; - }); - - return pathParameters.reduce((obj, {path, parameters}) => { - parameters = concatParameters(parameters, operation); - path = path ? path : "/"; - - const operationTags = operation.tags?.length ? operation.tags : [defaultTags]; - - obj.paths[path] = { - ...obj.paths[path], - [method.toLowerCase()]: { - operationId: operation.operationId || operationId(path), - ...operation, - tags: operationTags.map(({name}: any) => name), - parameters - } - }; - - tags.push(...operationTags); - - return obj; - }, obj); -} diff --git a/packages/specs/schema/test/tsconfig.json b/packages/specs/schema/test/tsconfig.json index 21fa5fdcf19..5fa049fa6e5 100644 --- a/packages/specs/schema/test/tsconfig.json +++ b/packages/specs/schema/test/tsconfig.json @@ -3,12 +3,12 @@ "compilerOptions": { "baseUrl": ".", "module": "commonjs", - "rootDir": "..", + "rootDir": ".", "declaration": false, "composite": true, "noEmit": true }, - "include": ["**/*.ts", "**/*.json"], + "include": ["**/*.ts", "**/*.json", "../**/*.ts", "../**/*.json"], "exclude": ["node_modules", "lib"], "references": [ { From 701c801a828d0ce85af9c2d7bba7f0566374bba8 Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Fri, 4 Aug 2023 08:48:31 +0200 Subject: [PATCH 02/30] feat(json-mapper): create JsonMapperCompiler --- packages/core/src/domain/Hooks.ts | 3 + .../src/domain/JsonMapperCompiler.ts | 102 ++++++ .../src/domain/JsonSerializer.spec.ts | 345 ++++++++++++++++++ .../json-mapper/src/domain/JsonSerializer.ts | 141 +++++++ .../specs/json-mapper/src/domain/Writer.ts | 137 +++++++ .../json-mapper/src/hooks/alterOnSerialize.ts | 5 + .../src/utils/getObjectProperties.ts | 5 + .../src/utils/getRandomComponentId.ts | 3 + .../src/utils/getSchemaProperties.ts | 16 + .../schema/src/decorators/common/property.ts | 4 +- .../schema/src/domain/JsonEntityStore.ts | 3 + 11 files changed, 762 insertions(+), 2 deletions(-) create mode 100644 packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts create mode 100644 packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts create mode 100644 packages/specs/json-mapper/src/domain/JsonSerializer.ts create mode 100644 packages/specs/json-mapper/src/domain/Writer.ts create mode 100644 packages/specs/json-mapper/src/hooks/alterOnSerialize.ts create mode 100644 packages/specs/json-mapper/src/utils/getObjectProperties.ts create mode 100644 packages/specs/json-mapper/src/utils/getRandomComponentId.ts create mode 100644 packages/specs/json-mapper/src/utils/getSchemaProperties.ts diff --git a/packages/core/src/domain/Hooks.ts b/packages/core/src/domain/Hooks.ts index 4abd696e8b5..f3eadd3e453 100644 --- a/packages/core/src/domain/Hooks.ts +++ b/packages/core/src/domain/Hooks.ts @@ -1,6 +1,9 @@ export class Hooks { #listeners: Record = {}; + has(event: string) { + return !!this.#listeners[event]; + } /** * Listen a hook event * @param event diff --git a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts new file mode 100644 index 00000000000..b6d26cf64ab --- /dev/null +++ b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts @@ -0,0 +1,102 @@ +import {isCollection, nameOf, objectKeys, Type} from "@tsed/core"; +import {alterIgnore} from "@tsed/schema"; +import {getRandomComponentId} from "../utils/getRandomComponentId"; +import {getJsonMapperTypes} from "./JsonMapperTypesContainer"; + +export type JsonMapperCallback = (input: any, options?: Options) => any; +export type CachedJsonMapper = { + id: string; + fn: JsonMapperCallback; + source: string; +}; + +export abstract class JsonMapperCompiler { + cache = new Map, CachedJsonMapper>(); + mappers: Record> = {}; + schemes: Record = {}; + + abstract alterValue(schemaId: string, value: any, options: Options): any; + abstract createMapper(model: Type, id: string): string; + + set(model: Type, mapper: CachedJsonMapper) { + this.cache.set(model, mapper); + this.mappers[mapper.id] = mapper.fn; + } + + get(model: Type) { + return this.cache.get(model); + } + + has(model: Type) { + return this.cache.has(model); + } + + addTypeMapper(model: Type, fn: any) { + this.cache.set(model, { + id: nameOf(model), + source: "", + fn + }); + this.mappers[nameOf(model)] = fn; + + return this; + } + + eval(id: string, model: Type, mapper: string) { + const {cache} = this; + eval(`cache.set(model, { fn: ${mapper} })`); + + const serializer = this.cache.get(model)!; + serializer.source = mapper; + serializer.id = id; + + this.mappers[id] = serializer.fn; + + return serializer.fn; + } + + createContext(options: Options) { + return { + ...options, + alterIgnore: (id: string, options: Options) => { + return alterIgnore(this.schemes[id], options); + }, + alterValue: (id: string, value: any, options: Options) => { + return this.alterValue(id, value, options); + }, + objectKeys, + cache: this.cache, + mappers: this.mappers + }; + } + + compile(model: Type): CachedJsonMapper { + if (!this.has(model)) { + const types = getJsonMapperTypes(); + + if (types.has(model) && !isCollection(model)) { + const mapper = types.get(model); + + if (mapper) { + this.addTypeMapper(model, mapper.serialize.bind(mapper)); + } + + return this.get(model)!; + } + + const id = `${nameOf(model)}:${getRandomComponentId()}`; + this.cache.set(model, {id} as any); + + const mapper = this.createMapper(model, id); + + try { + this.eval(id, model, mapper); + } catch (err) { + console.log(mapper); + throw new Error(`Fail to compile mapper for ${nameOf(model)}. See the error above: ${err.message}.\n${mapper}`); + } + } + + return this.get(model)!; + } +} diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts new file mode 100644 index 00000000000..4dfe0284c50 --- /dev/null +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts @@ -0,0 +1,345 @@ +import {AdditionalProperties, CollectionOf, Ignore, JsonHookContext, Name, Property} from "@tsed/schema"; +import "../components/PrimitiveMapper"; +import {OnSerialize} from "../decorators/onSerialize"; +import {serializeV2} from "./JsonSerializer"; + +describe("JsonSerializer", () => { + describe("ignore hook is configured on props", () => { + it("should serialize model (api = true)", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnSerialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Role[] = []; + + @CollectionOf(Role) + mapRoles: Map = new Map(); + + @CollectionOf(String) + setRoleNames: Set = new Set(); + } + + const model = new Model(); + model.id = "id"; + model.password = "string"; + model.mappedProp = "mappedProp"; + model.roles = [new Role({label: "ADMIN"})]; + + model.mapRoles = new Map([["ADMIN", new Role({label: "ADMIN"})]]); + + model.setRoleNames = new Set(); + model.setRoleNames.add("ADMIN"); + + expect( + serializeV2(model, { + useAlias: false, + api: true + }) + ).toEqual({ + id: "id", + mapRoles: { + ADMIN: { + label: "ADMIN" + } + }, + mappedProp: "mappedProptest", + roles: [ + { + label: "ADMIN" + } + ], + setRoleNames: ["ADMIN"] + }); + }); + it("should serialize model (api = false)", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnSerialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Role[] = []; + + @CollectionOf(Role) + mapRoles: Map = new Map(); + + @CollectionOf(String) + setRoleNames: Set = new Set(); + } + + const model = new Model(); + model.id = "id"; + model.password = "string"; + model.mappedProp = "mappedProp"; + model.roles = [new Role({label: "ADMIN"})]; + + model.mapRoles = new Map([["ADMIN", new Role({label: "ADMIN"})]]); + + model.setRoleNames = new Set(); + model.setRoleNames.add("ADMIN"); + + expect( + serializeV2(model, { + useAlias: false, + api: false + }) + ).toEqual({ + id: "id", + mapRoles: { + ADMIN: { + label: "ADMIN" + } + }, + password: "string", + mappedProp: "mappedProptest", + roles: [ + { + label: "ADMIN" + } + ], + setRoleNames: ["ADMIN"] + }); + }); + }); + it("should serialize model with alias property", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnSerialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Role[] = []; + + @CollectionOf(Role) + mapRoles: Map = new Map(); + + @CollectionOf(String) + setRoleNames: Set = new Set(); + } + + const model = new Model(); + model.id = "id"; + model.password = "string"; + model.mappedProp = "mappedProp"; + model.roles = [new Role({label: "ADMIN"})]; + + model.mapRoles = new Map([["ADMIN", new Role({label: "ADMIN"})]]); + + model.setRoleNames = new Set(); + model.setRoleNames.add("ADMIN"); + + expect( + serializeV2(model, { + useAlias: true, + api: false + }) + ).toEqual({ + id: "id", + mapRoles: { + ADMIN: { + label: "ADMIN" + } + }, + mapped_prop: "mappedProptest", + password: "string", + roles: [ + { + label: "ADMIN" + } + ], + setRoleNames: ["ADMIN"] + }); + }); + it("should serialize model with nested object", () => { + class Nested { + @Property() + label: string; + + @Name("additional_description") + additionalDescription: string; + + constructor({label, additionalDescription}: any = {}) { + this.label = label; + this.additionalDescription = additionalDescription; + } + } + + class Model { + @Property() + id: string; + + @Property() + nested: any; + + @Property() + nestedTyped: Nested; + } + + const model = new Model(); + model.id = "id"; + model.nested = { + other: "other", + test: new Nested({ + additionalDescription: "additionalDescription", + label: "label" + }) + }; + + model.nestedTyped = new Nested({ + additionalDescription: "additionalDescription", + label: "label" + }); + + expect( + serializeV2(model, { + useAlias: true, + api: false + }) + ).toEqual({ + id: "id", + nested: { + other: "other", + test: { + additional_description: "additionalDescription", + label: "label" + } + }, + nestedTyped: { + additional_description: "additionalDescription", + label: "label" + } + }); + }); + it("should serialize model with additional properties", () => { + @AdditionalProperties(true) + class Model { + @Property() + id: string; + + @OnSerialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + } + + expect( + serializeV2( + { + id: "id", + mappedProp: "mappedProp", + additionalProperty: true + }, + { + type: Model, + useAlias: false + } + ) + ).toEqual({ + additionalProperty: true, + id: "id", + mappedProp: "mappedProptest" + }); + }); + it("should serialize model (recursive class)", () => { + class User { + @Property() + name: string; + + @CollectionOf(() => Post) + posts: any[]; + + @Property(() => Post) + @Name("main_post") + mainPost: any; + } + + class Post { + @Property() + id: string; + + @Property() + owner: User; + + @Name("title") + initializedTitle: string; + } + + const post = new Post(); + post.id = "id"; + + post.owner = new User(); + post.owner.name = "name"; + post.owner.posts = [new Post()]; + post.owner.posts[0].id = "id"; + post.owner.posts[0].initializedTitle = "initializedTitle"; + + post.owner.mainPost = new Post(); + post.owner.mainPost.id = "idMain"; + post.owner.mainPost.initializedTitle = "initializedTitle"; + + const result = serializeV2(post, {useAlias: true}); + + expect(result).toEqual({ + id: "id", + owner: { + name: "name", + main_post: { + id: "idMain", + title: "initializedTitle" + }, + posts: [ + { + id: "id", + title: "initializedTitle" + } + ] + } + }); + }); +}); diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.ts new file mode 100644 index 00000000000..853eb13d379 --- /dev/null +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.ts @@ -0,0 +1,141 @@ +import {classOf, nameOf, Type} from "@tsed/core"; +import {getPropertiesStores, JsonEntityStore, JsonPropertyStore} from "@tsed/schema"; +import {alterOnSerialize} from "../hooks/alterOnSerialize"; +import {getObjectProperties} from "../utils/getObjectProperties"; +import {JsonSerializerOptions} from "../utils/serialize"; +import {JsonMapperCompiler} from "./JsonMapperCompiler"; +import {Writer} from "./Writer"; + +export class JsonSerializer extends JsonMapperCompiler { + constructor() { + super(); + + this.addTypeMapper(Object, (input: any, {type, ...options}: JsonSerializerOptions) => { + return getObjectProperties(input) + .filter(([, value]) => value !== undefined) + .reduce((obj, [key, value]) => { + const mapper = this.compile(classOf(value)); + + return { + ...obj, + [key]: mapper.fn(value, options) + }; + }, {}); + }); + + this.addTypeMapper(Array, (input: any, {id, ...options}: JsonSerializerOptions) => { + return [].concat(input).map((item) => this.mappers[id](item, options)); + }); + + this.addTypeMapper(Map, (input: any, {id, ...options}: JsonSerializerOptions) => { + return [...input.entries()].reduce((obj, [key, item]) => { + return { + ...obj, + [key]: this.mappers[id](item, options) + }; + }, {}); + }); + + this.addTypeMapper(Set, (input: any, {id, ...options}: JsonSerializerOptions) => { + return [...input.values()].map((item) => { + return this.mappers[id](item, options); + }); + }); + } + + alterValue(schemaId: string, value: any, options: JsonSerializerOptions): any { + return alterOnSerialize(this.schemes[schemaId], value, options as any); + } + + createMapper(model: Type, id: string): string { + const entity = JsonEntityStore.from(model); + const properties = new Set(); + const schemaProperties = [...getPropertiesStores(entity).values()]; + + // properties mapping + const writer = new Writer().arrow("input", "options"); + + writer.const("obj", "{}"); + writer.set("options", "{...options, self: input}"); + + const propsWriters = schemaProperties.flatMap((propertyStore) => { + properties.add(propertyStore.propertyKey as string); + return this.createPropertyMapper(propertyStore, id); + }); + + writer.add(...propsWriters); + + // additional properties + const additionalProperties = !!entity.schema.get("additionalProperties"); + + if (additionalProperties) { + const exclude = [...properties.values()].map((key) => `'${key}'`).join(", "); + + writer.add("// add additional properties"); + writer.each("options.objectKeys(input)", ["key"]).if(`![${exclude}].includes(key)`).set("obj[key]", "input[key]"); + } + + writer.return("obj"); + + return writer.root().toString(); + } + + createPropertyMapper(propertyStore: JsonPropertyStore, id: string) { + const key = String(propertyStore.propertyKey); + const aliasKey: string = String(propertyStore.parent.schema.getAliasOf(key) || key); + const schemaId = `${id}:${key}`; + + let builder = new Writer().add(`// Map ${key}`); + + // ignore hook + if (propertyStore.schema?.$hooks?.has("ignore")) { + this.schemes[schemaId] = propertyStore.schema; + + builder = builder.if(`!options.alterIgnore('${schemaId}', {...options, self: input})`); + } + + builder = builder.add(`let ${key} = input.${key};`).if(`${key} !== undefined`); + + // pre hook + if (propertyStore.schema?.$hooks?.has("onSerialize")) { + this.schemes[schemaId] = propertyStore.schema; + + builder.set(key, `options.alterValue('${schemaId}', ${key}, options)`); + } + + const format = propertyStore.itemSchema.get("format"); + + if (propertyStore.isCollection) { + const type = propertyStore.getBestType(); + + const nestedMapper = this.compile(type); + + builder.callMapper(nameOf(propertyStore.collectionType), key, `id: '${nestedMapper.id}'`, format && `format: '${format}'`); + } else { + const type = propertyStore.getBestType(); + const nestedMapper = this.compile(type); + + builder.callMapper(nestedMapper.id, key, format && `format: '${format}'`); + } + + if (aliasKey !== key) { + builder.if(`options.useAlias`).set(`obj.${aliasKey}`, key).else().set(`obj.${key}`, key); + } else { + builder.set(`obj.${key}`, key); + } + + return builder.root(); + } + + serialize(input: any, options: JsonSerializerOptions = {}) { + const mapper = this.compile(options.type || classOf(input)); + + return mapper.fn(input, serializer.createContext(options)); + } +} + +const serializer = new JsonSerializer(); + +export function serializeV2(input: any, options: JsonSerializerOptions = {}) { + return serializer.serialize(input, options); +} diff --git a/packages/specs/json-mapper/src/domain/Writer.ts b/packages/specs/json-mapper/src/domain/Writer.ts new file mode 100644 index 00000000000..75fe0350b7a --- /dev/null +++ b/packages/specs/json-mapper/src/domain/Writer.ts @@ -0,0 +1,137 @@ +export class Writer { + static object = { + assign(...args: string[]) { + return `{ ${args.filter(Boolean).join(", ")} }`; + } + }; + + protected _root?: Writer; + protected body: (string | Writer)[] = []; + private _indent: boolean; + + constructor(root?: Writer) { + this._root = root; + } + + static indent(lines: string[]) { + return lines.map((p) => `\t${p}`); + } + + static mapper(mapperId: string, key: string, options: string) { + return `options.mappers['${mapperId}'](${key}, ${options})`; + } + + static options(...args: string[]) { + args = args.filter(Boolean); + return !args.length ? "options" : Writer.object.assign("...options", ...args); + } + + add(...lines: (string | Writer)[]) { + this.body.push(...lines); + return this; + } + + arrow(...args: string[]) { + this.add(`(${args}) => {`); + + const writer = this.new(); + + this.add("}"); + + return writer; + } + + build(): string[] { + const result = this.body.flatMap((line) => { + return line instanceof Writer ? line.build() : line; + }); + + return this._indent ? result.map((item) => "\t" + item) : result; + } + + callMapper(id: string, key: string, ...options: string[]) { + return this.set(key, Writer.mapper(id, key, Writer.options(...options))); + } + + const(name: string, line: string) { + this.add(`const ${name} = ${line};`); + return this; + } + + each(iterable: string, args: string[] = []) { + const writer = this.add(iterable + ".forEach((" + args.join(", ") + ") => {").new(); + + this.add("});"); + + return writer; + } + + if(condition: string, line?: string) { + const writer = new IfWriter(condition, this); + + this.add(writer); + + if (line) { + writer.add(line); + } + + return writer; + } + + indent(indent: boolean) { + this._indent = indent; + return this; + } + + new(indent = true) { + const writer = new Writer(this.root()); + writer.indent(indent); + this.add(writer); + + return writer; + } + + return(line: string) { + this.add(`return ${line};`); + return this.root(); + } + + root() { + return this._root || this; + } + + set(left: string, right: string) { + this.add(`${left} = ${right};`); + return this; + } + + toString() { + return this.build().join("\n"); + } +} + +class IfWriter extends Writer { + protected elseWriter?: Writer; + + constructor(protected condition: string, root: Writer) { + super(); + this._root = root; + } + + else() { + const writer = new Writer(this._root); + + this.elseWriter = writer; + + return writer; + } + + build() { + return [ + `if (${this.condition}) {`, + ...Writer.indent(super.build()), + "}", + this.elseWriter ? [`else {`, ...Writer.indent(this.elseWriter.build()), "}"] : [] + ].flat(); + } +} diff --git a/packages/specs/json-mapper/src/hooks/alterOnSerialize.ts b/packages/specs/json-mapper/src/hooks/alterOnSerialize.ts new file mode 100644 index 00000000000..f42db447906 --- /dev/null +++ b/packages/specs/json-mapper/src/hooks/alterOnSerialize.ts @@ -0,0 +1,5 @@ +import {JsonHookContext, JsonSchema} from "@tsed/schema"; + +export function alterOnSerialize(schema: JsonSchema, value: any, options: JsonHookContext) { + return schema.$hooks.alter("onSerialize", value, [options]); +} diff --git a/packages/specs/json-mapper/src/utils/getObjectProperties.ts b/packages/specs/json-mapper/src/utils/getObjectProperties.ts new file mode 100644 index 00000000000..2e967869cbc --- /dev/null +++ b/packages/specs/json-mapper/src/utils/getObjectProperties.ts @@ -0,0 +1,5 @@ +import {isFunction} from "@tsed/core"; + +export function getObjectProperties(obj: any): [string, any][] { + return Object.entries(obj).filter(([, value]) => !isFunction(value)); +} diff --git a/packages/specs/json-mapper/src/utils/getRandomComponentId.ts b/packages/specs/json-mapper/src/utils/getRandomComponentId.ts new file mode 100644 index 00000000000..b76490a0207 --- /dev/null +++ b/packages/specs/json-mapper/src/utils/getRandomComponentId.ts @@ -0,0 +1,3 @@ +export function getRandomComponentId() { + return `e${Math.random().toString(36).substring(7)}`; +} diff --git a/packages/specs/json-mapper/src/utils/getSchemaProperties.ts b/packages/specs/json-mapper/src/utils/getSchemaProperties.ts new file mode 100644 index 00000000000..cabbd557ef1 --- /dev/null +++ b/packages/specs/json-mapper/src/utils/getSchemaProperties.ts @@ -0,0 +1,16 @@ +import {objectKeys} from "@tsed/core"; +import {getPropertiesStores, JsonEntityStore} from "@tsed/schema"; + +export function getSchemaProperties(storedJson: JsonEntityStore, obj: any) { + const stores = Array.from(getPropertiesStores(storedJson).entries()); + + if (!stores.length) { + // fallback to auto discovering field from obj + objectKeys(obj).forEach((key) => { + const propStore = JsonEntityStore.from(storedJson.target, key); + stores.push([key, propStore]); + }); + } + + return stores; +} diff --git a/packages/specs/schema/src/decorators/common/property.ts b/packages/specs/schema/src/decorators/common/property.ts index 2f4783800c7..046165ffa60 100644 --- a/packages/specs/schema/src/decorators/common/property.ts +++ b/packages/specs/schema/src/decorators/common/property.ts @@ -1,4 +1,4 @@ -import {isClass} from "@tsed/core"; +import {isArrowFn, isClass} from "@tsed/core"; import {JsonEntityFn} from "./jsonEntityFn"; /** @@ -14,7 +14,7 @@ import {JsonEntityFn} from "./jsonEntityFn"; export function Property(type?: any) { return JsonEntityFn((store) => { if (type) { - if (isClass(type)) { + if (isClass(type) || isArrowFn(type)) { store.type = type; } store.itemSchema.type(type); diff --git a/packages/specs/schema/src/domain/JsonEntityStore.ts b/packages/specs/schema/src/domain/JsonEntityStore.ts index 40ea224ee4b..ffde7e81d52 100644 --- a/packages/specs/schema/src/domain/JsonEntityStore.ts +++ b/packages/specs/schema/src/domain/JsonEntityStore.ts @@ -5,6 +5,7 @@ import { DecoratorTypes, descriptorOf, isArrayOrArrayClass, + isArrowFn, isClass, isClassObject, isCollection, @@ -280,6 +281,8 @@ export abstract class JsonEntityStore implements JsonEntityStoreOptions { ? this.itemSchema.discriminator() : isClassObject(this.type) ? this.itemSchema.getTarget() + : isArrowFn(this.type) + ? this.type() : this.type; } } From edd843d55e2998f53cc6c5551b59f4b485151167 Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Wed, 9 Aug 2023 15:55:53 +0200 Subject: [PATCH 03/30] feat(core): add method on core level --- packages/core/src/index.ts | 4 ++++ packages/core/src/utils/getRandomId.spec.ts | 7 ++++++ .../src/utils/getRandomId.ts} | 2 +- .../src/utils/objects/hasJsonMethod.spec.ts | 11 ++++++++++ .../core/src/utils/objects/hasJsonMethod.ts | 3 +++ .../src/utils/objects/isMomentObject.spec.ts | 16 ++++++++++++++ .../core/src/utils/objects/isMomentObject.ts | 3 +++ .../utils/objects/isMongooseObject.spec.ts | 22 +++++++++++++++++++ .../src/utils/objects/isMongooseObject.ts | 5 +++++ 9 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 packages/core/src/utils/getRandomId.spec.ts rename packages/{specs/json-mapper/src/utils/getRandomComponentId.ts => core/src/utils/getRandomId.ts} (58%) create mode 100644 packages/core/src/utils/objects/hasJsonMethod.spec.ts create mode 100644 packages/core/src/utils/objects/hasJsonMethod.ts create mode 100644 packages/core/src/utils/objects/isMomentObject.spec.ts create mode 100644 packages/core/src/utils/objects/isMomentObject.ts create mode 100644 packages/core/src/utils/objects/isMongooseObject.spec.ts create mode 100644 packages/core/src/utils/objects/isMongooseObject.ts diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index b935036917e..5ee82ff0dd9 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -25,6 +25,7 @@ export * from "./interfaces/DecoratorParameters"; export * from "./interfaces/MetadataTypes"; export * from "./interfaces/ValueOf"; export * from "./utils/catchError"; +export * from "./utils/getRandomId"; export * from "./utils/proxyDelegation"; export * from "./utils/uniq"; export * from "./utils/decorators/decorateMethodsOf"; @@ -48,6 +49,7 @@ export * from "./utils/objects/getClassOrSymbol"; export * from "./utils/objects/getConstructorArgNames"; export * from "./utils/objects/getEnumerableKeys"; export * from "./utils/objects/getValue"; +export * from "./utils/objects/hasJsonMethod"; export * from "./utils/objects/isArray"; export * from "./utils/objects/isArrowFn"; export * from "./utils/objects/isBoolean"; @@ -59,6 +61,8 @@ export * from "./utils/objects/isEmpty"; export * from "./utils/objects/isEnumerable"; export * from "./utils/objects/isFunction"; export * from "./utils/objects/isInheritedFrom"; +export * from "./utils/objects/isMomentObject"; +export * from "./utils/objects/isMongooseObject"; export * from "./utils/objects/isNil"; export * from "./utils/objects/isNumber"; export * from "./utils/objects/isObject"; diff --git a/packages/core/src/utils/getRandomId.spec.ts b/packages/core/src/utils/getRandomId.spec.ts new file mode 100644 index 00000000000..c9b6bd1985d --- /dev/null +++ b/packages/core/src/utils/getRandomId.spec.ts @@ -0,0 +1,7 @@ +import {getRandomId} from "./getRandomId"; + +describe("getRandomId", () => { + it("should return random id", () => { + expect(getRandomId()).not.toEqual(getRandomId()); + }); +}); diff --git a/packages/specs/json-mapper/src/utils/getRandomComponentId.ts b/packages/core/src/utils/getRandomId.ts similarity index 58% rename from packages/specs/json-mapper/src/utils/getRandomComponentId.ts rename to packages/core/src/utils/getRandomId.ts index b76490a0207..b6af3b3bba3 100644 --- a/packages/specs/json-mapper/src/utils/getRandomComponentId.ts +++ b/packages/core/src/utils/getRandomId.ts @@ -1,3 +1,3 @@ -export function getRandomComponentId() { +export function getRandomId() { return `e${Math.random().toString(36).substring(7)}`; } diff --git a/packages/core/src/utils/objects/hasJsonMethod.spec.ts b/packages/core/src/utils/objects/hasJsonMethod.spec.ts new file mode 100644 index 00000000000..288cd573a90 --- /dev/null +++ b/packages/core/src/utils/objects/hasJsonMethod.spec.ts @@ -0,0 +1,11 @@ +import {hasJsonMethod} from "./hasJsonMethod"; + +describe("hasJsonMethod", () => { + it("should return true if object has toJSON method", () => { + expect(hasJsonMethod({toJSON: () => {}})).toEqual(true); + }); + + it("should return false if object hasn't toJSON method", () => { + expect(hasJsonMethod({})).toEqual(false); + }); +}); diff --git a/packages/core/src/utils/objects/hasJsonMethod.ts b/packages/core/src/utils/objects/hasJsonMethod.ts new file mode 100644 index 00000000000..32bbf84ea61 --- /dev/null +++ b/packages/core/src/utils/objects/hasJsonMethod.ts @@ -0,0 +1,3 @@ +export function hasJsonMethod(obj: any) { + return obj && typeof obj.toJSON === "function"; +} diff --git a/packages/core/src/utils/objects/isMomentObject.spec.ts b/packages/core/src/utils/objects/isMomentObject.spec.ts new file mode 100644 index 00000000000..f8517e9e5ec --- /dev/null +++ b/packages/core/src/utils/objects/isMomentObject.spec.ts @@ -0,0 +1,16 @@ +import {isMomentObject} from "./isMomentObject"; + +describe("isMomentObject", () => { + it("should return true if object is moment object", () => { + expect( + isMomentObject({ + _isAMomentObject: true + }) + ).toEqual(true); + }); + + it("should return false if object is not moment object", () => { + expect(isMomentObject({})).toEqual(false); + expect(isMomentObject(null)).toEqual(false); + }); +}); diff --git a/packages/core/src/utils/objects/isMomentObject.ts b/packages/core/src/utils/objects/isMomentObject.ts new file mode 100644 index 00000000000..05826b5d5ce --- /dev/null +++ b/packages/core/src/utils/objects/isMomentObject.ts @@ -0,0 +1,3 @@ +export function isMomentObject(obj: any) { + return !!(obj && obj?._isAMomentObject); +} diff --git a/packages/core/src/utils/objects/isMongooseObject.spec.ts b/packages/core/src/utils/objects/isMongooseObject.spec.ts new file mode 100644 index 00000000000..46a842c7959 --- /dev/null +++ b/packages/core/src/utils/objects/isMongooseObject.spec.ts @@ -0,0 +1,22 @@ +import {isMongooseObject} from "./isMongooseObject"; + +describe("isMongooseObject", () => { + it("should return true if object is mongoose object", () => { + expect( + isMongooseObject({ + toJSON: () => {}, + $isMongooseModelPrototype: true + }) + ).toEqual(true); + expect(isMongooseObject({_bsontype: true})).toEqual(true); + }); + it("should return false if object is not mongoose object", () => { + expect( + isMongooseObject({ + toJSON: () => {} + }) + ).toEqual(false); + expect(isMongooseObject({})).toEqual(false); + expect(isMongooseObject(null)).toEqual(false); + }); +}); diff --git a/packages/core/src/utils/objects/isMongooseObject.ts b/packages/core/src/utils/objects/isMongooseObject.ts new file mode 100644 index 00000000000..30be377e665 --- /dev/null +++ b/packages/core/src/utils/objects/isMongooseObject.ts @@ -0,0 +1,5 @@ +import {hasJsonMethod} from "./hasJsonMethod"; + +export function isMongooseObject(obj: any) { + return !!((hasJsonMethod(obj) && obj.$isMongooseModelPrototype) || (obj && obj._bsontype)); +} From 5d7c35b4ef06bf525d6e8f054eb51ffc1fb84789 Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Thu, 10 Aug 2023 12:19:02 +0200 Subject: [PATCH 04/30] feat(json-mapper): support all features on serialize method --- packages/specs/json-mapper/jest.config.js | 4 +- .../src/domain/JsonMapperCompiler.ts | 240 +++- .../src/domain/JsonSerializer.spec.ts | 1066 +++++++++++++---- .../json-mapper/src/domain/JsonSerializer.ts | 265 ++-- .../src/domain/JsonSerializerOptions.ts | 15 + .../json-mapper/src/domain/Writer.spec.ts | 11 + .../specs/json-mapper/src/domain/Writer.ts | 19 +- .../domain/__snapshots__/Writer.spec.ts.snap | 10 + packages/specs/json-mapper/src/index.ts | 6 + packages/specs/json-mapper/src/tsconfig.json | 18 + .../src/utils/getSchemaProperties.ts | 16 - .../specs/json-mapper/src/utils/serialize.ts | 212 +--- .../models.date.intregration.spec.ts | 1 + .../integration/moment.integration.spec.ts | 21 +- 14 files changed, 1316 insertions(+), 588 deletions(-) create mode 100644 packages/specs/json-mapper/src/domain/JsonSerializerOptions.ts create mode 100644 packages/specs/json-mapper/src/domain/Writer.spec.ts create mode 100644 packages/specs/json-mapper/src/domain/__snapshots__/Writer.spec.ts.snap create mode 100644 packages/specs/json-mapper/src/tsconfig.json delete mode 100644 packages/specs/json-mapper/src/utils/getSchemaProperties.ts diff --git a/packages/specs/json-mapper/jest.config.js b/packages/specs/json-mapper/jest.config.js index 05f1f8ce4b8..1e20eaab945 100644 --- a/packages/specs/json-mapper/jest.config.js +++ b/packages/specs/json-mapper/jest.config.js @@ -6,10 +6,10 @@ module.exports = { roots: ["/src", "/test"], coverageThreshold: { global: { - statements: 99.89, + statements: 99.78, branches: 97.89, functions: 100, - lines: 99.89 + lines: 99.78 } }, moduleNameMapper: { diff --git a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts index b6d26cf64ab..4bfa1a90200 100644 --- a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts +++ b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts @@ -1,102 +1,224 @@ -import {isCollection, nameOf, objectKeys, Type} from "@tsed/core"; -import {alterIgnore} from "@tsed/schema"; -import {getRandomComponentId} from "../utils/getRandomComponentId"; -import {getJsonMapperTypes} from "./JsonMapperTypesContainer"; +import { + ancestorsOf, + classOf, + getRandomId, + hasJsonMethod, + isClass, + isCollection, + isDate, + isMomentObject, + isMongooseObject, + isNil, + isObject, + nameOf, + objectKeys, + Type +} from "@tsed/core"; +import {JsonSchema} from "@tsed/schema"; export type JsonMapperCallback = (input: any, options?: Options) => any; export type CachedJsonMapper = { id: string; fn: JsonMapperCallback; - source: string; }; -export abstract class JsonMapperCompiler { - cache = new Map, CachedJsonMapper>(); - mappers: Record> = {}; - schemes: Record = {}; +export type CachedGroupsJsonMapper = Map>; + +export abstract class JsonMapperCompiler = any> { + /** + * Cached mappers metadata + * @protected + */ + protected cache = new Map | string, CachedGroupsJsonMapper>(); + /** + * Cached executable mappers by his id + * @protected + */ + protected mappers: Record> = {}; + /** + * Cached schemas + * @protected + */ + protected schemes: Record = {}; + /** + * Global variables available in the mapper + * @protected + */ + protected globals: Record = { + isCollection, + isClass, + isObject, + classOf, + nameOf, + hasJsonMethod, + isMongooseObject, + isNil, + isDate, + objectKeys, + isMomentObject + }; + + constructor() { + this.addGlobal("alterIgnore", this.alterIgnore.bind(this)); + this.addGlobal("alterValue", this.alterValue.bind(this)); + this.addGlobal("execMapper", this.execMapper.bind(this)); + } - abstract alterValue(schemaId: string, value: any, options: Options): any; - abstract createMapper(model: Type, id: string): string; + addTypeMapper(model: Type | string, fn: any) { + const id = nameOf(model); - set(model: Type, mapper: CachedJsonMapper) { - this.cache.set(model, mapper); - this.mappers[mapper.id] = mapper.fn; - } + this.cache.set( + model, + new Map().set("typeMapper", { + id, + fn + }) + ); + + this.mappers[id] = fn; - get(model: Type) { - return this.cache.get(model); + return this; } - has(model: Type) { - return this.cache.has(model); + removeTypeMapper(model: Type | string) { + const store = this.cache.get(model); + + if (store) { + const {id} = store.get("typeMapper")!; + + delete this.mappers[id]; + this.cache.delete(model); + } } - addTypeMapper(model: Type, fn: any) { - this.cache.set(model, { - id: nameOf(model), - source: "", - fn - }); - this.mappers[nameOf(model)] = fn; + addGlobal(key: string, value: any) { + this.globals[key] = value; return this; } - eval(id: string, model: Type, mapper: string) { - const {cache} = this; - eval(`cache.set(model, { fn: ${mapper} })`); + eval(mapper: string, {id, groupsId, model}: {id: string; model: Type; groupsId: string}) { + this.addGlobal("cache", this.cache); + + const {globals} = this; + + const injectGlobals = Object.keys(globals) + .map((name) => { + return `const ${name} = globals.${name};`; + }) + .join("\n"); - const serializer = this.cache.get(model)!; - serializer.source = mapper; - serializer.id = id; + eval(`${injectGlobals}; - this.mappers[id] = serializer.fn; + cache.get(model).set(groupsId, { id: '${id}', fn: ${mapper} })`); - return serializer.fn; + const store = this.cache.get(model)!.get(groupsId)!; + + this.mappers[id] = store.fn; + + return store; } createContext(options: Options) { + const {mappers, globals, cache} = this; + return { ...options, - alterIgnore: (id: string, options: Options) => { - return alterIgnore(this.schemes[id], options); - }, - alterValue: (id: string, value: any, options: Options) => { - return this.alterValue(id, value, options); - }, - objectKeys, - cache: this.cache, - mappers: this.mappers + cache }; } - compile(model: Type): CachedJsonMapper { - if (!this.has(model)) { - const types = getJsonMapperTypes(); + compile(model: Type, groups: false | string[]): CachedJsonMapper { + model = this.getType(model); - if (types.has(model) && !isCollection(model)) { - const mapper = types.get(model); + const groupsId = this.getGroupsId(groups); + let storeGroups = this.cache.get(model) || this.cache.get(nameOf(model)); - if (mapper) { - this.addTypeMapper(model, mapper.serialize.bind(mapper)); - } + if (!storeGroups) { + storeGroups = new Map(); + this.cache.set(model, storeGroups); + } - return this.get(model)!; - } + if (storeGroups.has("typeMapper")) { + return storeGroups.get("typeMapper")!; + } - const id = `${nameOf(model)}:${getRandomComponentId()}`; - this.cache.set(model, {id} as any); + // generate mapper for the given groups + if (!storeGroups.has(groupsId)) { + const id = this.getId(model, groupsId); - const mapper = this.createMapper(model, id); + // prevent circular dependencies + storeGroups.set(groupsId, { + id + } as any); + + const mapper = this.createMapper(model, id, groups); try { - this.eval(id, model, mapper); + return this.eval(mapper, {id, model, groupsId}); } catch (err) { - console.log(mapper); throw new Error(`Fail to compile mapper for ${nameOf(model)}. See the error above: ${err.message}.\n${mapper}`); } } - return this.get(model)!; + return storeGroups!.get(groupsId)!; + } + + protected execMapper(id: string, value: any, options: Options) { + return this.mappers[id](value, options); + } + + protected abstract map(input: any, options: Options): any; + + protected abstract alterValue(schemaId: string, value: any, options: Options): any; + + protected abstract createMapper(model: Type, id: string, groups: false | string[]): string; + + protected getType(model: Type) { + if (!model) { + return Object; + } + + if (isClass(model) && !isCollection(model)) { + const type = [Array, Map, Set].find((t) => ancestorsOf(model).includes(t)); + + if (type) { + return type; + } + } + + return model; + } + + protected alterIgnore(id: string, options: Options) { + let result = this.schemes[id]?.$hooks?.alter("ignore", false, [options]); + + if (result) { + return result; + } + } + + protected alterGroups(schema: JsonSchema, groups: false | string[]) { + if (groups !== false) { + return schema.$hooks.alter("groups", false, [groups]); + } + + return false; + } + + protected getGroupsId(groups: false | string[]) { + if (groups === false) { + return "default"; + } + + if (groups.length === 0) { + return "-"; + } + + return groups.join(","); + } + + protected getId(model: Type, groupsId: string) { + return `${nameOf(model)}:${getRandomId()}:${groupsId}`; } } diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts index 4dfe0284c50..0423a1f86c2 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts @@ -1,11 +1,286 @@ -import {AdditionalProperties, CollectionOf, Ignore, JsonHookContext, Name, Property} from "@tsed/schema"; +import {isBoolean} from "@tsed/core"; +import { + AdditionalProperties, + CollectionOf, + DiscriminatorKey, + DiscriminatorValue, + Ignore, + JsonHookContext, + Name, + Property, + Required +} from "@tsed/schema"; +import {parse} from "querystring"; +import {Post} from "../../test/helpers/Post"; +import {User} from "../../test/helpers/User"; +import "../components/DateMapper"; import "../components/PrimitiveMapper"; +import "../components/SymbolMapper"; import {OnSerialize} from "../decorators/onSerialize"; -import {serializeV2} from "./JsonSerializer"; +import {deserialize} from "../utils/deserialize"; +import {getJsonMapperTypes} from "./JsonMapperTypesContainer"; +import {JsonSerializer} from "./JsonSerializer"; + +const serializer = new JsonSerializer(); + +const serialize = (...args: any[]) => (serializer.map as any)(...args); + +function createMap(value: any) { + return new Map([["test", value]]); +} describe("JsonSerializer", () => { - describe("ignore hook is configured on props", () => { - it("should serialize model (api = true)", () => { + describe("Primitives", () => { + it("should serialize values", () => { + expect(serialize(undefined)).toBeUndefined(); + expect(serialize(null)).toEqual(null); + expect(serialize("null")).toEqual("null"); + expect(serialize(Symbol.for("TEST"))).toEqual("TEST"); + expect(serialize(false)).toEqual(false); + expect(serialize(true)).toEqual(true); + expect(serialize("")).toEqual(""); + expect(serialize("1")).toEqual("1"); + expect(serialize(0)).toEqual(0); + expect(serialize(1)).toEqual(1); + expect(serialize(BigInt(1n))).toEqual(BigInt(1)); + }); + }); + describe("Object", () => { + it("should serialize values", () => { + expect(serialize({test: "test"}, {type: Object})).toEqual({test: "test"}); + expect(serialize({test: "test"}, {type: false})).toEqual({test: "test"}); + expect(serialize({test: "test"}, {type: null})).toEqual({test: "test"}); + expect(serialize({test: "test"}, {type: undefined})).toEqual({test: "test"}); + }); + it("should serialize parsed querystring", () => { + expect(serialize({qs: parse("q[offset]=0&q[limit]=10&q[where][a]=0&q[where][b]=1")})).toEqual({ + qs: { + "q[limit]": "10", + "q[offset]": "0", + "q[where][a]": "0", + "q[where][b]": "1" + } + }); + }); + }); + describe("Array", () => { + it("should serialize values", () => { + expect(serialize([null])).toEqual([null]); + expect(serialize([false])).toEqual([false]); + expect(serialize([true])).toEqual([true]); + expect(serialize([""])).toEqual([""]); + expect(serialize(["1"])).toEqual(["1"]); + expect(serialize([1])).toEqual([1]); + + class ArrayLike extends Array {} + + const arrayLike = new ArrayLike(); + arrayLike.push(1); + + expect(serialize(arrayLike)).toEqual([1]); + }); + }); + describe("Map", () => { + it("should serialize values", () => { + expect(serialize(createMap(null))).toEqual({test: null}); + expect(serialize(createMap(false))).toEqual({test: false}); + expect(serialize(createMap(true))).toEqual({test: true}); + expect(serialize(createMap(""))).toEqual({test: ""}); + expect(serialize(createMap("1"))).toEqual({test: "1"}); + expect(serialize(createMap(1))).toEqual({test: 1}); + }); + }); + describe("toJson()", () => { + it("should serialize obj from toJSON", () => { + const result = serialize({ + toJSON() { + return "hello"; + } + }); + + expect(result).toEqual("hello"); + }); + + it("should serialize obj from toJSON (with type)", () => { + class Model {} + + const result = serialize( + { + toJSON() { + return "hello"; + } + }, + {type: Model} + ); + + expect(result).toEqual("hello"); + }); + }); + describe("Plain Object", () => { + it("should serialize plain object (1)", () => { + expect(serialize({prop: "1"})).toEqual({prop: "1"}); + + const result = serialize({ + prop: "1", + roles: [{label: "Admin"}] + }); + expect(result).toEqual({ + prop: "1", + roles: [ + { + label: "Admin" + } + ] + }); + }); + it("should serialize plain object (2)", () => { + expect(serialize({prop: "1"})).toEqual({prop: "1"}); + const roles = new Map(); + roles.set("ro", "le"); + + const result = serialize({ + prop: "1", + roles + }); + expect(result).toEqual({ + prop: "1", + roles: { + ro: "le" + } + }); + }); + }); + describe("Class", () => { + describe("ignore hook is configured on props", () => { + it("should serialize model (api = true)", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnSerialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Role[] = []; + + @CollectionOf(Role) + mapRoles: Map = new Map(); + + @CollectionOf(String) + setRoleNames: Set = new Set(); + } + + const model = new Model(); + model.id = "id"; + model.password = "string"; + model.mappedProp = "mappedProp"; + model.roles = [new Role({label: "ADMIN"})]; + + model.mapRoles = new Map([["ADMIN", new Role({label: "ADMIN"})]]); + + model.setRoleNames = new Set(); + model.setRoleNames.add("ADMIN"); + + expect( + serialize(model, { + useAlias: false, + api: true + }) + ).toEqual({ + id: "id", + mapRoles: { + ADMIN: { + label: "ADMIN" + } + }, + mappedProp: "mappedProptest", + roles: [ + { + label: "ADMIN" + } + ], + setRoleNames: ["ADMIN"] + }); + }); + it("should serialize model (api = false)", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnSerialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Role[] = []; + + @CollectionOf(Role) + mapRoles: Map = new Map(); + + @CollectionOf(String) + setRoleNames: Set = new Set(); + } + + const model = new Model(); + model.id = "id"; + model.password = "string"; + model.mappedProp = "mappedProp"; + model.roles = [new Role({label: "ADMIN"})]; + + model.mapRoles = new Map([["ADMIN", new Role({label: "ADMIN"})]]); + + model.setRoleNames = new Set(); + model.setRoleNames.add("ADMIN"); + + expect( + serialize(model, { + useAlias: false, + api: false + }) + ).toEqual({ + id: "id", + mapRoles: { + ADMIN: { + label: "ADMIN" + } + }, + password: "string", + mappedProp: "mappedProptest", + roles: [ + { + label: "ADMIN" + } + ], + setRoleNames: ["ADMIN"] + }); + }); + }); + it("should serialize model and take the right type", () => { class Role { @Property() label: string; @@ -27,48 +302,33 @@ describe("JsonSerializer", () => { mappedProp: string; @CollectionOf(Role) - roles: Role[] = []; - - @CollectionOf(Role) - mapRoles: Map = new Map(); + roles: Map = new Map(); + } - @CollectionOf(String) - setRoleNames: Set = new Set(); + class ServerResponse { + @Property() + data: Model; } const model = new Model(); model.id = "id"; - model.password = "string"; - model.mappedProp = "mappedProp"; - model.roles = [new Role({label: "ADMIN"})]; - - model.mapRoles = new Map([["ADMIN", new Role({label: "ADMIN"})]]); - - model.setRoleNames = new Set(); - model.setRoleNames.add("ADMIN"); + model.password = "hellopassword"; + model.mappedProp = "hello"; + model.roles.set("olo", new Role({label: "label"})); - expect( - serializeV2(model, { - useAlias: false, - api: true - }) - ).toEqual({ + expect(serialize(model, {type: ServerResponse})).toEqual({ id: "id", - mapRoles: { - ADMIN: { - label: "ADMIN" + password: "hellopassword", + mapped_prop: "hellotest", + roles: { + olo: { + label: "label" } - }, - mappedProp: "mappedProptest", - roles: [ - { - label: "ADMIN" - } - ], - setRoleNames: ["ADMIN"] + } }); }); - it("should serialize model (api = false)", () => { + + it("should serialize model with alias property", () => { class Role { @Property() label: string; @@ -111,8 +371,8 @@ describe("JsonSerializer", () => { model.setRoleNames.add("ADMIN"); expect( - serializeV2(model, { - useAlias: false, + serialize(model, { + useAlias: true, api: false }) ).toEqual({ @@ -122,8 +382,8 @@ describe("JsonSerializer", () => { label: "ADMIN" } }, + mapped_prop: "mappedProptest", password: "string", - mappedProp: "mappedProptest", roles: [ { label: "ADMIN" @@ -132,214 +392,578 @@ describe("JsonSerializer", () => { setRoleNames: ["ADMIN"] }); }); - }); - it("should serialize model with alias property", () => { - class Role { - @Property() - label: string; + it("should serialize model with nested object", () => { + class Nested { + @Property() + label: string; - constructor({label}: any = {}) { - this.label = label; - } - } - - class Model { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnSerialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @CollectionOf(Role) - roles: Role[] = []; - - @CollectionOf(Role) - mapRoles: Map = new Map(); - - @CollectionOf(String) - setRoleNames: Set = new Set(); - } - - const model = new Model(); - model.id = "id"; - model.password = "string"; - model.mappedProp = "mappedProp"; - model.roles = [new Role({label: "ADMIN"})]; - - model.mapRoles = new Map([["ADMIN", new Role({label: "ADMIN"})]]); - - model.setRoleNames = new Set(); - model.setRoleNames.add("ADMIN"); - - expect( - serializeV2(model, { - useAlias: true, - api: false - }) - ).toEqual({ - id: "id", - mapRoles: { - ADMIN: { - label: "ADMIN" + @Name("additional_description") + additionalDescription: string; + + constructor({label, additionalDescription}: any = {}) { + this.label = label; + this.additionalDescription = additionalDescription; } - }, - mapped_prop: "mappedProptest", - password: "string", - roles: [ - { - label: "ADMIN" + } + + class Model { + @Property() + id: string; + + @Property() + nested: any; + + @Property() + nestedTyped: Nested; + } + + const model = new Model(); + model.id = "id"; + model.nested = { + other: "other", + test: new Nested({ + additionalDescription: "additionalDescription", + label: "label" + }) + }; + + model.nestedTyped = new Nested({ + additionalDescription: "additionalDescription", + label: "label" + }); + + expect( + serialize(model, { + useAlias: true, + api: false + }) + ).toEqual({ + id: "id", + nested: { + other: "other", + test: { + additional_description: "additionalDescription", + label: "label" + } + }, + nestedTyped: { + additional_description: "additionalDescription", + label: "label" } - ], - setRoleNames: ["ADMIN"] + }); }); - }); - it("should serialize model with nested object", () => { - class Nested { - @Property() - label: string; + it("should serialize model with additional properties", () => { + @AdditionalProperties(true) + class Model { + @Property() + id: string; - @Name("additional_description") - additionalDescription: string; + @OnSerialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + } + + expect( + serialize( + { + id: "id", + mappedProp: "mappedProp", + additionalProperty: true + }, + { + type: Model, + useAlias: false + } + ) + ).toEqual({ + additionalProperty: true, + id: "id", + mappedProp: "mappedProptest" + }); + }); + it("should serialize model (recursive class)", () => { + class User { + @Property() + name: string; - constructor({label, additionalDescription}: any = {}) { - this.label = label; - this.additionalDescription = additionalDescription; + @CollectionOf(() => Post) + posts: any[]; + + @Property(() => Post) + @Name("main_post") + mainPost: any; } - } - class Model { - @Property() - id: string; + class Post { + @Property() + id: string; + + @Property() + owner: User; + + @Name("title") + initializedTitle: string; + } - @Property() - nested: any; + const post = new Post(); + post.id = "id"; - @Property() - nestedTyped: Nested; - } + post.owner = new User(); + post.owner.name = "name"; + post.owner.posts = [new Post()]; + post.owner.posts[0].id = "id"; + post.owner.posts[0].initializedTitle = "initializedTitle"; - const model = new Model(); - model.id = "id"; - model.nested = { - other: "other", - test: new Nested({ - additionalDescription: "additionalDescription", - label: "label" - }) - }; + post.owner.mainPost = new Post(); + post.owner.mainPost.id = "idMain"; + post.owner.mainPost.initializedTitle = "initializedTitle"; - model.nestedTyped = new Nested({ - additionalDescription: "additionalDescription", - label: "label" + const result = serialize(post, {useAlias: true}); + + expect(result).toEqual({ + id: "id", + owner: { + name: "name", + main_post: { + id: "idMain", + title: "initializedTitle" + }, + posts: [ + { + id: "id", + title: "initializedTitle" + } + ] + } + }); }); + it("should serialize model without props", () => { + class Test { + raw: any; + affected?: number | null; + } - expect( - serializeV2(model, { - useAlias: true, - api: false - }) - ).toEqual({ - id: "id", - nested: { - other: "other", - test: { - additional_description: "additionalDescription", - label: "label" + const t = new Test(); + + t.raw = 1; + t.affected = 1; + + const result = serialize(t, {type: Object}); + + expect(result).toEqual({ + affected: 1, + raw: 1 + }); + }); + it("should discover property dynamically when any schema decorators are used", () => { + function log(): PropertyDecorator { + return () => {}; + } + + class User { + @log() + id: string; + + test: string; + + [key: string]: any; + + constructor({id, test}: any = {}) { + this.id = id; + test && (this.test = test); } - }, - nestedTyped: { - additional_description: "additionalDescription", - label: "label" } + + const user1 = new User({id: "id"}); + const user2 = new User({id: "id", test: "test"}); + const user3 = new User({id: "id", test: "test"}); + + user3.extra = "extra"; + + expect(serialize(user1, {type: User})).toEqual({id: "id"}); + expect(serialize(user2, {type: User})).toEqual({id: "id", test: "test"}); + expect(serialize(user3, {type: User})).toEqual({ + extra: "extra", + id: "id", + test: "test" + }); }); }); - it("should serialize model with additional properties", () => { - @AdditionalProperties(true) - class Model { - @Property() - id: string; - - @OnSerialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - } - - expect( - serializeV2( + describe("class with toJSON/toClass", () => { + it("should serialize model", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnSerialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Map = new Map(); + } + + const model = new Model(); + // @ts-ignore + model.$isMongooseModelPrototype = true; + // @ts-ignore + model["toJSON"] = (options: any) => { + const result = deserialize( + { + id: "id", + password: "hellopassword", + mappedProp: "hello" + }, + {useAlias: false, type: Model} + ); + + return serialize(result, options); + }; + + expect(serialize(model, {type: Model})).toEqual({ + id: "id", + mapped_prop: "hellotest", + password: "hellopassword", + roles: {} + }); + + expect(serialize(model, {api: true, useAlias: false})).toEqual({ + id: "id", + mappedProp: "hellotest", + roles: {} + }); + + expect(serialize([model], {type: Model})).toEqual([ { id: "id", - mappedProp: "mappedProp", - additionalProperty: true - }, + mapped_prop: "hellotest", + password: "hellopassword", + roles: {} + } + ]); + }); + it("should serialize model Array", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnSerialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Map = new Map(); + } + + const model = new Model(); + model.id = "id"; + model.password = "hellopassword"; + model.mappedProp = "hello"; + model.roles.set("olo", new Role({label: "label"})); + + expect(serialize([model], {type: Model})).toEqual([ { - type: Model, - useAlias: false + id: "id", + password: "hellopassword", + mapped_prop: "hellotest", + roles: { + olo: { + label: "label" + } + } } - ) - ).toEqual({ - additionalProperty: true, - id: "id", - mappedProp: "mappedProptest" + ]); + }); + it("should serialize model (inherited class)", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Base { + @CollectionOf(Role) + roles: Map = new Map(); + } + + class Model extends Base { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnSerialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + } + + const model = new Model(); + model.id = "id"; + model.password = "hellopassword"; + model.mappedProp = "hello"; + model.roles.set("olo", new Role({label: "label"})); + + expect(serialize(model)).toEqual({ + id: "id", + password: "hellopassword", + mapped_prop: "hellotest", + roles: { + olo: { + label: "label" + } + } + }); + + expect(serialize(model, {api: true, useAlias: false})).toEqual({ + id: "id", + mappedProp: "hellotest", + roles: { + olo: { + label: "label" + } + } + }); + }); + it("should serialize model (recursive class)", () => { + const post = new Post(); + post.id = "id"; + post.owner = new User(); + post.owner.name = "name"; + post.owner.posts = [new Post()]; + post.owner.posts[0].id = "id"; + + const result = serialize(post); + + expect(result).toEqual({ + id: "id", + owner: { + name: "name", + posts: [ + { + id: "id" + } + ] + } + }); + }); + it("should serialize model with object props", () => { + class Model { + @Property() + test: any; + + @Property() + id: string; + } + + const test = new Model(); + test.id = "id"; + test.test = { + value: "test", + nullProp: null + }; + + const result = serialize(test, {type: Model}); + + expect(result).toEqual({ + id: "id", + test: { + value: "test", + nullProp: null + } + }); + }); + it("should serialize model with additional object props", () => { + @AdditionalProperties(true) + class Model { + @Property() + id: string; + + @Ignore(true) + ignored: boolean; + + @Name("renamed") + name: string; + + [type: string]: any; + } + + const test = new Model(); + test.id = "id"; + test.ignored = true; + test.name = "myname"; + test.additional = {foo: "bar"}; + + const result = serialize(test, {type: Model}); + + expect(result).toEqual({ + id: "id", + renamed: "myname", + additional: { + foo: "bar" + } + }); + }); + it("should not serialize model with additional object props", () => { + class Model { + @Property() + id: string; + + @Ignore(true) + ignored: boolean; + + @Name("renamed") + name: string; + + [type: string]: any; + } + + const test = new Model(); + test.id = "id"; + test.ignored = true; + test.name = "myname"; + test.additional = {foo: "bar"}; + + const result = serialize(test, {type: Model}); + + expect(result).toEqual({ + id: "id", + renamed: "myname" + }); }); }); - it("should serialize model (recursive class)", () => { - class User { - @Property() - name: string; - - @CollectionOf(() => Post) - posts: any[]; - - @Property(() => Post) - @Name("main_post") - mainPost: any; - } - - class Post { - @Property() - id: string; - - @Property() - owner: User; - - @Name("title") - initializedTitle: string; - } - - const post = new Post(); - post.id = "id"; - - post.owner = new User(); - post.owner.name = "name"; - post.owner.posts = [new Post()]; - post.owner.posts[0].id = "id"; - post.owner.posts[0].initializedTitle = "initializedTitle"; - - post.owner.mainPost = new Post(); - post.owner.mainPost.id = "idMain"; - post.owner.mainPost.initializedTitle = "initializedTitle"; - - const result = serializeV2(post, {useAlias: true}); - - expect(result).toEqual({ - id: "id", - owner: { - name: "name", - main_post: { - id: "idMain", - title: "initializedTitle" - }, - posts: [ - { - id: "id", - title: "initializedTitle" + describe("custom date mapper", () => { + it("should use a custom date mapper", () => { + class Test { + @Property() myDate: Date; + } + + class CustomDateMapper { + deserialize(data: string | number): Date; + deserialize(data: boolean | null | undefined): boolean | null | undefined; + deserialize(data: any): any { + // don't convert unexpected data. In normal case, Ajv reject unexpected data. + // But by default, we have to skip data deserialization and let user to apply + // the right mapping + if (isBoolean(data) || data === null || data === undefined) { + return data; } - ] + + return new Date(data); + } + + serialize(object: Date): any { + return new Date(object).toDateString(); + } + } + + const obj = new Test(); + obj.myDate = new Date("2022-10-02"); + + const types = new Map(getJsonMapperTypes()); + types.set(Date, new CustomDateMapper()); + + const result = serialize(obj, { + types + }); + expect(result).toEqual({ + myDate: "Sun Oct 02 2022" + }); + }); + }); + describe("discriminator", () => { + it("should serialize items", () => { + class Event { + @DiscriminatorKey() // declare this property as discriminator key + type: string; + + @Property() + value: string; + } + + class SubEvent extends Event { + @Property() + metaSub: string; + } + + @DiscriminatorValue("page_view") // or @DiscriminatorValue() value can be inferred by the class name + class PageView extends SubEvent { + @Required() + url: string; + } + + @DiscriminatorValue("action", "click_action") + class Action extends SubEvent { + @Required() + event: string; + } + + @DiscriminatorValue() + class CustomAction extends Event { + @Required() + event: string; + + @Property() + meta: string; } + + type OneOfEvents = PageView | Action | CustomAction; + + const event = new Event(); + event.value = "value"; + + const pageView = new PageView(); + pageView.value = "value"; + pageView.url = "url"; + + const action = new Action(); + action.value = "value"; + action.event = "event"; + + const list = [event, pageView, action]; + + expect(serialize(list)).toEqual([ + { + value: "value" + }, + { + type: "page_view", + url: "url", + value: "value" + }, + { + type: "action", + event: "event", + value: "value" + } + ]); }); }); }); diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.ts index 853eb13d379..fc4faef5bfb 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.ts @@ -1,141 +1,268 @@ -import {classOf, nameOf, Type} from "@tsed/core"; -import {getPropertiesStores, JsonEntityStore, JsonPropertyStore} from "@tsed/schema"; +import {classOf, hasJsonMethod, isClassObject, isDate, isMomentObject, isMongooseObject, isNil, isObject, nameOf, Type} from "@tsed/core"; +import {getPropertiesStores, JsonClassStore, JsonEntityStore, JsonPropertyStore} from "@tsed/schema"; import {alterOnSerialize} from "../hooks/alterOnSerialize"; import {getObjectProperties} from "../utils/getObjectProperties"; -import {JsonSerializerOptions} from "../utils/serialize"; import {JsonMapperCompiler} from "./JsonMapperCompiler"; +import {getJsonMapperTypes} from "./JsonMapperTypesContainer"; +import {JsonSerializerOptions} from "./JsonSerializerOptions"; import {Writer} from "./Writer"; +function getBestType(type: Type, obj: any) { + const dataType = classOf(obj); + + if (dataType && !isClassObject(dataType)) { + return dataType; + } + + return type || Object; +} + export class JsonSerializer extends JsonMapperCompiler { constructor() { super(); - this.addTypeMapper(Object, (input: any, {type, ...options}: JsonSerializerOptions) => { - return getObjectProperties(input) - .filter(([, value]) => value !== undefined) - .reduce((obj, [key, value]) => { - const mapper = this.compile(classOf(value)); + this.addTypeMapper(Object, this.mapObject.bind(this)); + this.addTypeMapper(Array, this.mapArray.bind(this)); + this.addTypeMapper(Map, this.mapMap.bind(this)); + this.addTypeMapper(Set, this.mapSet.bind(this)); + this.addGlobal("mapJSON", this.mapJSON.bind(this)); + } - return { - ...obj, - [key]: mapper.fn(value, options) - }; - }, {}); - }); + map(input: any, options: JsonSerializerOptions = {}) { + if (isNil(input)) { + return input; + } - this.addTypeMapper(Array, (input: any, {id, ...options}: JsonSerializerOptions) => { - return [].concat(input).map((item) => this.mappers[id](item, options)); - }); + options = this.mapOptions(options); - this.addTypeMapper(Map, (input: any, {id, ...options}: JsonSerializerOptions) => { - return [...input.entries()].reduce((obj, [key, item]) => { - return { - ...obj, - [key]: this.mappers[id](item, options) - }; - }, {}); - }); + const model = getBestType(options.type, input); - this.addTypeMapper(Set, (input: any, {id, ...options}: JsonSerializerOptions) => { - return [...input.values()].map((item) => { - return this.mappers[id](item, options); - }); - }); + const mapper = this.compile(model, options.groups); + + return mapper.fn(input, this.createContext(options)); } - alterValue(schemaId: string, value: any, options: JsonSerializerOptions): any { + protected alterValue(schemaId: string, value: any, options: JsonSerializerOptions): any { return alterOnSerialize(this.schemes[schemaId], value, options as any); } - createMapper(model: Type, id: string): string { + protected createMapper(model: Type, id: string, groups: false | string[]): string { const entity = JsonEntityStore.from(model); const properties = new Set(); const schemaProperties = [...getPropertiesStores(entity).values()]; - // properties mapping const writer = new Writer().arrow("input", "options"); + // prepare options writer.const("obj", "{}"); writer.set("options", "{...options, self: input}"); - const propsWriters = schemaProperties.flatMap((propertyStore) => { - properties.add(propertyStore.propertyKey as string); - return this.createPropertyMapper(propertyStore, id); - }); + // detect some special case + writer.add(this.mapPrecondition(id)); + + if (!schemaProperties.length) { + return writer.return("input").root().toString(); + } - writer.add(...propsWriters); + // properties + writer.add( + ...schemaProperties.flatMap((propertyStore) => { + properties.add(propertyStore.propertyKey as string); + + if (propertyStore.schema?.$hooks?.has("groups") && this.alterGroups(propertyStore.schema, groups)) { + return; + } + + return this.mapProperty(propertyStore, id, groups); + }) + ); + + // discriminator + writer.add(this.mapDiscriminator(entity)); // additional properties - const additionalProperties = !!entity.schema.get("additionalProperties"); + writer.add(this.mapAdditionalProperties(entity, properties)); - if (additionalProperties) { - const exclude = [...properties.values()].map((key) => `'${key}'`).join(", "); + return writer.return("obj").root().toString(); + } - writer.add("// add additional properties"); - writer.each("options.objectKeys(input)", ["key"]).if(`![${exclude}].includes(key)`).set("obj[key]", "input[key]"); - } + private mapOptions({groups = false, useAlias = true, types, ...options}: JsonSerializerOptions): JsonSerializerOptions { + const customMappers: Record = {}; + types = types || getJsonMapperTypes(); - writer.return("obj"); + types.forEach((mapper, model) => { + if (![Array, Set, Map].includes(model as any)) { + this.addTypeMapper(model as any, mapper.serialize.bind(mapper)); + } + }); - return writer.root().toString(); + return { + ...options, + groups, + useAlias, + customMappers + }; } - createPropertyMapper(propertyStore: JsonPropertyStore, id: string) { + private mapProperty(propertyStore: JsonPropertyStore, id: string, groups: false | string[]) { const key = String(propertyStore.propertyKey); const aliasKey: string = String(propertyStore.parent.schema.getAliasOf(key) || key); const schemaId = `${id}:${key}`; - let builder = new Writer().add(`// Map ${key}`); + let writer = new Writer().add(`// Map ${key} ${id} ${groups || ""}`); - // ignore hook + // ignore hook (deprecated) if (propertyStore.schema?.$hooks?.has("ignore")) { this.schemes[schemaId] = propertyStore.schema; - builder = builder.if(`!options.alterIgnore('${schemaId}', {...options, self: input})`); + writer = writer.if(`!alterIgnore('${schemaId}', {...options, self: input})`); } - builder = builder.add(`let ${key} = input.${key};`).if(`${key} !== undefined`); + writer = writer.add(`let ${key} = input.${key};`).if(`${key} !== undefined`); + + const format = propertyStore.itemSchema.get("format"); + const formatOpts = format && `options: {format: '${format}'}`; // pre hook - if (propertyStore.schema?.$hooks?.has("onSerialize")) { + const hasSerializer = propertyStore.schema?.$hooks?.has("onSerialize"); + if (hasSerializer) { this.schemes[schemaId] = propertyStore.schema; + const opts = Writer.options(formatOpts); - builder.set(key, `options.alterValue('${schemaId}', ${key}, options)`); + writer.set(key, `alterValue('${schemaId}', ${key}, ${opts})`); } - const format = propertyStore.itemSchema.get("format"); - if (propertyStore.isCollection) { const type = propertyStore.getBestType(); - const nestedMapper = this.compile(type); + const nestedMapper = this.compile(type, groups); - builder.callMapper(nameOf(propertyStore.collectionType), key, `id: '${nestedMapper.id}'`, format && `format: '${format}'`); + writer.callMapper(nameOf(propertyStore.collectionType), key, `id: '${nestedMapper.id}'`, formatOpts); } else { const type = propertyStore.getBestType(); - const nestedMapper = this.compile(type); + const nestedMapper = this.compile(type, groups); - builder.callMapper(nestedMapper.id, key, format && `format: '${format}'`); + const fill = (writer: Writer) => writer.callMapper(nestedMapper.id, key, formatOpts); + + if (hasSerializer) { + fill(writer.if(`${key} === input.${key}`)); + } else { + fill(writer); + } } if (aliasKey !== key) { - builder.if(`options.useAlias`).set(`obj.${aliasKey}`, key).else().set(`obj.${key}`, key); + writer.set(`obj[options.useAlias ? '${aliasKey}' : '${key}']`, key); } else { - builder.set(`obj.${key}`, key); + writer.set(`obj.${key}`, key); } - return builder.root(); + return writer.root(); } - serialize(input: any, options: JsonSerializerOptions = {}) { - const mapper = this.compile(options.type || classOf(input)); + private mapPrecondition(id: string) { + const writer = new Writer(); + + writer.if("input && isCollection(input)").return(Writer.mapperFrom("input", `{...options, id: '${id}'}`)); - return mapper.fn(input, serializer.createContext(options)); + writer.if("hasJsonMethod(input)").return(`mapJSON(input, {...options, id: '${id}'})`); + + return writer; } -} -const serializer = new JsonSerializer(); + private mapDiscriminator(entity: JsonClassStore) { + if (entity.discriminatorAncestor) { + const discriminator = entity.discriminatorAncestor.schema.discriminator(); + const type = discriminator.getDefaultValue(entity.target); + + if (type) { + const writer = new Writer(); + writer.if(`!obj.${discriminator.propertyName}`).set(`obj.${discriminator.propertyName}`, `'${type}'`); -export function serializeV2(input: any, options: JsonSerializerOptions = {}) { - return serializer.serialize(input, options); + return writer; + } + } + } + + private mapAdditionalProperties(entity: JsonClassStore, properties: Set) { + const additionalProperties = !!entity.schema.get("additionalProperties"); + + if (additionalProperties) { + const exclude = [...properties.values()].map((key) => `'${key}'`).join(", "); + const writer = new Writer(); + writer.add("// add additional properties"); + writer.each("objectKeys(input)", ["key"]).if(`![${exclude}].includes(key)`).set("obj[key]", "input[key]"); + + return writer; + } + } + + private mapObject(input: any, {type, ...options}: JsonSerializerOptions) { + if (hasJsonMethod(input)) { + return this.mapJSON(input, options); + } + + return getObjectProperties(input) + .filter(([, value]) => value !== undefined) + .reduce((obj, [key, value]) => { + if (isNil(value)) { + return { + ...obj, + [key]: value + }; + } + + const mapper = this.compile(classOf(value), options.groups); + + return { + ...obj, + [key]: mapper.fn(value, options) + }; + }, {}); + } + + private mapSet(input: any, options: JsonSerializerOptions) { + return [...input.values()].map((item) => { + return this.mapItem(item, options); + }); + } + + private mapArray(input: any, options: JsonSerializerOptions) { + return [].concat(input).map((item: any) => { + return this.mapItem(item, options); + }); + } + + private mapMap(input: any, options: JsonSerializerOptions) { + return [...input.entries()].reduce((obj, [key, item]) => { + return { + ...obj, + [key]: this.mapItem(item, options) + }; + }, {}); + } + + private mapItem(input: any, {id, ...options}: JsonSerializerOptions) { + if (!id && input) { + return this.compile(classOf(input), options.groups).fn(input, options); + } + + return id ? this.execMapper(id, input, options) : input; + } + + private mapJSON(input: any, {id, ...options}: JsonSerializerOptions) { + if (isMongooseObject(input)) { + return input.toJSON({...options, id}); + } + + id = id || nameOf(classOf(input)); + + if (this.mappers[id] && (isDate(input) || isMomentObject(input))) { + return this.execMapper(id, input, options); + } + + input = input.toJSON(); + + return isObject(input) ? this.execMapper(id, input, options) : input; + } } diff --git a/packages/specs/json-mapper/src/domain/JsonSerializerOptions.ts b/packages/specs/json-mapper/src/domain/JsonSerializerOptions.ts new file mode 100644 index 00000000000..02341bfec89 --- /dev/null +++ b/packages/specs/json-mapper/src/domain/JsonSerializerOptions.ts @@ -0,0 +1,15 @@ +import {MetadataTypes, Type} from "@tsed/core"; +import {JsonMapperMethods} from "../interfaces/JsonMapperMethods"; + +export interface JsonSerializerOptions extends MetadataTypes { + /** + * Types used to map complex types (Symbol, Number, String, etc...) + */ + types?: Map | Symbol | string, JsonMapperMethods>; + /** + * useAlias mapping + */ + useAlias?: boolean; + + [key: string]: any; +} diff --git a/packages/specs/json-mapper/src/domain/Writer.spec.ts b/packages/specs/json-mapper/src/domain/Writer.spec.ts new file mode 100644 index 00000000000..7872afda959 --- /dev/null +++ b/packages/specs/json-mapper/src/domain/Writer.spec.ts @@ -0,0 +1,11 @@ +import {Writer} from "./Writer"; + +describe("Writer", () => { + it("should generate code for if/else condition", () => { + const writer = new Writer(); + + writer.if("condition").add("return true;").else().add("return false;"); + + expect(writer.toString()).toMatchSnapshot(); + }); +}); diff --git a/packages/specs/json-mapper/src/domain/Writer.ts b/packages/specs/json-mapper/src/domain/Writer.ts index 75fe0350b7a..8d65d8dcaa6 100644 --- a/packages/specs/json-mapper/src/domain/Writer.ts +++ b/packages/specs/json-mapper/src/domain/Writer.ts @@ -18,7 +18,11 @@ export class Writer { } static mapper(mapperId: string, key: string, options: string) { - return `options.mappers['${mapperId}'](${key}, ${options})`; + return `execMapper('${mapperId}', ${key}, ${options})`; + } + + static mapperFrom(key: string, options: string) { + return `execMapper(nameOf(classOf(${key})), ${key}, ${options})`; } static options(...args: string[]) { @@ -26,8 +30,11 @@ export class Writer { return !args.length ? "options" : Writer.object.assign("...options", ...args); } - add(...lines: (string | Writer)[]) { - this.body.push(...lines); + add(...lines: (undefined | string | Writer)[]) { + lines = lines.filter((line) => line !== undefined); + + lines.length && this.body.push(...(lines as string | Writer[])); + return this; } @@ -66,15 +73,11 @@ export class Writer { return writer; } - if(condition: string, line?: string) { + if(condition: string) { const writer = new IfWriter(condition, this); this.add(writer); - if (line) { - writer.add(line); - } - return writer; } diff --git a/packages/specs/json-mapper/src/domain/__snapshots__/Writer.spec.ts.snap b/packages/specs/json-mapper/src/domain/__snapshots__/Writer.spec.ts.snap new file mode 100644 index 00000000000..1c559012cbe --- /dev/null +++ b/packages/specs/json-mapper/src/domain/__snapshots__/Writer.spec.ts.snap @@ -0,0 +1,10 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Writer should generate code for if/else condition 1`] = ` +"if (condition) { + return true; +} +else { + return false; +}" +`; diff --git a/packages/specs/json-mapper/src/index.ts b/packages/specs/json-mapper/src/index.ts index d016991b364..a4385ca9c6d 100644 --- a/packages/specs/json-mapper/src/index.ts +++ b/packages/specs/json-mapper/src/index.ts @@ -13,11 +13,17 @@ export * from "./decorators/beforeDeserialize"; export * from "./decorators/jsonMapper"; export * from "./decorators/onDeserialize"; export * from "./decorators/onSerialize"; +export * from "./domain/JsonMapperCompiler"; export * from "./domain/JsonMapperContext"; export * from "./domain/JsonMapperSettings"; export * from "./domain/JsonMapperTypesContainer"; +export * from "./domain/JsonSerializer"; +export * from "./domain/JsonSerializerOptions"; +export * from "./domain/Writer"; export * from "./hooks/alterAfterDeserialize"; export * from "./hooks/alterBeforeDeserialize"; +export * from "./hooks/alterOnSerialize"; export * from "./interfaces/JsonMapperMethods"; export * from "./utils/deserialize"; +export * from "./utils/getObjectProperties"; export * from "./utils/serialize"; diff --git a/packages/specs/json-mapper/src/tsconfig.json b/packages/specs/json-mapper/src/tsconfig.json new file mode 100644 index 00000000000..5fa049fa6e5 --- /dev/null +++ b/packages/specs/json-mapper/src/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "@tsed/typescript/tsconfig.node.json", + "compilerOptions": { + "baseUrl": ".", + "module": "commonjs", + "rootDir": ".", + "declaration": false, + "composite": true, + "noEmit": true + }, + "include": ["**/*.ts", "**/*.json", "../**/*.ts", "../**/*.json"], + "exclude": ["node_modules", "lib"], + "references": [ + { + "path": "../" + } + ] +} diff --git a/packages/specs/json-mapper/src/utils/getSchemaProperties.ts b/packages/specs/json-mapper/src/utils/getSchemaProperties.ts deleted file mode 100644 index cabbd557ef1..00000000000 --- a/packages/specs/json-mapper/src/utils/getSchemaProperties.ts +++ /dev/null @@ -1,16 +0,0 @@ -import {objectKeys} from "@tsed/core"; -import {getPropertiesStores, JsonEntityStore} from "@tsed/schema"; - -export function getSchemaProperties(storedJson: JsonEntityStore, obj: any) { - const stores = Array.from(getPropertiesStores(storedJson).entries()); - - if (!stores.length) { - // fallback to auto discovering field from obj - objectKeys(obj).forEach((key) => { - const propStore = JsonEntityStore.from(storedJson.target, key); - stores.push([key, propStore]); - }); - } - - return stores; -} diff --git a/packages/specs/json-mapper/src/utils/serialize.ts b/packages/specs/json-mapper/src/utils/serialize.ts index 9dfe15f491e..39c364968f7 100644 --- a/packages/specs/json-mapper/src/utils/serialize.ts +++ b/packages/specs/json-mapper/src/utils/serialize.ts @@ -1,214 +1,12 @@ -import { - classOf, - isArray, - isClassObject, - isCollection, - isDate, - isEmpty, - isFunction, - isNil, - MetadataTypes, - nameOf, - objectKeys, - Type -} from "@tsed/core"; -import {alterIgnore, getPropertiesStores, JsonEntityStore, JsonHookContext, JsonSchema} from "@tsed/schema"; -import "../components/ArrayMapper"; import "../components/DateMapper"; -import "../components/MapMapper"; import "../components/PrimitiveMapper"; -import "../components/SetMapper"; import "../components/SymbolMapper"; -import {JsonMapperContext} from "../domain/JsonMapperContext"; -import {getJsonMapperTypes} from "../domain/JsonMapperTypesContainer"; -import {JsonMapperMethods} from "../interfaces/JsonMapperMethods"; -export interface JsonSerializerOptions extends MetadataTypes { - /** - * Types used to map complex types (Symbol, Array, Set, Map) - */ - types?: Map, JsonMapperMethods>; - /** - * useAlias mapping - */ - useAlias?: boolean; +import {JsonSerializer} from "../domain/JsonSerializer"; +import {JsonSerializerOptions} from "../domain/JsonSerializerOptions"; - [key: string]: any; -} - -function alterValue(schema: JsonSchema, value: any, options: JsonHookContext) { - return schema.$hooks.alter("onSerialize", value, [options]); -} - -function getSchemaProperties(storedJson: JsonEntityStore, obj: any) { - const stores = Array.from(getPropertiesStores(storedJson).entries()); - - if (!stores.length) { - // fallback to auto discovering field from obj - objectKeys(obj).forEach((key) => { - const propStore = JsonEntityStore.from(storedJson.target, key); - stores.push([key, propStore]); - }); - } - - return stores; -} - -function getObjectProperties(obj: any): [string, any][] { - return Object.entries(obj).filter(([, value]) => !isFunction(value)); -} - -function getType(propStore: JsonEntityStore, value: any) { - if (isNil(value) || propStore.type === Object || isCollection(propStore.type)) { - return undefined; - } - - return propStore.type; -} - -export function classToPlainObject(obj: any, options: JsonSerializerOptions) { - const {useAlias = true, type, ...props} = options; - - const entity = JsonEntityStore.from(type || obj); - - const additionalProperties = !!entity.schema.get("additionalProperties"); - const schemaProperties = getSchemaProperties(entity, obj); - const properties = new Set(); - - const out: any = schemaProperties.reduce((newObj, [key, propStore]) => { - properties.add(key as string); - - const schema = propStore.schema; - - if (alterIgnore(schema, {useAlias, ...props, self: obj})) { - return newObj; - } - - let value = alterValue(schema, obj[key], {useAlias, ...props, self: obj}); - - value = serialize(value, { - useAlias, - self: obj, - type: value === obj[key] ? getType(propStore, value) : undefined, - collectionType: propStore.collectionType, - format: propStore.itemSchema.get("format"), - ...props - }); - - if (value === undefined) { - return newObj; - } - - key = useAlias ? propStore.parent.schema.getAliasOf(key) || key : key; - - return { - ...newObj, - [key]: value - }; - }, {}); - - if (entity.discriminatorAncestor) { - const discriminator = entity.discriminatorAncestor.schema.discriminator(); - - if (!out[discriminator.propertyName]) { - out[discriminator.propertyName] = discriminator.getDefaultValue(entity.target); - } - } - - if (additionalProperties) { - objectKeys(obj).forEach((key: any) => { - if (!properties.has(key)) { - out[key] = obj[key]; - } - }); - } - return out; -} - -function toObject(obj: any, options: JsonSerializerOptions): any { - return getObjectProperties(obj).reduce( - (newObj, [key, value]) => ({ - ...newObj, - [key]: serialize(value, options) - }), - {} - ); -} - -function getBestType(type: Type, obj: any) { - const dataType = classOf(obj); - - if (dataType && !isClassObject(dataType)) { - return dataType; - } - - return type || Object; -} - -function hasJsonMethod(obj: any) { - return typeof obj.toJSON === "function"; -} - -function isMongooseObject(obj: any) { - return (hasJsonMethod(obj) && obj.$isMongooseModelPrototype) || obj._bsontype; -} - -function isMomentObject(obj: any) { - return obj && obj?._isAMomentObject; -} - -export function serialize(obj: any, {type, collectionType, groups = false, ...options}: JsonSerializerOptions = {}): any { - if (isEmpty(obj)) { - return obj; - } - - let currentType = type; - - const types = options.types ? options.types : getJsonMapperTypes(); - options.groups = groups; - - // FIX custom serialization function from @tsed/mongoose and bson - if (isMongooseObject(obj)) { - return obj.toJSON(options); - } - - if (hasJsonMethod(obj) && !isMomentObject(obj) && !isDate(obj)) { - return serialize(obj.toJSON(), {...options, type: classOf(obj)}); - } - - if (!isCollection(obj)) { - options.type = currentType = getBestType(currentType, obj); - } else if (!options.collectionType) { - currentType = classOf(obj); - options.type = type; - options.collectionType = currentType; - } - - const context = new JsonMapperContext({ - type: currentType, - options, - next: (data) => - serialize(data, { - ...options, - collectionType: undefined, - type: options.type - }) - }); - - const mapper = types.get(currentType) || types.get(nameOf(currentType)); - - if (mapper) { - const jsonMapper = mapper!; - - return jsonMapper.serialize(obj, context); - } else if (obj?._isAMomentObject) { - return obj.toJSON(); - } - - if (isArray(obj)) { - // Serialize Array class like - return types.get(Array)?.serialize(obj, context); - } +const serializer = new JsonSerializer(); - return !isClassObject(currentType) ? classToPlainObject(obj, options) : toObject(obj, options); +export function serialize(input: any, options?: JsonSerializerOptions) { + return serializer.map(input, options); } diff --git a/packages/specs/json-mapper/test/integration/models.date.intregration.spec.ts b/packages/specs/json-mapper/test/integration/models.date.intregration.spec.ts index 75885244319..4131f85f325 100644 --- a/packages/specs/json-mapper/test/integration/models.date.intregration.spec.ts +++ b/packages/specs/json-mapper/test/integration/models.date.intregration.spec.ts @@ -5,6 +5,7 @@ import {deserialize} from "../../src/utils/deserialize"; import {serialize} from "../../src/utils/serialize"; function serializeDate(date: Date) { + console.log("===>", date); return date && moment(date).format("YYYYMMDD"); } diff --git a/packages/specs/json-mapper/test/integration/moment.integration.spec.ts b/packages/specs/json-mapper/test/integration/moment.integration.spec.ts index 3be517775c2..123234abbd6 100644 --- a/packages/specs/json-mapper/test/integration/moment.integration.spec.ts +++ b/packages/specs/json-mapper/test/integration/moment.integration.spec.ts @@ -1,8 +1,8 @@ import {DateFormat} from "@tsed/schema"; import moment, {Moment} from "moment"; -import {getJsonMapperTypes} from "../../src/domain/JsonMapperTypesContainer"; -import {serialize} from "../../src/utils/serialize"; import {JsonMapper} from "../../src/decorators/jsonMapper"; +import {getJsonMapperTypes} from "../../src/domain/JsonMapperTypesContainer"; +import {JsonSerializer} from "../../src/index"; import {JsonMapperMethods} from "../../src/interfaces/JsonMapperMethods"; class MyModel { @@ -34,14 +34,23 @@ describe("Moment", () => { const data = new MyModel(); data.date = moment("2022-01-01"); - expect(serialize(data.date)).toEqual("20220101"); - expect(serialize(data)).toEqual({ + const serializer = new JsonSerializer(); + + expect(serializer.map(data.date)).toEqual("20220101"); + expect(serializer.map(data)).toEqual({ date: "20220101" }); - getJsonMapperTypes().delete("Moment"); + serializer.removeTypeMapper("Moment"); + + const types = getJsonMapperTypes(); + types.delete("Moment"); - expect(serialize(data)).toEqual({ + expect( + serializer.map(data, { + types + }) + ).toEqual({ date: moment("2022-01-01").toJSON() }); }); From 63a86b611c39cbe476ddd4bd5e0026782a9f6e5d Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Thu, 10 Aug 2023 17:15:43 +0200 Subject: [PATCH 05/30] fix(schema): deprecate Ignore decorator --- docs/docs/json-mapper.md | 6 +++++- packages/specs/schema/src/decorators/common/ignore.ts | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/docs/json-mapper.md b/docs/docs/json-mapper.md index 03cc764f65b..46cf5a5defe 100644 --- a/docs/docs/json-mapper.md +++ b/docs/docs/json-mapper.md @@ -108,7 +108,11 @@ It means, if you missed decorating one or more properties on your model, these p ::: -## Ignore properties +## Ignore properties (deprecated) + +::: warn deprecated +This decorator is deprecated. Use @@Groups@@ decorator instead of. +::: ### Usage diff --git a/packages/specs/schema/src/decorators/common/ignore.ts b/packages/specs/schema/src/decorators/common/ignore.ts index 80f6aa1a24b..886dc2aa3f1 100644 --- a/packages/specs/schema/src/decorators/common/ignore.ts +++ b/packages/specs/schema/src/decorators/common/ignore.ts @@ -61,6 +61,7 @@ const defaultCB = (value: any, ctx: any) => ctx.mongoose !== true; * @validation * @swagger * @schema + * @deprecated Since v7. Use @Groups decorator instead of. */ export function Ignore(cb: boolean | IgnoreCallback = defaultCB) { return JsonEntityFn((store) => { From edb7624d6efa7b1ff7a3ec51475b086647c8159c Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Fri, 11 Aug 2023 05:34:32 +0200 Subject: [PATCH 06/30] fix(core): update coverage --- packages/core/jest.config.js | 8 ++++---- .../src/utils/objects/descriptorOf.spec.ts | 16 ++++++++++++++++ .../core/src/utils/objects/isBuffer.spec.ts | 12 ++++++++++++ packages/core/src/utils/objects/isBuffer.ts | 7 +------ .../utils/objects/toStringConstrutor.spec.ts | 18 ++++++++++++++++++ 5 files changed, 51 insertions(+), 10 deletions(-) create mode 100644 packages/core/src/utils/objects/descriptorOf.spec.ts create mode 100644 packages/core/src/utils/objects/isBuffer.spec.ts create mode 100644 packages/core/src/utils/objects/toStringConstrutor.spec.ts diff --git a/packages/core/jest.config.js b/packages/core/jest.config.js index 51d3e75ad01..31296db1365 100644 --- a/packages/core/jest.config.js +++ b/packages/core/jest.config.js @@ -5,10 +5,10 @@ module.exports = { ...require("@tsed/jest-config"), coverageThreshold: { global: { - statements: 98.85, - branches: 94.4, - functions: 95.63, - lines: 98.85 + statements: 98.99, + branches: 94.93, + functions: 95.81, + lines: 98.99 } } }; diff --git a/packages/core/src/utils/objects/descriptorOf.spec.ts b/packages/core/src/utils/objects/descriptorOf.spec.ts new file mode 100644 index 00000000000..5a332e1aa57 --- /dev/null +++ b/packages/core/src/utils/objects/descriptorOf.spec.ts @@ -0,0 +1,16 @@ +import {isMethodDescriptor} from "./descriptorOf"; + +describe("isMethodDescriptor()", () => { + it("should return true", () => { + class Test { + test() {} + } + expect(isMethodDescriptor(Test, "test")).toBeTruthy(); + }); + it("should return false", () => { + class Test { + test: string; + } + expect(isMethodDescriptor(Test, "test")).toBeFalsy(); + }); +}); diff --git a/packages/core/src/utils/objects/isBuffer.spec.ts b/packages/core/src/utils/objects/isBuffer.spec.ts new file mode 100644 index 00000000000..8f7129b60d9 --- /dev/null +++ b/packages/core/src/utils/objects/isBuffer.spec.ts @@ -0,0 +1,12 @@ +import {isBuffer} from "./isBuffer"; + +describe("isBuffer", () => { + it("should return true", () => { + expect(isBuffer(Buffer.from(""))).toBeTruthy(); + expect(isBuffer(Buffer)).toBeTruthy(); + }); + it("should return false", () => { + expect(isBuffer({})).toBeFalsy(); + expect(isBuffer(undefined)).toBeFalsy(); + }); +}); diff --git a/packages/core/src/utils/objects/isBuffer.ts b/packages/core/src/utils/objects/isBuffer.ts index 4dcb48aeaed..1665dae062b 100644 --- a/packages/core/src/utils/objects/isBuffer.ts +++ b/packages/core/src/utils/objects/isBuffer.ts @@ -4,10 +4,5 @@ * @returns {boolean} */ export function isBuffer(target: any): target is Buffer { - // istanbul ignore else - if (typeof Buffer !== "undefined") { - return target === Buffer || target instanceof Buffer; - } - // istanbul ignore next - return false; + return !!(target && (target === Buffer || target instanceof Buffer)); } diff --git a/packages/core/src/utils/objects/toStringConstrutor.spec.ts b/packages/core/src/utils/objects/toStringConstrutor.spec.ts new file mode 100644 index 00000000000..3391a3f965d --- /dev/null +++ b/packages/core/src/utils/objects/toStringConstrutor.spec.ts @@ -0,0 +1,18 @@ +import {toStringConstructor} from "./toStringConstructor"; + +describe("toStringConstructor", () => { + it("should return the constructor signature (empty)", () => { + class Test {} + + expect(toStringConstructor(Test)).toBe("constructor()"); + }); + it("should return the constructor signature", () => { + class Test { + constructor(test: string) { + console.log("test"); + } + } + + expect(toStringConstructor(Test)).toBe("constructor(test)"); + }); +}); From d7d5c222ae541d0b2eb9a3f98d8af2e77ee89e0d Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Fri, 11 Aug 2023 06:05:22 +0200 Subject: [PATCH 07/30] fix(json-schema): fix null value no nested object and fix null date mapping --- packages/specs/json-mapper/jest.config.js | 2 +- .../json-mapper/src/components/DateMapper.ts | 2 +- .../src/domain/JsonMapperCompiler.ts | 1 + .../src/domain/JsonSerializer.spec.ts | 38 +- .../json-mapper/src/domain/JsonSerializer.ts | 22 +- .../json-mapper/src/utils/serialize.spec.ts | 699 +----------------- .../models.date.intregration.spec.ts | 1 - .../integration/pageable.integration.spec.ts | 118 +++ packages/specs/schema/jest.config.js | 6 +- 9 files changed, 193 insertions(+), 696 deletions(-) create mode 100644 packages/specs/json-mapper/test/integration/pageable.integration.spec.ts diff --git a/packages/specs/json-mapper/jest.config.js b/packages/specs/json-mapper/jest.config.js index 1e20eaab945..5e1ebc7f923 100644 --- a/packages/specs/json-mapper/jest.config.js +++ b/packages/specs/json-mapper/jest.config.js @@ -7,7 +7,7 @@ module.exports = { coverageThreshold: { global: { statements: 99.78, - branches: 97.89, + branches: 98.16, functions: 100, lines: 99.78 } diff --git a/packages/specs/json-mapper/src/components/DateMapper.ts b/packages/specs/json-mapper/src/components/DateMapper.ts index 6b4f7cd0461..c7efcffc138 100644 --- a/packages/specs/json-mapper/src/components/DateMapper.ts +++ b/packages/specs/json-mapper/src/components/DateMapper.ts @@ -23,6 +23,6 @@ export class DateMapper implements JsonMapperMethods { } serialize(object: Date): any { - return new Date(object).toISOString(); + return object ? new Date(object).toISOString() : object; } } diff --git a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts index 4bfa1a90200..b4b7faecc9b 100644 --- a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts +++ b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts @@ -155,6 +155,7 @@ export abstract class JsonMapperCompiler = a const mapper = this.createMapper(model, id, groups); try { + console.log(mapper); return this.eval(mapper, {id, model, groupsId}); } catch (err) { throw new Error(`Fail to compile mapper for ${nameOf(model)}. See the error above: ${err.message}.\n${mapper}`); diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts index 0423a1f86c2..d8119d97f76 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts @@ -7,6 +7,7 @@ import { Ignore, JsonHookContext, Name, + Nullable, Property, Required } from "@tsed/schema"; @@ -327,7 +328,6 @@ describe("JsonSerializer", () => { } }); }); - it("should serialize model with alias property", () => { class Role { @Property() @@ -588,6 +588,42 @@ describe("JsonSerializer", () => { test: "test" }); }); + it("should serialize model with null values", () => { + class NestedModel { + @Property() + id: string; + } + class NullModel { + @Property() + prop1: string; + + @Property() + prop2: number; + + @Property() + prop3: Date; + + @Nullable(NestedModel) + prop4: NestedModel; + } + + expect( + serialize( + { + prop1: null, + prop2: null, + prop3: null, + prop4: null + }, + {type: NullModel} + ) + ).toEqual({ + prop1: null, + prop2: null, + prop3: null, + prop4: null + }); + }); }); describe("class with toJSON/toClass", () => { it("should serialize model", () => { diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.ts index fc4faef5bfb..efafe2bd82d 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.ts @@ -1,4 +1,16 @@ -import {classOf, hasJsonMethod, isClassObject, isDate, isMomentObject, isMongooseObject, isNil, isObject, nameOf, Type} from "@tsed/core"; +import { + classOf, + hasJsonMethod, + isClassObject, + isCollection, + isDate, + isMomentObject, + isMongooseObject, + isNil, + isObject, + nameOf, + Type +} from "@tsed/core"; import {getPropertiesStores, JsonClassStore, JsonEntityStore, JsonPropertyStore} from "@tsed/schema"; import {alterOnSerialize} from "../hooks/alterOnSerialize"; import {getObjectProperties} from "../utils/getObjectProperties"; @@ -38,7 +50,7 @@ export class JsonSerializer extends JsonMapperCompiler { const model = getBestType(options.type, input); const mapper = this.compile(model, options.groups); - + console.log(input, model); return mapper.fn(input, this.createContext(options)); } @@ -53,6 +65,8 @@ export class JsonSerializer extends JsonMapperCompiler { const writer = new Writer().arrow("input", "options"); + writer.if("isNil(input)").return("input"); + // prepare options writer.const("obj", "{}"); writer.set("options", "{...options, self: input}"); @@ -198,6 +212,10 @@ export class JsonSerializer extends JsonMapperCompiler { } private mapObject(input: any, {type, ...options}: JsonSerializerOptions) { + if (input && isCollection(input)) { + return this.execMapper(nameOf(classOf(input)), input, options); + } + if (hasJsonMethod(input)) { return this.mapJSON(input, options); } diff --git a/packages/specs/json-mapper/src/utils/serialize.spec.ts b/packages/specs/json-mapper/src/utils/serialize.spec.ts index ee926ed888c..4fc3a2d63e7 100644 --- a/packages/specs/json-mapper/src/utils/serialize.spec.ts +++ b/packages/specs/json-mapper/src/utils/serialize.spec.ts @@ -1,694 +1,19 @@ -import {AdditionalProperties, CollectionOf, Ignore, JsonHookContext, Name, Property} from "@tsed/schema"; -import {parse} from "querystring"; -import {isBoolean} from "@tsed/core"; -import {Post} from "../../test/helpers/Post"; -import {User} from "../../test/helpers/User"; import "../components/ArrayMapper"; import "../components/PrimitiveMapper"; -import {OnSerialize} from "../decorators/onSerialize"; -import {getJsonMapperTypes} from "../domain/JsonMapperTypesContainer"; -import {deserialize} from "./deserialize"; import {serialize} from "./serialize"; -function createMap(value: any) { - return new Map([["test", value]]); -} - describe("serialize()", () => { - describe("Primitives", () => { - it("should serialize values", () => { - expect(serialize(undefined)).toBeUndefined(); - expect(serialize(null)).toEqual(null); - expect(serialize("null")).toEqual("null"); - expect(serialize(Symbol.for("TEST"))).toEqual("TEST"); - expect(serialize(false)).toEqual(false); - expect(serialize(true)).toEqual(true); - expect(serialize("")).toEqual(""); - expect(serialize("1")).toEqual("1"); - expect(serialize(0)).toEqual(0); - expect(serialize(1)).toEqual(1); - expect(serialize(BigInt(1n))).toEqual(BigInt(1)); - }); - }); - describe("Object", () => { - it("should serialize values", () => { - expect(serialize({test: "test"}, {type: Object})).toEqual({test: "test"}); - expect(serialize({test: "test"}, {type: false})).toEqual({test: "test"}); - expect(serialize({test: "test"}, {type: null})).toEqual({test: "test"}); - expect(serialize({test: "test"}, {type: undefined})).toEqual({test: "test"}); - }); - it("should serialize parsed querystring", () => { - expect(serialize({qs: parse("q[offset]=0&q[limit]=10&q[where][a]=0&q[where][b]=1")})).toEqual({ - qs: { - "q[limit]": "10", - "q[offset]": "0", - "q[where][a]": "0", - "q[where][b]": "1" - } - }); - }); - }); - describe("Array", () => { - it("should serialize values", () => { - expect(serialize([null])).toEqual([null]); - expect(serialize([false])).toEqual([false]); - expect(serialize([true])).toEqual([true]); - expect(serialize([""])).toEqual([""]); - expect(serialize(["1"])).toEqual(["1"]); - expect(serialize([1])).toEqual([1]); - - class ArrayLike extends Array {} - - const arrayLike = new ArrayLike(); - arrayLike.push(1); - - expect(serialize(arrayLike)).toEqual([1]); - }); - }); - describe("Map", () => { - it("should serialize values", () => { - expect(serialize(createMap(null))).toEqual({test: null}); - expect(serialize(createMap(false))).toEqual({test: false}); - expect(serialize(createMap(true))).toEqual({test: true}); - expect(serialize(createMap(""))).toEqual({test: ""}); - expect(serialize(createMap("1"))).toEqual({test: "1"}); - expect(serialize(createMap(1))).toEqual({test: 1}); - }); - }); - describe("toJson()", () => { - it("should serialize obj from toJSON", () => { - const result = serialize({ - toJSON() { - return "hello"; - } - }); - - expect(result).toEqual("hello"); - }); - }); - describe("Plain Object", () => { - it("should serialize plain object (1)", () => { - expect(serialize({prop: "1"})).toEqual({prop: "1"}); - - const result = serialize({ - prop: "1", - roles: [{label: "Admin"}] - }); - expect(result).toEqual({ - prop: "1", - roles: [ - { - label: "Admin" - } - ] - }); - }); - it("should serialize plain object (2)", () => { - expect(serialize({prop: "1"})).toEqual({prop: "1"}); - const roles = new Map(); - roles.set("ro", "le"); - - const result = serialize({ - prop: "1", - roles - }); - expect(result).toEqual({ - prop: "1", - roles: { - ro: "le" - } - }); - }); - }); - describe("Class", () => { - it("should serialize model", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Model { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnSerialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @CollectionOf(Role) - roles: Map = new Map(); - } - - const model = new Model(); - model.id = "id"; - model.password = "hellopassword"; - model.mappedProp = "hello"; - model.roles.set("olo", new Role({label: "label"})); - - expect(serialize(model)).toEqual({ - id: "id", - password: "hellopassword", - mapped_prop: "hellotest", - roles: { - olo: { - label: "label" - } - } - }); - - expect(serialize(model, {api: true, useAlias: false})).toEqual({ - id: "id", - mappedProp: "hellotest", - roles: { - olo: { - label: "label" - } - } - }); - }); - it("should serialize model and take the right type", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Model { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnSerialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @CollectionOf(Role) - roles: Map = new Map(); - } - - class ServerResponse { - @Property() - data: Model; - } - - const model = new Model(); - model.id = "id"; - model.password = "hellopassword"; - model.mappedProp = "hello"; - model.roles.set("olo", new Role({label: "label"})); - - expect(serialize(model, {type: ServerResponse})).toEqual({ - id: "id", - password: "hellopassword", - mapped_prop: "hellotest", - roles: { - olo: { - label: "label" - } - } - }); - }); - it("should serialize model Array", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Model { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnSerialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @CollectionOf(Role) - roles: Map = new Map(); - } - - const model = new Model(); - model.id = "id"; - model.password = "hellopassword"; - model.mappedProp = "hello"; - model.roles.set("olo", new Role({label: "label"})); - - expect(serialize([model], {type: Model})).toEqual([ - { - id: "id", - password: "hellopassword", - mapped_prop: "hellotest", - roles: { - olo: { - label: "label" - } - } - } - ]); - }); - it("should serialize model (inherited class)", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Base { - @CollectionOf(Role) - roles: Map = new Map(); - } - - class Model extends Base { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnSerialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - } - - const model = new Model(); - model.id = "id"; - model.password = "hellopassword"; - model.mappedProp = "hello"; - model.roles.set("olo", new Role({label: "label"})); - - expect(serialize(model)).toEqual({ - id: "id", - password: "hellopassword", - mapped_prop: "hellotest", - roles: { - olo: { - label: "label" - } - } - }); - - expect(serialize(model, {api: true, useAlias: false})).toEqual({ - id: "id", - mappedProp: "hellotest", - roles: { - olo: { - label: "label" - } - } - }); - }); - it("should serialize model (recursive class)", () => { - const post = new Post(); - post.id = "id"; - post.owner = new User(); - post.owner.name = "name"; - post.owner.posts = [new Post()]; - post.owner.posts[0].id = "id"; - - const result = serialize(post); - - expect(result).toEqual({ - id: "id", - owner: { - name: "name", - posts: [ - { - id: "id" - } - ] - } - }); - }); - it("should discover property dynamically when any schema decorators are used", () => { - function log(): PropertyDecorator { - return () => {}; - } - - class User { - @log() - id: string; - - test: string; - - [key: string]: any; - - constructor({id, test}: any = {}) { - this.id = id; - test && (this.test = test); - } - } - - const user1 = new User({id: "id"}); - const user2 = new User({id: "id", test: "test"}); - const user3 = new User({id: "id", test: "test"}); - - user3.extra = "extra"; - - expect(serialize(user1, {type: User})).toEqual({id: "id"}); - expect(serialize(user2, {type: User})).toEqual({id: "id", test: "test"}); - expect(serialize(user3, {type: User})).toEqual({ - extra: "extra", - id: "id", - test: "test" - }); - }); - it("should serialize model without props", () => { - class Test { - raw: any; - affected?: number | null; - } - - const t = new Test(); - - t.raw = 1; - t.affected = 1; - - const result = serialize(t, {type: Object}); - - expect(result).toEqual({ - affected: 1, - raw: 1 - }); - }); - }); - describe("class with toJSON/toClass", () => { - it("should serialize model", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Model { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnSerialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @CollectionOf(Role) - roles: Map = new Map(); - } - - const model = new Model(); - // @ts-ignore - model.$isMongooseModelPrototype = true; - // @ts-ignore - model["toJSON"] = (options: any) => { - return serialize( - deserialize( - { - id: "id", - password: "hellopassword", - mappedProp: "hello" - }, - {useAlias: false, type: Model} - ), - options - ); - }; - - expect(serialize(model, {type: Model})).toEqual({ - id: "id", - mapped_prop: "hellotest", - password: "hellopassword", - roles: {} - }); - - expect(serialize(model, {api: true, useAlias: false})).toEqual({ - id: "id", - mappedProp: "hellotest", - roles: {} - }); - }); - it("should serialize model Array", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Model { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnSerialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @CollectionOf(Role) - roles: Map = new Map(); - } - - const model = new Model(); - model.id = "id"; - model.password = "hellopassword"; - model.mappedProp = "hello"; - model.roles.set("olo", new Role({label: "label"})); - - expect(serialize([model], {type: Model})).toEqual([ - { - id: "id", - password: "hellopassword", - mapped_prop: "hellotest", - roles: { - olo: { - label: "label" - } - } - } - ]); - }); - it("should serialize model (inherited class)", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Base { - @CollectionOf(Role) - roles: Map = new Map(); - } - - class Model extends Base { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnSerialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - } - - const model = new Model(); - model.id = "id"; - model.password = "hellopassword"; - model.mappedProp = "hello"; - model.roles.set("olo", new Role({label: "label"})); - - expect(serialize(model)).toEqual({ - id: "id", - password: "hellopassword", - mapped_prop: "hellotest", - roles: { - olo: { - label: "label" - } - } - }); - - expect(serialize(model, {api: true, useAlias: false})).toEqual({ - id: "id", - mappedProp: "hellotest", - roles: { - olo: { - label: "label" - } - } - }); - }); - it("should serialize model (recursive class)", () => { - const post = new Post(); - post.id = "id"; - post.owner = new User(); - post.owner.name = "name"; - post.owner.posts = [new Post()]; - post.owner.posts[0].id = "id"; - - const result = serialize(post); - - expect(result).toEqual({ - id: "id", - owner: { - name: "name", - posts: [ - { - id: "id" - } - ] - } - }); - }); - it("should serialize model with object props", () => { - class Model { - @Property() - test: any; - - @Property() - id: string; - } - - const test = new Model(); - test.id = "id"; - test.test = { - value: "test" - }; - - const result = serialize(test, {type: Model}); - - expect(result).toEqual({ - id: "id", - test: { - value: "test" - } - }); - }); - it("should serialize model with additional object props", () => { - @AdditionalProperties(true) - class Model { - @Property() - id: string; - - @Ignore(true) - ignored: boolean; - - @Name("renamed") - name: string; - - [type: string]: any; - } - - const test = new Model(); - test.id = "id"; - test.ignored = true; - test.name = "myname"; - test.additional = {foo: "bar"}; - - const result = serialize(test, {type: Model}); - - expect(result).toEqual({ - id: "id", - renamed: "myname", - additional: { - foo: "bar" - } - }); - }); - it("should not serialize model with additional object props", () => { - class Model { - @Property() - id: string; - - @Ignore(true) - ignored: boolean; - - @Name("renamed") - name: string; - - [type: string]: any; - } - - const test = new Model(); - test.id = "id"; - test.ignored = true; - test.name = "myname"; - test.additional = {foo: "bar"}; - - const result = serialize(test, {type: Model}); - - expect(result).toEqual({ - id: "id", - renamed: "myname" - }); - }); - }); - describe("custom date mapper", () => { - it("should use a custom date mapper", () => { - class Test { - @Property() myDate: Date; - } - - class CustomDateMapper { - deserialize(data: string | number): Date; - deserialize(data: boolean | null | undefined): boolean | null | undefined; - deserialize(data: any): any { - // don't convert unexpected data. In normal case, Ajv reject unexpected data. - // But by default, we have to skip data deserialization and let user to apply - // the right mapping - if (isBoolean(data) || data === null || data === undefined) { - return data; - } - - return new Date(data); - } - - serialize(object: Date): any { - return new Date(object).toDateString(); - } - } - - const obj = new Test(); - obj.myDate = new Date("2022-10-02"); - - const types = new Map(getJsonMapperTypes()); - types.set(Date, new CustomDateMapper()); - - const result = serialize(obj, { - types - }); - expect(result).toEqual({ - myDate: "Sun Oct 02 2022" - }); - }); + it("should serialize values", () => { + expect(serialize(undefined)).toBeUndefined(); + expect(serialize(null)).toEqual(null); + expect(serialize("null")).toEqual("null"); + expect(serialize(Symbol.for("TEST"))).toEqual("TEST"); + expect(serialize(false)).toEqual(false); + expect(serialize(true)).toEqual(true); + expect(serialize("")).toEqual(""); + expect(serialize("1")).toEqual("1"); + expect(serialize(0)).toEqual(0); + expect(serialize(1)).toEqual(1); + expect(serialize(BigInt(1n))).toEqual(BigInt(1)); }); }); diff --git a/packages/specs/json-mapper/test/integration/models.date.intregration.spec.ts b/packages/specs/json-mapper/test/integration/models.date.intregration.spec.ts index 4131f85f325..75885244319 100644 --- a/packages/specs/json-mapper/test/integration/models.date.intregration.spec.ts +++ b/packages/specs/json-mapper/test/integration/models.date.intregration.spec.ts @@ -5,7 +5,6 @@ import {deserialize} from "../../src/utils/deserialize"; import {serialize} from "../../src/utils/serialize"; function serializeDate(date: Date) { - console.log("===>", date); return date && moment(date).format("YYYYMMDD"); } diff --git a/packages/specs/json-mapper/test/integration/pageable.integration.spec.ts b/packages/specs/json-mapper/test/integration/pageable.integration.spec.ts new file mode 100644 index 00000000000..0d06c1301d0 --- /dev/null +++ b/packages/specs/json-mapper/test/integration/pageable.integration.spec.ts @@ -0,0 +1,118 @@ +import {isString} from "@tsed/core"; +import { + array, + CollectionOf, + Default, + Description, + For, + Generics, + Integer, + Min, + MinLength, + oneOf, + Property, + SpecTypes, + string +} from "@tsed/schema"; +import {OnDeserialize, serialize} from "../../src/index"; + +class Pageable { + @Integer() + @Min(0) + @Default(0) + @Description("Page number.") + page: number = 0; + + @Integer() + @Min(1) + @Default(20) + @Description("Number of objects per page.") + size: number = 20; + + @For(SpecTypes.JSON, oneOf(string(), array().items(string()).maxItems(2))) + @For(SpecTypes.OPENAPI, array().items(string()).maxItems(2)) + @OnDeserialize((value: string | string[]) => (isString(value) ? value.split(",") : value)) + @Description("Sorting criteria: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.") + sort: string | string[]; + + constructor(options: Partial) { + options.page && (this.page = options.page); + options.size && (this.size = options.size); + options.sort && (this.sort = options.sort); + } + + get offset() { + return this.page ? this.page * this.limit : 0; + } + + get limit() { + return this.size; + } +} + +@Generics("T") +class Pagination extends Pageable { + @CollectionOf("T") + data: T[]; + + @Integer() + @MinLength(0) + totalCount: number = 0; + + constructor({data, totalCount, pageable}: Partial> & {pageable: Pageable}) { + super(pageable); + data && (this.data = data); + totalCount && (this.totalCount = totalCount); + } + + get isPaginated() { + return this.data.length < this.totalCount; + } +} + +class Product { + @Property() + id: string; + + @Property() + title: string; + + constructor({id, title}: Partial = {}) { + id && (this.id = id); + title && (this.title = title); + } +} + +describe("Pageable", () => { + it("should serialize a pageable object", () => { + const pageableOptions = new Pageable({ + page: 1, + size: 10, + sort: ["field", "asc"] + }); + + const pagination = new Pagination({ + data: [ + new Product({ + id: "100", + title: "CANON D3000" + }) + ], + totalCount: 1, // just for test + pageable: pageableOptions + }); + + expect(serialize(pagination)).toEqual({ + data: [ + { + id: "100", + title: "CANON D3000" + } + ], + page: 1, + size: 10, + sort: ["field", "asc"], + totalCount: 1 + }); + }); +}); diff --git a/packages/specs/schema/jest.config.js b/packages/specs/schema/jest.config.js index 5c7bff70c20..574aef53c33 100644 --- a/packages/specs/schema/jest.config.js +++ b/packages/specs/schema/jest.config.js @@ -6,10 +6,10 @@ module.exports = { roots: ["/src", "/test"], coverageThreshold: { global: { - statements: 99.46, - branches: 96.23, + statements: 99.45, + branches: 96.18, functions: 100, - lines: 99.46 + lines: 99.45 } }, moduleNameMapper: { From 43bc5c0e93bf7dd3db32acbb0bd7d846cfa95bc5 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 11 Aug 2023 04:34:39 +0000 Subject: [PATCH 08/30] Github CI build: __run_2 v7.35.0-beta.1 [ci skip] --- lerna.json | 2 +- package.json | 2 +- packages/core/package.json | 6 ++-- packages/di/package.json | 14 ++++---- packages/engines/package.json | 6 ++-- packages/graphql/apollo/package.json | 18 +++++------ packages/graphql/typegraphql/package.json | 12 +++---- packages/orm/adapters-redis/package.json | 20 ++++++------ packages/orm/adapters/package.json | 30 ++++++++--------- packages/orm/ioredis/package.json | 14 ++++---- packages/orm/mikro-orm/package.json | 24 +++++++------- packages/orm/mongoose/package.json | 26 +++++++-------- packages/orm/objection/package.json | 26 +++++++-------- packages/orm/prisma/package.json | 22 ++++++------- packages/orm/testing-mongoose/package.json | 18 +++++------ packages/orm/typeorm/package.json | 22 ++++++------- packages/perf/package.json | 8 ++--- packages/platform/common/package.json | 32 +++++++++---------- packages/platform/platform-cache/package.json | 22 ++++++------- .../platform/platform-exceptions/package.json | 22 ++++++------- .../platform/platform-express/package.json | 30 ++++++++--------- packages/platform/platform-koa/package.json | 26 +++++++-------- .../platform-log-middleware/package.json | 18 +++++------ .../platform-middlewares/package.json | 18 +++++------ .../platform/platform-params/package.json | 26 +++++++-------- .../platform-response-filter/package.json | 26 +++++++-------- .../platform/platform-router/package.json | 30 ++++++++--------- .../platform-serverless-http/package.json | 26 +++++++-------- .../platform-serverless-testing/package.json | 26 +++++++-------- .../platform/platform-serverless/package.json | 22 ++++++------- .../platform/platform-test-sdk/package.json | 28 ++++++++-------- packages/platform/platform-views/package.json | 28 ++++++++-------- packages/security/jwks/package.json | 6 ++-- .../package.json | 18 +++++------ packages/security/oidc-provider/package.json | 30 ++++++++--------- packages/security/passport/package.json | 16 +++++----- packages/specs/ajv/package.json | 22 ++++++------- packages/specs/exceptions/package.json | 8 ++--- packages/specs/json-mapper/package.json | 14 ++++---- packages/specs/openspec/package.json | 6 ++-- packages/specs/schema/package.json | 18 +++++------ packages/specs/swagger/package.json | 24 +++++++------- packages/third-parties/agenda/package.json | 12 +++---- .../components-scan/package.json | 12 +++---- .../third-parties/event-emitter/package.json | 12 +++---- .../third-parties/formio-types/package.json | 6 ++-- packages/third-parties/formio/package.json | 20 ++++++------ .../third-parties/schema-formio/package.json | 20 ++++++------ .../socketio-testing/package.json | 16 +++++----- packages/third-parties/socketio/package.json | 30 ++++++++--------- packages/third-parties/stripe/package.json | 26 +++++++-------- packages/third-parties/terminus/package.json | 22 ++++++------- .../vite-ssr-plugin/package.json | 16 +++++----- packages/utils/normalize-path/package.json | 6 ++-- tools/eslint/package.json | 2 +- tools/github-sponsors/package.json | 2 +- tools/integration/package.json | 22 ++++++------- tools/jest/package.json | 2 +- tools/mocha/package.json | 2 +- tools/typescript/package.json | 2 +- tools/webpack/package.json | 2 +- 61 files changed, 522 insertions(+), 522 deletions(-) diff --git a/lerna.json b/lerna.json index 2212ba990b4..c0d8655b0a7 100644 --- a/lerna.json +++ b/lerna.json @@ -11,7 +11,7 @@ "packages/third-parties/*", "docs" ], - "version": "7.34.2", + "version": "7.35.0-beta.1", "command": { "bootstrap": { "npmClientArgs": [ diff --git a/package.json b/package.json index ce799496a54..f38939c8531 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/root", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "A TypeScript Framework on top of Express", "private": true, "author": "Romain Lenzotti", diff --git a/packages/core/package.json b/packages/core/package.json index 080d76c60d9..5fd3b547432 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/core", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Core module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -29,8 +29,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/di/package.json b/packages/di/package.json index 596a9b03b2b..6b434fe37b5 100644 --- a/packages/di/package.json +++ b/packages/di/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/di", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "DI module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -28,17 +28,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/eslint": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", + "@tsed/core": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.34.2" + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/engines/package.json b/packages/engines/package.json index 74593e5ad9a..6da5e388c43 100644 --- a/packages/engines/package.json +++ b/packages/engines/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/engines", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Template engines library. Provide an API to adding custom engines from decorators.", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -27,8 +27,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/fs-extra": "^9.0.13", "@types/semver": "^7.3.9", "arc-templates": "^0.5.3", diff --git a/packages/graphql/apollo/package.json b/packages/graphql/apollo/package.json index 9303c276f13..987832bdf0b 100644 --- a/packages/graphql/apollo/package.json +++ b/packages/graphql/apollo/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/apollo", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Apollo package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -25,12 +25,12 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/typescript": "7.34.2", + "@tsed/typescript": "7.35.0-beta.1", "@types/graphql": "14.5.0", "apollo-datasource": "^3.2.0", "apollo-datasource-rest": "^3.3.0", @@ -42,9 +42,9 @@ "graphql": "15.7.2" }, "peerDependencies": { - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2", "apollo-datasource": ">=3.0.0", "apollo-datasource-rest": ">=3.0.0", diff --git a/packages/graphql/typegraphql/package.json b/packages/graphql/typegraphql/package.json index 2ab1ce9030f..c67b89d2341 100644 --- a/packages/graphql/typegraphql/package.json +++ b/packages/graphql/typegraphql/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typegraphql", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql", "private": false, "source": "./src/index.ts", @@ -24,14 +24,14 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/apollo": "7.34.2", + "@tsed/apollo": "7.35.0-beta.1", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/graphql": "^14.5.0", "class-validator": "~0.14.0", "eslint": "^8.12.0", diff --git a/packages/orm/adapters-redis/package.json b/packages/orm/adapters-redis/package.json index ec54ee51e41..9a2a14dd0d9 100644 --- a/packages/orm/adapters-redis/package.json +++ b/packages/orm/adapters-redis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters-redis", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Redis adapter for Ts.ED", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.34.2", - "@tsed/ioredis": "7.34.2", + "@tsed/adapters": "7.35.0-beta.1", + "@tsed/ioredis": "7.35.0-beta.1", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/adapters": "^7.34.2", - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", + "@tsed/adapters": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2", "uuid": "8.3.2" diff --git a/packages/orm/adapters/package.json b/packages/orm/adapters/package.json index 78c8fb90b07..4b32c721ce9 100644 --- a/packages/orm/adapters/package.json +++ b/packages/orm/adapters/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Database adapters for Ts.ED", "private": false, "source": "./src/index.ts", @@ -32,24 +32,24 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/ajv": "7.34.2", - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/ajv": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/fs-extra": "9.0.13", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/ajv": "^7.34.2", - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/ajv": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/ajv": { diff --git a/packages/orm/ioredis/package.json b/packages/orm/ioredis/package.json index bce7b85122a..884cff01699 100644 --- a/packages/orm/ioredis/package.json +++ b/packages/orm/ioredis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ioredis", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "IO Redis connection for Ts.ED", "private": false, "source": "./src/index.ts", @@ -25,18 +25,18 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/ioredis-mock": "^5.6.0", "eslint": "^8.12.0", "ioredis": "5.2.3", "ioredis-mock": "8.2.2" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2" } diff --git a/packages/orm/mikro-orm/package.json b/packages/orm/mikro-orm/package.json index 53f951d190e..ad6b79e7265 100644 --- a/packages/orm/mikro-orm/package.json +++ b/packages/orm/mikro-orm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mikro-orm", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "MikroORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -27,23 +27,23 @@ "devDependencies": { "@mikro-orm/core": "^5.2.2", "@mikro-orm/mongodb": "^5.2.2", - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/json-mapper": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", "@tsed/logger": ">=6.1.1", - "@tsed/schema": "7.34.2", - "@tsed/testing-mongoose": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/testing-mongoose": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0", "ts-mockito": "^2.6.1" }, "peerDependencies": { "@mikro-orm/core": ">=4.5.9", - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2" } } \ No newline at end of file diff --git a/packages/orm/mongoose/package.json b/packages/orm/mongoose/package.json index 369e4a8eb2f..e304dc6f333 100644 --- a/packages/orm/mongoose/package.json +++ b/packages/orm/mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mongoose", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Mongoose package for Ts.ED framework", "private": false, "keywords": [ @@ -33,24 +33,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/json-mapper": "7.34.2", + "@tsed/ajv": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0", "mongoose": "6.11.3" }, "peerDependencies": { - "@tsed/ajv": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", + "@tsed/ajv": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.34.2", + "@tsed/schema": "^7.35.0-beta.1", "mongoose": ">=6.0.0" } } \ No newline at end of file diff --git a/packages/orm/objection/package.json b/packages/orm/objection/package.json index 2652bd47f1c..06b24f93cf9 100644 --- a/packages/orm/objection/package.json +++ b/packages/orm/objection/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/objection", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Objection.js package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,24 +25,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/ajv": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0", "knex": "^2.4.0", "objection": "^2.2.15", "sqlite3": "^5.0.2" }, "peerDependencies": { - "@tsed/ajv": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", - "@tsed/schema": "^7.34.2", + "@tsed/ajv": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1", "knex": ">=0.94.0", "objection": ">=2.0.0" }, diff --git a/packages/orm/prisma/package.json b/packages/orm/prisma/package.json index bfed23e8c25..bfcff96bd96 100644 --- a/packages/orm/prisma/package.json +++ b/packages/orm/prisma/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/prisma", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Generate Ts.ED JsonSchema based on Prisma models", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -36,12 +36,12 @@ }, "devDependencies": { "@prisma/client": "^4.0.0", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/change-case": "^2.3.1", "@types/pluralize": "0.0.29", "eslint": "^8.12.0", @@ -49,10 +49,10 @@ }, "peerDependencies": { "@prisma/client": ">=4.0.0", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "keywords": [ "TypeScript", diff --git a/packages/orm/testing-mongoose/package.json b/packages/orm/testing-mongoose/package.json index 22267343aee..d661b5b031e 100644 --- a/packages/orm/testing-mongoose/package.json +++ b/packages/orm/testing-mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/testing-mongoose", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/mongoose": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/mongoose": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/mongoose": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/mongoose": "^7.35.0-beta.1", "mongoose": "^6.1.7" } } \ No newline at end of file diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index 090de806ff1..fb1e3b18212 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typeorm", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "TypeORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,20 +25,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0", "typeorm": "^0.2.45" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", - "@tsed/schema": "^7.34.2", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1", "typeorm": "^0.2.26" } } \ No newline at end of file diff --git a/packages/perf/package.json b/packages/perf/package.json index 754dcd155b1..fd1fefc0b47 100644 --- a/packages/perf/package.json +++ b/packages/perf/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/perf", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Perf module tool", "private": false, "source": "./src/index.ts", @@ -20,13 +20,13 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.34.2", + "@tsed/core": "7.35.0-beta.1", "chalk": "^4.1.0", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/common/package.json b/packages/platform/common/package.json index be7aa0065f3..61827bf6fac 100644 --- a/packages/platform/common/package.json +++ b/packages/platform/common/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/common", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -68,29 +68,29 @@ } ], "dependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/json-mapper": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", "@tsed/logger": ">=6.2.2", "@tsed/logger-file": ">=6.2.2", - "@tsed/platform-exceptions": "7.34.2", - "@tsed/platform-log-middleware": "7.34.2", - "@tsed/platform-middlewares": "7.34.2", - "@tsed/platform-params": "7.34.2", - "@tsed/platform-response-filter": "7.34.2", - "@tsed/platform-router": "7.34.2", - "@tsed/platform-views": "7.34.2", - "@tsed/schema": "7.34.2", + "@tsed/platform-exceptions": "7.35.0-beta.1", + "@tsed/platform-log-middleware": "7.35.0-beta.1", + "@tsed/platform-middlewares": "7.35.0-beta.1", + "@tsed/platform-params": "7.35.0-beta.1", + "@tsed/platform-response-filter": "7.35.0-beta.1", + "@tsed/platform-router": "7.35.0-beta.1", + "@tsed/platform-views": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", "@types/json-schema": "7.0.11", "accepts": "^1.3.8", "tslib": "2.5.0", "uuid": "8.3.2" }, "devDependencies": { - "@tsed/components-scan": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/components-scan": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/platform/platform-cache/package.json b/packages/platform/platform-cache/package.json index a2e0f427f26..c9f4f02982c 100644 --- a/packages/platform/platform-cache/package.json +++ b/packages/platform/platform-cache/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-cache", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Platform cache module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -27,20 +27,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/micromatch": "^4.0.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-exceptions/package.json b/packages/platform/platform-exceptions/package.json index 1b569660611..615a39b8e49 100644 --- a/packages/platform/platform-exceptions/package.json +++ b/packages/platform/platform-exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-exceptions", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Platform exceptions module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,19 +25,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/exceptions": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/exceptions": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-express/package.json b/packages/platform/platform-express/package.json index 16b30eda058..8706ee5b512 100644 --- a/packages/platform/platform-express/package.json +++ b/packages/platform/platform-express/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-express", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -63,13 +63,13 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/platform-test-sdk": "7.34.2", - "@tsed/platform-views": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/platform-test-sdk": "7.35.0-beta.1", + "@tsed/platform-views": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/body-parser": "1.19.2", "@types/compression": "1.7.2", "@types/cookie-parser": "1.4.2", @@ -86,14 +86,14 @@ "method-override": "3.0.0" }, "peerDependencies": { - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.34.2", - "@tsed/platform-views": "^7.34.2", - "@tsed/schema": "^7.34.2", + "@tsed/openspec": "^7.35.0-beta.1", + "@tsed/platform-views": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1", "@types/multer": "^1.4.5", "body-parser": "^1.19.0", "multer": "^1.4.5-lts.1" diff --git a/packages/platform/platform-koa/package.json b/packages/platform/platform-koa/package.json index 509d06c7f1c..19ab517ac6a 100644 --- a/packages/platform/platform-koa/package.json +++ b/packages/platform/platform-koa/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-koa", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Koa package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -58,12 +58,12 @@ }, "devDependencies": { "@koa/cors": "3.3.0", - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/platform-test-sdk": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/platform-test-sdk": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/koa": "2.13.4", "@types/koa-bodyparser": "4.3.7", "@types/koa-compose": "3.2.5", @@ -89,13 +89,13 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.34.2", - "@tsed/schema": "^7.34.2", + "@tsed/openspec": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1", "koa": ">=2.13.0", "koa-bodyparser": ">=4.3.0", "koa-compress": ">=5.0.1", diff --git a/packages/platform/platform-log-middleware/package.json b/packages/platform/platform-log-middleware/package.json index d0c65035c70..fdd27a97d6c 100644 --- a/packages/platform/platform-log-middleware/package.json +++ b/packages/platform/platform-log-middleware/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-log-middleware", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Log request middleware module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/platform-middlewares": "7.34.2", - "@tsed/platform-params": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/platform-middlewares": "7.35.0-beta.1", + "@tsed/platform-params": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/di": "^7.34.2", - "@tsed/platform-middlewares": "^7.34.2", - "@tsed/platform-params": "^7.34.2" + "@tsed/di": "^7.35.0-beta.1", + "@tsed/platform-middlewares": "^7.35.0-beta.1", + "@tsed/platform-params": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/di": { diff --git a/packages/platform/platform-middlewares/package.json b/packages/platform/platform-middlewares/package.json index 6d9f3e0f462..e20740c9f7f 100644 --- a/packages/platform/platform-middlewares/package.json +++ b/packages/platform/platform-middlewares/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-middlewares", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Middlewares module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-params/package.json b/packages/platform/platform-params/package.json index 865edbce1f8..81c7ce297f7 100644 --- a/packages/platform/platform-params/package.json +++ b/packages/platform/platform-params/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-params", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Params module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/exceptions": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/exceptions": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-response-filter/package.json b/packages/platform/platform-response-filter/package.json index 747c6e9ddb8..261479a6bf8 100644 --- a/packages/platform/platform-response-filter/package.json +++ b/packages/platform/platform-response-filter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-response-filter", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Platform response filter module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/exceptions": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/exceptions": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-router/package.json b/packages/platform/platform-router/package.json index d46d6e180db..31ce1bf7ea4 100644 --- a/packages/platform/platform-router/package.json +++ b/packages/platform/platform-router/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-router", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Router", "private": false, "source": "./src/index.ts", @@ -25,23 +25,23 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/platform-params": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/platform-params": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/exceptions": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", - "@tsed/platform-params": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/exceptions": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/platform-params": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-serverless-http/package.json b/packages/platform/platform-serverless-http/package.json index df82d474f17..2cec576fab1 100644 --- a/packages/platform/platform-serverless-http/package.json +++ b/packages/platform/platform-serverless-http/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-http", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Module to support Serverless HTTP function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -62,24 +62,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/platform-serverless-testing": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/platform-serverless-testing": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "aws-lambda": "^1.0.7", "eslint": "^8.12.0", "serverless-http": "^2.7.0" }, "peerDependencies": { - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.34.2", - "@tsed/schema": "^7.34.2", + "@tsed/openspec": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1", "aws-lambda": ">=1.0.7", "serverless-http": ">=2.0.0" }, diff --git a/packages/platform/platform-serverless-testing/package.json b/packages/platform/platform-serverless-testing/package.json index 748c32b02cf..ac8a27ca873 100644 --- a/packages/platform/platform-serverless-testing/package.json +++ b/packages/platform/platform-serverless-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-testing", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Module to test Serverless function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -57,12 +57,12 @@ "url": "git+https://github.com/tsedio/tsed.git" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "dependencies": { @@ -70,12 +70,12 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/openspec": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" } } \ No newline at end of file diff --git a/packages/platform/platform-serverless/package.json b/packages/platform/platform-serverless/package.json index 5ce16c3457c..5cde973fe11 100644 --- a/packages/platform/platform-serverless/package.json +++ b/packages/platform/platform-serverless/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Platform serverless module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/platform-exceptions": "7.34.2", - "@tsed/platform-params": "7.34.2", - "@tsed/schema": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/platform-exceptions": "7.35.0-beta.1", + "@tsed/platform-params": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", "encodeurl": "^1.0.2", "mime": "^3.0.0", "tslib": "2.5.0", "uuid": "^8.3.2" }, "devDependencies": { - "@tsed/eslint": "7.34.2", - "@tsed/platform-serverless-testing": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/platform-serverless-testing": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/aws-lambda": "^8.10.83", "@types/encodeurl": "^1.0.0", "@types/mime": "^3.0.1", @@ -44,7 +44,7 @@ "find-my-way": "^7.0.0" }, "peerDependencies": { - "@tsed/di": "^7.34.2", + "@tsed/di": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2" }, "peerDependenciesMeta": { diff --git a/packages/platform/platform-test-sdk/package.json b/packages/platform/platform-test-sdk/package.json index 6fe3fedf8e0..e531e588b51 100644 --- a/packages/platform/platform-test-sdk/package.json +++ b/packages/platform/platform-test-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-test-sdk", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Package to test platform adapter integration with Ts.ED", "private": false, "source": "./src/index.ts", @@ -28,25 +28,25 @@ "Adapter" ], "dependencies": { - "@tsed/ajv": "7.34.2", - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/json-mapper": "7.34.2", + "@tsed/ajv": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", "@tsed/logger": "6.2.2", - "@tsed/platform-cache": "7.34.2", - "@tsed/platform-params": "7.34.2", - "@tsed/platform-router": "7.34.2", - "@tsed/platform-views": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/swagger": "7.34.2", + "@tsed/platform-cache": "7.35.0-beta.1", + "@tsed/platform-params": "7.35.0-beta.1", + "@tsed/platform-router": "7.35.0-beta.1", + "@tsed/platform-views": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/swagger": "7.35.0-beta.1", "ajv": "^8.12.0", "axios": "^1.3.0", "read-pkg-up": "7.0.1" }, "devDependencies": { - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/platform-views/package.json b/packages/platform/platform-views/package.json index d3c1102efab..9892f9d4c68 100644 --- a/packages/platform/platform-views/package.json +++ b/packages/platform/platform-views/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-views", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Views module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,27 +22,27 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/engines": "7.34.2", + "@tsed/engines": "7.35.0-beta.1", "ejs": "^3.1.5", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/engines": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/engines": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/ejs": "3.1.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/engines": "^7.34.2", - "@tsed/exceptions": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/engines": "^7.35.0-beta.1", + "@tsed/exceptions": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/security/jwks/package.json b/packages/security/jwks/package.json index 447331664d1..fc604f0e479 100644 --- a/packages/security/jwks/package.json +++ b/packages/security/jwks/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jwks", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Utils to generate jwks pair keys", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json index dfd5c4a5b52..9bacf4c8acf 100644 --- a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json +++ b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider-plugin-wildcard-redirect-uri", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "A plugin to support wildcard in the redirect uri whitelist", "private": false, "contributors": [ @@ -31,19 +31,19 @@ "wildcard": "2.0.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/oidc-provider": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/oidc-provider": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/uuid": "8.3.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/oidc-provider": "^7.34.2", + "@tsed/oidc-provider": "^7.35.0-beta.1", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/oidc-provider/package.json b/packages/security/oidc-provider/package.json index f53a2d3ee80..d2e78e4e453 100644 --- a/packages/security/oidc-provider/package.json +++ b/packages/security/oidc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "OIDC provider package for Ts.ED framework", "private": false, "contributors": [ @@ -34,7 +34,7 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.34.2", + "@tsed/adapters": "7.35.0-beta.1", "express-urlrewrite": "^1.4.0", "jose2": "npm:jose@^2.0.4", "koa-mount": "^4.0.0", @@ -43,13 +43,13 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/jwks": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/jwks": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/lowdb": "1.0.11", "@types/oidc-provider": "8.1.1", "@types/uuid": "8.3.4", @@ -58,12 +58,12 @@ "oidc-provider": "8.1.1" }, "peerDependencies": { - "@tsed/ajv": "^7.34.2", - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", - "@tsed/schema": "^7.34.2", + "@tsed/ajv": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/passport/package.json b/packages/security/passport/package.json index 1e8a5fce05c..642d362f61e 100644 --- a/packages/security/passport/package.json +++ b/packages/security/passport/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/passport", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Passport package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,12 +26,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/platform-router": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/platform-router": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/passport": "1.0.7", "@types/passport-http": "0.3.9", "@types/passport-local": "1.0.34", @@ -43,7 +43,7 @@ "passport-strategy": "1.0.0" }, "peerDependencies": { - "@tsed/common": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", "passport": ">=0.4.1" }, "peerDependenciesMeta": { diff --git a/packages/specs/ajv/package.json b/packages/specs/ajv/package.json index 1eba5c3f170..1c9fc3f6ff9 100644 --- a/packages/specs/ajv/package.json +++ b/packages/specs/ajv/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ajv", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "AJV package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,20 +26,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "ajv": "8.11.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/exceptions": "^7.34.2", - "@tsed/schema": "^7.34.2", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/exceptions": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1", "ajv": ">=8.9.0", "ajv-errors": ">=3.0.0" }, diff --git a/packages/specs/exceptions/package.json b/packages/specs/exceptions/package.json index 78ffe55ebc5..4d56a587918 100644 --- a/packages/specs/exceptions/package.json +++ b/packages/specs/exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/exceptions", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "HTTP exceptions module for Ts.ED Framework and other pure Express application", "private": false, "source": "./src/index.ts", @@ -27,12 +27,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/statuses": "2.0.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1" } } \ No newline at end of file diff --git a/packages/specs/json-mapper/package.json b/packages/specs/json-mapper/package.json index 69571c61e36..49637b8170d 100644 --- a/packages/specs/json-mapper/package.json +++ b/packages/specs/json-mapper/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/json-mapper", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Json mapper module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -41,15 +41,15 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/specs/openspec/package.json b/packages/specs/openspec/package.json index 47ef3fce5ac..91740f1d55b 100644 --- a/packages/specs/openspec/package.json +++ b/packages/specs/openspec/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/openspec", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application", "private": false, "source": "./src/index.ts", @@ -31,8 +31,8 @@ "JsonSchema" ], "devDependencies": { - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "dependencies": {}, diff --git a/packages/specs/schema/package.json b/packages/specs/schema/package.json index 36c0eed9d63..28700b4a131 100644 --- a/packages/specs/schema/package.json +++ b/packages/specs/schema/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "JsonSchema module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -36,7 +36,7 @@ "tsed" ], "dependencies": { - "@tsed/openspec": "7.34.2", + "@tsed/openspec": "7.35.0-beta.1", "change-case": "^4.1.2", "fs-extra": "^10.0.1", "json-schema": "0.4.0", @@ -46,10 +46,10 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@tsed/core": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/openspec": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/openspec": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/fs-extra": "9.0.13", "@types/json-schema": "7.0.11", "@types/picomatch": "2.3.0", @@ -58,8 +58,8 @@ "picomatch-browser": "https://github.com/silverwind/picomatch#ee6ebcc5570a8846d81610c11ebb92a9e199b145" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/openspec": "^7.34.2" + "@tsed/core": "^7.35.0-beta.1", + "@tsed/openspec": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/openspec": { @@ -69,4 +69,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/specs/swagger/package.json b/packages/specs/swagger/package.json index 8c662a65037..d2d1f2f2217 100644 --- a/packages/specs/swagger/package.json +++ b/packages/specs/swagger/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/swagger", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Swagger package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,8 +24,8 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.34.2", - "@tsed/openspec": "7.34.2", + "@tsed/normalize-path": "7.35.0-beta.1", + "@tsed/openspec": "7.35.0-beta.1", "filedirname": "^2.7.0", "fs-extra": "10.0.1", "micromatch": "4.0.5", @@ -33,19 +33,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/openspec": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/openspec": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/swagger-ui-dist": ">=3.30.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.34.2" + "@tsed/common": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@tsed/common": { diff --git a/packages/third-parties/agenda/package.json b/packages/third-parties/agenda/package.json index e7d66fbc1f3..61deb9e81d8 100644 --- a/packages/third-parties/agenda/package.json +++ b/packages/third-parties/agenda/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/agenda", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Agenda package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -30,11 +30,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "agenda": "^4.1.3", "eslint": "^8.12.0" }, diff --git a/packages/third-parties/components-scan/package.json b/packages/third-parties/components-scan/package.json index 656d34a311e..379e02d87f1 100644 --- a/packages/third-parties/components-scan/package.json +++ b/packages/third-parties/components-scan/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/components-scan", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Components scan utilities for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,15 +22,15 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.34.2", + "@tsed/normalize-path": "7.35.0-beta.1", "globby": "11.0.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/third-parties/event-emitter/package.json b/packages/third-parties/event-emitter/package.json index cbddbad2fcc..15ce1e765f9 100644 --- a/packages/third-parties/event-emitter/package.json +++ b/packages/third-parties/event-emitter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/event-emitter", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "EventEmitter package for Ts.ED framework", "contributors": [ { @@ -33,11 +33,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0", "eventemitter2": "^6.4.4" }, diff --git a/packages/third-parties/formio-types/package.json b/packages/third-parties/formio-types/package.json index 02894ca1ac1..c64b7e04f5f 100644 --- a/packages/third-parties/formio-types/package.json +++ b/packages/third-parties/formio-types/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio-types", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Formio types definition package for Ts.ED framework", "private": false, "keywords": [ @@ -36,8 +36,8 @@ "formiojs": ">=4.0.0" }, "devDependencies": { - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" } } \ No newline at end of file diff --git a/packages/third-parties/formio/package.json b/packages/third-parties/formio/package.json index 46ee24d8cc3..361ca29b5d8 100644 --- a/packages/third-parties/formio/package.json +++ b/packages/third-parties/formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Formio package for Ts.ED framework", "private": false, "keywords": [ @@ -31,17 +31,17 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/formio-types": "7.34.2", - "@tsed/normalize-path": "7.34.2", + "@tsed/formio-types": "7.35.0-beta.1", + "@tsed/normalize-path": "7.35.0-beta.1", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/mongoose": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/mongoose": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/async": "3.2.15", "eslint": "^8.12.0", "express": "^4.17.1", @@ -50,7 +50,7 @@ "mongoose": "^6.1.7" }, "peerDependencies": { - "@tsed/common": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", "express": "^4.17.1", "formio": "^2.0.0", "lodash": "^4.17.21", diff --git a/packages/third-parties/schema-formio/package.json b/packages/third-parties/schema-formio/package.json index e46b48a6b8d..02434d7b60a 100644 --- a/packages/third-parties/schema-formio/package.json +++ b/packages/third-parties/schema-formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema-formio", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Transform Ts.ED Schema & JsonSchema to a valid Formio schema", "private": false, "source": "./src/index.ts", @@ -38,22 +38,22 @@ "tsed" ], "dependencies": { - "@tsed/formio-types": "7.34.2", + "@tsed/formio-types": "7.35.0-beta.1", "change-case": "4.1.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/openspec": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/openspec": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.2", - "@tsed/openspec": "^7.34.2", - "@tsed/schema": "^7.34.2", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/openspec": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1", "formiojs": ">=4.0.0", "lodash": ">=4.0.0", "moment": ">=2.0.0" diff --git a/packages/third-parties/socketio-testing/package.json b/packages/third-parties/socketio-testing/package.json index 9adf1523f20..611ffd03ded 100644 --- a/packages/third-parties/socketio-testing/package.json +++ b/packages/third-parties/socketio-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio-testing", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Socket.io testing package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,17 +24,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0", "socket.io-client": "^4.1.2" }, "peerDependencies": { - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", "socket.io-client": "^4.0.1" } } \ No newline at end of file diff --git a/packages/third-parties/socketio/package.json b/packages/third-parties/socketio/package.json index 0b2ca5ce002..9034e689022 100644 --- a/packages/third-parties/socketio/package.json +++ b/packages/third-parties/socketio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Socket.io package for Ts.ED framework", "private": false, "keywords": [ @@ -33,27 +33,27 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/openspec": "7.34.2", - "@tsed/platform-middlewares": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/socketio-testing": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/openspec": "7.35.0-beta.1", + "@tsed/platform-middlewares": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/socketio-testing": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0", "express": "^4.17.1", "socket.io": "4.7.1", "socket.io-client": "^4.7.1" }, "peerDependencies": { - "@tsed/di": "^7.34.2", - "@tsed/json-mapper": "^7.34.2", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/json-mapper": "^7.35.0-beta.1", "@tsed/logger": ">=6.2.2", - "@tsed/platform-middlewares": "^7.34.2", - "@tsed/schema": "^7.34.2", + "@tsed/platform-middlewares": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1", "socket.io": ">=4.0.0" }, "peerDependenciesMeta": { diff --git a/packages/third-parties/stripe/package.json b/packages/third-parties/stripe/package.json index 939425a4eef..9cc1f6623c9 100644 --- a/packages/third-parties/stripe/package.json +++ b/packages/third-parties/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/stripe", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Stripe package for Ts.ED framework", "private": false, "keywords": [ @@ -34,22 +34,22 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/platform-middlewares": "7.34.2", - "@tsed/platform-params": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/platform-middlewares": "7.35.0-beta.1", + "@tsed/platform-params": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0", "stripe": "^8.129.0" }, "peerDependencies": { - "@tsed/exceptions": "^7.34.2", - "@tsed/platform-middlewares": "^7.34.2", - "@tsed/platform-params": "^7.34.2", - "@tsed/schema": "^7.34.2", + "@tsed/exceptions": "^7.35.0-beta.1", + "@tsed/platform-middlewares": "^7.35.0-beta.1", + "@tsed/platform-params": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1", "@types/body-parser": "^1.19.0", "body-parser": "^1.19.0", "stripe": "^9.16.0" diff --git a/packages/third-parties/terminus/package.json b/packages/third-parties/terminus/package.json index 11536ab38ad..76fbac3f97f 100644 --- a/packages/third-parties/terminus/package.json +++ b/packages/third-parties/terminus/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/terminus", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.", "author": "Emilien Leroy ", "private": false, @@ -28,20 +28,20 @@ }, "devDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0" }, "peerDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "^7.34.2", - "@tsed/core": "^7.34.2", - "@tsed/di": "^7.34.2", - "@tsed/schema": "^7.34.2" + "@tsed/common": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.1" }, "peerDependenciesMeta": { "@godaddy/terminus": { diff --git a/packages/third-parties/vite-ssr-plugin/package.json b/packages/third-parties/vite-ssr-plugin/package.json index c64c08fe959..3ae7c57a9bb 100644 --- a/packages/third-parties/vite-ssr-plugin/package.json +++ b/packages/third-parties/vite-ssr-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/vite-ssr-plugin", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Vite SSR plugin package for Ts.ED framework", "private": false, "contributors": [ @@ -30,18 +30,18 @@ "sirv": ">=2.0.2" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/core": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/eslint": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/common": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "eslint": "^8.12.0", "vite": "4.3.9", "vite-plugin-ssr": "0.4.114" }, "peerDependencies": { - "@tsed/common": "^7.34.2", + "@tsed/common": "^7.35.0-beta.1", "vite": ">=4", "vite-plugin-ssr": ">=0.4.114" }, diff --git a/packages/utils/normalize-path/package.json b/packages/utils/normalize-path/package.json index b2354f477ed..4c02187f30b 100644 --- a/packages/utils/normalize-path/package.json +++ b/packages/utils/normalize-path/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/normalize-path", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Utils to normalize path", "private": false, "source": "./src/index.ts", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.2", - "@tsed/typescript": "7.34.2", + "@tsed/eslint": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1", "@types/normalize-path": "^3.0.0", "eslint": "^8.12.0" }, diff --git a/tools/eslint/package.json b/tools/eslint/package.json index 137863fdb01..aa9df406569 100644 --- a/tools/eslint/package.json +++ b/tools/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/eslint", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/github-sponsors/package.json b/tools/github-sponsors/package.json index aeee7ddf77e..dfd91c17dd0 100644 --- a/tools/github-sponsors/package.json +++ b/tools/github-sponsors/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/github-sponsors", - "version": "7.34.2", + "version": "7.35.0-beta.1", "private": true, "scripts": { "sponsors": "node ./bin/github-sponsors.js" diff --git a/tools/integration/package.json b/tools/integration/package.json index d7f07bdd19c..3624bc76625 100644 --- a/tools/integration/package.json +++ b/tools/integration/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/integration", - "version": "7.34.2", + "version": "7.35.0-beta.1", "source": "src/index.ts", "main": "src/index.js", "private": true, @@ -9,16 +9,16 @@ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json" }, "devDependencies": { - "@tsed/common": "7.34.2", - "@tsed/di": "7.34.2", - "@tsed/exceptions": "7.34.2", - "@tsed/json-mapper": "7.34.2", - "@tsed/platform-exceptions": "7.34.2", - "@tsed/platform-express": "7.34.2", - "@tsed/platform-views": "7.34.2", - "@tsed/schema": "7.34.2", - "@tsed/swagger": "7.34.2", - "@tsed/typescript": "7.34.2" + "@tsed/common": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.1", + "@tsed/exceptions": "7.35.0-beta.1", + "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/platform-exceptions": "7.35.0-beta.1", + "@tsed/platform-express": "7.35.0-beta.1", + "@tsed/platform-views": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.1", + "@tsed/swagger": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.1" }, "dependencies": {}, "peerDependencies": {} diff --git a/tools/jest/package.json b/tools/jest/package.json index d1797fbe196..14e4c57ca17 100644 --- a/tools/jest/package.json +++ b/tools/jest/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jest-config", - "version": "7.34.2", + "version": "7.35.0-beta.1", "private": true, "main": "jest.config.js", "scripts": {}, diff --git a/tools/mocha/package.json b/tools/mocha/package.json index 9e7bf72c16c..8a2ceffac08 100644 --- a/tools/mocha/package.json +++ b/tools/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mocha-config", - "version": "7.34.2", + "version": "7.35.0-beta.1", "private": true, "main": "mocha.config.js", "scripts": {}, diff --git a/tools/typescript/package.json b/tools/typescript/package.json index 1fd5a63df9b..ad949542b77 100644 --- a/tools/typescript/package.json +++ b/tools/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typescript", - "version": "7.34.2", + "version": "7.35.0-beta.1", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/webpack/package.json b/tools/webpack/package.json index 7d937855b32..44e8887e771 100644 --- a/tools/webpack/package.json +++ b/tools/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/webpack-config", - "version": "7.34.2", + "version": "7.35.0-beta.1", "private": true, "main": "webpack.config.js", "scripts": {}, From e3768c010a9c076e46c6513c5e3a32404a67e00a Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Fri, 18 Aug 2023 10:11:05 +0200 Subject: [PATCH 09/30] fix(json-schema): remove console in code --- packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts | 1 - packages/specs/json-mapper/src/domain/JsonSerializer.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts index b4b7faecc9b..4bfa1a90200 100644 --- a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts +++ b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts @@ -155,7 +155,6 @@ export abstract class JsonMapperCompiler = a const mapper = this.createMapper(model, id, groups); try { - console.log(mapper); return this.eval(mapper, {id, model, groupsId}); } catch (err) { throw new Error(`Fail to compile mapper for ${nameOf(model)}. See the error above: ${err.message}.\n${mapper}`); diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.ts index efafe2bd82d..c5235259cee 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.ts @@ -50,7 +50,7 @@ export class JsonSerializer extends JsonMapperCompiler { const model = getBestType(options.type, input); const mapper = this.compile(model, options.groups); - console.log(input, model); + return mapper.fn(input, this.createContext(options)); } From dda69c8fd201b53fdf65af01825c311ef8a99606 Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Sun, 20 Aug 2023 10:49:24 +0200 Subject: [PATCH 10/30] fix(json-schema): fix mongoose usecases --- .../src/utils/objects/isMongooseObject.ts | 6 +- packages/orm/mongoose/jest.config.js | 2 +- packages/orm/mongoose/src/decorators/ref.ts | 4 +- .../orm/mongoose/test/ref.integration.spec.ts | 4 +- packages/specs/json-mapper/jest.config.js | 6 +- .../src/domain/JsonMapperCompiler.ts | 5 ++ .../src/domain/JsonSerializer.spec.ts | 87 ++++++++++++++++++- .../json-mapper/src/domain/JsonSerializer.ts | 7 ++ packages/specs/json-mapper/src/tsconfig.json | 18 ---- 9 files changed, 112 insertions(+), 27 deletions(-) delete mode 100644 packages/specs/json-mapper/src/tsconfig.json diff --git a/packages/core/src/utils/objects/isMongooseObject.ts b/packages/core/src/utils/objects/isMongooseObject.ts index 30be377e665..2c7293c790f 100644 --- a/packages/core/src/utils/objects/isMongooseObject.ts +++ b/packages/core/src/utils/objects/isMongooseObject.ts @@ -1,5 +1,9 @@ import {hasJsonMethod} from "./hasJsonMethod"; +export function isObjectID(obj: any) { + return obj && obj._bsontype; +} + export function isMongooseObject(obj: any) { - return !!((hasJsonMethod(obj) && obj.$isMongooseModelPrototype) || (obj && obj._bsontype)); + return !!((hasJsonMethod(obj) && obj.$isMongooseModelPrototype) || isObjectID(obj)); } diff --git a/packages/orm/mongoose/jest.config.js b/packages/orm/mongoose/jest.config.js index 97836aed52b..e5e1e896604 100644 --- a/packages/orm/mongoose/jest.config.js +++ b/packages/orm/mongoose/jest.config.js @@ -10,7 +10,7 @@ module.exports = { coverageThreshold: { global: { statements: 99.06, - branches: 95.43, + branches: 95.4, functions: 99, lines: 99.06 } diff --git a/packages/orm/mongoose/src/decorators/ref.ts b/packages/orm/mongoose/src/decorators/ref.ts index d2bb3d1f4c6..9e7675e5611 100644 --- a/packages/orm/mongoose/src/decorators/ref.ts +++ b/packages/orm/mongoose/src/decorators/ref.ts @@ -1,4 +1,4 @@ -import {isArrowFn, isObject, isString, StoreMerge, Type, useDecorators} from "@tsed/core"; +import {isArrowFn, isObject, isObjectID, isString, StoreMerge, Type, useDecorators} from "@tsed/core"; import {OnDeserialize, OnSerialize, serialize, deserialize} from "@tsed/json-mapper"; import {ForwardGroups, JsonEntityFn, lazyRef, matchGroups, OneOf, Property, string} from "@tsed/schema"; import {Schema as MongooseSchema} from "mongoose"; @@ -12,7 +12,7 @@ interface RefOptions { } function isRef(value: undefined | string | any) { - return (value && value._bsontype) || isString(value); + return isObjectID(value) || isString(value); } function PopulateGroups(populatedGroups: string[]) { diff --git a/packages/orm/mongoose/test/ref.integration.spec.ts b/packages/orm/mongoose/test/ref.integration.spec.ts index 81dbbe12c74..8b3a5ab0121 100644 --- a/packages/orm/mongoose/test/ref.integration.spec.ts +++ b/packages/orm/mongoose/test/ref.integration.spec.ts @@ -27,7 +27,9 @@ class ProfilesCtrl { } @Get("/") - getTest(@QueryParams("full") full: boolean) { + async getTest(@QueryParams("full") full: boolean) { + const result = await this.ProfileModel.find(); + console.log(result); return full ? this.ProfileModel.find().populate("user") : this.ProfileModel.find(); } } diff --git a/packages/specs/json-mapper/jest.config.js b/packages/specs/json-mapper/jest.config.js index 5e1ebc7f923..f0dda1dfbdd 100644 --- a/packages/specs/json-mapper/jest.config.js +++ b/packages/specs/json-mapper/jest.config.js @@ -6,10 +6,10 @@ module.exports = { roots: ["/src", "/test"], coverageThreshold: { global: { - statements: 99.78, - branches: 98.16, + statements: 99.57, + branches: 97.89, functions: 100, - lines: 99.78 + lines: 99.57 } }, moduleNameMapper: { diff --git a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts index 4bfa1a90200..c6dd26e35ba 100644 --- a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts +++ b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts @@ -10,6 +10,7 @@ import { isMongooseObject, isNil, isObject, + isObjectID, nameOf, objectKeys, Type @@ -165,6 +166,10 @@ export abstract class JsonMapperCompiler = a } protected execMapper(id: string, value: any, options: Options) { + if (isObjectID(value)) { + return value.toString(); + } + return this.mappers[id](value, options); } diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts index d8119d97f76..6ef92b0b072 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts @@ -1,11 +1,14 @@ -import {isBoolean} from "@tsed/core"; +import {Unique} from "@faker-js/faker/unique"; +import {isBoolean, isObjectID} from "@tsed/core"; import { AdditionalProperties, CollectionOf, DiscriminatorKey, DiscriminatorValue, + Groups, Ignore, JsonHookContext, + MinLength, Name, Nullable, Property, @@ -30,6 +33,16 @@ function createMap(value: any) { return new Map([["test", value]]); } +class ObjectId { + _bsontype = true; + + constructor(public id: string) {} + + toString() { + return this.id; + } +} + describe("JsonSerializer", () => { describe("Primitives", () => { it("should serialize values", () => { @@ -593,6 +606,7 @@ describe("JsonSerializer", () => { @Property() id: string; } + class NullModel { @Property() prop1: string; @@ -734,6 +748,77 @@ describe("JsonSerializer", () => { } ]); }); + it("should serialize model with nested model and not populated data (mongoose)", () => { + class Workspace { + @Property() + _id: string; + + @Property() + name: string; + } + + class MyWorkspace { + @Property() + workspaceId: Workspace; + + @Property() + title: string; + } + + class UserWorkspace { + @Property() + _id: string; + + @CollectionOf(MyWorkspace) + workspaces: MyWorkspace[]; + } + + const userWorkspace = new UserWorkspace(); + userWorkspace._id = new ObjectId("64e061ba7356daf00a66c130") as unknown as string; + userWorkspace.workspaces = [new MyWorkspace()]; + userWorkspace.workspaces[0].title = "MyTest"; + userWorkspace.workspaces[0].workspaceId = new ObjectId("64e061ba7356daf00a66c130") as unknown as Workspace; + + expect(serialize(userWorkspace, {type: UserWorkspace})).toEqual({ + _id: "64e061ba7356daf00a66c130", + workspaces: [ + { + title: "MyTest", + workspaceId: "64e061ba7356daf00a66c130" + } + ] + }); + }); + it("should serialize model with nested model and not populated data (Ref mongoose)", () => { + class TestUser { + @Required() + email: string; + + @Required() + @MinLength(6) + @Groups("creation") + password: string; + } + class TestProfile { + @OnSerialize((value, ctx) => { + if (isObjectID(value)) { + return value.toString(); + } + + return serialize(value, {...ctx, type: TestUser}); + }) + user: any; + } + + const profile = new TestProfile(); + profile.user = new ObjectId("64e061ba7356daf00a66c130"); + + expect(serialize([profile])).toEqual([ + { + user: "64e061ba7356daf00a66c130" + } + ]); + }); it("should serialize model (inherited class)", () => { class Role { @Property() diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.ts index c5235259cee..ba4062f1e5a 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.ts @@ -8,6 +8,7 @@ import { isMongooseObject, isNil, isObject, + isPrimitive, nameOf, Type } from "@tsed/core"; @@ -38,6 +39,7 @@ export class JsonSerializer extends JsonMapperCompiler { this.addTypeMapper(Map, this.mapMap.bind(this)); this.addTypeMapper(Set, this.mapSet.bind(this)); this.addGlobal("mapJSON", this.mapJSON.bind(this)); + this.addTypeMapper("ObjectId", (value: any) => String(value)); } map(input: any, options: JsonSerializerOptions = {}) { @@ -212,6 +214,11 @@ export class JsonSerializer extends JsonMapperCompiler { } private mapObject(input: any, {type, ...options}: JsonSerializerOptions) { + if (input && isPrimitive(input)) { + // prevent mongoose mapping error + return input; + } + if (input && isCollection(input)) { return this.execMapper(nameOf(classOf(input)), input, options); } diff --git a/packages/specs/json-mapper/src/tsconfig.json b/packages/specs/json-mapper/src/tsconfig.json deleted file mode 100644 index 5fa049fa6e5..00000000000 --- a/packages/specs/json-mapper/src/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "@tsed/typescript/tsconfig.node.json", - "compilerOptions": { - "baseUrl": ".", - "module": "commonjs", - "rootDir": ".", - "declaration": false, - "composite": true, - "noEmit": true - }, - "include": ["**/*.ts", "**/*.json", "../**/*.ts", "../**/*.json"], - "exclude": ["node_modules", "lib"], - "references": [ - { - "path": "../" - } - ] -} From f847be74bbc0f0179874bcdb4b03532ac4d96091 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 20 Aug 2023 10:30:44 +0000 Subject: [PATCH 11/30] Github CI build: __run_2 v7.35.0-beta.2 [ci skip] --- lerna.json | 2 +- package.json | 2 +- packages/core/package.json | 6 ++-- packages/di/package.json | 14 ++++---- packages/engines/package.json | 6 ++-- packages/graphql/apollo/package.json | 18 +++++------ packages/graphql/typegraphql/package.json | 12 +++---- packages/orm/adapters-redis/package.json | 20 ++++++------ packages/orm/adapters/package.json | 30 ++++++++--------- packages/orm/ioredis/package.json | 14 ++++---- packages/orm/mikro-orm/package.json | 24 +++++++------- packages/orm/mongoose/package.json | 26 +++++++-------- packages/orm/objection/package.json | 26 +++++++-------- packages/orm/prisma/package.json | 22 ++++++------- packages/orm/testing-mongoose/package.json | 18 +++++------ packages/orm/typeorm/package.json | 22 ++++++------- packages/perf/package.json | 8 ++--- packages/platform/common/package.json | 32 +++++++++---------- packages/platform/platform-cache/package.json | 22 ++++++------- .../platform/platform-exceptions/package.json | 22 ++++++------- .../platform/platform-express/package.json | 30 ++++++++--------- packages/platform/platform-koa/package.json | 26 +++++++-------- .../platform-log-middleware/package.json | 18 +++++------ .../platform-middlewares/package.json | 18 +++++------ .../platform/platform-params/package.json | 26 +++++++-------- .../platform-response-filter/package.json | 26 +++++++-------- .../platform/platform-router/package.json | 30 ++++++++--------- .../platform-serverless-http/package.json | 26 +++++++-------- .../platform-serverless-testing/package.json | 26 +++++++-------- .../platform/platform-serverless/package.json | 22 ++++++------- .../platform/platform-test-sdk/package.json | 28 ++++++++-------- packages/platform/platform-views/package.json | 28 ++++++++-------- packages/security/jwks/package.json | 6 ++-- .../package.json | 18 +++++------ packages/security/oidc-provider/package.json | 30 ++++++++--------- packages/security/passport/package.json | 16 +++++----- packages/specs/ajv/package.json | 22 ++++++------- packages/specs/exceptions/package.json | 8 ++--- packages/specs/json-mapper/package.json | 14 ++++---- packages/specs/openspec/package.json | 6 ++-- packages/specs/schema/package.json | 16 +++++----- packages/specs/swagger/package.json | 24 +++++++------- packages/third-parties/agenda/package.json | 12 +++---- .../components-scan/package.json | 12 +++---- .../third-parties/event-emitter/package.json | 12 +++---- .../third-parties/formio-types/package.json | 6 ++-- packages/third-parties/formio/package.json | 20 ++++++------ .../third-parties/schema-formio/package.json | 20 ++++++------ .../socketio-testing/package.json | 16 +++++----- packages/third-parties/socketio/package.json | 30 ++++++++--------- packages/third-parties/stripe/package.json | 26 +++++++-------- packages/third-parties/terminus/package.json | 22 ++++++------- .../vite-ssr-plugin/package.json | 16 +++++----- packages/utils/normalize-path/package.json | 6 ++-- tools/eslint/package.json | 2 +- tools/github-sponsors/package.json | 2 +- tools/integration/package.json | 22 ++++++------- tools/jest/package.json | 2 +- tools/mocha/package.json | 2 +- tools/typescript/package.json | 2 +- tools/webpack/package.json | 2 +- 61 files changed, 521 insertions(+), 521 deletions(-) diff --git a/lerna.json b/lerna.json index c0d8655b0a7..94b0959f308 100644 --- a/lerna.json +++ b/lerna.json @@ -11,7 +11,7 @@ "packages/third-parties/*", "docs" ], - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "command": { "bootstrap": { "npmClientArgs": [ diff --git a/package.json b/package.json index f38939c8531..912d8bebe33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/root", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "A TypeScript Framework on top of Express", "private": true, "author": "Romain Lenzotti", diff --git a/packages/core/package.json b/packages/core/package.json index 5fd3b547432..b5bf7870cf0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/core", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Core module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -29,8 +29,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/di/package.json b/packages/di/package.json index 6b434fe37b5..16ce0f4a2e2 100644 --- a/packages/di/package.json +++ b/packages/di/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/di", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "DI module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -28,17 +28,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/engines/package.json b/packages/engines/package.json index 6da5e388c43..1b2875a2154 100644 --- a/packages/engines/package.json +++ b/packages/engines/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/engines", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Template engines library. Provide an API to adding custom engines from decorators.", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -27,8 +27,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/fs-extra": "^9.0.13", "@types/semver": "^7.3.9", "arc-templates": "^0.5.3", diff --git a/packages/graphql/apollo/package.json b/packages/graphql/apollo/package.json index 987832bdf0b..c48348f728b 100644 --- a/packages/graphql/apollo/package.json +++ b/packages/graphql/apollo/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/apollo", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Apollo package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -25,12 +25,12 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/typescript": "7.35.0-beta.2", "@types/graphql": "14.5.0", "apollo-datasource": "^3.2.0", "apollo-datasource-rest": "^3.3.0", @@ -42,9 +42,9 @@ "graphql": "15.7.2" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2", "apollo-datasource": ">=3.0.0", "apollo-datasource-rest": ">=3.0.0", diff --git a/packages/graphql/typegraphql/package.json b/packages/graphql/typegraphql/package.json index c67b89d2341..643c2967bce 100644 --- a/packages/graphql/typegraphql/package.json +++ b/packages/graphql/typegraphql/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typegraphql", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql", "private": false, "source": "./src/index.ts", @@ -24,14 +24,14 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/apollo": "7.35.0-beta.1", + "@tsed/apollo": "7.35.0-beta.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/graphql": "^14.5.0", "class-validator": "~0.14.0", "eslint": "^8.12.0", diff --git a/packages/orm/adapters-redis/package.json b/packages/orm/adapters-redis/package.json index 9a2a14dd0d9..a1147bb7d7f 100644 --- a/packages/orm/adapters-redis/package.json +++ b/packages/orm/adapters-redis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters-redis", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Redis adapter for Ts.ED", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.35.0-beta.1", - "@tsed/ioredis": "7.35.0-beta.1", + "@tsed/adapters": "7.35.0-beta.2", + "@tsed/ioredis": "7.35.0-beta.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/adapters": "^7.35.0-beta.1", - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", + "@tsed/adapters": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2", "uuid": "8.3.2" diff --git a/packages/orm/adapters/package.json b/packages/orm/adapters/package.json index 4b32c721ce9..ee149652ef8 100644 --- a/packages/orm/adapters/package.json +++ b/packages/orm/adapters/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Database adapters for Ts.ED", "private": false, "source": "./src/index.ts", @@ -32,24 +32,24 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/ajv": "7.35.0-beta.1", - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/ajv": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/fs-extra": "9.0.13", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.1", - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/ajv": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/ajv": { diff --git a/packages/orm/ioredis/package.json b/packages/orm/ioredis/package.json index 884cff01699..4a44b11cc59 100644 --- a/packages/orm/ioredis/package.json +++ b/packages/orm/ioredis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ioredis", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "IO Redis connection for Ts.ED", "private": false, "source": "./src/index.ts", @@ -25,18 +25,18 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/ioredis-mock": "^5.6.0", "eslint": "^8.12.0", "ioredis": "5.2.3", "ioredis-mock": "8.2.2" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2" } diff --git a/packages/orm/mikro-orm/package.json b/packages/orm/mikro-orm/package.json index ad6b79e7265..86695dd3b53 100644 --- a/packages/orm/mikro-orm/package.json +++ b/packages/orm/mikro-orm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mikro-orm", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "MikroORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -27,23 +27,23 @@ "devDependencies": { "@mikro-orm/core": "^5.2.2", "@mikro-orm/mongodb": "^5.2.2", - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", "@tsed/logger": ">=6.1.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/testing-mongoose": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/testing-mongoose": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0", "ts-mockito": "^2.6.1" }, "peerDependencies": { "@mikro-orm/core": ">=4.5.9", - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2" } } \ No newline at end of file diff --git a/packages/orm/mongoose/package.json b/packages/orm/mongoose/package.json index e304dc6f333..90b78f5bd47 100644 --- a/packages/orm/mongoose/package.json +++ b/packages/orm/mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mongoose", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Mongoose package for Ts.ED framework", "private": false, "keywords": [ @@ -33,24 +33,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/ajv": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0", "mongoose": "6.11.3" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/ajv": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/schema": "^7.35.0-beta.2", "mongoose": ">=6.0.0" } } \ No newline at end of file diff --git a/packages/orm/objection/package.json b/packages/orm/objection/package.json index 06b24f93cf9..315874f42e9 100644 --- a/packages/orm/objection/package.json +++ b/packages/orm/objection/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/objection", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Objection.js package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,24 +25,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/ajv": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0", "knex": "^2.4.0", "objection": "^2.2.15", "sqlite3": "^5.0.2" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/ajv": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2", "knex": ">=0.94.0", "objection": ">=2.0.0" }, diff --git a/packages/orm/prisma/package.json b/packages/orm/prisma/package.json index bfcff96bd96..f3974f1e21d 100644 --- a/packages/orm/prisma/package.json +++ b/packages/orm/prisma/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/prisma", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Generate Ts.ED JsonSchema based on Prisma models", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -36,12 +36,12 @@ }, "devDependencies": { "@prisma/client": "^4.0.0", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/change-case": "^2.3.1", "@types/pluralize": "0.0.29", "eslint": "^8.12.0", @@ -49,10 +49,10 @@ }, "peerDependencies": { "@prisma/client": ">=4.0.0", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "keywords": [ "TypeScript", diff --git a/packages/orm/testing-mongoose/package.json b/packages/orm/testing-mongoose/package.json index d661b5b031e..1928f96bd9a 100644 --- a/packages/orm/testing-mongoose/package.json +++ b/packages/orm/testing-mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/testing-mongoose", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/mongoose": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/mongoose": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/mongoose": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/mongoose": "^7.35.0-beta.2", "mongoose": "^6.1.7" } } \ No newline at end of file diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index fb1e3b18212..d1725b62d9c 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typeorm", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "TypeORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,20 +25,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0", "typeorm": "^0.2.45" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2", "typeorm": "^0.2.26" } } \ No newline at end of file diff --git a/packages/perf/package.json b/packages/perf/package.json index fd1fefc0b47..8283a5b575d 100644 --- a/packages/perf/package.json +++ b/packages/perf/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/perf", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Perf module tool", "private": false, "source": "./src/index.ts", @@ -20,13 +20,13 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", "chalk": "^4.1.0", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/common/package.json b/packages/platform/common/package.json index 61827bf6fac..be129c104c4 100644 --- a/packages/platform/common/package.json +++ b/packages/platform/common/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/common", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -68,29 +68,29 @@ } ], "dependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", "@tsed/logger": ">=6.2.2", "@tsed/logger-file": ">=6.2.2", - "@tsed/platform-exceptions": "7.35.0-beta.1", - "@tsed/platform-log-middleware": "7.35.0-beta.1", - "@tsed/platform-middlewares": "7.35.0-beta.1", - "@tsed/platform-params": "7.35.0-beta.1", - "@tsed/platform-response-filter": "7.35.0-beta.1", - "@tsed/platform-router": "7.35.0-beta.1", - "@tsed/platform-views": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", + "@tsed/platform-exceptions": "7.35.0-beta.2", + "@tsed/platform-log-middleware": "7.35.0-beta.2", + "@tsed/platform-middlewares": "7.35.0-beta.2", + "@tsed/platform-params": "7.35.0-beta.2", + "@tsed/platform-response-filter": "7.35.0-beta.2", + "@tsed/platform-router": "7.35.0-beta.2", + "@tsed/platform-views": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", "@types/json-schema": "7.0.11", "accepts": "^1.3.8", "tslib": "2.5.0", "uuid": "8.3.2" }, "devDependencies": { - "@tsed/components-scan": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/components-scan": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/platform/platform-cache/package.json b/packages/platform/platform-cache/package.json index c9f4f02982c..38ce08c2340 100644 --- a/packages/platform/platform-cache/package.json +++ b/packages/platform/platform-cache/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-cache", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Platform cache module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -27,20 +27,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/micromatch": "^4.0.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-exceptions/package.json b/packages/platform/platform-exceptions/package.json index 615a39b8e49..7b6ce8ba66d 100644 --- a/packages/platform/platform-exceptions/package.json +++ b/packages/platform/platform-exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-exceptions", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Platform exceptions module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,19 +25,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/exceptions": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/exceptions": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-express/package.json b/packages/platform/platform-express/package.json index 8706ee5b512..2edd92b67ae 100644 --- a/packages/platform/platform-express/package.json +++ b/packages/platform/platform-express/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-express", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -63,13 +63,13 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/platform-test-sdk": "7.35.0-beta.1", - "@tsed/platform-views": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/platform-test-sdk": "7.35.0-beta.2", + "@tsed/platform-views": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/body-parser": "1.19.2", "@types/compression": "1.7.2", "@types/cookie-parser": "1.4.2", @@ -86,14 +86,14 @@ "method-override": "3.0.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.1", - "@tsed/platform-views": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/openspec": "^7.35.0-beta.2", + "@tsed/platform-views": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2", "@types/multer": "^1.4.5", "body-parser": "^1.19.0", "multer": "^1.4.5-lts.1" diff --git a/packages/platform/platform-koa/package.json b/packages/platform/platform-koa/package.json index 19ab517ac6a..f69fde2d4e0 100644 --- a/packages/platform/platform-koa/package.json +++ b/packages/platform/platform-koa/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-koa", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Koa package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -58,12 +58,12 @@ }, "devDependencies": { "@koa/cors": "3.3.0", - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/platform-test-sdk": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/platform-test-sdk": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/koa": "2.13.4", "@types/koa-bodyparser": "4.3.7", "@types/koa-compose": "3.2.5", @@ -89,13 +89,13 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/openspec": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2", "koa": ">=2.13.0", "koa-bodyparser": ">=4.3.0", "koa-compress": ">=5.0.1", diff --git a/packages/platform/platform-log-middleware/package.json b/packages/platform/platform-log-middleware/package.json index fdd27a97d6c..c6864b6e201 100644 --- a/packages/platform/platform-log-middleware/package.json +++ b/packages/platform/platform-log-middleware/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-log-middleware", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Log request middleware module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/platform-middlewares": "7.35.0-beta.1", - "@tsed/platform-params": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/platform-middlewares": "7.35.0-beta.2", + "@tsed/platform-params": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/di": "^7.35.0-beta.1", - "@tsed/platform-middlewares": "^7.35.0-beta.1", - "@tsed/platform-params": "^7.35.0-beta.1" + "@tsed/di": "^7.35.0-beta.2", + "@tsed/platform-middlewares": "^7.35.0-beta.2", + "@tsed/platform-params": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/di": { diff --git a/packages/platform/platform-middlewares/package.json b/packages/platform/platform-middlewares/package.json index e20740c9f7f..b2455143306 100644 --- a/packages/platform/platform-middlewares/package.json +++ b/packages/platform/platform-middlewares/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-middlewares", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Middlewares module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-params/package.json b/packages/platform/platform-params/package.json index 81c7ce297f7..e83c324283d 100644 --- a/packages/platform/platform-params/package.json +++ b/packages/platform/platform-params/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-params", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Params module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/exceptions": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/exceptions": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-response-filter/package.json b/packages/platform/platform-response-filter/package.json index 261479a6bf8..b425bbae706 100644 --- a/packages/platform/platform-response-filter/package.json +++ b/packages/platform/platform-response-filter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-response-filter", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Platform response filter module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/exceptions": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/exceptions": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-router/package.json b/packages/platform/platform-router/package.json index 31ce1bf7ea4..db8973a7422 100644 --- a/packages/platform/platform-router/package.json +++ b/packages/platform/platform-router/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-router", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Router", "private": false, "source": "./src/index.ts", @@ -25,23 +25,23 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/platform-params": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/platform-params": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/exceptions": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", - "@tsed/platform-params": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/exceptions": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/platform-params": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-serverless-http/package.json b/packages/platform/platform-serverless-http/package.json index 2cec576fab1..404b4ef94c2 100644 --- a/packages/platform/platform-serverless-http/package.json +++ b/packages/platform/platform-serverless-http/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-http", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Module to support Serverless HTTP function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -62,24 +62,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/platform-serverless-testing": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/platform-serverless-testing": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "aws-lambda": "^1.0.7", "eslint": "^8.12.0", "serverless-http": "^2.7.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/openspec": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2", "aws-lambda": ">=1.0.7", "serverless-http": ">=2.0.0" }, diff --git a/packages/platform/platform-serverless-testing/package.json b/packages/platform/platform-serverless-testing/package.json index ac8a27ca873..e0fd21d94a7 100644 --- a/packages/platform/platform-serverless-testing/package.json +++ b/packages/platform/platform-serverless-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-testing", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Module to test Serverless function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -57,12 +57,12 @@ "url": "git+https://github.com/tsedio/tsed.git" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "dependencies": { @@ -70,12 +70,12 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/openspec": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" } } \ No newline at end of file diff --git a/packages/platform/platform-serverless/package.json b/packages/platform/platform-serverless/package.json index 5cde973fe11..1f117e59ec7 100644 --- a/packages/platform/platform-serverless/package.json +++ b/packages/platform/platform-serverless/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Platform serverless module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/platform-exceptions": "7.35.0-beta.1", - "@tsed/platform-params": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/platform-exceptions": "7.35.0-beta.2", + "@tsed/platform-params": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", "encodeurl": "^1.0.2", "mime": "^3.0.0", "tslib": "2.5.0", "uuid": "^8.3.2" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/platform-serverless-testing": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/platform-serverless-testing": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/aws-lambda": "^8.10.83", "@types/encodeurl": "^1.0.0", "@types/mime": "^3.0.1", @@ -44,7 +44,7 @@ "find-my-way": "^7.0.0" }, "peerDependencies": { - "@tsed/di": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2" }, "peerDependenciesMeta": { diff --git a/packages/platform/platform-test-sdk/package.json b/packages/platform/platform-test-sdk/package.json index e531e588b51..24549a6e502 100644 --- a/packages/platform/platform-test-sdk/package.json +++ b/packages/platform/platform-test-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-test-sdk", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Package to test platform adapter integration with Ts.ED", "private": false, "source": "./src/index.ts", @@ -28,25 +28,25 @@ "Adapter" ], "dependencies": { - "@tsed/ajv": "7.35.0-beta.1", - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", + "@tsed/ajv": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", "@tsed/logger": "6.2.2", - "@tsed/platform-cache": "7.35.0-beta.1", - "@tsed/platform-params": "7.35.0-beta.1", - "@tsed/platform-router": "7.35.0-beta.1", - "@tsed/platform-views": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/swagger": "7.35.0-beta.1", + "@tsed/platform-cache": "7.35.0-beta.2", + "@tsed/platform-params": "7.35.0-beta.2", + "@tsed/platform-router": "7.35.0-beta.2", + "@tsed/platform-views": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/swagger": "7.35.0-beta.2", "ajv": "^8.12.0", "axios": "^1.3.0", "read-pkg-up": "7.0.1" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/platform-views/package.json b/packages/platform/platform-views/package.json index 9892f9d4c68..65544d9bab7 100644 --- a/packages/platform/platform-views/package.json +++ b/packages/platform/platform-views/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-views", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Views module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,27 +22,27 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/engines": "7.35.0-beta.1", + "@tsed/engines": "7.35.0-beta.2", "ejs": "^3.1.5", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/engines": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/engines": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/ejs": "3.1.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/engines": "^7.35.0-beta.1", - "@tsed/exceptions": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/engines": "^7.35.0-beta.2", + "@tsed/exceptions": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/security/jwks/package.json b/packages/security/jwks/package.json index fc604f0e479..68e2a0a695a 100644 --- a/packages/security/jwks/package.json +++ b/packages/security/jwks/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jwks", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Utils to generate jwks pair keys", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json index 9bacf4c8acf..eaf2f522b84 100644 --- a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json +++ b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider-plugin-wildcard-redirect-uri", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "A plugin to support wildcard in the redirect uri whitelist", "private": false, "contributors": [ @@ -31,19 +31,19 @@ "wildcard": "2.0.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/oidc-provider": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/oidc-provider": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/uuid": "8.3.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/oidc-provider": "^7.35.0-beta.1", + "@tsed/oidc-provider": "^7.35.0-beta.2", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/oidc-provider/package.json b/packages/security/oidc-provider/package.json index d2e78e4e453..5398b22194c 100644 --- a/packages/security/oidc-provider/package.json +++ b/packages/security/oidc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "OIDC provider package for Ts.ED framework", "private": false, "contributors": [ @@ -34,7 +34,7 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.35.0-beta.1", + "@tsed/adapters": "7.35.0-beta.2", "express-urlrewrite": "^1.4.0", "jose2": "npm:jose@^2.0.4", "koa-mount": "^4.0.0", @@ -43,13 +43,13 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/jwks": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/jwks": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/lowdb": "1.0.11", "@types/oidc-provider": "8.1.1", "@types/uuid": "8.3.4", @@ -58,12 +58,12 @@ "oidc-provider": "8.1.1" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.1", - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/ajv": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/passport/package.json b/packages/security/passport/package.json index 642d362f61e..7dd38c1bbfa 100644 --- a/packages/security/passport/package.json +++ b/packages/security/passport/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/passport", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Passport package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,12 +26,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/platform-router": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/platform-router": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/passport": "1.0.7", "@types/passport-http": "0.3.9", "@types/passport-local": "1.0.34", @@ -43,7 +43,7 @@ "passport-strategy": "1.0.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", "passport": ">=0.4.1" }, "peerDependenciesMeta": { diff --git a/packages/specs/ajv/package.json b/packages/specs/ajv/package.json index 1c9fc3f6ff9..c7061af7fc6 100644 --- a/packages/specs/ajv/package.json +++ b/packages/specs/ajv/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ajv", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "AJV package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,20 +26,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "ajv": "8.11.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/exceptions": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/exceptions": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2", "ajv": ">=8.9.0", "ajv-errors": ">=3.0.0" }, diff --git a/packages/specs/exceptions/package.json b/packages/specs/exceptions/package.json index 4d56a587918..4e5dad16982 100644 --- a/packages/specs/exceptions/package.json +++ b/packages/specs/exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/exceptions", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "HTTP exceptions module for Ts.ED Framework and other pure Express application", "private": false, "source": "./src/index.ts", @@ -27,12 +27,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/statuses": "2.0.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2" } } \ No newline at end of file diff --git a/packages/specs/json-mapper/package.json b/packages/specs/json-mapper/package.json index 49637b8170d..7d06d233341 100644 --- a/packages/specs/json-mapper/package.json +++ b/packages/specs/json-mapper/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/json-mapper", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Json mapper module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -41,15 +41,15 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/specs/openspec/package.json b/packages/specs/openspec/package.json index 91740f1d55b..345a7947a55 100644 --- a/packages/specs/openspec/package.json +++ b/packages/specs/openspec/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/openspec", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application", "private": false, "source": "./src/index.ts", @@ -31,8 +31,8 @@ "JsonSchema" ], "devDependencies": { - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "dependencies": {}, diff --git a/packages/specs/schema/package.json b/packages/specs/schema/package.json index 28700b4a131..d19db4ffd51 100644 --- a/packages/specs/schema/package.json +++ b/packages/specs/schema/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "JsonSchema module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -36,7 +36,7 @@ "tsed" ], "dependencies": { - "@tsed/openspec": "7.35.0-beta.1", + "@tsed/openspec": "7.35.0-beta.2", "change-case": "^4.1.2", "fs-extra": "^10.0.1", "json-schema": "0.4.0", @@ -46,10 +46,10 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@tsed/core": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/openspec": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/openspec": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/fs-extra": "9.0.13", "@types/json-schema": "7.0.11", "@types/picomatch": "2.3.0", @@ -58,8 +58,8 @@ "picomatch-browser": "https://github.com/silverwind/picomatch#ee6ebcc5570a8846d81610c11ebb92a9e199b145" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/openspec": "^7.35.0-beta.1" + "@tsed/core": "^7.35.0-beta.2", + "@tsed/openspec": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/openspec": { diff --git a/packages/specs/swagger/package.json b/packages/specs/swagger/package.json index d2d1f2f2217..d62b40f4f68 100644 --- a/packages/specs/swagger/package.json +++ b/packages/specs/swagger/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/swagger", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Swagger package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,8 +24,8 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.35.0-beta.1", - "@tsed/openspec": "7.35.0-beta.1", + "@tsed/normalize-path": "7.35.0-beta.2", + "@tsed/openspec": "7.35.0-beta.2", "filedirname": "^2.7.0", "fs-extra": "10.0.1", "micromatch": "4.0.5", @@ -33,19 +33,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/openspec": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/openspec": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/swagger-ui-dist": ">=3.30.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1" + "@tsed/common": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@tsed/common": { diff --git a/packages/third-parties/agenda/package.json b/packages/third-parties/agenda/package.json index 61deb9e81d8..41f4925d707 100644 --- a/packages/third-parties/agenda/package.json +++ b/packages/third-parties/agenda/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/agenda", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Agenda package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -30,11 +30,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "agenda": "^4.1.3", "eslint": "^8.12.0" }, diff --git a/packages/third-parties/components-scan/package.json b/packages/third-parties/components-scan/package.json index 379e02d87f1..d789de1ac0e 100644 --- a/packages/third-parties/components-scan/package.json +++ b/packages/third-parties/components-scan/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/components-scan", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Components scan utilities for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,15 +22,15 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.35.0-beta.1", + "@tsed/normalize-path": "7.35.0-beta.2", "globby": "11.0.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/third-parties/event-emitter/package.json b/packages/third-parties/event-emitter/package.json index 15ce1e765f9..36906ca9e29 100644 --- a/packages/third-parties/event-emitter/package.json +++ b/packages/third-parties/event-emitter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/event-emitter", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "EventEmitter package for Ts.ED framework", "contributors": [ { @@ -33,11 +33,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0", "eventemitter2": "^6.4.4" }, diff --git a/packages/third-parties/formio-types/package.json b/packages/third-parties/formio-types/package.json index c64b7e04f5f..937219f9749 100644 --- a/packages/third-parties/formio-types/package.json +++ b/packages/third-parties/formio-types/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio-types", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Formio types definition package for Ts.ED framework", "private": false, "keywords": [ @@ -36,8 +36,8 @@ "formiojs": ">=4.0.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" } } \ No newline at end of file diff --git a/packages/third-parties/formio/package.json b/packages/third-parties/formio/package.json index 361ca29b5d8..14b60fd1bef 100644 --- a/packages/third-parties/formio/package.json +++ b/packages/third-parties/formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Formio package for Ts.ED framework", "private": false, "keywords": [ @@ -31,17 +31,17 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/formio-types": "7.35.0-beta.1", - "@tsed/normalize-path": "7.35.0-beta.1", + "@tsed/formio-types": "7.35.0-beta.2", + "@tsed/normalize-path": "7.35.0-beta.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/mongoose": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/mongoose": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/async": "3.2.15", "eslint": "^8.12.0", "express": "^4.17.1", @@ -50,7 +50,7 @@ "mongoose": "^6.1.7" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", "express": "^4.17.1", "formio": "^2.0.0", "lodash": "^4.17.21", diff --git a/packages/third-parties/schema-formio/package.json b/packages/third-parties/schema-formio/package.json index 02434d7b60a..a58bfb02881 100644 --- a/packages/third-parties/schema-formio/package.json +++ b/packages/third-parties/schema-formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema-formio", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Transform Ts.ED Schema & JsonSchema to a valid Formio schema", "private": false, "source": "./src/index.ts", @@ -38,22 +38,22 @@ "tsed" ], "dependencies": { - "@tsed/formio-types": "7.35.0-beta.1", + "@tsed/formio-types": "7.35.0-beta.2", "change-case": "4.1.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/openspec": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/openspec": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.1", - "@tsed/openspec": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/openspec": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2", "formiojs": ">=4.0.0", "lodash": ">=4.0.0", "moment": ">=2.0.0" diff --git a/packages/third-parties/socketio-testing/package.json b/packages/third-parties/socketio-testing/package.json index 611ffd03ded..b9b794f9ae0 100644 --- a/packages/third-parties/socketio-testing/package.json +++ b/packages/third-parties/socketio-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio-testing", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Socket.io testing package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,17 +24,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0", "socket.io-client": "^4.1.2" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", "socket.io-client": "^4.0.1" } } \ No newline at end of file diff --git a/packages/third-parties/socketio/package.json b/packages/third-parties/socketio/package.json index 9034e689022..15a1310c61f 100644 --- a/packages/third-parties/socketio/package.json +++ b/packages/third-parties/socketio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Socket.io package for Ts.ED framework", "private": false, "keywords": [ @@ -33,27 +33,27 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/openspec": "7.35.0-beta.1", - "@tsed/platform-middlewares": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/socketio-testing": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/openspec": "7.35.0-beta.2", + "@tsed/platform-middlewares": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/socketio-testing": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0", "express": "^4.17.1", "socket.io": "4.7.1", "socket.io-client": "^4.7.1" }, "peerDependencies": { - "@tsed/di": "^7.35.0-beta.1", - "@tsed/json-mapper": "^7.35.0-beta.1", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/json-mapper": "^7.35.0-beta.2", "@tsed/logger": ">=6.2.2", - "@tsed/platform-middlewares": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/platform-middlewares": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2", "socket.io": ">=4.0.0" }, "peerDependenciesMeta": { diff --git a/packages/third-parties/stripe/package.json b/packages/third-parties/stripe/package.json index 9cc1f6623c9..376c3d10bdb 100644 --- a/packages/third-parties/stripe/package.json +++ b/packages/third-parties/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/stripe", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Stripe package for Ts.ED framework", "private": false, "keywords": [ @@ -34,22 +34,22 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/platform-middlewares": "7.35.0-beta.1", - "@tsed/platform-params": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/platform-middlewares": "7.35.0-beta.2", + "@tsed/platform-params": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0", "stripe": "^8.129.0" }, "peerDependencies": { - "@tsed/exceptions": "^7.35.0-beta.1", - "@tsed/platform-middlewares": "^7.35.0-beta.1", - "@tsed/platform-params": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1", + "@tsed/exceptions": "^7.35.0-beta.2", + "@tsed/platform-middlewares": "^7.35.0-beta.2", + "@tsed/platform-params": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2", "@types/body-parser": "^1.19.0", "body-parser": "^1.19.0", "stripe": "^9.16.0" diff --git a/packages/third-parties/terminus/package.json b/packages/third-parties/terminus/package.json index 76fbac3f97f..5350e02d7a6 100644 --- a/packages/third-parties/terminus/package.json +++ b/packages/third-parties/terminus/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/terminus", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.", "author": "Emilien Leroy ", "private": false, @@ -28,20 +28,20 @@ }, "devDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0" }, "peerDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "^7.35.0-beta.1", - "@tsed/core": "^7.35.0-beta.1", - "@tsed/di": "^7.35.0-beta.1", - "@tsed/schema": "^7.35.0-beta.1" + "@tsed/common": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.2" }, "peerDependenciesMeta": { "@godaddy/terminus": { diff --git a/packages/third-parties/vite-ssr-plugin/package.json b/packages/third-parties/vite-ssr-plugin/package.json index 3ae7c57a9bb..d0fd96acf32 100644 --- a/packages/third-parties/vite-ssr-plugin/package.json +++ b/packages/third-parties/vite-ssr-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/vite-ssr-plugin", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Vite SSR plugin package for Ts.ED framework", "private": false, "contributors": [ @@ -30,18 +30,18 @@ "sirv": ">=2.0.2" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/core": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/common": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "eslint": "^8.12.0", "vite": "4.3.9", "vite-plugin-ssr": "0.4.114" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.1", + "@tsed/common": "^7.35.0-beta.2", "vite": ">=4", "vite-plugin-ssr": ">=0.4.114" }, diff --git a/packages/utils/normalize-path/package.json b/packages/utils/normalize-path/package.json index 4c02187f30b..4b9c2863a41 100644 --- a/packages/utils/normalize-path/package.json +++ b/packages/utils/normalize-path/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/normalize-path", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Utils to normalize path", "private": false, "source": "./src/index.ts", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1", + "@tsed/eslint": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2", "@types/normalize-path": "^3.0.0", "eslint": "^8.12.0" }, diff --git a/tools/eslint/package.json b/tools/eslint/package.json index aa9df406569..153f4af59ea 100644 --- a/tools/eslint/package.json +++ b/tools/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/eslint", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/github-sponsors/package.json b/tools/github-sponsors/package.json index dfd91c17dd0..cdcd262dd5b 100644 --- a/tools/github-sponsors/package.json +++ b/tools/github-sponsors/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/github-sponsors", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "private": true, "scripts": { "sponsors": "node ./bin/github-sponsors.js" diff --git a/tools/integration/package.json b/tools/integration/package.json index 3624bc76625..cc9ae9c6b37 100644 --- a/tools/integration/package.json +++ b/tools/integration/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/integration", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "source": "src/index.ts", "main": "src/index.js", "private": true, @@ -9,16 +9,16 @@ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.1", - "@tsed/di": "7.35.0-beta.1", - "@tsed/exceptions": "7.35.0-beta.1", - "@tsed/json-mapper": "7.35.0-beta.1", - "@tsed/platform-exceptions": "7.35.0-beta.1", - "@tsed/platform-express": "7.35.0-beta.1", - "@tsed/platform-views": "7.35.0-beta.1", - "@tsed/schema": "7.35.0-beta.1", - "@tsed/swagger": "7.35.0-beta.1", - "@tsed/typescript": "7.35.0-beta.1" + "@tsed/common": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.2", + "@tsed/exceptions": "7.35.0-beta.2", + "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/platform-exceptions": "7.35.0-beta.2", + "@tsed/platform-express": "7.35.0-beta.2", + "@tsed/platform-views": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.2", + "@tsed/swagger": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.2" }, "dependencies": {}, "peerDependencies": {} diff --git a/tools/jest/package.json b/tools/jest/package.json index 14e4c57ca17..e319fa0ce02 100644 --- a/tools/jest/package.json +++ b/tools/jest/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jest-config", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "private": true, "main": "jest.config.js", "scripts": {}, diff --git a/tools/mocha/package.json b/tools/mocha/package.json index 8a2ceffac08..99f52ca8981 100644 --- a/tools/mocha/package.json +++ b/tools/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mocha-config", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "private": true, "main": "mocha.config.js", "scripts": {}, diff --git a/tools/typescript/package.json b/tools/typescript/package.json index ad949542b77..a95ffc0a503 100644 --- a/tools/typescript/package.json +++ b/tools/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typescript", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/webpack/package.json b/tools/webpack/package.json index 44e8887e771..cacf459b4dd 100644 --- a/tools/webpack/package.json +++ b/tools/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/webpack-config", - "version": "7.35.0-beta.1", + "version": "7.35.0-beta.2", "private": true, "main": "webpack.config.js", "scripts": {}, From 059de4a8faaefcb8bb5f6a7d1679d44c8b5c602b Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Sun, 20 Aug 2023 10:49:24 +0200 Subject: [PATCH 12/30] fix(json-schema): fix mongoose usecases --- packages/specs/json-mapper/src/domain/JsonSerializer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.ts index ba4062f1e5a..6d02ba35552 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.ts @@ -214,7 +214,7 @@ export class JsonSerializer extends JsonMapperCompiler { } private mapObject(input: any, {type, ...options}: JsonSerializerOptions) { - if (input && isPrimitive(input)) { + if ((input && isPrimitive(input)) || !input) { // prevent mongoose mapping error return input; } From 23ba9315408bc283f840ca8faab54289450d65f4 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 31 Aug 2023 10:45:58 +0000 Subject: [PATCH 13/30] Github CI build: __run_2 v7.35.0-beta.3 [ci skip] --- lerna.json | 2 +- package.json | 2 +- packages/core/package.json | 6 ++-- packages/di/package.json | 14 ++++---- packages/engines/package.json | 6 ++-- packages/graphql/apollo/package.json | 18 +++++------ packages/graphql/typegraphql/package.json | 12 +++---- packages/orm/adapters-redis/package.json | 20 ++++++------ packages/orm/adapters/package.json | 30 ++++++++--------- packages/orm/ioredis/package.json | 14 ++++---- packages/orm/mikro-orm/package.json | 24 +++++++------- packages/orm/mongoose/package.json | 26 +++++++-------- packages/orm/objection/package.json | 26 +++++++-------- packages/orm/prisma/package.json | 22 ++++++------- packages/orm/testing-mongoose/package.json | 18 +++++------ packages/orm/typeorm/package.json | 22 ++++++------- packages/perf/package.json | 8 ++--- packages/platform/common/package.json | 32 +++++++++---------- packages/platform/platform-cache/package.json | 22 ++++++------- .../platform/platform-exceptions/package.json | 22 ++++++------- .../platform/platform-express/package.json | 30 ++++++++--------- packages/platform/platform-koa/package.json | 26 +++++++-------- .../platform-log-middleware/package.json | 18 +++++------ .../platform-middlewares/package.json | 18 +++++------ .../platform/platform-params/package.json | 26 +++++++-------- .../platform-response-filter/package.json | 26 +++++++-------- .../platform/platform-router/package.json | 30 ++++++++--------- .../platform-serverless-http/package.json | 26 +++++++-------- .../platform-serverless-testing/package.json | 26 +++++++-------- .../platform/platform-serverless/package.json | 22 ++++++------- .../platform/platform-test-sdk/package.json | 28 ++++++++-------- packages/platform/platform-views/package.json | 28 ++++++++-------- packages/security/jwks/package.json | 6 ++-- .../package.json | 18 +++++------ packages/security/oidc-provider/package.json | 30 ++++++++--------- packages/security/passport/package.json | 16 +++++----- packages/specs/ajv/package.json | 22 ++++++------- packages/specs/exceptions/package.json | 8 ++--- packages/specs/json-mapper/package.json | 14 ++++---- packages/specs/openspec/package.json | 6 ++-- packages/specs/schema/package.json | 16 +++++----- packages/specs/swagger/package.json | 24 +++++++------- packages/third-parties/agenda/package.json | 12 +++---- .../components-scan/package.json | 12 +++---- .../third-parties/event-emitter/package.json | 12 +++---- .../third-parties/formio-types/package.json | 6 ++-- packages/third-parties/formio/package.json | 20 ++++++------ .../third-parties/schema-formio/package.json | 20 ++++++------ .../socketio-testing/package.json | 16 +++++----- packages/third-parties/socketio/package.json | 30 ++++++++--------- packages/third-parties/stripe/package.json | 26 +++++++-------- packages/third-parties/terminus/package.json | 22 ++++++------- .../vite-ssr-plugin/package.json | 16 +++++----- packages/utils/normalize-path/package.json | 6 ++-- tools/eslint/package.json | 2 +- tools/github-sponsors/package.json | 2 +- tools/integration/package.json | 22 ++++++------- tools/jest/package.json | 2 +- tools/mocha/package.json | 2 +- tools/typescript/package.json | 2 +- tools/webpack/package.json | 2 +- 61 files changed, 521 insertions(+), 521 deletions(-) diff --git a/lerna.json b/lerna.json index 94b0959f308..e395f2150e7 100644 --- a/lerna.json +++ b/lerna.json @@ -11,7 +11,7 @@ "packages/third-parties/*", "docs" ], - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "command": { "bootstrap": { "npmClientArgs": [ diff --git a/package.json b/package.json index 912d8bebe33..aaf11404948 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/root", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "A TypeScript Framework on top of Express", "private": true, "author": "Romain Lenzotti", diff --git a/packages/core/package.json b/packages/core/package.json index b5bf7870cf0..582dfecf5ee 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/core", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Core module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -29,8 +29,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/di/package.json b/packages/di/package.json index 16ce0f4a2e2..db7916c3be2 100644 --- a/packages/di/package.json +++ b/packages/di/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/di", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "DI module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -28,17 +28,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/engines/package.json b/packages/engines/package.json index 1b2875a2154..42e16939ec2 100644 --- a/packages/engines/package.json +++ b/packages/engines/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/engines", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Template engines library. Provide an API to adding custom engines from decorators.", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -27,8 +27,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/fs-extra": "^9.0.13", "@types/semver": "^7.3.9", "arc-templates": "^0.5.3", diff --git a/packages/graphql/apollo/package.json b/packages/graphql/apollo/package.json index c48348f728b..b9ef254ca16 100644 --- a/packages/graphql/apollo/package.json +++ b/packages/graphql/apollo/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/apollo", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Apollo package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -25,12 +25,12 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/typescript": "7.35.0-beta.3", "@types/graphql": "14.5.0", "apollo-datasource": "^3.2.0", "apollo-datasource-rest": "^3.3.0", @@ -42,9 +42,9 @@ "graphql": "15.7.2" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2", "apollo-datasource": ">=3.0.0", "apollo-datasource-rest": ">=3.0.0", diff --git a/packages/graphql/typegraphql/package.json b/packages/graphql/typegraphql/package.json index 643c2967bce..aa4d592b84f 100644 --- a/packages/graphql/typegraphql/package.json +++ b/packages/graphql/typegraphql/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typegraphql", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql", "private": false, "source": "./src/index.ts", @@ -24,14 +24,14 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/apollo": "7.35.0-beta.2", + "@tsed/apollo": "7.35.0-beta.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/graphql": "^14.5.0", "class-validator": "~0.14.0", "eslint": "^8.12.0", diff --git a/packages/orm/adapters-redis/package.json b/packages/orm/adapters-redis/package.json index a1147bb7d7f..b8165d0847b 100644 --- a/packages/orm/adapters-redis/package.json +++ b/packages/orm/adapters-redis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters-redis", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Redis adapter for Ts.ED", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.35.0-beta.2", - "@tsed/ioredis": "7.35.0-beta.2", + "@tsed/adapters": "7.35.0-beta.3", + "@tsed/ioredis": "7.35.0-beta.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/adapters": "^7.35.0-beta.2", - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", + "@tsed/adapters": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2", "uuid": "8.3.2" diff --git a/packages/orm/adapters/package.json b/packages/orm/adapters/package.json index ee149652ef8..670a1d8e0cd 100644 --- a/packages/orm/adapters/package.json +++ b/packages/orm/adapters/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Database adapters for Ts.ED", "private": false, "source": "./src/index.ts", @@ -32,24 +32,24 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/ajv": "7.35.0-beta.2", - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/ajv": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/fs-extra": "9.0.13", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.2", - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/ajv": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/ajv": { diff --git a/packages/orm/ioredis/package.json b/packages/orm/ioredis/package.json index 4a44b11cc59..fded2b9ee3b 100644 --- a/packages/orm/ioredis/package.json +++ b/packages/orm/ioredis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ioredis", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "IO Redis connection for Ts.ED", "private": false, "source": "./src/index.ts", @@ -25,18 +25,18 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/ioredis-mock": "^5.6.0", "eslint": "^8.12.0", "ioredis": "5.2.3", "ioredis-mock": "8.2.2" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2" } diff --git a/packages/orm/mikro-orm/package.json b/packages/orm/mikro-orm/package.json index 86695dd3b53..0f44f732131 100644 --- a/packages/orm/mikro-orm/package.json +++ b/packages/orm/mikro-orm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mikro-orm", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "MikroORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -27,23 +27,23 @@ "devDependencies": { "@mikro-orm/core": "^5.2.2", "@mikro-orm/mongodb": "^5.2.2", - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", "@tsed/logger": ">=6.1.1", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/testing-mongoose": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/testing-mongoose": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0", "ts-mockito": "^2.6.1" }, "peerDependencies": { "@mikro-orm/core": ">=4.5.9", - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2" } } \ No newline at end of file diff --git a/packages/orm/mongoose/package.json b/packages/orm/mongoose/package.json index 90b78f5bd47..fa376f3d468 100644 --- a/packages/orm/mongoose/package.json +++ b/packages/orm/mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mongoose", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Mongoose package for Ts.ED framework", "private": false, "keywords": [ @@ -33,24 +33,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/ajv": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0", "mongoose": "6.11.3" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/ajv": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/schema": "^7.35.0-beta.3", "mongoose": ">=6.0.0" } } \ No newline at end of file diff --git a/packages/orm/objection/package.json b/packages/orm/objection/package.json index 315874f42e9..6878bcc7801 100644 --- a/packages/orm/objection/package.json +++ b/packages/orm/objection/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/objection", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Objection.js package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,24 +25,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/ajv": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0", "knex": "^2.4.0", "objection": "^2.2.15", "sqlite3": "^5.0.2" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/ajv": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3", "knex": ">=0.94.0", "objection": ">=2.0.0" }, diff --git a/packages/orm/prisma/package.json b/packages/orm/prisma/package.json index f3974f1e21d..1e79b000ace 100644 --- a/packages/orm/prisma/package.json +++ b/packages/orm/prisma/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/prisma", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Generate Ts.ED JsonSchema based on Prisma models", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -36,12 +36,12 @@ }, "devDependencies": { "@prisma/client": "^4.0.0", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/change-case": "^2.3.1", "@types/pluralize": "0.0.29", "eslint": "^8.12.0", @@ -49,10 +49,10 @@ }, "peerDependencies": { "@prisma/client": ">=4.0.0", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "keywords": [ "TypeScript", diff --git a/packages/orm/testing-mongoose/package.json b/packages/orm/testing-mongoose/package.json index 1928f96bd9a..60f09520c53 100644 --- a/packages/orm/testing-mongoose/package.json +++ b/packages/orm/testing-mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/testing-mongoose", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/mongoose": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/mongoose": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/mongoose": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/mongoose": "^7.35.0-beta.3", "mongoose": "^6.1.7" } } \ No newline at end of file diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index d1725b62d9c..d944df84190 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typeorm", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "TypeORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,20 +25,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0", "typeorm": "^0.2.45" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3", "typeorm": "^0.2.26" } } \ No newline at end of file diff --git a/packages/perf/package.json b/packages/perf/package.json index 8283a5b575d..e9ce21e57aa 100644 --- a/packages/perf/package.json +++ b/packages/perf/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/perf", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Perf module tool", "private": false, "source": "./src/index.ts", @@ -20,13 +20,13 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", "chalk": "^4.1.0", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/common/package.json b/packages/platform/common/package.json index be129c104c4..8713f0d4c52 100644 --- a/packages/platform/common/package.json +++ b/packages/platform/common/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/common", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -68,29 +68,29 @@ } ], "dependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", "@tsed/logger": ">=6.2.2", "@tsed/logger-file": ">=6.2.2", - "@tsed/platform-exceptions": "7.35.0-beta.2", - "@tsed/platform-log-middleware": "7.35.0-beta.2", - "@tsed/platform-middlewares": "7.35.0-beta.2", - "@tsed/platform-params": "7.35.0-beta.2", - "@tsed/platform-response-filter": "7.35.0-beta.2", - "@tsed/platform-router": "7.35.0-beta.2", - "@tsed/platform-views": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", + "@tsed/platform-exceptions": "7.35.0-beta.3", + "@tsed/platform-log-middleware": "7.35.0-beta.3", + "@tsed/platform-middlewares": "7.35.0-beta.3", + "@tsed/platform-params": "7.35.0-beta.3", + "@tsed/platform-response-filter": "7.35.0-beta.3", + "@tsed/platform-router": "7.35.0-beta.3", + "@tsed/platform-views": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", "@types/json-schema": "7.0.11", "accepts": "^1.3.8", "tslib": "2.5.0", "uuid": "8.3.2" }, "devDependencies": { - "@tsed/components-scan": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/components-scan": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/platform/platform-cache/package.json b/packages/platform/platform-cache/package.json index 38ce08c2340..27c4af11d1e 100644 --- a/packages/platform/platform-cache/package.json +++ b/packages/platform/platform-cache/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-cache", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Platform cache module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -27,20 +27,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/micromatch": "^4.0.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-exceptions/package.json b/packages/platform/platform-exceptions/package.json index 7b6ce8ba66d..981d086033b 100644 --- a/packages/platform/platform-exceptions/package.json +++ b/packages/platform/platform-exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-exceptions", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Platform exceptions module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,19 +25,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/exceptions": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/exceptions": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-express/package.json b/packages/platform/platform-express/package.json index 2edd92b67ae..826553f6443 100644 --- a/packages/platform/platform-express/package.json +++ b/packages/platform/platform-express/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-express", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -63,13 +63,13 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/platform-test-sdk": "7.35.0-beta.2", - "@tsed/platform-views": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/platform-test-sdk": "7.35.0-beta.3", + "@tsed/platform-views": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/body-parser": "1.19.2", "@types/compression": "1.7.2", "@types/cookie-parser": "1.4.2", @@ -86,14 +86,14 @@ "method-override": "3.0.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.2", - "@tsed/platform-views": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/openspec": "^7.35.0-beta.3", + "@tsed/platform-views": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3", "@types/multer": "^1.4.5", "body-parser": "^1.19.0", "multer": "^1.4.5-lts.1" diff --git a/packages/platform/platform-koa/package.json b/packages/platform/platform-koa/package.json index f69fde2d4e0..f842656b5fc 100644 --- a/packages/platform/platform-koa/package.json +++ b/packages/platform/platform-koa/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-koa", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Koa package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -58,12 +58,12 @@ }, "devDependencies": { "@koa/cors": "3.3.0", - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/platform-test-sdk": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/platform-test-sdk": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/koa": "2.13.4", "@types/koa-bodyparser": "4.3.7", "@types/koa-compose": "3.2.5", @@ -89,13 +89,13 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/openspec": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3", "koa": ">=2.13.0", "koa-bodyparser": ">=4.3.0", "koa-compress": ">=5.0.1", diff --git a/packages/platform/platform-log-middleware/package.json b/packages/platform/platform-log-middleware/package.json index c6864b6e201..61ba22fea1e 100644 --- a/packages/platform/platform-log-middleware/package.json +++ b/packages/platform/platform-log-middleware/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-log-middleware", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Log request middleware module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/platform-middlewares": "7.35.0-beta.2", - "@tsed/platform-params": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/platform-middlewares": "7.35.0-beta.3", + "@tsed/platform-params": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/di": "^7.35.0-beta.2", - "@tsed/platform-middlewares": "^7.35.0-beta.2", - "@tsed/platform-params": "^7.35.0-beta.2" + "@tsed/di": "^7.35.0-beta.3", + "@tsed/platform-middlewares": "^7.35.0-beta.3", + "@tsed/platform-params": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/di": { diff --git a/packages/platform/platform-middlewares/package.json b/packages/platform/platform-middlewares/package.json index b2455143306..3239c179a7c 100644 --- a/packages/platform/platform-middlewares/package.json +++ b/packages/platform/platform-middlewares/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-middlewares", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Middlewares module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-params/package.json b/packages/platform/platform-params/package.json index e83c324283d..b7b6fe0a9fe 100644 --- a/packages/platform/platform-params/package.json +++ b/packages/platform/platform-params/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-params", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Params module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/exceptions": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/exceptions": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-response-filter/package.json b/packages/platform/platform-response-filter/package.json index b425bbae706..860ff554b26 100644 --- a/packages/platform/platform-response-filter/package.json +++ b/packages/platform/platform-response-filter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-response-filter", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Platform response filter module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/exceptions": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/exceptions": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-router/package.json b/packages/platform/platform-router/package.json index db8973a7422..a2d496352e4 100644 --- a/packages/platform/platform-router/package.json +++ b/packages/platform/platform-router/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-router", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Router", "private": false, "source": "./src/index.ts", @@ -25,23 +25,23 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/platform-params": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/platform-params": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/exceptions": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", - "@tsed/platform-params": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/exceptions": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/platform-params": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-serverless-http/package.json b/packages/platform/platform-serverless-http/package.json index 404b4ef94c2..a0ffd5d2468 100644 --- a/packages/platform/platform-serverless-http/package.json +++ b/packages/platform/platform-serverless-http/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-http", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Module to support Serverless HTTP function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -62,24 +62,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/platform-serverless-testing": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/platform-serverless-testing": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "aws-lambda": "^1.0.7", "eslint": "^8.12.0", "serverless-http": "^2.7.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/openspec": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3", "aws-lambda": ">=1.0.7", "serverless-http": ">=2.0.0" }, diff --git a/packages/platform/platform-serverless-testing/package.json b/packages/platform/platform-serverless-testing/package.json index e0fd21d94a7..1faea3481c6 100644 --- a/packages/platform/platform-serverless-testing/package.json +++ b/packages/platform/platform-serverless-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-testing", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Module to test Serverless function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -57,12 +57,12 @@ "url": "git+https://github.com/tsedio/tsed.git" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "dependencies": { @@ -70,12 +70,12 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/openspec": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" } } \ No newline at end of file diff --git a/packages/platform/platform-serverless/package.json b/packages/platform/platform-serverless/package.json index 1f117e59ec7..c35bac96033 100644 --- a/packages/platform/platform-serverless/package.json +++ b/packages/platform/platform-serverless/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Platform serverless module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/platform-exceptions": "7.35.0-beta.2", - "@tsed/platform-params": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/platform-exceptions": "7.35.0-beta.3", + "@tsed/platform-params": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", "encodeurl": "^1.0.2", "mime": "^3.0.0", "tslib": "2.5.0", "uuid": "^8.3.2" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/platform-serverless-testing": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/platform-serverless-testing": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/aws-lambda": "^8.10.83", "@types/encodeurl": "^1.0.0", "@types/mime": "^3.0.1", @@ -44,7 +44,7 @@ "find-my-way": "^7.0.0" }, "peerDependencies": { - "@tsed/di": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2" }, "peerDependenciesMeta": { diff --git a/packages/platform/platform-test-sdk/package.json b/packages/platform/platform-test-sdk/package.json index 24549a6e502..4de35185f8f 100644 --- a/packages/platform/platform-test-sdk/package.json +++ b/packages/platform/platform-test-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-test-sdk", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Package to test platform adapter integration with Ts.ED", "private": false, "source": "./src/index.ts", @@ -28,25 +28,25 @@ "Adapter" ], "dependencies": { - "@tsed/ajv": "7.35.0-beta.2", - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", + "@tsed/ajv": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", "@tsed/logger": "6.2.2", - "@tsed/platform-cache": "7.35.0-beta.2", - "@tsed/platform-params": "7.35.0-beta.2", - "@tsed/platform-router": "7.35.0-beta.2", - "@tsed/platform-views": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/swagger": "7.35.0-beta.2", + "@tsed/platform-cache": "7.35.0-beta.3", + "@tsed/platform-params": "7.35.0-beta.3", + "@tsed/platform-router": "7.35.0-beta.3", + "@tsed/platform-views": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/swagger": "7.35.0-beta.3", "ajv": "^8.12.0", "axios": "^1.3.0", "read-pkg-up": "7.0.1" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/platform-views/package.json b/packages/platform/platform-views/package.json index 65544d9bab7..0403e9004c7 100644 --- a/packages/platform/platform-views/package.json +++ b/packages/platform/platform-views/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-views", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Views module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,27 +22,27 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/engines": "7.35.0-beta.2", + "@tsed/engines": "7.35.0-beta.3", "ejs": "^3.1.5", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/engines": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/engines": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/ejs": "3.1.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/engines": "^7.35.0-beta.2", - "@tsed/exceptions": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/engines": "^7.35.0-beta.3", + "@tsed/exceptions": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/security/jwks/package.json b/packages/security/jwks/package.json index 68e2a0a695a..12cfe8cc17e 100644 --- a/packages/security/jwks/package.json +++ b/packages/security/jwks/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jwks", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Utils to generate jwks pair keys", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json index eaf2f522b84..0637232bbc9 100644 --- a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json +++ b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider-plugin-wildcard-redirect-uri", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "A plugin to support wildcard in the redirect uri whitelist", "private": false, "contributors": [ @@ -31,19 +31,19 @@ "wildcard": "2.0.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/oidc-provider": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/oidc-provider": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/uuid": "8.3.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/oidc-provider": "^7.35.0-beta.2", + "@tsed/oidc-provider": "^7.35.0-beta.3", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/oidc-provider/package.json b/packages/security/oidc-provider/package.json index 5398b22194c..7560db301d3 100644 --- a/packages/security/oidc-provider/package.json +++ b/packages/security/oidc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "OIDC provider package for Ts.ED framework", "private": false, "contributors": [ @@ -34,7 +34,7 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.35.0-beta.2", + "@tsed/adapters": "7.35.0-beta.3", "express-urlrewrite": "^1.4.0", "jose2": "npm:jose@^2.0.4", "koa-mount": "^4.0.0", @@ -43,13 +43,13 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/jwks": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/jwks": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/lowdb": "1.0.11", "@types/oidc-provider": "8.1.1", "@types/uuid": "8.3.4", @@ -58,12 +58,12 @@ "oidc-provider": "8.1.1" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.2", - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/ajv": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/passport/package.json b/packages/security/passport/package.json index 7dd38c1bbfa..16cc91e5eb5 100644 --- a/packages/security/passport/package.json +++ b/packages/security/passport/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/passport", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Passport package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,12 +26,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/platform-router": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/platform-router": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/passport": "1.0.7", "@types/passport-http": "0.3.9", "@types/passport-local": "1.0.34", @@ -43,7 +43,7 @@ "passport-strategy": "1.0.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", "passport": ">=0.4.1" }, "peerDependenciesMeta": { diff --git a/packages/specs/ajv/package.json b/packages/specs/ajv/package.json index c7061af7fc6..c06302acbf7 100644 --- a/packages/specs/ajv/package.json +++ b/packages/specs/ajv/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ajv", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "AJV package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,20 +26,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "ajv": "8.11.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/exceptions": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/exceptions": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3", "ajv": ">=8.9.0", "ajv-errors": ">=3.0.0" }, diff --git a/packages/specs/exceptions/package.json b/packages/specs/exceptions/package.json index 4e5dad16982..54f5c3913b7 100644 --- a/packages/specs/exceptions/package.json +++ b/packages/specs/exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/exceptions", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "HTTP exceptions module for Ts.ED Framework and other pure Express application", "private": false, "source": "./src/index.ts", @@ -27,12 +27,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/statuses": "2.0.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3" } } \ No newline at end of file diff --git a/packages/specs/json-mapper/package.json b/packages/specs/json-mapper/package.json index 7d06d233341..5186176afdd 100644 --- a/packages/specs/json-mapper/package.json +++ b/packages/specs/json-mapper/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/json-mapper", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Json mapper module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -41,15 +41,15 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/specs/openspec/package.json b/packages/specs/openspec/package.json index 345a7947a55..12ec342c188 100644 --- a/packages/specs/openspec/package.json +++ b/packages/specs/openspec/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/openspec", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application", "private": false, "source": "./src/index.ts", @@ -31,8 +31,8 @@ "JsonSchema" ], "devDependencies": { - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "dependencies": {}, diff --git a/packages/specs/schema/package.json b/packages/specs/schema/package.json index d19db4ffd51..856f1df215a 100644 --- a/packages/specs/schema/package.json +++ b/packages/specs/schema/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "JsonSchema module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -36,7 +36,7 @@ "tsed" ], "dependencies": { - "@tsed/openspec": "7.35.0-beta.2", + "@tsed/openspec": "7.35.0-beta.3", "change-case": "^4.1.2", "fs-extra": "^10.0.1", "json-schema": "0.4.0", @@ -46,10 +46,10 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@tsed/core": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/openspec": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/openspec": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/fs-extra": "9.0.13", "@types/json-schema": "7.0.11", "@types/picomatch": "2.3.0", @@ -58,8 +58,8 @@ "picomatch-browser": "https://github.com/silverwind/picomatch#ee6ebcc5570a8846d81610c11ebb92a9e199b145" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/openspec": "^7.35.0-beta.2" + "@tsed/core": "^7.35.0-beta.3", + "@tsed/openspec": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/openspec": { diff --git a/packages/specs/swagger/package.json b/packages/specs/swagger/package.json index d62b40f4f68..d50cf2b5fcc 100644 --- a/packages/specs/swagger/package.json +++ b/packages/specs/swagger/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/swagger", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Swagger package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,8 +24,8 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.35.0-beta.2", - "@tsed/openspec": "7.35.0-beta.2", + "@tsed/normalize-path": "7.35.0-beta.3", + "@tsed/openspec": "7.35.0-beta.3", "filedirname": "^2.7.0", "fs-extra": "10.0.1", "micromatch": "4.0.5", @@ -33,19 +33,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/openspec": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/openspec": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/swagger-ui-dist": ">=3.30.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2" + "@tsed/common": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@tsed/common": { diff --git a/packages/third-parties/agenda/package.json b/packages/third-parties/agenda/package.json index 41f4925d707..030b0153ceb 100644 --- a/packages/third-parties/agenda/package.json +++ b/packages/third-parties/agenda/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/agenda", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Agenda package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -30,11 +30,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "agenda": "^4.1.3", "eslint": "^8.12.0" }, diff --git a/packages/third-parties/components-scan/package.json b/packages/third-parties/components-scan/package.json index d789de1ac0e..75260386cfb 100644 --- a/packages/third-parties/components-scan/package.json +++ b/packages/third-parties/components-scan/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/components-scan", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Components scan utilities for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,15 +22,15 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.35.0-beta.2", + "@tsed/normalize-path": "7.35.0-beta.3", "globby": "11.0.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/third-parties/event-emitter/package.json b/packages/third-parties/event-emitter/package.json index 36906ca9e29..0485620dd7a 100644 --- a/packages/third-parties/event-emitter/package.json +++ b/packages/third-parties/event-emitter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/event-emitter", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "EventEmitter package for Ts.ED framework", "contributors": [ { @@ -33,11 +33,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0", "eventemitter2": "^6.4.4" }, diff --git a/packages/third-parties/formio-types/package.json b/packages/third-parties/formio-types/package.json index 937219f9749..f28e68f62b0 100644 --- a/packages/third-parties/formio-types/package.json +++ b/packages/third-parties/formio-types/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio-types", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Formio types definition package for Ts.ED framework", "private": false, "keywords": [ @@ -36,8 +36,8 @@ "formiojs": ">=4.0.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" } } \ No newline at end of file diff --git a/packages/third-parties/formio/package.json b/packages/third-parties/formio/package.json index 14b60fd1bef..71f8ca2ad36 100644 --- a/packages/third-parties/formio/package.json +++ b/packages/third-parties/formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Formio package for Ts.ED framework", "private": false, "keywords": [ @@ -31,17 +31,17 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/formio-types": "7.35.0-beta.2", - "@tsed/normalize-path": "7.35.0-beta.2", + "@tsed/formio-types": "7.35.0-beta.3", + "@tsed/normalize-path": "7.35.0-beta.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/mongoose": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/mongoose": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/async": "3.2.15", "eslint": "^8.12.0", "express": "^4.17.1", @@ -50,7 +50,7 @@ "mongoose": "^6.1.7" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", "express": "^4.17.1", "formio": "^2.0.0", "lodash": "^4.17.21", diff --git a/packages/third-parties/schema-formio/package.json b/packages/third-parties/schema-formio/package.json index a58bfb02881..07acc230fc7 100644 --- a/packages/third-parties/schema-formio/package.json +++ b/packages/third-parties/schema-formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema-formio", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Transform Ts.ED Schema & JsonSchema to a valid Formio schema", "private": false, "source": "./src/index.ts", @@ -38,22 +38,22 @@ "tsed" ], "dependencies": { - "@tsed/formio-types": "7.35.0-beta.2", + "@tsed/formio-types": "7.35.0-beta.3", "change-case": "4.1.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/openspec": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/openspec": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.2", - "@tsed/openspec": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/openspec": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3", "formiojs": ">=4.0.0", "lodash": ">=4.0.0", "moment": ">=2.0.0" diff --git a/packages/third-parties/socketio-testing/package.json b/packages/third-parties/socketio-testing/package.json index b9b794f9ae0..1a865272360 100644 --- a/packages/third-parties/socketio-testing/package.json +++ b/packages/third-parties/socketio-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio-testing", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Socket.io testing package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,17 +24,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0", "socket.io-client": "^4.1.2" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", "socket.io-client": "^4.0.1" } } \ No newline at end of file diff --git a/packages/third-parties/socketio/package.json b/packages/third-parties/socketio/package.json index 15a1310c61f..f6918e424ed 100644 --- a/packages/third-parties/socketio/package.json +++ b/packages/third-parties/socketio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Socket.io package for Ts.ED framework", "private": false, "keywords": [ @@ -33,27 +33,27 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/openspec": "7.35.0-beta.2", - "@tsed/platform-middlewares": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/socketio-testing": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/openspec": "7.35.0-beta.3", + "@tsed/platform-middlewares": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/socketio-testing": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0", "express": "^4.17.1", "socket.io": "4.7.1", "socket.io-client": "^4.7.1" }, "peerDependencies": { - "@tsed/di": "^7.35.0-beta.2", - "@tsed/json-mapper": "^7.35.0-beta.2", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/json-mapper": "^7.35.0-beta.3", "@tsed/logger": ">=6.2.2", - "@tsed/platform-middlewares": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/platform-middlewares": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3", "socket.io": ">=4.0.0" }, "peerDependenciesMeta": { diff --git a/packages/third-parties/stripe/package.json b/packages/third-parties/stripe/package.json index 376c3d10bdb..9c1cf0556c3 100644 --- a/packages/third-parties/stripe/package.json +++ b/packages/third-parties/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/stripe", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Stripe package for Ts.ED framework", "private": false, "keywords": [ @@ -34,22 +34,22 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/platform-middlewares": "7.35.0-beta.2", - "@tsed/platform-params": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/platform-middlewares": "7.35.0-beta.3", + "@tsed/platform-params": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0", "stripe": "^8.129.0" }, "peerDependencies": { - "@tsed/exceptions": "^7.35.0-beta.2", - "@tsed/platform-middlewares": "^7.35.0-beta.2", - "@tsed/platform-params": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2", + "@tsed/exceptions": "^7.35.0-beta.3", + "@tsed/platform-middlewares": "^7.35.0-beta.3", + "@tsed/platform-params": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3", "@types/body-parser": "^1.19.0", "body-parser": "^1.19.0", "stripe": "^9.16.0" diff --git a/packages/third-parties/terminus/package.json b/packages/third-parties/terminus/package.json index 5350e02d7a6..1b037aa226e 100644 --- a/packages/third-parties/terminus/package.json +++ b/packages/third-parties/terminus/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/terminus", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.", "author": "Emilien Leroy ", "private": false, @@ -28,20 +28,20 @@ }, "devDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0" }, "peerDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "^7.35.0-beta.2", - "@tsed/core": "^7.35.0-beta.2", - "@tsed/di": "^7.35.0-beta.2", - "@tsed/schema": "^7.35.0-beta.2" + "@tsed/common": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.3" }, "peerDependenciesMeta": { "@godaddy/terminus": { diff --git a/packages/third-parties/vite-ssr-plugin/package.json b/packages/third-parties/vite-ssr-plugin/package.json index d0fd96acf32..ff22754af32 100644 --- a/packages/third-parties/vite-ssr-plugin/package.json +++ b/packages/third-parties/vite-ssr-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/vite-ssr-plugin", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Vite SSR plugin package for Ts.ED framework", "private": false, "contributors": [ @@ -30,18 +30,18 @@ "sirv": ">=2.0.2" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/core": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/common": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "eslint": "^8.12.0", "vite": "4.3.9", "vite-plugin-ssr": "0.4.114" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.2", + "@tsed/common": "^7.35.0-beta.3", "vite": ">=4", "vite-plugin-ssr": ">=0.4.114" }, diff --git a/packages/utils/normalize-path/package.json b/packages/utils/normalize-path/package.json index 4b9c2863a41..21090dfe45e 100644 --- a/packages/utils/normalize-path/package.json +++ b/packages/utils/normalize-path/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/normalize-path", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Utils to normalize path", "private": false, "source": "./src/index.ts", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2", + "@tsed/eslint": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3", "@types/normalize-path": "^3.0.0", "eslint": "^8.12.0" }, diff --git a/tools/eslint/package.json b/tools/eslint/package.json index 153f4af59ea..aeb86f4ef1f 100644 --- a/tools/eslint/package.json +++ b/tools/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/eslint", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/github-sponsors/package.json b/tools/github-sponsors/package.json index cdcd262dd5b..dc18d20f5ff 100644 --- a/tools/github-sponsors/package.json +++ b/tools/github-sponsors/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/github-sponsors", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "private": true, "scripts": { "sponsors": "node ./bin/github-sponsors.js" diff --git a/tools/integration/package.json b/tools/integration/package.json index cc9ae9c6b37..7b03d6ff4ab 100644 --- a/tools/integration/package.json +++ b/tools/integration/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/integration", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "source": "src/index.ts", "main": "src/index.js", "private": true, @@ -9,16 +9,16 @@ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.2", - "@tsed/di": "7.35.0-beta.2", - "@tsed/exceptions": "7.35.0-beta.2", - "@tsed/json-mapper": "7.35.0-beta.2", - "@tsed/platform-exceptions": "7.35.0-beta.2", - "@tsed/platform-express": "7.35.0-beta.2", - "@tsed/platform-views": "7.35.0-beta.2", - "@tsed/schema": "7.35.0-beta.2", - "@tsed/swagger": "7.35.0-beta.2", - "@tsed/typescript": "7.35.0-beta.2" + "@tsed/common": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.3", + "@tsed/exceptions": "7.35.0-beta.3", + "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/platform-exceptions": "7.35.0-beta.3", + "@tsed/platform-express": "7.35.0-beta.3", + "@tsed/platform-views": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.3", + "@tsed/swagger": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.3" }, "dependencies": {}, "peerDependencies": {} diff --git a/tools/jest/package.json b/tools/jest/package.json index e319fa0ce02..837c28eefa5 100644 --- a/tools/jest/package.json +++ b/tools/jest/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jest-config", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "private": true, "main": "jest.config.js", "scripts": {}, diff --git a/tools/mocha/package.json b/tools/mocha/package.json index 99f52ca8981..7758b0fdae3 100644 --- a/tools/mocha/package.json +++ b/tools/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mocha-config", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "private": true, "main": "mocha.config.js", "scripts": {}, diff --git a/tools/typescript/package.json b/tools/typescript/package.json index a95ffc0a503..bd07b00b677 100644 --- a/tools/typescript/package.json +++ b/tools/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typescript", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/webpack/package.json b/tools/webpack/package.json index cacf459b4dd..df96781f211 100644 --- a/tools/webpack/package.json +++ b/tools/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/webpack-config", - "version": "7.35.0-beta.2", + "version": "7.35.0-beta.3", "private": true, "main": "webpack.config.js", "scripts": {}, From b99caf01afe8b3a9c824f103092ac205d2db80bc Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Wed, 6 Sep 2023 10:05:10 +0200 Subject: [PATCH 14/30] chore: clean code --- packages/orm/mongoose/test/ref.integration.spec.ts | 2 +- packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/orm/mongoose/test/ref.integration.spec.ts b/packages/orm/mongoose/test/ref.integration.spec.ts index 8b3a5ab0121..6d7b231ce73 100644 --- a/packages/orm/mongoose/test/ref.integration.spec.ts +++ b/packages/orm/mongoose/test/ref.integration.spec.ts @@ -29,7 +29,7 @@ class ProfilesCtrl { @Get("/") async getTest(@QueryParams("full") full: boolean) { const result = await this.ProfileModel.find(); - console.log(result); + return full ? this.ProfileModel.find().populate("user") : this.ProfileModel.find(); } } diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts index 6ef92b0b072..449629b77b9 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts @@ -1,4 +1,3 @@ -import {Unique} from "@faker-js/faker/unique"; import {isBoolean, isObjectID} from "@tsed/core"; import { AdditionalProperties, From a6322b7ba5d7fd298d596b58e031b490d70c51ae Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Wed, 6 Sep 2023 10:06:38 +0200 Subject: [PATCH 15/30] chore: rollback typescript version on workspace (support TS v5 are maintained) --- docs/getting-started/snippets/base/package.json | 2 +- package.json | 2 +- .../test/integration/aws-basic/package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/getting-started/snippets/base/package.json b/docs/getting-started/snippets/base/package.json index 99aac09e1ff..d4be337cf78 100644 --- a/docs/getting-started/snippets/base/package.json +++ b/docs/getting-started/snippets/base/package.json @@ -67,6 +67,6 @@ "supertest": "6.0.0", "ts-node": "9.0.0", "tslint": "6.1.3", - "typescript": "5.0.4" + "typescript": "4.9.5" } } diff --git a/package.json b/package.json index aaf11404948..85fb92e566e 100644 --- a/package.json +++ b/package.json @@ -169,7 +169,7 @@ "ts-loader": "^9.4.2", "ts-node": "10.8.1", "tslib": "2.5.0", - "typescript": "5.0.4", + "typescript": "4.9.5", "webpack": "^5.75.0", "webpack-cli": "^5.0.1", "webpack-dev-server": "^4.11.1", diff --git a/packages/platform/platform-serverless-http/test/integration/aws-basic/package.json b/packages/platform/platform-serverless-http/test/integration/aws-basic/package.json index 9da59f95d29..2c9f73aaeb7 100644 --- a/packages/platform/platform-serverless-http/test/integration/aws-basic/package.json +++ b/packages/platform/platform-serverless-http/test/integration/aws-basic/package.json @@ -16,6 +16,6 @@ "terser-webpack-plugin": "^5.2.5", "fork-ts-checker-webpack-plugin": "^6.4.0", "tsconfig-paths-webpack-plugin": "^3.5.2", - "typescript": "^5.0.4" + "typescript": "^4.9.5" } } diff --git a/yarn.lock b/yarn.lock index 0a8dae92c21..7f519e591f0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24330,10 +24330,10 @@ typeorm@^0.2.45: yargs "^17.0.1" zen-observable-ts "^1.0.0" -typescript@5.0.4: - version "5.0.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b" - integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw== +typescript@4.9.5: + version "4.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" + integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== typescript@^3.5.3: version "3.9.10" From c8f4b2188e368117dbc4db2c53572fcfe49c1319 Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Wed, 6 Sep 2023 10:06:38 +0200 Subject: [PATCH 16/30] chore: rollback typescript version on workspace (support TS v5 are maintained) --- packages/specs/schema/src/tsconfig.json | 18 ------------------ packages/specs/schema/test/tsconfig.json | 18 ------------------ 2 files changed, 36 deletions(-) delete mode 100644 packages/specs/schema/src/tsconfig.json delete mode 100644 packages/specs/schema/test/tsconfig.json diff --git a/packages/specs/schema/src/tsconfig.json b/packages/specs/schema/src/tsconfig.json deleted file mode 100644 index 5fa049fa6e5..00000000000 --- a/packages/specs/schema/src/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "@tsed/typescript/tsconfig.node.json", - "compilerOptions": { - "baseUrl": ".", - "module": "commonjs", - "rootDir": ".", - "declaration": false, - "composite": true, - "noEmit": true - }, - "include": ["**/*.ts", "**/*.json", "../**/*.ts", "../**/*.json"], - "exclude": ["node_modules", "lib"], - "references": [ - { - "path": "../" - } - ] -} diff --git a/packages/specs/schema/test/tsconfig.json b/packages/specs/schema/test/tsconfig.json deleted file mode 100644 index 5fa049fa6e5..00000000000 --- a/packages/specs/schema/test/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "@tsed/typescript/tsconfig.node.json", - "compilerOptions": { - "baseUrl": ".", - "module": "commonjs", - "rootDir": ".", - "declaration": false, - "composite": true, - "noEmit": true - }, - "include": ["**/*.ts", "**/*.json", "../**/*.ts", "../**/*.json"], - "exclude": ["node_modules", "lib"], - "references": [ - { - "path": "../" - } - ] -} From 17a9354d1eecf4208d8c4858180a44317e36f582 Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Wed, 6 Sep 2023 10:19:28 +0200 Subject: [PATCH 17/30] fix(json-mapper): fix serialize compilation method --- .../src/domain/JsonMapperCompiler.ts | 15 +++++++- .../src/domain/JsonSerializer.spec.ts | 2 +- .../json-mapper/src/domain/JsonSerializer.ts | 37 +++++++++++-------- 3 files changed, 35 insertions(+), 19 deletions(-) diff --git a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts index c6dd26e35ba..bf01ea17037 100644 --- a/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts +++ b/packages/specs/json-mapper/src/domain/JsonMapperCompiler.ts @@ -41,6 +41,12 @@ export abstract class JsonMapperCompiler = a * @protected */ protected schemes: Record = {}; + + /** + * Cached classes by his id + * @protected + */ + protected constructors: Record> = {}; /** * Global variables available in the mapper * @protected @@ -63,6 +69,7 @@ export abstract class JsonMapperCompiler = a this.addGlobal("alterIgnore", this.alterIgnore.bind(this)); this.addGlobal("alterValue", this.alterValue.bind(this)); this.addGlobal("execMapper", this.execMapper.bind(this)); + this.addGlobal("compileAndMap", this.map.bind(this)); } addTypeMapper(model: Type | string, fn: any) { @@ -101,7 +108,7 @@ export abstract class JsonMapperCompiler = a eval(mapper: string, {id, groupsId, model}: {id: string; model: Type; groupsId: string}) { this.addGlobal("cache", this.cache); - const {globals} = this; + const {globals, schemes} = this; const injectGlobals = Object.keys(globals) .map((name) => { @@ -121,7 +128,7 @@ export abstract class JsonMapperCompiler = a } createContext(options: Options) { - const {mappers, globals, cache} = this; + const {cache} = this; return { ...options, @@ -226,4 +233,8 @@ export abstract class JsonMapperCompiler = a protected getId(model: Type, groupsId: string) { return `${nameOf(model)}:${getRandomId()}:${groupsId}`; } + + protected getSchemaId(id: string, propertyKey: string) { + return `${id}:${propertyKey}`; + } } diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts index 449629b77b9..a998c156c64 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts @@ -31,7 +31,6 @@ const serialize = (...args: any[]) => (serializer.map as any)(...args); function createMap(value: any) { return new Map([["test", value]]); } - class ObjectId { _bsontype = true; @@ -55,6 +54,7 @@ describe("JsonSerializer", () => { expect(serialize("1")).toEqual("1"); expect(serialize(0)).toEqual(0); expect(serialize(1)).toEqual(1); + expect(serialize(1)).toEqual(1); expect(serialize(BigInt(1n))).toEqual(BigInt(1)); }); }); diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.ts index 6d02ba35552..4ed850243fa 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.ts @@ -123,7 +123,7 @@ export class JsonSerializer extends JsonMapperCompiler { private mapProperty(propertyStore: JsonPropertyStore, id: string, groups: false | string[]) { const key = String(propertyStore.propertyKey); const aliasKey: string = String(propertyStore.parent.schema.getAliasOf(key) || key); - const schemaId = `${id}:${key}`; + const schemaId = this.getSchemaId(id, key); let writer = new Writer().add(`// Map ${key} ${id} ${groups || ""}`); @@ -141,6 +141,7 @@ export class JsonSerializer extends JsonMapperCompiler { // pre hook const hasSerializer = propertyStore.schema?.$hooks?.has("onSerialize"); + if (hasSerializer) { this.schemes[schemaId] = propertyStore.schema; const opts = Writer.options(formatOpts); @@ -148,23 +149,12 @@ export class JsonSerializer extends JsonMapperCompiler { writer.set(key, `alterValue('${schemaId}', ${key}, ${opts})`); } - if (propertyStore.isCollection) { - const type = propertyStore.getBestType(); - - const nestedMapper = this.compile(type, groups); + const fill = this.getPropertyFiller(propertyStore, key, groups, formatOpts); - writer.callMapper(nameOf(propertyStore.collectionType), key, `id: '${nestedMapper.id}'`, formatOpts); + if (hasSerializer) { + fill(writer.if(`${key} === input.${key}`)); } else { - const type = propertyStore.getBestType(); - const nestedMapper = this.compile(type, groups); - - const fill = (writer: Writer) => writer.callMapper(nestedMapper.id, key, formatOpts); - - if (hasSerializer) { - fill(writer.if(`${key} === input.${key}`)); - } else { - fill(writer); - } + fill(writer); } if (aliasKey !== key) { @@ -176,6 +166,21 @@ export class JsonSerializer extends JsonMapperCompiler { return writer.root(); } + private getPropertyFiller(propertyStore: JsonPropertyStore, key: string, groups: false | string[], formatOpts: any) { + if (propertyStore.isCollection) { + const type = propertyStore.getBestType(); + + const nestedMapper = this.compile(type, groups); + + return (writer: Writer) => writer.callMapper(nameOf(propertyStore.collectionType), key, `id: '${nestedMapper.id}'`, formatOpts); + } + + const type = propertyStore.getBestType(); + const nestedMapper = this.compile(type, groups); + + return (writer: Writer) => writer.callMapper(nestedMapper.id, key, formatOpts); + } + private mapPrecondition(id: string) { const writer = new Writer(); From 095e7740e96d6cfc4bc8660dac16e78d63c01557 Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Wed, 6 Sep 2023 11:49:57 +0200 Subject: [PATCH 18/30] feat(json-mapper): implement deserialize compilation method --- packages/orm/mongoose/jest.config.js | 6 +- .../orm/mongoose/src/decorators/virtualRef.ts | 2 +- .../virtualRef.integration.spec.ts.snap | 5 +- .../test/virtualRef.integration.spec.ts | 4 +- packages/specs/json-mapper/jest.config.js | 6 +- .../src/components/ArrayMapper.spec.ts | 38 - .../json-mapper/src/components/ArrayMapper.ts | 18 - .../src/components/MapMapper.spec.ts | 46 - .../json-mapper/src/components/MapMapper.ts | 29 - .../src/components/PrimitiveMapper.ts | 49 +- .../src/components/SetMapper.spec.ts | 38 - .../json-mapper/src/components/SetMapper.ts | 29 - .../src/domain/JsonDeserializer.spec.ts | 1222 +++++++++++++++++ .../src/domain/JsonDeserializer.ts | 374 +++++ .../src/domain/JsonDeserializerOptions.ts | 33 + .../src/domain/JsonMapperContext.ts | 32 - .../specs/json-mapper/src/domain/Writer.ts | 38 + .../src/hooks/alterOnDeserialize.ts | 5 + packages/specs/json-mapper/src/index.ts | 7 +- .../json-mapper/src/utils/deserialize.spec.ts | 766 +---------- .../json-mapper/src/utils/deserialize.ts | 290 +--- .../json-mapper/src/utils/serialize.spec.ts | 1 - .../specs/json-mapper/test/helpers/Post.ts | 1 - .../generics.integration.spec.ts.snap | 9 + .../integration/generics.integration.spec.ts | 6 +- 25 files changed, 1731 insertions(+), 1323 deletions(-) delete mode 100644 packages/specs/json-mapper/src/components/ArrayMapper.spec.ts delete mode 100644 packages/specs/json-mapper/src/components/ArrayMapper.ts delete mode 100644 packages/specs/json-mapper/src/components/MapMapper.spec.ts delete mode 100644 packages/specs/json-mapper/src/components/MapMapper.ts delete mode 100644 packages/specs/json-mapper/src/components/SetMapper.spec.ts delete mode 100644 packages/specs/json-mapper/src/components/SetMapper.ts create mode 100644 packages/specs/json-mapper/src/domain/JsonDeserializer.spec.ts create mode 100644 packages/specs/json-mapper/src/domain/JsonDeserializer.ts create mode 100644 packages/specs/json-mapper/src/domain/JsonDeserializerOptions.ts delete mode 100644 packages/specs/json-mapper/src/domain/JsonMapperContext.ts create mode 100644 packages/specs/json-mapper/src/hooks/alterOnDeserialize.ts create mode 100644 packages/specs/json-mapper/test/integration/__snapshots__/generics.integration.spec.ts.snap diff --git a/packages/orm/mongoose/jest.config.js b/packages/orm/mongoose/jest.config.js index e5e1e896604..5e9a3a6c16f 100644 --- a/packages/orm/mongoose/jest.config.js +++ b/packages/orm/mongoose/jest.config.js @@ -9,10 +9,10 @@ module.exports = { }, coverageThreshold: { global: { - statements: 99.06, - branches: 95.4, + statements: 98.95, + branches: 95, functions: 99, - lines: 99.06 + lines: 98.95 } } }; diff --git a/packages/orm/mongoose/src/decorators/virtualRef.ts b/packages/orm/mongoose/src/decorators/virtualRef.ts index b630f1054f1..98fc94f4671 100644 --- a/packages/orm/mongoose/src/decorators/virtualRef.ts +++ b/packages/orm/mongoose/src/decorators/virtualRef.ts @@ -61,7 +61,7 @@ export function VirtualRef(options: string | MongooseVirtualRefOptions, foreignF return useDecorators( StoreMerge(MONGOOSE_SCHEMA, schema), - schema.count ? Property(Number) : type && (schema.justOne ? Property(type) : CollectionOf(type)) + schema.count ? Property(Number) : type && (schema.justOne ? Property(type) : CollectionOf(type, Array)) ); } diff --git a/packages/orm/mongoose/test/__snapshots__/virtualRef.integration.spec.ts.snap b/packages/orm/mongoose/test/__snapshots__/virtualRef.integration.spec.ts.snap index 46767573834..dc8521fae9f 100644 --- a/packages/orm/mongoose/test/__snapshots__/virtualRef.integration.spec.ts.snap +++ b/packages/orm/mongoose/test/__snapshots__/virtualRef.integration.spec.ts.snap @@ -29,7 +29,10 @@ Object { }, "properties": Object { "galaxies": Object { - "$ref": "#/definitions/GalaxiesModel", + "items": Object { + "$ref": "#/definitions/GalaxiesModel", + }, + "type": "array", }, "galaxyCount": Object { "multipleOf": 1, diff --git a/packages/orm/mongoose/test/virtualRef.integration.spec.ts b/packages/orm/mongoose/test/virtualRef.integration.spec.ts index 5e4ae05c34c..76caa8bb1a7 100644 --- a/packages/orm/mongoose/test/virtualRef.integration.spec.ts +++ b/packages/orm/mongoose/test/virtualRef.integration.spec.ts @@ -1,7 +1,7 @@ import {Controller, Get, Inject, PlatformTest} from "@tsed/common"; import {getValue} from "@tsed/core"; import {serialize} from "@tsed/json-mapper"; -import {Model, MongooseModel, ObjectID, VirtualRef, VirtualRefs} from "@tsed/mongoose"; +import {Model, MongooseModel, ObjectID, VirtualRef} from "@tsed/mongoose"; import {PlatformExpress} from "@tsed/platform-express"; import {CollectionOf, getJsonSchema, Groups, Integer, Required} from "@tsed/schema"; import {TestMongooseContext} from "@tsed/testing-mongoose"; @@ -36,7 +36,7 @@ export class SpacesModel { justOne: false }) @CollectionOf(GalaxiesModel) - galaxies?: VirtualRefs; + galaxies?: GalaxiesModel[]; @VirtualRef({ ref: GalaxiesModel, diff --git a/packages/specs/json-mapper/jest.config.js b/packages/specs/json-mapper/jest.config.js index f0dda1dfbdd..6d3a38f0bf4 100644 --- a/packages/specs/json-mapper/jest.config.js +++ b/packages/specs/json-mapper/jest.config.js @@ -6,10 +6,10 @@ module.exports = { roots: ["/src", "/test"], coverageThreshold: { global: { - statements: 99.57, - branches: 97.89, + statements: 99.66, + branches: 97.94, functions: 100, - lines: 99.57 + lines: 99.66 } }, moduleNameMapper: { diff --git a/packages/specs/json-mapper/src/components/ArrayMapper.spec.ts b/packages/specs/json-mapper/src/components/ArrayMapper.spec.ts deleted file mode 100644 index 79a734bd5e6..00000000000 --- a/packages/specs/json-mapper/src/components/ArrayMapper.spec.ts +++ /dev/null @@ -1,38 +0,0 @@ -import Sinon from "sinon"; -import {JsonMapperContext} from "../domain/JsonMapperContext"; -import {ArrayMapper} from "./ArrayMapper"; - -describe("ArrayMapper", () => { - describe("deserialize()", () => { - it("should return value", () => { - const ctx = new JsonMapperContext({ - type: String, - collectionType: Array, - next: Sinon.stub().callsFake((o) => String("testMap")), - options: {} - }); - - const arrayMapper = new ArrayMapper(); - - const value = arrayMapper.deserialize(["test"], ctx); - - expect(value).toEqual(["testMap"]); - }); - }); - describe("serialize()", () => { - it("should return value", () => { - const ctx = new JsonMapperContext({ - type: String, - collectionType: Array, - next: Sinon.stub().callsFake((o) => String("testMap")), - options: {} - }); - - const arrayMapper = new ArrayMapper(); - - const value = arrayMapper.serialize(["test"], ctx); - - expect(value).toEqual(["testMap"]); - }); - }); -}); diff --git a/packages/specs/json-mapper/src/components/ArrayMapper.ts b/packages/specs/json-mapper/src/components/ArrayMapper.ts deleted file mode 100644 index adfcda86f9b..00000000000 --- a/packages/specs/json-mapper/src/components/ArrayMapper.ts +++ /dev/null @@ -1,18 +0,0 @@ -import {JsonMapper} from "../decorators/jsonMapper"; -import {JsonMapperCtx, JsonMapperMethods} from "../interfaces/JsonMapperMethods"; - -/** - * Mapper for `Array` type. - * @jsonmapper - * @component - */ -@JsonMapper(Array) -export class ArrayMapper implements JsonMapperMethods { - deserialize(data: any, options: JsonMapperCtx): T[] { - return [].concat(data).map((item) => options.next(item)); - } - - serialize(data: any[], options: JsonMapperCtx): any { - return [].concat(data as any).map((item) => options.next(item)); - } -} diff --git a/packages/specs/json-mapper/src/components/MapMapper.spec.ts b/packages/specs/json-mapper/src/components/MapMapper.spec.ts deleted file mode 100644 index 91109f158fa..00000000000 --- a/packages/specs/json-mapper/src/components/MapMapper.spec.ts +++ /dev/null @@ -1,46 +0,0 @@ -import Sinon from "sinon"; -import {JsonMapperContext} from "../domain/JsonMapperContext"; -import {MapMapper} from "./MapMapper"; - -describe("MapMapper", () => { - describe("deserialize()", () => { - it("should return value", () => { - const ctx = new JsonMapperContext({ - type: String, - collectionType: Map, - next: Sinon.stub().callsFake((o) => String("testMap")), - options: {} - }); - - const mapper = new MapMapper(); - - const value = mapper.deserialize( - { - test: "test" - }, - ctx - ); - - expect(value).toBeInstanceOf(Map); - expect(value.get("test")).toEqual("testMap"); - }); - }); - describe("serialize()", () => { - it("should return value", () => { - const ctx = { - type: String, - collectionType: Array, - next: Sinon.stub().callsFake((o) => String("testMap")) - }; - - const mapper = new MapMapper(); - - const map = new Map(); - map.set("test", "test"); - - const value = mapper.serialize(map, ctx); - - expect(value).toEqual({test: "testMap"}); - }); - }); -}); diff --git a/packages/specs/json-mapper/src/components/MapMapper.ts b/packages/specs/json-mapper/src/components/MapMapper.ts deleted file mode 100644 index 63e0f0fd04f..00000000000 --- a/packages/specs/json-mapper/src/components/MapMapper.ts +++ /dev/null @@ -1,29 +0,0 @@ -import {objectKeys} from "@tsed/core"; -import {JsonMapper} from "../decorators/jsonMapper"; -import {JsonMapperCtx, JsonMapperMethods} from "../interfaces/JsonMapperMethods"; - -/** - * Mapper for `Map` type. - * @jsonmapper - * @component - */ -@JsonMapper(Map) -export class MapMapper implements JsonMapperMethods { - deserialize>(data: {[key: string]: any}, ctx: JsonMapperCtx): Map { - const obj = new Map(); - - objectKeys(data).forEach((key) => { - obj.set(key, ctx.next(data[key]) as T); - }); - - return obj; - } - - serialize(data: Map, ctx: JsonMapperCtx): any { - const obj: any = {}; - - data.forEach((value: T, key: string) => (obj[key] = ctx.next(value))); - - return obj; - } -} diff --git a/packages/specs/json-mapper/src/components/PrimitiveMapper.ts b/packages/specs/json-mapper/src/components/PrimitiveMapper.ts index 3876eaf346e..fd96afd418d 100644 --- a/packages/specs/json-mapper/src/components/PrimitiveMapper.ts +++ b/packages/specs/json-mapper/src/components/PrimitiveMapper.ts @@ -1,3 +1,4 @@ +import {nameOf} from "@tsed/core"; import {JsonMapper} from "../decorators/jsonMapper"; import {JsonMapperCtx, JsonMapperMethods} from "../interfaces/JsonMapperMethods"; @@ -21,37 +22,41 @@ export class CastError extends Error { @JsonMapper(String, Number, Boolean, BigInt) export class PrimitiveMapper implements JsonMapperMethods { deserialize(data: any, ctx: JsonMapperCtx): string | number | boolean | void | null | BigInt { - switch (ctx.type) { - case String: - return data === null ? null : "" + data; - - case BigInt: - if (isNullish(data)) return null; + return (this as any)[nameOf(ctx.type)] ? (this as any)[nameOf(ctx.type)](data, ctx) : undefined; + } - return BigInt(data); + serialize(object: string | number | boolean | BigInt): string | number | boolean | BigInt { + return object; + } - case Number: - if (isNullish(data)) return null; + protected String(data: any) { + return data === null ? null : "" + data; + } - const n = +data; + protected Boolean(data: any) { + if (["true", "1", true].includes(data)) return true; + if (["false", "0", false].includes(data)) return false; + if (isNullish(data)) return null; + if (data === undefined) return undefined; - if (isNaN(n)) { - throw new CastError("Expression value is not a number."); - } + return !!data; + } - return n; + protected Number(data: any) { + if (isNullish(data)) return null; - case Boolean: - if (["true", "1", true].includes(data)) return true; - if (["false", "0", false].includes(data)) return false; - if (isNullish(data)) return null; - if (data === undefined) return undefined; + const n = +data; - return !!data; + if (isNaN(n)) { + throw new CastError("Expression value is not a number."); } + + return n; } - serialize(object: string | number | boolean | BigInt): string | number | boolean | BigInt { - return object; + protected BigInt(data: any) { + if (isNullish(data)) return null; + + return BigInt(data); } } diff --git a/packages/specs/json-mapper/src/components/SetMapper.spec.ts b/packages/specs/json-mapper/src/components/SetMapper.spec.ts deleted file mode 100644 index 854fb0595a3..00000000000 --- a/packages/specs/json-mapper/src/components/SetMapper.spec.ts +++ /dev/null @@ -1,38 +0,0 @@ -import Sinon from "sinon"; -import {JsonMapperContext} from "../domain/JsonMapperContext"; -import {SetMapper} from "./SetMapper"; - -describe("SetMapper", () => { - describe("deserialize()", () => { - it("should return value", () => { - const ctx = new JsonMapperContext({ - type: String, - collectionType: Set, - next: Sinon.stub().callsFake((o) => String("testMap")), - options: {} - }); - - const mapper = new SetMapper(); - - const value = mapper.deserialize(["test"], ctx); - - expect(value).toBeInstanceOf(Set); - expect(Array.from(value.values())).toEqual(["testMap"]); - }); - }); - describe("serialize()", () => { - it("should return value", () => { - const ctx = { - type: String, - collectionType: Set, - next: Sinon.stub().callsFake((o) => String("testMap")) - }; - - const arrayMapper = new SetMapper(); - - const value = arrayMapper.serialize(new Set(["test"]), ctx); - - expect(value).toEqual(["testMap"]); - }); - }); -}); diff --git a/packages/specs/json-mapper/src/components/SetMapper.ts b/packages/specs/json-mapper/src/components/SetMapper.ts deleted file mode 100644 index f13e7fe39d2..00000000000 --- a/packages/specs/json-mapper/src/components/SetMapper.ts +++ /dev/null @@ -1,29 +0,0 @@ -import {objectKeys} from "@tsed/core"; -import {JsonMapper} from "../decorators/jsonMapper"; -import {JsonMapperCtx, JsonMapperMethods} from "../interfaces/JsonMapperMethods"; - -/** - * Mapper for the `Set` Type. - * @jsonmapper - * @component - */ -@JsonMapper(Set) -export class SetMapper implements JsonMapperMethods { - deserialize(data: any, ctx: JsonMapperCtx): Set { - const obj = new Set(); - - objectKeys(data).forEach((key) => { - obj.add(ctx.next(data[key])); - }); - - return obj; - } - - serialize(data: Set, ctx: JsonMapperCtx): any[] { - const array: any[] = []; - - data.forEach((value) => array.push(ctx.next(value))); - - return array; - } -} diff --git a/packages/specs/json-mapper/src/domain/JsonDeserializer.spec.ts b/packages/specs/json-mapper/src/domain/JsonDeserializer.spec.ts new file mode 100644 index 00000000000..b51edff3963 --- /dev/null +++ b/packages/specs/json-mapper/src/domain/JsonDeserializer.spec.ts @@ -0,0 +1,1222 @@ +import faker from "@faker-js/faker"; +import {QueryParams} from "@tsed/common"; +import { + AdditionalProperties, + CollectionOf, + DiscriminatorKey, + DiscriminatorValue, + Email, + Enum, + GenericOf, + Generics, + Groups, + Ignore, + In, + Integer, + JsonEntityStore, + JsonHookContext, + JsonParameterStore, + MinLength, + Name, + Nullable, + OneOf, + OperationPath, + Property, + Required +} from "@tsed/schema"; +import {Post} from "../../test/helpers/Post"; +import {User} from "../../test/helpers/User"; +import "../components/DateMapper"; +import "../components/PrimitiveMapper"; +import "../components/SymbolMapper"; +import {OnDeserialize} from "../decorators/onDeserialize"; +import {JsonDeserializer} from "./JsonDeserializer"; + +const deserializer = new JsonDeserializer(); + +const deserialize = (...args: any[]) => (deserializer.map as any)(...args); + +function mapToObject(value: any): any { + expect(value).toBeInstanceOf(Map); + + return Array.from(value.entries()).reduce((obj: any, [key, value]: [string, any]) => { + return { + ...obj, + [key]: value + }; + }, {}); +} + +function setToObject(value: any): any { + expect(value).toBeInstanceOf(Set); + + return Array.from(value.values()); +} + +describe("deserialize()", () => { + describe("Primitive", () => { + it("should convert value", () => { + expect(deserialize(null)).toEqual(null); + expect(deserialize(null, {type: String})).toEqual(null); + expect(deserialize(undefined)).toBeUndefined(); + expect(deserialize(false)).toEqual(false); + expect(deserialize(true)).toEqual(true); + expect(deserialize(0)).toEqual(0); + expect(deserialize(1)).toEqual(1); + expect(deserialize("")).toEqual(""); + expect(deserialize("1")).toEqual("1"); + + expect(deserialize(null, {type: Boolean})).toEqual(null); + expect(deserialize(undefined, {type: Boolean})).toBeUndefined(); + expect(deserialize(null, {type: Boolean})).toEqual(null); + expect(deserialize(undefined, {type: Boolean})).toBeUndefined(); + expect(deserialize(false, {type: Boolean})).toEqual(false); + expect(deserialize(true, {type: Boolean})).toEqual(true); + expect(deserialize(0, {type: Number})).toEqual(0); + expect(deserialize(1, {type: Number})).toEqual(1); + expect(deserialize("", {type: Number})).toEqual(0); + expect(deserialize("0", {type: Number})).toEqual(0); + expect(deserialize("1", {type: Number})).toEqual(1); + expect(deserialize("", {type: String})).toEqual(""); + expect(deserialize("0", {type: String})).toEqual("0"); + expect(deserialize("1", {type: String})).toEqual("1"); + expect(deserialize(["1"], {type: String})).toEqual(["1"]); + }); + }); + describe("BigInt", () => { + it("should deserialize a big int", () => { + expect(deserialize(1n, {type: BigInt})).toEqual(BigInt(1n)); + expect(deserialize(null, {type: BigInt})).toEqual(null); + }); + }); + describe("Array", () => { + it("should transform value", () => { + const options = {type: String, collectionType: Array}; + expect(deserialize(null, options)).toEqual(null); + expect(deserialize(undefined, options)).toBeUndefined(); + expect(deserialize(false, options)).toEqual(["false"]); + expect(deserialize(true, options)).toEqual(["true"]); + expect(deserialize(0, options)).toEqual(["0"]); + expect(deserialize(1, options)).toEqual(["1"]); + expect(deserialize("", options)).toEqual([""]); + expect(deserialize("1", options)).toEqual(["1"]); + }); + it("should cast object to array", () => { + expect( + deserialize( + {}, + { + collectionType: Array, + type: Object + } + ) + ).toEqual([{}]); + }); + }); + describe("Object", () => { + it("should transform value", () => { + expect(deserialize({test: "test"}, {type: Object})).toEqual({test: "test"}); + expect(deserialize({test: "test"}, {type: undefined})).toEqual({test: "test"}); + expect(deserialize({test: "test"}, {type: null})).toEqual({test: "test"}); + expect(deserialize({test: "test"}, {type: false})).toEqual({test: "test"}); + }); + }); + describe("Map", () => { + it("should transform value", () => { + const options = {type: String, collectionType: Map}; + expect(deserialize(null, options)).toEqual(null); + expect(deserialize(undefined, options)).toBeUndefined(); + expect(mapToObject(deserialize(false, options))).toEqual({}); + expect(mapToObject(deserialize(true, options))).toEqual({}); + expect(mapToObject(deserialize({test: 1}, options))).toEqual({ + test: "1" + }); + }); + }); + describe("Set", () => { + it("should transform value", () => { + const options = {type: String, collectionType: Set}; + expect(deserialize(null, options)).toEqual(null); + expect(deserialize(undefined, options)).toBeUndefined(); + expect(setToObject(deserialize(false, options))).toEqual([]); + expect(setToObject(deserialize(true, options))).toEqual([]); + expect(setToObject(deserialize([1], options))).toEqual(["1"]); + }); + }); + describe("Unsupported collection", () => { + it("should transform value", () => { + const options = {type: String, collectionType: WeakMap}; + + let actualError: any; + try { + deserialize([], options); + } catch (er) { + actualError = er; + } + + expect(actualError.message).toEqual("WeakMap is not supported by JsonMapper."); + }); + }); + describe("Model", () => { + it("should do nothing when a prop is undefined", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnDeserialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Map = new Map(); + } + + const result = deserialize( + { + id: "id", + password: "string", + mapped_prop: "mappedProp", + roles: undefined, + add: true + }, + {type: Model, additionalProperties: false} + ); + + expect(result).toBeInstanceOf(Model); + expect(result).toEqual({ + id: "id", + mappedProp: "mappedProptest", + password: "string", + roles: new Map() + }); + }); + it("should do nothing when a prop is ArrayOf Number", () => { + class Model { + @CollectionOf(Number) + prop: number[] = []; + } + + const result = deserialize( + { + prop: ["1", "2", "3", "5"] + }, + {type: Model, additionalProperties: false} + ); + + expect(result).toBeInstanceOf(Model); + expect(result).toEqual({ + prop: [1, 2, 3, 5] + }); + }); + it("should do nothing when a prop is ArrayOf enum as number", () => { + enum TestEnum { + TEST = 1, + TEST2 = 2 + } + + class Model { + @Enum(TestEnum) + @CollectionOf(Number) + prop: TestEnum[] = []; + } + + const result = deserialize( + { + prop: ["1", "2", "3", "5"] + }, + {type: Model, additionalProperties: false} + ); + + expect(result).toBeInstanceOf(Model); + expect(result).toEqual({ + prop: [1, 2, 3, 5] + }); + }); + it("should transform object to class (additionalProperties = false)", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnDeserialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Map = new Map(); + } + + const result = deserialize( + { + id: "id", + password: "string", + mapped_prop: "mappedProp", + roles: { + role1: { + label: "role" + } + }, + add: true + }, + {type: Model, additionalProperties: false} + ); + + expect(result).toBeInstanceOf(Model); + expect(result).toEqual({ + id: "id", + mappedProp: "mappedProptest", + password: "string", + roles: new Map().set("role1", new Role({label: "role"})) + }); + }); + it("should transform object to class (additionalProperties = true)", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnDeserialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Map = new Map(); + } + + const result = deserialize( + { + id: "id", + password: "string", + mapped_prop: "mappedProp", + roles: { + role1: { + label: "role" + } + }, + add: true + }, + {type: Model, additionalProperties: true} + ); + + expect(result).toBeInstanceOf(Model); + expect(result).toEqual({ + id: "id", + mappedProp: "mappedProptest", + password: "string", + roles: new Map().set("role1", new Role({label: "role"})), + add: true + }); + }); + it("should transform object to class (additionalProperties = true, with group)", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + @AdditionalProperties(true) + class Model { + @Property() + id: string; + + @Groups("!update") + password: string; + } + + const result = deserialize( + { + id: "id", + password: "string" + }, + {type: Model, groups: ["update"]} + ); + + expect(result).toBeInstanceOf(Model); + expect(result).toEqual({id: "id"}); + }); + it("should transform object to class (additionalProperties = model)", () => { + class SubModel { + @Property() + id: string; + } + + @AdditionalProperties(SubModel) + class Model { + [key: string]: SubModel; + } + + class Container { + @CollectionOf(Model) + list: Model[]; + } + + const result = deserialize({test: {id: "1"}}, {type: Model}); + + expect(result).toEqual({ + test: { + id: "1" + } + }); + expect(result.test).toBeInstanceOf(SubModel); + expect(result.test.id).toEqual("1"); + + const result2 = deserialize( + { + list: [{test: {id: "1"}}] + }, + {type: Container} + ); + + expect(result2).toBeInstanceOf(Container); + expect(result2.list).toBeInstanceOf(Array); + expect(result2.list[0].test).toBeInstanceOf(SubModel); + expect(result2.list[0].test.id).toEqual("1"); + }); + it("should transform object to class (inherited class)", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Base { + @CollectionOf(Role) + roles: Map = new Map(); + } + + class Model extends Base { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnDeserialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @OnDeserialize((b) => b.filter((v: string) => v === "test")) + list: string[]; + } + + const result = deserialize( + { + id: "id", + password: "string", + mapped_prop: "mappedProp", + roles: { + role1: { + label: "role" + } + }, + add: true, + list: ["test", "value"] + }, + {type: Model} + ); + + expect(result).toBeInstanceOf(Model); + expect(result).toEqual({ + id: "id", + mappedProp: "mappedProptest", + password: "string", + roles: new Map().set("role1", new Role({label: "role"})), + list: ["test"] + }); + }); + it("should transform object to class (recursive class)", () => { + const result = deserialize( + { + id: "id", + owner: { + name: "name", + posts: [ + { + id: "id" + } + ] + } + }, + {type: Post} + ); + + expect(result).toBeInstanceOf(Post); + expect(result.owner).toBeInstanceOf(User); + expect(result.owner.posts[0]).toBeInstanceOf(Post); + expect(result).toEqual({ + id: "id", + owner: { + name: "name", + posts: [ + { + id: "id" + } + ] + } + }); + }); + it("should transform object to class (date/nullable)", () => { + class Product { + @Nullable(Date) + updated: Date | null; + } + + const product = { + updated: faker.date.past().toISOString() + }; + + const result = deserialize(product, {type: Product}); + + expect(result).toBeInstanceOf(Product); + expect(result.updated).toBeInstanceOf(Date); + }); + it("should transform object to class (with null values on props)", () => { + class NullModel { + @Property() + prop1: string; + + @Property() + prop2: number; + + @Property() + prop3: Date; + } + + const result = deserialize( + { + prop1: null, + prop2: null, + prop3: null + }, + {type: NullModel} + ); + + expect(result).toBeInstanceOf(NullModel); + expect(result).toEqual({ + prop1: null, + prop2: null, + prop3: null + }); + }); + it("should transform object to class (with any props)", () => { + class TestModel { + @Property() + prop3: any; + } + + const result = deserialize( + { + prop3: { + test: "test" + } + }, + {type: TestModel} + ); + + expect(result).toBeInstanceOf(TestModel); + expect(result).toEqual({ + prop3: { + test: "test" + } + }); + }); + it("should transform object to class (with any[] props)", () => { + class TestModel { + @Property() + prop3: any[]; + } + + const result = deserialize( + { + prop3: [ + { + test: "test" + } + ] + }, + {type: TestModel} + ); + + expect(result).toBeInstanceOf(TestModel); + expect(result).toEqual({ + prop3: [ + { + test: "test" + } + ] + }); + }); + }); + describe("Array", () => { + it("should transform object to class (additionalProperties = false)", () => { + class Role { + @Property() + label: string; + + constructor({label}: any = {}) { + this.label = label; + } + } + + class Model { + @Property() + id: string; + + @Ignore((ignored, ctx: JsonHookContext) => ctx.api) + password: string; + + @OnDeserialize((value) => String(value) + "test") + @Name("mapped_prop") + mappedProp: string; + + @CollectionOf(Role) + roles: Map = new Map(); + } + + const result = deserialize( + [ + { + id: "id", + password: "string", + mapped_prop: "mappedProp", + roles: { + role1: { + label: "role" + } + }, + add: true + } + ], + {type: Model, collectionType: Array, additionalProperties: false} + ); + + expect(result[0]).toBeInstanceOf(Model); + expect(result).toEqual([ + { + id: "id", + mappedProp: "mappedProptest", + password: "string", + roles: new Map().set("role1", new Role({label: "role"})) + } + ]); + }); + it("should transform object to class (array parameter)", () => { + // WHEN + class Product { + @Property() + title: string; + } + + class Controller { + @OperationPath("POST", "/") + method(@In("body") @CollectionOf(Product) products: Product[]) { + return null; + } + } + + // THEN + const result = deserialize( + [ + { + title: "title" + } + ], + { + store: JsonEntityStore.from(Controller, "method", 0) + } + ); + + expect(result[0]).toBeInstanceOf(Product); + expect(result).toEqual([ + { + title: "title" + } + ]); + }); + }); + describe("Generics", () => { + it("should transform object to class (generics parameter)", () => { + // WHEN + @Generics("T") + class Submission { + @Property() + _id: string; + + @Property("T") + data: T; + } + + class Product { + @Property() + title: string; + } + + class Article { + @Property() + id: string; + } + + class Controller { + @OperationPath("POST", "/") + method(@In("body") @GenericOf(Product, Article) product: Submission) { + return null; + } + } + + class Controller2 { + @OperationPath("POST", "/") + method(@In("body") @GenericOf(Article) product: Submission
) { + return null; + } + } + + // THEN + const result = deserialize( + { + _id: "id", + data: { + title: "title" + } + }, + { + store: JsonEntityStore.from(Controller, "method", 0) + } + ); + + expect(result).toBeInstanceOf(Submission); + expect(result.data).toBeInstanceOf(Product); + expect(result).toEqual({ + _id: "id", + data: { + title: "title" + } + }); + + const result2 = deserialize( + { + _id: "id", + data: { + id: "id" + } + }, + { + store: JsonEntityStore.from(Controller2, "method", 0) + } + ); + + expect(result2).toBeInstanceOf(Submission); + expect(result2.data).toBeInstanceOf(Article); + expect(result2).toEqual({ + _id: "id", + data: { + id: "id" + } + }); + }); + it("should transform object to class (generics parameter + array data)", () => { + // WHEN + @Generics("T") + class Submission { + @Property() + _id: string; + + @CollectionOf("T") + data: T[]; + } + + class Product { + @Property() + title: string; + } + + class Article { + @Property() + id: string; + } + + class Controller { + @OperationPath("POST", "/") + method(@In("body") @GenericOf(Product, Article) product: Submission) { + return null; + } + } + + class Controller2 { + @OperationPath("POST", "/") + method(@In("body") @GenericOf(Article) product: Submission
) { + return null; + } + } + + // THEN + const result = deserialize( + { + _id: "id", + data: [ + { + title: "title" + } + ] + }, + { + store: JsonEntityStore.from(Controller, "method", 0) + } + ); + + expect(result).toBeInstanceOf(Submission); + expect(result.data).toBeInstanceOf(Array); + expect(result.data[0]).toBeInstanceOf(Product); + expect(result).toEqual({ + _id: "id", + data: [ + { + title: "title" + } + ] + }); + + const result2 = deserialize( + { + _id: "id", + data: [ + { + id: "id" + } + ] + }, + { + store: JsonEntityStore.from(Controller2, "method", 0) + } + ); + + expect(result2).toBeInstanceOf(Submission); + expect(result2.data[0]).toBeInstanceOf(Article); + expect(result2).toEqual({ + _id: "id", + data: [ + { + id: "id" + } + ] + }); + }); + it("should transform object to class (generics property)", () => { + @Generics("T") + class Base { + @Property() + id: string; + + @Required() + @Email() + email: string; + + @Property("T") + role: T; + } + + class Model extends Base { + @MinLength(0) + declare email: string; + + @Property() + name: string; + } + + class Role { + @Property() + level: string; + } + + class Content { + @GenericOf(Role) + payload: Model; + } + + const result = deserialize( + { + payload: { + email: "email", + name: "name", + id: "id", + role: { + level: "level" + } + } + }, + {type: Content} + ); + + expect(result).toBeInstanceOf(Content); + expect(result.payload).toBeInstanceOf(Model); + expect(result.payload.role).toBeInstanceOf(Role); + expect(result).toEqual({ + payload: { + email: "email", + id: "id", + name: "name", + role: { + level: "level" + } + } + }); + }); + it("should transform object to class (generics property + array)", () => { + @Generics("T") + class Base { + @Property() + id: string; + + @Required() + @Email() + email: string; + + @CollectionOf("T") + roles: T[]; + } + + class Model extends Base { + @MinLength(0) + declare email: string; + + @Property() + name: string; + } + + class Role { + @Property() + level: string; + } + + class Content { + @GenericOf(Role) + payload: Model; + } + + const result = deserialize( + { + payload: { + email: "email", + name: "name", + id: "id", + roles: [ + { + level: "level" + } + ] + } + }, + {type: Content} + ); + + expect(result).toBeInstanceOf(Content); + expect(result.payload).toBeInstanceOf(Model); + expect(result.payload.roles[0]).toBeInstanceOf(Role); + expect(result).toEqual({ + payload: { + email: "email", + id: "id", + name: "name", + roles: [ + { + level: "level" + } + ] + } + }); + }); + }); + describe("Discriminator", () => { + class Event { + @DiscriminatorKey() // declare this property as discriminator key + type: string; + + @Property() + value: string; + } + + class SubEvent extends Event { + @Property() + metaSub: string; + } + + @DiscriminatorValue("page_view") // or @DiscriminatorValue() value can be inferred by the class name + class PageView extends SubEvent { + @Required() + url: string; + } + + @DiscriminatorValue("action", "click_action") + class Action extends SubEvent { + @Required() + event: string; + } + + @DiscriminatorValue() + class CustomAction extends Event { + @Required() + event: string; + + @Property() + meta: string; + } + + type OneOfEvents = PageView | Action | CustomAction; + + class Tracking { + @OneOf(PageView, Action) + data: PageView | Action; + } + + class TrackingWithArray { + @OneOf(PageView, Action) + data: (PageView | Action)[]; + } + + it("should deserialize object according to the discriminator key", () => { + const list = [ + { + type: "base", + value: "value" + }, + { + type: "action", + value: "value", + event: "event" + }, + { + type: "click_action", + value: "value", + event: "event" + }, + { + type: "custom_action", + value: "custom", + event: "event", + meta: "meta" + } + ]; + const result = deserialize( + { + type: "page_view", + value: "value", + url: "https://url" + }, + { + type: Event + } + ); + + expect(result).toEqual({ + type: "page_view", + url: "https://url", + value: "value" + }); + expect(result).toBeInstanceOf(PageView); + }); + it("should deserialize object according to the discriminator key (model with property discriminator)", () => { + const list = { + data: { + type: "page_view", + value: "value", + url: "https://url", + metaSub: "sub" + } + }; + const result = deserialize(list, { + type: Tracking + }); + + expect(result).toEqual({ + data: { + type: "page_view", + metaSub: "sub", + url: "https://url", + value: "value" + } + }); + expect(result.data).toBeInstanceOf(PageView); + }); + it("should deserialize object according to the discriminator key (model with property discriminator - array)", () => { + const list = { + data: [ + { + type: "page_view", + value: "value", + url: "https://url", + metaSub: "sub" + }, + { + type: "action", + value: "value", + event: "event" + }, + { + type: "click_action", + value: "value", + event: "event" + }, + { + type: "custom_action", + value: "custom", + event: "event", + meta: "meta" + } + ] + }; + const result = deserialize(list, { + type: TrackingWithArray + }); + + expect(result).toEqual({ + data: [ + { + type: "page_view", + metaSub: "sub", + url: "https://url", + value: "value" + }, + { + event: "event", + type: "action", + value: "value" + }, + { + event: "event", + type: "click_action", + value: "value" + }, + { + event: "event", + meta: "meta", + type: "custom_action", + value: "custom" + } + ] + }); + expect(result.data[0]).toBeInstanceOf(PageView); + expect(result.data[1]).toBeInstanceOf(Action); + expect(result.data[2]).toBeInstanceOf(Action); + expect(result.data[3]).toBeInstanceOf(CustomAction); + }); + it("should deserialize object according to the discriminator key (list of item)", () => { + const list = [ + { + type: "base", + value: "value" + }, + { + type: "page_view", + value: "value", + url: "https://url" + }, + { + type: "action", + value: "value", + event: "event" + }, + { + type: "click_action", + value: "value", + event: "event" + }, + { + type: "custom_action", + value: "custom", + event: "event", + meta: "meta" + } + ]; + const result = deserialize(list, { + type: Event, + collectionType: Array + }); + + expect(result).toEqual([ + { + type: "base", + value: "value" + }, + { + type: "page_view", + url: "https://url", + value: "value" + }, + { + event: "event", + type: "action", + value: "value" + }, + { + event: "event", + type: "click_action", + value: "value" + }, + { + event: "event", + meta: "meta", + type: "custom_action", + value: "custom" + } + ]); + expect(result[0]).toBeInstanceOf(Event); + expect(result[1]).toBeInstanceOf(PageView); + expect(result[2]).toBeInstanceOf(Action); + expect(result[3]).toBeInstanceOf(Action); + expect(result[4]).toBeInstanceOf(CustomAction); + }); + }); + describe("when a JsonParameterStore is given", () => { + it("should deserialize data (string[])", () => { + class Test { + test(@QueryParams("test", String) input: string[]) {} + } + + const param = JsonParameterStore.get(Test, "test", 0); + + // WHEN + const result = deserialize(["test"], {store: param}); + + expect(result).toEqual(["test"]); + }); + }); +}); diff --git a/packages/specs/json-mapper/src/domain/JsonDeserializer.ts b/packages/specs/json-mapper/src/domain/JsonDeserializer.ts new file mode 100644 index 00000000000..9c354ad9693 --- /dev/null +++ b/packages/specs/json-mapper/src/domain/JsonDeserializer.ts @@ -0,0 +1,374 @@ +import {classOf, getValue, isArray, isClass, isCollection, isEmpty, isNil, isPrimitive, nameOf, objectKeys, Type} from "@tsed/core"; +import {getPropertiesStores, JsonClassStore, JsonEntityStore, JsonParameterStore, JsonPropertyStore} from "@tsed/schema"; +import {add} from "husky"; +import {alterAfterDeserialize} from "../hooks/alterAfterDeserialize"; +import {alterBeforeDeserialize} from "../hooks/alterBeforeDeserialize"; +import {alterOnDeserialize} from "../hooks/alterOnDeserialize"; +import {getObjectProperties} from "../utils/getObjectProperties"; +import {JsonDeserializerOptions} from "./JsonDeserializerOptions"; +import {CachedJsonMapper, JsonMapperCompiler} from "./JsonMapperCompiler"; +import {JsonMapperSettings} from "./JsonMapperSettings"; +import {getJsonMapperTypes} from "./JsonMapperTypesContainer"; +import {Writer} from "./Writer"; + +function isDeserializable(obj: any, options: JsonDeserializerOptions) { + if ((!!options.collectionType && isNil(obj)) || obj === undefined) { + return false; + } + + return !(isEmpty(options.type) || (options.type === Object && !options.collectionType)); +} + +function mapParamStoreOptions(store: JsonParameterStore, options: JsonDeserializerOptions) { + return { + ...options, + store: undefined, + type: store.itemSchema.hasDiscriminator ? store.itemSchema.discriminator().base : store.getBestType(), + collectionType: store.collectionType, + groups: store.parameter.groups, + // genericTypes: store.nestedGenerics[0], + generics: store.nestedGenerics + }; +} + +function getGenericIndex(propertyStore: JsonPropertyStore) { + return propertyStore.parent.schema.genericLabels.indexOf(propertyStore.itemSchema.genericType); +} + +export class JsonDeserializer extends JsonMapperCompiler { + /** + * Cached classes by his id + * @protected + */ + protected constructors: Record> = {}; + + constructor() { + super(); + + this.addGlobal("newInstanceOf", this.newInstanceOf.bind(this)); + this.addGlobal("alterBeforeDeserialize", this.alterBeforeDeserialize.bind(this)); + this.addGlobal("alterAfterDeserialize", this.alterAfterDeserialize.bind(this)); + + this.addTypeMapper(Object, this.mapObject.bind(this)); + this.addTypeMapper(Array, this.mapArray.bind(this)); + this.addTypeMapper(Map, this.mapMap.bind(this)); + this.addTypeMapper(Set, this.mapSet.bind(this)); + this.addTypeMapper("ObjectId", (value: any) => String(value)); + } + + map(input: any, options: JsonDeserializerOptions = {}): Model { + options = this.mapOptions(options); + + if (!isDeserializable(input, options)) { + return input; + } + + if (!options.collectionType && isArray(input)) { + options.collectionType = Array; + } + + const model = options.type || classOf(input); + + const mapper = this.compile(model, options.groups!); + + if (options.collectionType) { + const collectionMapper = this.compile(options.collectionType, options.groups!); + return collectionMapper.fn(input, {...options, id: mapper.id}); + } + + return mapper.fn(input, this.createContext(options)); + } + + compile(model: Type, groups: false | string[]): CachedJsonMapper { + if ([WeakMap, WeakSet].includes(model)) { + throw new Error(`${nameOf(model)} is not supported by JsonMapper.`); + } + + return super.compile(model, groups); + } + + eval( + mapper: string, + { + id, + groupsId, + model + }: { + id: string; + model: Type; + groupsId: string; + } + ): CachedJsonMapper { + this.constructors[id] = model; + + return super.eval(mapper, {id, groupsId, model}); + } + + protected newInstanceOf(id: string, obj: any, options: any) { + try { + return new this.constructors[id](options.disableUnsecureConstructor ? {} : obj); + } catch (er) { + return obj; + } + } + + protected createMapper(model: Type, id: string, groups: false | string[]): string { + const entity = JsonEntityStore.from(model); + const properties = new Set(); + const schemaProperties = [...getPropertiesStores(entity).values()]; + + const writer = new Writer().arrow("input", "options"); + + writer.if("isNil(input)").return("input"); + + if (entity.schema.hasDiscriminator) { + writer.add(this.mapDiscriminator(entity, groups)); + } + + // pre hook + if (entity.schema.$hooks?.has("beforeDeserialize")) { + this.schemes[id] = entity.schema; + writer.set("input", `alterBeforeDeserialize('${id}', input, options)`); + } + + // generics and options + writer.const("generics", "options.generics[0]"); + + if (entity.schema.genericLabels?.length) { + writer.set("options", "{...options, self: input, generics: [...options.generics].slice(1)}"); + } else { + writer.set("options", "{...options, self: input}"); + } + + writer.const("obj", `newInstanceOf('${id}', input, options)`); + + // properties + writer.add( + ...schemaProperties.flatMap((propertyStore) => { + const key = propertyStore.propertyName; + + properties.add(key as string); + properties.add(String(propertyStore.parent.schema.getAliasOf(key) || key)); + + if ( + propertyStore.isGetterOnly() || + (propertyStore.schema?.$hooks?.has("groups") && this.alterGroups(propertyStore.schema, groups)) + ) { + return; + } + + return this.mapProperty(propertyStore, id, groups); + }) + ); + + // additional properties + writer.add(this.mapAdditionalProperties(entity, properties, groups)); + + // post hook + if (entity.schema.$hooks?.has("afterDeserialize")) { + this.schemes[id] = entity.schema; + + return writer.return(`alterAfterDeserialize('${id}', obj, options)`).root().toString(); + } + + return writer.return("obj").root().toString(); + } + + protected alterValue(schemaId: string, value: any, options: JsonDeserializerOptions): any { + return alterOnDeserialize(this.schemes[schemaId], value, options as any); + } + + private mapDiscriminator(entity: JsonClassStore, groups: false | string[]) { + const writer = new Writer(); + const discriminator = entity.schema.discriminator(); + + const sw = writer.switch(`input['${discriminator.propertyName}']`); + + discriminator.values.forEach((value, kind) => { + const nestedMapper = this.compile(value, groups); + + sw.case(`'${kind}'`).returnCallMapper(nestedMapper.id, "input"); + }); + + return writer; + } + + private mapProperty(propertyStore: JsonPropertyStore, id: string, groups: false | string[]) { + const key = String(propertyStore.propertyKey); + const aliasKey: string = String(propertyStore.parent.schema.getAliasOf(key) || key); + const schemaId = this.getSchemaId(id, key); + const format = propertyStore.itemSchema.get("format"); + const formatOpts = format && `options: {format: '${format}'}`; + + let writer = new Writer().add(`// Map ${key} ${id} ${groups || ""}`); + const pick = key !== aliasKey ? `options.useAlias ? '${aliasKey}' : '${key}'` : `'${key}'`; + + const ifWriter = writer.set(`let ${key}`, `input[${pick}]`).if(`${key} !== undefined`); + + // pre hook + const hasDeserializer = propertyStore.schema?.$hooks?.has("onDeserialize"); + + if (hasDeserializer) { + this.schemes[schemaId] = propertyStore.schema; + const opts = Writer.options(formatOpts); + + ifWriter.set(key, `alterValue('${schemaId}', ${key}, ${opts})`); + } + + const fill = this.getPropertyFiller(propertyStore, id, groups, formatOpts); + + if (hasDeserializer) { + fill(ifWriter.if(`${key} === input.${key}`)); + } else { + fill(ifWriter); + } + + ifWriter.set(`obj.${key}`, key); + + if (groups && groups.includes("partial")) { + ifWriter.else().add(`delete obj.${key}`); + } + + return writer.root(); + } + + private getPropertyFiller(propertyStore: JsonPropertyStore, id: string, groups: false | string[], formatOpts: any) { + const key = String(propertyStore.propertyKey); + const schemaId = this.getSchemaId(id, key); + const generics = propertyStore.itemSchema.nestedGenerics; + const isGeneric = propertyStore.itemSchema.isGeneric && !generics?.length; + + if (isGeneric) { + const index = getGenericIndex(propertyStore); + const opts = Writer.options(formatOpts, `type: generics[${index}]`); + + return (writer: Writer) => writer.set(key, `compileAndMap(${key}, ${opts})`); + } + + const type = propertyStore.itemSchema.hasDiscriminator ? propertyStore.itemSchema.discriminator().base : propertyStore.getBestType(); + const nestedMapper = this.compile(type, groups); + + if (propertyStore.isCollection) { + return (writer: Writer) => writer.callMapper(nameOf(propertyStore.collectionType), key, `id: '${nestedMapper.id}'`, formatOpts); + } + + if (generics?.length) { + this.schemes[schemaId] = propertyStore.schema; + + return (writer: Writer) => writer.callMapper(nestedMapper.id, key, formatOpts, `generics: schemes['${schemaId}'].nestedGenerics`); + } + + return (writer: Writer) => writer.callMapper(nestedMapper.id, key, formatOpts); + } + + private mapOptions({groups = false, useAlias = true, types, ...options}: JsonDeserializerOptions): JsonDeserializerOptions { + if (options.store instanceof JsonParameterStore) { + return this.mapOptions(mapParamStoreOptions(options.store, options)); + } + + const customMappers: Record = {}; + types = types || getJsonMapperTypes(); + + types.forEach((mapper, model) => { + if (![Array, Set, Map].includes(model as any)) { + const typeName = nameOf(model); + + if (nameOf(model) in mapper) { + this.addTypeMapper(model as any, (mapper as any)[typeName].bind(mapper)); + } else { + this.addTypeMapper(model as any, (value: any, options: any) => + mapper.deserialize(value, { + ...options, + type: model + }) + ); + } + } + }); + + return { + ...options, + additionalProperties: getValue(options, "additionalProperties", JsonMapperSettings.additionalProperties), + disableUnsecureConstructor: getValue(options, "disableUnsecureConstructor", JsonMapperSettings.disableUnsecureConstructor), + groups, + useAlias, + customMappers, + generics: options.generics || [] + }; + } + + private mapAdditionalProperties(entity: JsonClassStore, properties: Set, groups: string[] | false) { + const additionalProperties = entity.schema.get("additionalProperties"); + + const exclude = [...properties.values()].map((key) => `'${key}'`).join(", "); + const writer = new Writer(); + + writer.add("// add additional properties"); + let each = writer.each("objectKeys(input)", ["key"]); + + if (exclude.length) { + each = each.if(`![${exclude}].includes(key)`); + } + + if (isClass(additionalProperties)) { + const nestedMapper = this.compile(additionalProperties.getComputedType(), groups); + + each.set("obj[key]", Writer.mapper(nestedMapper.id, "input[key]", "options")); + + return writer; + } + + if (additionalProperties) { + each.set("obj[key]", "input[key]"); + + return writer; + } + + // dynamic additional properties options + each.if(`options.additionalProperties`).set("obj[key]", "input[key]"); + + return writer; + } + + private mapObject(input: any, options: JsonDeserializerOptions) { + return input; + } + + private mapSet(input: any, options: JsonDeserializerOptions): Set { + const obj = new Set(); + + objectKeys(input).forEach((key) => { + obj.add(this.mapItem(input[key], options)); + }); + + return obj; + } + + private mapArray(input: any, options: JsonDeserializerOptions) { + return [].concat(input).map((item: any) => { + return this.mapItem(item, options); + }); + } + + private mapMap(input: any, options: JsonDeserializerOptions): Map { + const obj = new Map(); + + objectKeys(input).forEach((key) => { + obj.set(key, this.mapItem(input[key], options)); + }); + + return obj; + } + + private mapItem(input: any, {id, ...options}: JsonDeserializerOptions) { + return this.execMapper(id, input, options); + } + + private alterBeforeDeserialize(schemaId: string, value: any, options: JsonDeserializerOptions): any { + return alterBeforeDeserialize(value, this.schemes[schemaId], options); + } + + private alterAfterDeserialize(schemaId: string, value: any, options: JsonDeserializerOptions): any { + return alterAfterDeserialize(value, this.schemes[schemaId], options); + } +} diff --git a/packages/specs/json-mapper/src/domain/JsonDeserializerOptions.ts b/packages/specs/json-mapper/src/domain/JsonDeserializerOptions.ts new file mode 100644 index 00000000000..5535cc5752a --- /dev/null +++ b/packages/specs/json-mapper/src/domain/JsonDeserializerOptions.ts @@ -0,0 +1,33 @@ +import {MetadataTypes, Type} from "@tsed/core"; +import {JsonEntityStore} from "@tsed/schema"; +import {JsonMapperMethods} from "../interfaces/JsonMapperMethods"; + +export interface JsonDeserializerOptions extends MetadataTypes { + /** + * Types used to map complex types (Symbol, Array, Set, Map) + */ + types?: Map | Symbol | string, JsonMapperMethods>; + /** + * useAlias mapping + */ + useAlias?: boolean; + /** + * Accept additionalProperties or ignore it + */ + additionalProperties?: boolean; + /** + * + */ + disableUnsecureConstructor?: boolean; + /** + * Use the store which have all metadata to deserialize correctly the model. This + * property is useful when you deal with metadata parameters. + */ + store?: JsonEntityStore; + /** + * + */ + groups?: string[] | false; + + [key: string]: any; +} diff --git a/packages/specs/json-mapper/src/domain/JsonMapperContext.ts b/packages/specs/json-mapper/src/domain/JsonMapperContext.ts deleted file mode 100644 index 90c17734057..00000000000 --- a/packages/specs/json-mapper/src/domain/JsonMapperContext.ts +++ /dev/null @@ -1,32 +0,0 @@ -import {isCollection, Type} from "@tsed/core"; -import {JsonMapperCtx} from "../interfaces/JsonMapperMethods"; -/** - * @ignore - */ -export interface JsonMapperContextProps extends Partial> { - next: (data: any, options: any) => void; - options: any; -} -/** - * @ignore - */ -export class JsonMapperContext implements JsonMapperCtx { - readonly collectionType: Type | undefined; - readonly type: Type | any; - readonly options: any; - private _next: (data: any, options: any) => void; - - constructor({type, collectionType, next, options}: JsonMapperContextProps) { - this.type = type; - this.collectionType = isCollection(collectionType) ? collectionType : undefined; - this._next = next; - this.options = options; - } - - next(data: any) { - return this._next(data, { - ...this.options, - type: this.type - }); - } -} diff --git a/packages/specs/json-mapper/src/domain/Writer.ts b/packages/specs/json-mapper/src/domain/Writer.ts index 8d65d8dcaa6..7c7129dab1a 100644 --- a/packages/specs/json-mapper/src/domain/Writer.ts +++ b/packages/specs/json-mapper/src/domain/Writer.ts @@ -60,6 +60,10 @@ export class Writer { return this.set(key, Writer.mapper(id, key, Writer.options(...options))); } + returnCallMapper(id: string, key: string, ...options: string[]) { + return this.return(Writer.mapper(id, key, Writer.options(...options))); + } + const(name: string, line: string) { this.add(`const ${name} = ${line};`); return this; @@ -81,6 +85,14 @@ export class Writer { return writer; } + switch(input: string) { + const sw = new SwitchWriter(input); + + this.add(sw); + + return sw; + } + indent(indent: boolean) { this._indent = indent; return this; @@ -138,3 +150,29 @@ class IfWriter extends Writer { ].flat(); } } + +class SwitchWriter extends Writer { + #map = new Map(); + + constructor(private input: string) { + super(); + } + + case(condition: string) { + const writer = new Writer(); + this.#map.set(condition, writer); + return writer; + } + + build() { + return [ + `switch (${this.input}) {`, + ...Writer.indent( + Array.from(this.#map.entries()).flatMap(([condition, writer]) => { + return [condition === "default" ? `${condition}:` : `case ${condition}:`, ...Writer.indent(writer.build())]; + }) + ), + "}" + ].flat(); + } +} diff --git a/packages/specs/json-mapper/src/hooks/alterOnDeserialize.ts b/packages/specs/json-mapper/src/hooks/alterOnDeserialize.ts new file mode 100644 index 00000000000..5389118261d --- /dev/null +++ b/packages/specs/json-mapper/src/hooks/alterOnDeserialize.ts @@ -0,0 +1,5 @@ +import {JsonHookContext, JsonSchema} from "@tsed/schema"; + +export function alterOnDeserialize(schema: JsonSchema, value: any, options: JsonHookContext) { + return schema.$hooks.alter("onDeserialize", value, [options]); +} diff --git a/packages/specs/json-mapper/src/index.ts b/packages/specs/json-mapper/src/index.ts index a4385ca9c6d..835c38c1a92 100644 --- a/packages/specs/json-mapper/src/index.ts +++ b/packages/specs/json-mapper/src/index.ts @@ -2,19 +2,17 @@ * @file Automatically generated by barrelsby. */ -export * from "./components/ArrayMapper"; export * from "./components/DateMapper"; -export * from "./components/MapMapper"; export * from "./components/PrimitiveMapper"; -export * from "./components/SetMapper"; export * from "./components/SymbolMapper"; export * from "./decorators/afterDeserialize"; export * from "./decorators/beforeDeserialize"; export * from "./decorators/jsonMapper"; export * from "./decorators/onDeserialize"; export * from "./decorators/onSerialize"; +export * from "./domain/JsonDeserializer"; +export * from "./domain/JsonDeserializerOptions"; export * from "./domain/JsonMapperCompiler"; -export * from "./domain/JsonMapperContext"; export * from "./domain/JsonMapperSettings"; export * from "./domain/JsonMapperTypesContainer"; export * from "./domain/JsonSerializer"; @@ -22,6 +20,7 @@ export * from "./domain/JsonSerializerOptions"; export * from "./domain/Writer"; export * from "./hooks/alterAfterDeserialize"; export * from "./hooks/alterBeforeDeserialize"; +export * from "./hooks/alterOnDeserialize"; export * from "./hooks/alterOnSerialize"; export * from "./interfaces/JsonMapperMethods"; export * from "./utils/deserialize"; diff --git a/packages/specs/json-mapper/src/utils/deserialize.spec.ts b/packages/specs/json-mapper/src/utils/deserialize.spec.ts index 4d8ec91a615..9ff4cc45424 100644 --- a/packages/specs/json-mapper/src/utils/deserialize.spec.ts +++ b/packages/specs/json-mapper/src/utils/deserialize.spec.ts @@ -1,46 +1,4 @@ -import faker from "@faker-js/faker"; -import {QueryParams} from "@tsed/common"; -import { - AdditionalProperties, - CollectionOf, - Email, - Enum, - GenericOf, - Generics, - Groups, - Ignore, - In, - JsonEntityStore, - JsonHookContext, - JsonParameterStore, - MinLength, - Name, - Nullable, - OperationPath, - Property, - Required -} from "@tsed/schema"; -import {Post} from "../../test/helpers/Post"; -import {User} from "../../test/helpers/User"; -import {OnDeserialize} from "../decorators/onDeserialize"; -import {deserialize, plainObjectToClass} from "./deserialize"; - -function mapToObject(value: any): any { - expect(value).toBeInstanceOf(Map); - - return Array.from(value.entries()).reduce((obj: any, [key, value]) => { - return { - ...obj, - [key]: value - }; - }, {}); -} - -function setToObject(value: any): any { - expect(value).toBeInstanceOf(Set); - - return Array.from(value.values()); -} +import {deserialize} from "./deserialize"; describe("deserialize()", () => { describe("Primitive", () => { @@ -72,726 +30,4 @@ describe("deserialize()", () => { expect(deserialize(["1"], {type: String})).toEqual(["1"]); }); }); - describe("BigInt", () => { - it("should deserialize a big int", () => { - expect(deserialize(1n, {type: BigInt})).toEqual(BigInt(1n)); - expect(deserialize(null, {type: BigInt})).toEqual(null); - }); - }); - describe("Array", () => { - it("should transform value", () => { - const options = {type: String, collectionType: Array}; - expect(deserialize(null, options)).toEqual(null); - expect(deserialize(undefined, options)).toBeUndefined(); - expect(deserialize(false, options)).toEqual(["false"]); - expect(deserialize(true, options)).toEqual(["true"]); - expect(deserialize(0, options)).toEqual(["0"]); - expect(deserialize(1, options)).toEqual(["1"]); - expect(deserialize("", options)).toEqual([""]); - expect(deserialize("1", options)).toEqual(["1"]); - }); - it("should cast object to array", () => { - expect( - deserialize( - {}, - { - collectionType: Array, - type: Object - } - ) - ).toEqual([{}]); - }); - it("should deserialize with custom options", () => { - const types = new Map(); - types.set(Map, { - deserialize(obj: any, options: any) { - options.next("1", options); - - return "hello"; - } - }); - expect( - deserialize( - {test: "hello"}, - { - types, - type: Map - } - ) - ).toEqual("hello"); - }); - }); - describe("Object", () => { - it("should transform value", () => { - expect(deserialize({test: "test"}, {type: Object})).toEqual({test: "test"}); - expect(deserialize({test: "test"}, {type: undefined})).toEqual({test: "test"}); - expect(deserialize({test: "test"}, {type: null})).toEqual({test: "test"}); - expect(deserialize({test: "test"}, {type: false})).toEqual({test: "test"}); - }); - }); - describe("Map", () => { - it("should transform value", () => { - const options = {type: String, collectionType: Map}; - expect(deserialize(null, options)).toEqual(null); - expect(deserialize(undefined, options)).toBeUndefined(); - expect(mapToObject(deserialize(false, options))).toEqual({}); - expect(mapToObject(deserialize(true, options))).toEqual({}); - expect(mapToObject(deserialize({test: 1}, options))).toEqual({ - test: "1" - }); - }); - }); - describe("Set", () => { - it("should transform value", () => { - const options = {type: String, collectionType: Set}; - expect(deserialize(null, options)).toEqual(null); - expect(deserialize(undefined, options)).toBeUndefined(); - expect(setToObject(deserialize(false, options))).toEqual([]); - expect(setToObject(deserialize(true, options))).toEqual([]); - expect(setToObject(deserialize([1], options))).toEqual(["1"]); - }); - }); - describe("Unsupported collection", () => { - it("should transform value", () => { - const options = {type: String, collectionType: WeakMap}; - - let actualError: any; - try { - deserialize([], options); - } catch (er) { - actualError = er; - } - - expect(actualError.message).toEqual("WeakMap is not supported by JsonMapper."); - }); - }); - describe("Model", () => { - it("should do nothing when a prop is undefined", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Model { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnDeserialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @CollectionOf(Role) - roles: Map = new Map(); - } - - const result = deserialize( - { - id: "id", - password: "string", - mapped_prop: "mappedProp", - roles: undefined, - add: true - }, - {type: Model, additionalProperties: false} - ); - - expect(result).toBeInstanceOf(Model); - expect(result).toEqual({ - id: "id", - mappedProp: "mappedProptest", - password: "string", - roles: new Map() - }); - }); - it("should do nothing when a prop is ArrayOf Number", () => { - class Model { - @CollectionOf(Number) - prop: number[] = []; - } - - const result = deserialize( - { - prop: ["1", "2", "3", "5"] - }, - {type: Model, additionalProperties: false} - ); - - expect(result).toBeInstanceOf(Model); - expect(result).toEqual({ - prop: [1, 2, 3, 5] - }); - }); - it("should do nothing when a prop is ArrayOf enum as number", () => { - enum TestEnum { - TEST = 1, - TEST2 = 2 - } - - class Model { - @Enum(TestEnum) - @CollectionOf(Number) - prop: TestEnum[] = []; - } - - const result = deserialize( - { - prop: ["1", "2", "3", "5"] - }, - {type: Model, additionalProperties: false} - ); - - expect(result).toBeInstanceOf(Model); - expect(result).toEqual({ - prop: [1, 2, 3, 5] - }); - }); - it("should transform object to class (additionalProperties = false)", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Model { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnDeserialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @CollectionOf(Role) - roles: Map = new Map(); - } - - const result = deserialize( - { - id: "id", - password: "string", - mapped_prop: "mappedProp", - roles: { - role1: { - label: "role" - } - }, - add: true - }, - {type: Model, additionalProperties: false} - ); - - expect(result).toBeInstanceOf(Model); - expect(result).toEqual({ - id: "id", - mappedProp: "mappedProptest", - password: "string", - roles: new Map().set("role1", new Role({label: "role"})) - }); - }); - it("should transform object to class (additionalProperties = true)", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Model { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnDeserialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @CollectionOf(Role) - roles: Map = new Map(); - } - - const result = deserialize( - { - id: "id", - password: "string", - mapped_prop: "mappedProp", - roles: { - role1: { - label: "role" - } - }, - add: true - }, - {type: Model, additionalProperties: true} - ); - - expect(result).toBeInstanceOf(Model); - expect(result).toEqual({ - id: "id", - mappedProp: "mappedProptest", - password: "string", - roles: new Map().set("role1", new Role({label: "role"})), - add: true - }); - }); - it("should transform object to class (additionalProperties = true, with group)", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - @AdditionalProperties(true) - class Model { - @Property() - id: string; - - @Groups("!update") - password: string; - } - - const result = deserialize( - { - id: "id", - password: "string" - }, - {type: Model, groups: ["update"]} - ); - - expect(result).toBeInstanceOf(Model); - expect(result).toEqual({id: "id"}); - }); - it("should transform object to class (additionalProperties = model)", () => { - class SubModel { - @Property() - id: string; - } - - @AdditionalProperties(SubModel) - class Model { - [key: string]: SubModel; - } - - class Container { - @CollectionOf(Model) - list: Model[]; - } - - const result = deserialize({test: {id: "1"}}, {type: Model}); - - expect(result).toEqual({ - test: { - id: "1" - } - }); - expect(result.test).toBeInstanceOf(SubModel); - expect(result.test.id).toEqual("1"); - - const result2 = deserialize( - { - list: [{test: {id: "1"}}] - }, - {type: Container} - ); - - expect(result2).toBeInstanceOf(Container); - expect(result2.list).toBeInstanceOf(Array); - expect(result2.list[0].test).toBeInstanceOf(SubModel); - expect(result2.list[0].test.id).toEqual("1"); - }); - - it("should transform object to class (inherited class)", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Base { - @CollectionOf(Role) - roles: Map = new Map(); - } - - class Model extends Base { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnDeserialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @OnDeserialize((b) => b.filter((v: string) => v === "test")) - list: string[]; - } - - const result = deserialize( - { - id: "id", - password: "string", - mapped_prop: "mappedProp", - roles: { - role1: { - label: "role" - } - }, - add: true, - list: ["test", "value"] - }, - {type: Model} - ); - - expect(result).toBeInstanceOf(Model); - expect(result).toEqual({ - id: "id", - mappedProp: "mappedProptest", - password: "string", - roles: new Map().set("role1", new Role({label: "role"})), - list: ["test"] - }); - }); - it("should transform object to class (recursive class)", () => { - const result = deserialize( - { - id: "id", - owner: { - name: "name", - posts: [ - { - id: "id" - } - ] - } - }, - {type: Post} - ); - - expect(result).toBeInstanceOf(Post); - expect(result.owner).toBeInstanceOf(User); - expect(result.owner.posts[0]).toBeInstanceOf(Post); - expect(result).toEqual({ - id: "id", - owner: { - name: "name", - posts: [ - { - id: "id" - } - ] - } - }); - }); - it("should transform object to class (date/nullable)", () => { - class Product { - @Nullable(Date) - updated: Date | null; - } - - const product = { - updated: faker.date.past().toISOString() - }; - - const result = deserialize(product, {type: Product}); - - expect(result).toBeInstanceOf(Product); - expect(result.updated).toBeInstanceOf(Date); - }); - it("should transform object to class (with null values on props)", () => { - class NullModel { - @Property() - prop1: string; - - @Property() - prop2: number; - - @Property() - prop3: Date; - } - - const result = deserialize( - { - prop1: null, - prop2: null, - prop3: null - }, - {type: NullModel} - ); - - expect(result).toBeInstanceOf(NullModel); - expect(result).toEqual({ - prop1: null, - prop2: null, - prop3: null - }); - }); - }); - describe("Array", () => { - it("should transform object to class (additionalProperties = false)", () => { - class Role { - @Property() - label: string; - - constructor({label}: any = {}) { - this.label = label; - } - } - - class Model { - @Property() - id: string; - - @Ignore((ignored, ctx: JsonHookContext) => ctx.api) - password: string; - - @OnDeserialize((value) => String(value) + "test") - @Name("mapped_prop") - mappedProp: string; - - @CollectionOf(Role) - roles: Map = new Map(); - } - - const result = deserialize( - [ - { - id: "id", - password: "string", - mapped_prop: "mappedProp", - roles: { - role1: { - label: "role" - } - }, - add: true - } - ], - {type: Model, collectionType: Array, additionalProperties: false} - ); - - expect(result[0]).toBeInstanceOf(Model); - expect(result).toEqual([ - { - id: "id", - mappedProp: "mappedProptest", - password: "string", - roles: new Map().set("role1", new Role({label: "role"})) - } - ]); - }); - it("should transform object to class (array parameter)", () => { - // WHEN - class Product { - @Property() - title: string; - } - - class Controller { - @OperationPath("POST", "/") - method(@In("body") @CollectionOf(Product) products: Product[]) { - return null; - } - } - - // THEN - const result = deserialize( - [ - { - title: "title" - } - ], - { - store: JsonEntityStore.from(Controller, "method", 0) - } - ); - - expect(result[0]).toBeInstanceOf(Product); - expect(result).toEqual([ - { - title: "title" - } - ]); - }); - }); - describe("Generics", () => { - it("should transform object to class (generics parameter)", () => { - // WHEN - @Generics("T") - class Submission { - @Property() - _id: string; - - @Property("T") - data: T; - } - - class Product { - @Property() - title: string; - } - - class Article { - @Property() - id: string; - } - - class Controller { - @OperationPath("POST", "/") - method(@In("body") @GenericOf(Product) product: Submission) { - return null; - } - } - - class Controller2 { - @OperationPath("POST", "/") - method(@In("body") @GenericOf(Article) product: Submission
) { - return null; - } - } - - // THEN - const result = deserialize( - { - _id: "id", - data: { - title: "title" - } - }, - { - store: JsonEntityStore.from(Controller, "method", 0) - } - ); - - expect(result).toBeInstanceOf(Submission); - expect(result.data).toBeInstanceOf(Product); - expect(result).toEqual({ - _id: "id", - data: { - title: "title" - } - }); - - const result2 = deserialize( - { - _id: "id", - data: { - id: "id" - } - }, - { - store: JsonEntityStore.from(Controller2, "method", 0) - } - ); - - expect(result2).toBeInstanceOf(Submission); - expect(result2.data).toBeInstanceOf(Article); - expect(result2).toEqual({ - _id: "id", - data: { - id: "id" - } - }); - }); - it("should transform object to class (generics property)", () => { - @Generics("T") - class Base { - @Property() - id: string; - - @Required() - @Email() - email: string; - - @Property("T") - role: T; - } - - class Model extends Base { - @MinLength(0) - declare email: string; - - @Property() - name: string; - } - - class Role { - @Property() - level: string; - } - - class Content { - @GenericOf(Role) - payload: Model; - } - - const result = deserialize( - { - payload: { - email: "email", - name: "name", - id: "id", - role: { - level: "level" - } - } - }, - {store: JsonEntityStore.from(Content)} - ); - - expect(result).toBeInstanceOf(Content); - expect(result.payload).toBeInstanceOf(Model); - expect(result.payload.role).toBeInstanceOf(Role); - expect(result).toEqual({ - payload: { - email: "email", - id: "id", - name: "name", - role: { - level: "level" - } - } - }); - }); - }); - describe("plainObjectToClass", () => { - it("should return undefined", () => { - expect(plainObjectToClass(undefined, {})).toBeUndefined(); - }); - }); - describe("when a JsonParameterStore is given", () => { - it("should deserialize data (string[])", () => { - class Test { - test(@QueryParams("test", String) input: string[]) {} - } - - const param = JsonParameterStore.get(Test, "test", 0); - - // WHEN - const result = deserialize(["test"], {store: param}); - - expect(result).toEqual(["test"]); - }); - }); }); diff --git a/packages/specs/json-mapper/src/utils/deserialize.ts b/packages/specs/json-mapper/src/utils/deserialize.ts index 6d450009f2a..4884422039f 100644 --- a/packages/specs/json-mapper/src/utils/deserialize.ts +++ b/packages/specs/json-mapper/src/utils/deserialize.ts @@ -1,292 +1,12 @@ -import {getValue, isArray, isBoolean, isClass, isEmpty, isNil, MetadataTypes, nameOf, objectKeys, Type} from "@tsed/core"; -import { - alterIgnore, - Discriminator, - getProperties, - JsonEntityStore, - JsonHookContext, - JsonParameterStore, - JsonPropertyStore, - JsonSchema -} from "@tsed/schema"; -import "../components/ArrayMapper"; import "../components/DateMapper"; -import "../components/MapMapper"; import "../components/PrimitiveMapper"; -import "../components/SetMapper"; import "../components/SymbolMapper"; -import {JsonMapperContext} from "../domain/JsonMapperContext"; -import {JsonMapperSettings} from "../domain/JsonMapperSettings"; -import {getJsonMapperTypes} from "../domain/JsonMapperTypesContainer"; -import {alterAfterDeserialize} from "../hooks/alterAfterDeserialize"; -import {alterBeforeDeserialize} from "../hooks/alterBeforeDeserialize"; -import {JsonMapperMethods} from "../interfaces/JsonMapperMethods"; -export interface JsonDeserializerOptions extends MetadataTypes { - /** - * Types used to map complex types (Symbol, Array, Set, Map) - */ - types?: WeakMap, JsonMapperMethods>; - /** - * useAlias mapping - */ - useAlias?: boolean; - /** - * Accept additionalProperties or ignore it - */ - additionalProperties?: boolean; - /** - * - */ - disableUnsecureConstructor?: boolean; - /** - * Use the store which have all metadata to deserialize correctly the model. This - * property is useful when you deal with metadata parameters. - */ - store?: JsonEntityStore; - /** - * - */ - groups?: string[] | false; +import {JsonDeserializer} from "../domain/JsonDeserializer"; +import {JsonDeserializerOptions} from "../domain/JsonDeserializerOptions"; - [key: string]: any; -} - -function isDeserializable(obj: any, options: JsonDeserializerOptions) { - if ((!!options.collectionType && isNil(obj)) || obj === undefined) { - return false; - } - - return !(isEmpty(options.type) || (options.type === Object && !options.collectionType)); -} - -function alterValue(schema: JsonSchema, value: any, options: JsonHookContext) { - return schema.$hooks.alter("onDeserialize", value, [options]); -} - -function transformCollection(src: any, options: JsonDeserializerOptions): T { - const {types, type = Object, collectionType} = options; - - const context = new JsonMapperContext({ - type, - collectionType, - options, - next: (data, {collectionType, ...options}) => deserialize(data, options) - }); - - return types?.get(options.collectionType)?.deserialize(src, context); -} - -function transformType(src: any, options: JsonDeserializerOptions): T { - const {types, type = Object} = options; - - const context = new JsonMapperContext({ - type, - options, - next: (data, {type, ...options}) => deserialize(data, options) - }); - - return types?.get(type)?.deserialize(src, context); -} - -function getAdditionalProperties( - nbProps: number, - store: JsonEntityStore, - options: JsonDeserializerOptions -): boolean | JsonSchema { - const additionalProperties = store.schema.get("additionalProperties"); - - if (isBoolean(additionalProperties) || isClass(additionalProperties)) { - return additionalProperties; - } - - return nbProps === 0 || !!options.additionalProperties; -} - -/** - * Transform given plain object to class. - * @param src - * @param options - */ -export function plainObjectToClass(src: any, options: JsonDeserializerOptions): T { - if (isEmpty(src)) { - return src; - } - - const {type, store = JsonEntityStore.from(type)} = options; - - const propertiesMap = getProperties(store, {...options, withIgnoredProps: true}); - - let keys = new Set(objectKeys(src)); - - const additionalProperties = getAdditionalProperties(propertiesMap.size, store, options); - src = alterBeforeDeserialize(src, store.schema, options); - - const out: any = new type(options.disableUnsecureConstructor ? {} : src); - - propertiesMap.forEach((propStore) => { - const key = options.useAlias - ? propStore.parent.schema.getAliasOf(propStore.propertyName) || propStore.propertyName - : propStore.propertyName; - - keys.delete(key); - - if (alterIgnore(propStore.schema, options)) { - return; - } - - let value = alterValue(propStore.schema, src[key], {...options, self: src}); - - value = - value === src[key] - ? deserialize(value, { - ...options, - store: propStore, - format: propStore.itemSchema.get("format"), - self: src, - collectionType: propStore.collectionType - }) - : value; - - if (!propStore.isGetterOnly()) { - if (value !== undefined) { - out[propStore.propertyName] = value; - } else if (options.partial) { - delete out[propStore.propertyName]; - } - } - }); - - if (additionalProperties) { - if (isBoolean(additionalProperties)) { - keys.forEach((key) => { - out[key] = src[key]; - }); - } else { - const type = additionalProperties.getComputedType(); - keys.forEach((key) => { - out[key] = deserialize(src[key], { - ...options, - type - }); - }); - } - } - - return alterAfterDeserialize(out, store.schema, options); -} - -function mapPropStoreOptions(store: JsonPropertyStore, options: JsonDeserializerOptions) { - const itemOpts: JsonDeserializerOptions = { - ...options, - store: undefined, - type: store.computedType - }; - - if (store.itemSchema.isDiscriminator) { - itemOpts.type = store.itemSchema.discriminator(); - } - - if (store.schema.hasGenerics) { - itemOpts.nestedGenerics = store.schema.nestedGenerics; - } else if (store.schema.isGeneric && options.nestedGenerics) { - const [genericTypes = [], ...nestedGenerics] = options.nestedGenerics; - const genericLabels = store.parent.schema.genericLabels || []; - - itemOpts.type = genericTypes[genericLabels.indexOf(store.schema.genericType)] || Object; - - if (itemOpts.type instanceof JsonSchema) { - itemOpts.type = itemOpts.type.getTarget(); - } - - itemOpts.nestedGenerics = nestedGenerics; - } - - return itemOpts; -} - -function mapParamStoreOptions(store: JsonParameterStore, options: JsonDeserializerOptions) { - return { - ...options, - store: undefined, - type: store.getBestType(), - collectionType: store.collectionType, - groups: store.parameter.groups, - genericTypes: store.nestedGenerics[0], - nestedGenerics: store.nestedGenerics - }; -} - -function buildOptions(options: JsonDeserializerOptions): any { - if (options.store instanceof JsonPropertyStore) { - return buildOptions(mapPropStoreOptions(options.store, options)); - } - - if (options.store instanceof JsonParameterStore) { - return buildOptions(mapParamStoreOptions(options.store, options)); - } - - if (options.store instanceof JsonEntityStore) { - options.type = options.store.computedType; - options.collectionType = options.store.collectionType; - options.store = undefined; - } else if (isClass(options.type)) { - const store = JsonEntityStore.from(options.type); - - if (store.schema.isDiscriminator) { - options.type = JsonEntityStore.from(options.type).schema.discriminator(); - } - } - - return { - groups: false, - useAlias: true, - ...options, - additionalProperties: getValue(options, "additionalProperties", JsonMapperSettings.additionalProperties), - disableUnsecureConstructor: getValue(options, "disableUnsecureConstructor", JsonMapperSettings.disableUnsecureConstructor), - partial: options.groups ? options.groups.includes("partial") : false, - type: options.type ? options.type : undefined, - types: options.types ? options.types : getJsonMapperTypes() - }; -} - -/** - * Transform given source to class base on the given `options.type`. - * - * @param src - * @param options - */ -export function deserialize(src: any, options: JsonDeserializerOptions = {}): T { - options = buildOptions(options); - - if (!isDeserializable(src, options)) { - return src; - } - - if (!options.collectionType && isArray(src)) { - options.collectionType = Array; - } - - if (options.collectionType) { - if (!options.types?.has(options.collectionType)) { - throw new Error(`${nameOf(options.collectionType)} is not supported by JsonMapper.`); - } - - return transformCollection(src, options); - } - - if (options.types?.has(options.type)) { - return transformType(src, options); - } - - if (options.type instanceof Discriminator) { - const discriminator = options.type; - const discriminatorValue = src[discriminator.propertyName]; - const type = discriminator.getType(discriminatorValue); - - return plainObjectToClass(src, {...options, type}); - } +const deserializer = new JsonDeserializer(); - // class converter - return plainObjectToClass(src, options); +export function deserialize(input: any, options?: JsonDeserializerOptions): Model { + return deserializer.map(input, options); } diff --git a/packages/specs/json-mapper/src/utils/serialize.spec.ts b/packages/specs/json-mapper/src/utils/serialize.spec.ts index 4fc3a2d63e7..b996b11cfa9 100644 --- a/packages/specs/json-mapper/src/utils/serialize.spec.ts +++ b/packages/specs/json-mapper/src/utils/serialize.spec.ts @@ -1,4 +1,3 @@ -import "../components/ArrayMapper"; import "../components/PrimitiveMapper"; import {serialize} from "./serialize"; diff --git a/packages/specs/json-mapper/test/helpers/Post.ts b/packages/specs/json-mapper/test/helpers/Post.ts index be694c3c360..118e45496d7 100644 --- a/packages/specs/json-mapper/test/helpers/Post.ts +++ b/packages/specs/json-mapper/test/helpers/Post.ts @@ -1,6 +1,5 @@ import {Property} from "@tsed/schema"; import {User} from "./User"; - export class Post { @Property() id: string; diff --git a/packages/specs/json-mapper/test/integration/__snapshots__/generics.integration.spec.ts.snap b/packages/specs/json-mapper/test/integration/__snapshots__/generics.integration.spec.ts.snap new file mode 100644 index 00000000000..8a6be79e40b --- /dev/null +++ b/packages/specs/json-mapper/test/integration/__snapshots__/generics.integration.spec.ts.snap @@ -0,0 +1,9 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Generics using Functional api should transform date from generic object 1`] = ` +Adjustment { + "adjustment": UserProperty { + "value": "2019-01-01T12:45:57.111Z", + }, +} +`; diff --git a/packages/specs/json-mapper/test/integration/generics.integration.spec.ts b/packages/specs/json-mapper/test/integration/generics.integration.spec.ts index 64b1a06327f..5585dfecc44 100644 --- a/packages/specs/json-mapper/test/integration/generics.integration.spec.ts +++ b/packages/specs/json-mapper/test/integration/generics.integration.spec.ts @@ -113,11 +113,7 @@ describe("Generics", () => { } ); - expect(result).toEqual({ - adjustment: { - value: new Date("2019-01-01T12:45:57.111Z") - } - }); + expect(result).toMatchSnapshot(); }); }); describe("using type", () => { From 40bfbe109102778216c85f218ad7f79b5e3706d6 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 6 Sep 2023 11:57:29 +0000 Subject: [PATCH 19/30] Github CI build: __run_2 v7.35.0-beta.4 [ci skip] --- lerna.json | 2 +- package.json | 2 +- packages/core/package.json | 6 ++-- packages/di/package.json | 14 ++++---- packages/engines/package.json | 6 ++-- packages/graphql/apollo/package.json | 18 +++++------ packages/graphql/typegraphql/package.json | 12 +++---- packages/orm/adapters-redis/package.json | 20 ++++++------ packages/orm/adapters/package.json | 30 ++++++++--------- packages/orm/ioredis/package.json | 14 ++++---- packages/orm/mikro-orm/package.json | 24 +++++++------- packages/orm/mongoose/package.json | 26 +++++++-------- packages/orm/objection/package.json | 26 +++++++-------- packages/orm/prisma/package.json | 22 ++++++------- packages/orm/testing-mongoose/package.json | 18 +++++------ packages/orm/typeorm/package.json | 22 ++++++------- packages/perf/package.json | 8 ++--- packages/platform/common/package.json | 32 +++++++++---------- packages/platform/platform-cache/package.json | 22 ++++++------- .../platform/platform-exceptions/package.json | 22 ++++++------- .../platform/platform-express/package.json | 30 ++++++++--------- packages/platform/platform-koa/package.json | 26 +++++++-------- .../platform-log-middleware/package.json | 18 +++++------ .../platform-middlewares/package.json | 18 +++++------ .../platform/platform-params/package.json | 26 +++++++-------- .../platform-response-filter/package.json | 26 +++++++-------- .../platform/platform-router/package.json | 30 ++++++++--------- .../platform-serverless-http/package.json | 26 +++++++-------- .../platform-serverless-testing/package.json | 26 +++++++-------- .../platform/platform-serverless/package.json | 22 ++++++------- .../platform/platform-test-sdk/package.json | 28 ++++++++-------- packages/platform/platform-views/package.json | 28 ++++++++-------- packages/security/jwks/package.json | 6 ++-- .../package.json | 18 +++++------ packages/security/oidc-provider/package.json | 30 ++++++++--------- packages/security/passport/package.json | 16 +++++----- packages/specs/ajv/package.json | 22 ++++++------- packages/specs/exceptions/package.json | 8 ++--- packages/specs/json-mapper/package.json | 14 ++++---- packages/specs/openspec/package.json | 6 ++-- packages/specs/schema/package.json | 16 +++++----- packages/specs/swagger/package.json | 24 +++++++------- packages/third-parties/agenda/package.json | 12 +++---- .../components-scan/package.json | 12 +++---- .../third-parties/event-emitter/package.json | 12 +++---- .../third-parties/formio-types/package.json | 6 ++-- packages/third-parties/formio/package.json | 20 ++++++------ .../third-parties/schema-formio/package.json | 20 ++++++------ .../socketio-testing/package.json | 16 +++++----- packages/third-parties/socketio/package.json | 30 ++++++++--------- packages/third-parties/stripe/package.json | 26 +++++++-------- packages/third-parties/terminus/package.json | 22 ++++++------- .../vite-ssr-plugin/package.json | 16 +++++----- packages/utils/normalize-path/package.json | 6 ++-- tools/eslint/package.json | 2 +- tools/github-sponsors/package.json | 2 +- tools/integration/package.json | 22 ++++++------- tools/jest/package.json | 2 +- tools/mocha/package.json | 2 +- tools/typescript/package.json | 2 +- tools/webpack/package.json | 2 +- 61 files changed, 521 insertions(+), 521 deletions(-) diff --git a/lerna.json b/lerna.json index e395f2150e7..051623f7ad6 100644 --- a/lerna.json +++ b/lerna.json @@ -11,7 +11,7 @@ "packages/third-parties/*", "docs" ], - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "command": { "bootstrap": { "npmClientArgs": [ diff --git a/package.json b/package.json index 85fb92e566e..904a125147f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/root", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "A TypeScript Framework on top of Express", "private": true, "author": "Romain Lenzotti", diff --git a/packages/core/package.json b/packages/core/package.json index 582dfecf5ee..26c0e923933 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/core", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Core module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -29,8 +29,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/di/package.json b/packages/di/package.json index db7916c3be2..856be4b0ba6 100644 --- a/packages/di/package.json +++ b/packages/di/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/di", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "DI module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -28,17 +28,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/engines/package.json b/packages/engines/package.json index 42e16939ec2..35fa4c19758 100644 --- a/packages/engines/package.json +++ b/packages/engines/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/engines", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Template engines library. Provide an API to adding custom engines from decorators.", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -27,8 +27,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/fs-extra": "^9.0.13", "@types/semver": "^7.3.9", "arc-templates": "^0.5.3", diff --git a/packages/graphql/apollo/package.json b/packages/graphql/apollo/package.json index b9ef254ca16..03e98dc5f0c 100644 --- a/packages/graphql/apollo/package.json +++ b/packages/graphql/apollo/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/apollo", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Apollo package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -25,12 +25,12 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/typescript": "7.35.0-beta.4", "@types/graphql": "14.5.0", "apollo-datasource": "^3.2.0", "apollo-datasource-rest": "^3.3.0", @@ -42,9 +42,9 @@ "graphql": "15.7.2" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2", "apollo-datasource": ">=3.0.0", "apollo-datasource-rest": ">=3.0.0", diff --git a/packages/graphql/typegraphql/package.json b/packages/graphql/typegraphql/package.json index aa4d592b84f..4ffa7dbce63 100644 --- a/packages/graphql/typegraphql/package.json +++ b/packages/graphql/typegraphql/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typegraphql", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql", "private": false, "source": "./src/index.ts", @@ -24,14 +24,14 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/apollo": "7.35.0-beta.3", + "@tsed/apollo": "7.35.0-beta.4", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/graphql": "^14.5.0", "class-validator": "~0.14.0", "eslint": "^8.12.0", diff --git a/packages/orm/adapters-redis/package.json b/packages/orm/adapters-redis/package.json index b8165d0847b..b87e7690d3b 100644 --- a/packages/orm/adapters-redis/package.json +++ b/packages/orm/adapters-redis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters-redis", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Redis adapter for Ts.ED", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.35.0-beta.3", - "@tsed/ioredis": "7.35.0-beta.3", + "@tsed/adapters": "7.35.0-beta.4", + "@tsed/ioredis": "7.35.0-beta.4", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/adapters": "^7.35.0-beta.3", - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", + "@tsed/adapters": "^7.35.0-beta.4", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2", "uuid": "8.3.2" diff --git a/packages/orm/adapters/package.json b/packages/orm/adapters/package.json index 670a1d8e0cd..bbe1ac98cce 100644 --- a/packages/orm/adapters/package.json +++ b/packages/orm/adapters/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Database adapters for Ts.ED", "private": false, "source": "./src/index.ts", @@ -32,24 +32,24 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/ajv": "7.35.0-beta.3", - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/ajv": "7.35.0-beta.4", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/fs-extra": "9.0.13", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.3", - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/ajv": "^7.35.0-beta.4", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/ajv": { diff --git a/packages/orm/ioredis/package.json b/packages/orm/ioredis/package.json index fded2b9ee3b..ffebd34a15c 100644 --- a/packages/orm/ioredis/package.json +++ b/packages/orm/ioredis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ioredis", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "IO Redis connection for Ts.ED", "private": false, "source": "./src/index.ts", @@ -25,18 +25,18 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/ioredis-mock": "^5.6.0", "eslint": "^8.12.0", "ioredis": "5.2.3", "ioredis-mock": "8.2.2" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2" } diff --git a/packages/orm/mikro-orm/package.json b/packages/orm/mikro-orm/package.json index 0f44f732131..13a78a29699 100644 --- a/packages/orm/mikro-orm/package.json +++ b/packages/orm/mikro-orm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mikro-orm", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "MikroORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -27,23 +27,23 @@ "devDependencies": { "@mikro-orm/core": "^5.2.2", "@mikro-orm/mongodb": "^5.2.2", - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", "@tsed/logger": ">=6.1.1", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/testing-mongoose": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/testing-mongoose": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0", "ts-mockito": "^2.6.1" }, "peerDependencies": { "@mikro-orm/core": ">=4.5.9", - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2" } } \ No newline at end of file diff --git a/packages/orm/mongoose/package.json b/packages/orm/mongoose/package.json index fa376f3d468..272a443f58c 100644 --- a/packages/orm/mongoose/package.json +++ b/packages/orm/mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mongoose", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Mongoose package for Ts.ED framework", "private": false, "keywords": [ @@ -33,24 +33,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/ajv": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0", "mongoose": "6.11.3" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/ajv": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/schema": "^7.35.0-beta.4", "mongoose": ">=6.0.0" } } \ No newline at end of file diff --git a/packages/orm/objection/package.json b/packages/orm/objection/package.json index 6878bcc7801..fe9d4db272c 100644 --- a/packages/orm/objection/package.json +++ b/packages/orm/objection/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/objection", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Objection.js package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,24 +25,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/ajv": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0", "knex": "^2.4.0", "objection": "^2.2.15", "sqlite3": "^5.0.2" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/ajv": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4", "knex": ">=0.94.0", "objection": ">=2.0.0" }, diff --git a/packages/orm/prisma/package.json b/packages/orm/prisma/package.json index 1e79b000ace..c94888c229b 100644 --- a/packages/orm/prisma/package.json +++ b/packages/orm/prisma/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/prisma", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Generate Ts.ED JsonSchema based on Prisma models", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -36,12 +36,12 @@ }, "devDependencies": { "@prisma/client": "^4.0.0", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/change-case": "^2.3.1", "@types/pluralize": "0.0.29", "eslint": "^8.12.0", @@ -49,10 +49,10 @@ }, "peerDependencies": { "@prisma/client": ">=4.0.0", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "keywords": [ "TypeScript", diff --git a/packages/orm/testing-mongoose/package.json b/packages/orm/testing-mongoose/package.json index 60f09520c53..79cae2e8558 100644 --- a/packages/orm/testing-mongoose/package.json +++ b/packages/orm/testing-mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/testing-mongoose", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/mongoose": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/mongoose": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/mongoose": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/mongoose": "^7.35.0-beta.4", "mongoose": "^6.1.7" } } \ No newline at end of file diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index d944df84190..3b3f94d9627 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typeorm", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "TypeORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,20 +25,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0", "typeorm": "^0.2.45" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4", "typeorm": "^0.2.26" } } \ No newline at end of file diff --git a/packages/perf/package.json b/packages/perf/package.json index e9ce21e57aa..fdbd29df24d 100644 --- a/packages/perf/package.json +++ b/packages/perf/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/perf", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Perf module tool", "private": false, "source": "./src/index.ts", @@ -20,13 +20,13 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", "chalk": "^4.1.0", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/common/package.json b/packages/platform/common/package.json index 8713f0d4c52..c1bd3ec9a02 100644 --- a/packages/platform/common/package.json +++ b/packages/platform/common/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/common", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -68,29 +68,29 @@ } ], "dependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", "@tsed/logger": ">=6.2.2", "@tsed/logger-file": ">=6.2.2", - "@tsed/platform-exceptions": "7.35.0-beta.3", - "@tsed/platform-log-middleware": "7.35.0-beta.3", - "@tsed/platform-middlewares": "7.35.0-beta.3", - "@tsed/platform-params": "7.35.0-beta.3", - "@tsed/platform-response-filter": "7.35.0-beta.3", - "@tsed/platform-router": "7.35.0-beta.3", - "@tsed/platform-views": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", + "@tsed/platform-exceptions": "7.35.0-beta.4", + "@tsed/platform-log-middleware": "7.35.0-beta.4", + "@tsed/platform-middlewares": "7.35.0-beta.4", + "@tsed/platform-params": "7.35.0-beta.4", + "@tsed/platform-response-filter": "7.35.0-beta.4", + "@tsed/platform-router": "7.35.0-beta.4", + "@tsed/platform-views": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", "@types/json-schema": "7.0.11", "accepts": "^1.3.8", "tslib": "2.5.0", "uuid": "8.3.2" }, "devDependencies": { - "@tsed/components-scan": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/components-scan": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/platform/platform-cache/package.json b/packages/platform/platform-cache/package.json index 27c4af11d1e..09b4ab7edce 100644 --- a/packages/platform/platform-cache/package.json +++ b/packages/platform/platform-cache/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-cache", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Platform cache module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -27,20 +27,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/micromatch": "^4.0.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-exceptions/package.json b/packages/platform/platform-exceptions/package.json index 981d086033b..aaa43573f4b 100644 --- a/packages/platform/platform-exceptions/package.json +++ b/packages/platform/platform-exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-exceptions", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Platform exceptions module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,19 +25,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/exceptions": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/exceptions": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-express/package.json b/packages/platform/platform-express/package.json index 826553f6443..346863b43fd 100644 --- a/packages/platform/platform-express/package.json +++ b/packages/platform/platform-express/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-express", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -63,13 +63,13 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/platform-test-sdk": "7.35.0-beta.3", - "@tsed/platform-views": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/platform-test-sdk": "7.35.0-beta.4", + "@tsed/platform-views": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/body-parser": "1.19.2", "@types/compression": "1.7.2", "@types/cookie-parser": "1.4.2", @@ -86,14 +86,14 @@ "method-override": "3.0.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.3", - "@tsed/platform-views": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/openspec": "^7.35.0-beta.4", + "@tsed/platform-views": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4", "@types/multer": "^1.4.5", "body-parser": "^1.19.0", "multer": "^1.4.5-lts.1" diff --git a/packages/platform/platform-koa/package.json b/packages/platform/platform-koa/package.json index f842656b5fc..45283103638 100644 --- a/packages/platform/platform-koa/package.json +++ b/packages/platform/platform-koa/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-koa", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Koa package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -58,12 +58,12 @@ }, "devDependencies": { "@koa/cors": "3.3.0", - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/platform-test-sdk": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/platform-test-sdk": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/koa": "2.13.4", "@types/koa-bodyparser": "4.3.7", "@types/koa-compose": "3.2.5", @@ -89,13 +89,13 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/openspec": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4", "koa": ">=2.13.0", "koa-bodyparser": ">=4.3.0", "koa-compress": ">=5.0.1", diff --git a/packages/platform/platform-log-middleware/package.json b/packages/platform/platform-log-middleware/package.json index 61ba22fea1e..8aea1ffc92b 100644 --- a/packages/platform/platform-log-middleware/package.json +++ b/packages/platform/platform-log-middleware/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-log-middleware", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Log request middleware module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/platform-middlewares": "7.35.0-beta.3", - "@tsed/platform-params": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/platform-middlewares": "7.35.0-beta.4", + "@tsed/platform-params": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/di": "^7.35.0-beta.3", - "@tsed/platform-middlewares": "^7.35.0-beta.3", - "@tsed/platform-params": "^7.35.0-beta.3" + "@tsed/di": "^7.35.0-beta.4", + "@tsed/platform-middlewares": "^7.35.0-beta.4", + "@tsed/platform-params": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/di": { diff --git a/packages/platform/platform-middlewares/package.json b/packages/platform/platform-middlewares/package.json index 3239c179a7c..ff83b023da5 100644 --- a/packages/platform/platform-middlewares/package.json +++ b/packages/platform/platform-middlewares/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-middlewares", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Middlewares module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-params/package.json b/packages/platform/platform-params/package.json index b7b6fe0a9fe..bbd874df88d 100644 --- a/packages/platform/platform-params/package.json +++ b/packages/platform/platform-params/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-params", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Params module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/exceptions": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/exceptions": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-response-filter/package.json b/packages/platform/platform-response-filter/package.json index 860ff554b26..f76d532971f 100644 --- a/packages/platform/platform-response-filter/package.json +++ b/packages/platform/platform-response-filter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-response-filter", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Platform response filter module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/exceptions": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/exceptions": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-router/package.json b/packages/platform/platform-router/package.json index a2d496352e4..5fde14360f5 100644 --- a/packages/platform/platform-router/package.json +++ b/packages/platform/platform-router/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-router", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Router", "private": false, "source": "./src/index.ts", @@ -25,23 +25,23 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/platform-params": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/platform-params": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/exceptions": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", - "@tsed/platform-params": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/exceptions": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", + "@tsed/platform-params": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-serverless-http/package.json b/packages/platform/platform-serverless-http/package.json index a0ffd5d2468..36c7857bae9 100644 --- a/packages/platform/platform-serverless-http/package.json +++ b/packages/platform/platform-serverless-http/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-http", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Module to support Serverless HTTP function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -62,24 +62,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/platform-serverless-testing": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/platform-serverless-testing": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "aws-lambda": "^1.0.7", "eslint": "^8.12.0", "serverless-http": "^2.7.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/openspec": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4", "aws-lambda": ">=1.0.7", "serverless-http": ">=2.0.0" }, diff --git a/packages/platform/platform-serverless-testing/package.json b/packages/platform/platform-serverless-testing/package.json index 1faea3481c6..6d725f0ffe3 100644 --- a/packages/platform/platform-serverless-testing/package.json +++ b/packages/platform/platform-serverless-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-testing", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Module to test Serverless function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -57,12 +57,12 @@ "url": "git+https://github.com/tsedio/tsed.git" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "dependencies": { @@ -70,12 +70,12 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/openspec": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" } } \ No newline at end of file diff --git a/packages/platform/platform-serverless/package.json b/packages/platform/platform-serverless/package.json index c35bac96033..8b71813de1b 100644 --- a/packages/platform/platform-serverless/package.json +++ b/packages/platform/platform-serverless/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Platform serverless module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/platform-exceptions": "7.35.0-beta.3", - "@tsed/platform-params": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/platform-exceptions": "7.35.0-beta.4", + "@tsed/platform-params": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", "encodeurl": "^1.0.2", "mime": "^3.0.0", "tslib": "2.5.0", "uuid": "^8.3.2" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/platform-serverless-testing": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/platform-serverless-testing": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/aws-lambda": "^8.10.83", "@types/encodeurl": "^1.0.0", "@types/mime": "^3.0.1", @@ -44,7 +44,7 @@ "find-my-way": "^7.0.0" }, "peerDependencies": { - "@tsed/di": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2" }, "peerDependenciesMeta": { diff --git a/packages/platform/platform-test-sdk/package.json b/packages/platform/platform-test-sdk/package.json index 4de35185f8f..dec51d93f5a 100644 --- a/packages/platform/platform-test-sdk/package.json +++ b/packages/platform/platform-test-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-test-sdk", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Package to test platform adapter integration with Ts.ED", "private": false, "source": "./src/index.ts", @@ -28,25 +28,25 @@ "Adapter" ], "dependencies": { - "@tsed/ajv": "7.35.0-beta.3", - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", + "@tsed/ajv": "7.35.0-beta.4", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", "@tsed/logger": "6.2.2", - "@tsed/platform-cache": "7.35.0-beta.3", - "@tsed/platform-params": "7.35.0-beta.3", - "@tsed/platform-router": "7.35.0-beta.3", - "@tsed/platform-views": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/swagger": "7.35.0-beta.3", + "@tsed/platform-cache": "7.35.0-beta.4", + "@tsed/platform-params": "7.35.0-beta.4", + "@tsed/platform-router": "7.35.0-beta.4", + "@tsed/platform-views": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/swagger": "7.35.0-beta.4", "ajv": "^8.12.0", "axios": "^1.3.0", "read-pkg-up": "7.0.1" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/platform-views/package.json b/packages/platform/platform-views/package.json index 0403e9004c7..2f1963aff03 100644 --- a/packages/platform/platform-views/package.json +++ b/packages/platform/platform-views/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-views", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Views module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,27 +22,27 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/engines": "7.35.0-beta.3", + "@tsed/engines": "7.35.0-beta.4", "ejs": "^3.1.5", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/engines": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/engines": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/ejs": "3.1.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/engines": "^7.35.0-beta.3", - "@tsed/exceptions": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/engines": "^7.35.0-beta.4", + "@tsed/exceptions": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/security/jwks/package.json b/packages/security/jwks/package.json index 12cfe8cc17e..e129a883a5f 100644 --- a/packages/security/jwks/package.json +++ b/packages/security/jwks/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jwks", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Utils to generate jwks pair keys", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json index 0637232bbc9..669cf553d25 100644 --- a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json +++ b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider-plugin-wildcard-redirect-uri", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "A plugin to support wildcard in the redirect uri whitelist", "private": false, "contributors": [ @@ -31,19 +31,19 @@ "wildcard": "2.0.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/oidc-provider": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/oidc-provider": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/uuid": "8.3.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/oidc-provider": "^7.35.0-beta.3", + "@tsed/oidc-provider": "^7.35.0-beta.4", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/oidc-provider/package.json b/packages/security/oidc-provider/package.json index 7560db301d3..5e11e3cfa5a 100644 --- a/packages/security/oidc-provider/package.json +++ b/packages/security/oidc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "OIDC provider package for Ts.ED framework", "private": false, "contributors": [ @@ -34,7 +34,7 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.35.0-beta.3", + "@tsed/adapters": "7.35.0-beta.4", "express-urlrewrite": "^1.4.0", "jose2": "npm:jose@^2.0.4", "koa-mount": "^4.0.0", @@ -43,13 +43,13 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/jwks": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/jwks": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/lowdb": "1.0.11", "@types/oidc-provider": "8.1.1", "@types/uuid": "8.3.4", @@ -58,12 +58,12 @@ "oidc-provider": "8.1.1" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-beta.3", - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/ajv": "^7.35.0-beta.4", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/passport/package.json b/packages/security/passport/package.json index 16cc91e5eb5..414d79cbe41 100644 --- a/packages/security/passport/package.json +++ b/packages/security/passport/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/passport", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Passport package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,12 +26,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/platform-router": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/platform-router": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/passport": "1.0.7", "@types/passport-http": "0.3.9", "@types/passport-local": "1.0.34", @@ -43,7 +43,7 @@ "passport-strategy": "1.0.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", "passport": ">=0.4.1" }, "peerDependenciesMeta": { diff --git a/packages/specs/ajv/package.json b/packages/specs/ajv/package.json index c06302acbf7..69e950cfaf8 100644 --- a/packages/specs/ajv/package.json +++ b/packages/specs/ajv/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ajv", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "AJV package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,20 +26,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "ajv": "8.11.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/exceptions": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/exceptions": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4", "ajv": ">=8.9.0", "ajv-errors": ">=3.0.0" }, diff --git a/packages/specs/exceptions/package.json b/packages/specs/exceptions/package.json index 54f5c3913b7..f806fbe00b7 100644 --- a/packages/specs/exceptions/package.json +++ b/packages/specs/exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/exceptions", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "HTTP exceptions module for Ts.ED Framework and other pure Express application", "private": false, "source": "./src/index.ts", @@ -27,12 +27,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/statuses": "2.0.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4" } } \ No newline at end of file diff --git a/packages/specs/json-mapper/package.json b/packages/specs/json-mapper/package.json index 5186176afdd..1bd207578a0 100644 --- a/packages/specs/json-mapper/package.json +++ b/packages/specs/json-mapper/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/json-mapper", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Json mapper module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -41,15 +41,15 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/specs/openspec/package.json b/packages/specs/openspec/package.json index 12ec342c188..d72a6b4b682 100644 --- a/packages/specs/openspec/package.json +++ b/packages/specs/openspec/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/openspec", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application", "private": false, "source": "./src/index.ts", @@ -31,8 +31,8 @@ "JsonSchema" ], "devDependencies": { - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "dependencies": {}, diff --git a/packages/specs/schema/package.json b/packages/specs/schema/package.json index 856f1df215a..e7c10acb771 100644 --- a/packages/specs/schema/package.json +++ b/packages/specs/schema/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "JsonSchema module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -36,7 +36,7 @@ "tsed" ], "dependencies": { - "@tsed/openspec": "7.35.0-beta.3", + "@tsed/openspec": "7.35.0-beta.4", "change-case": "^4.1.2", "fs-extra": "^10.0.1", "json-schema": "0.4.0", @@ -46,10 +46,10 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/openspec": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/openspec": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/fs-extra": "9.0.13", "@types/json-schema": "7.0.11", "@types/picomatch": "2.3.0", @@ -58,8 +58,8 @@ "picomatch-browser": "https://github.com/silverwind/picomatch#ee6ebcc5570a8846d81610c11ebb92a9e199b145" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/openspec": "^7.35.0-beta.3" + "@tsed/core": "^7.35.0-beta.4", + "@tsed/openspec": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/openspec": { diff --git a/packages/specs/swagger/package.json b/packages/specs/swagger/package.json index d50cf2b5fcc..2650da23e52 100644 --- a/packages/specs/swagger/package.json +++ b/packages/specs/swagger/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/swagger", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Swagger package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,8 +24,8 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.35.0-beta.3", - "@tsed/openspec": "7.35.0-beta.3", + "@tsed/normalize-path": "7.35.0-beta.4", + "@tsed/openspec": "7.35.0-beta.4", "filedirname": "^2.7.0", "fs-extra": "10.0.1", "micromatch": "4.0.5", @@ -33,19 +33,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/openspec": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/openspec": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/swagger-ui-dist": ">=3.30.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3" + "@tsed/common": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@tsed/common": { diff --git a/packages/third-parties/agenda/package.json b/packages/third-parties/agenda/package.json index 030b0153ceb..642c2377db9 100644 --- a/packages/third-parties/agenda/package.json +++ b/packages/third-parties/agenda/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/agenda", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Agenda package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -30,11 +30,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "agenda": "^4.1.3", "eslint": "^8.12.0" }, diff --git a/packages/third-parties/components-scan/package.json b/packages/third-parties/components-scan/package.json index 75260386cfb..34b9412f981 100644 --- a/packages/third-parties/components-scan/package.json +++ b/packages/third-parties/components-scan/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/components-scan", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Components scan utilities for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,15 +22,15 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.35.0-beta.3", + "@tsed/normalize-path": "7.35.0-beta.4", "globby": "11.0.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/third-parties/event-emitter/package.json b/packages/third-parties/event-emitter/package.json index 0485620dd7a..ee06ad9e503 100644 --- a/packages/third-parties/event-emitter/package.json +++ b/packages/third-parties/event-emitter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/event-emitter", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "EventEmitter package for Ts.ED framework", "contributors": [ { @@ -33,11 +33,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0", "eventemitter2": "^6.4.4" }, diff --git a/packages/third-parties/formio-types/package.json b/packages/third-parties/formio-types/package.json index f28e68f62b0..81cf8a4a6cd 100644 --- a/packages/third-parties/formio-types/package.json +++ b/packages/third-parties/formio-types/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio-types", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Formio types definition package for Ts.ED framework", "private": false, "keywords": [ @@ -36,8 +36,8 @@ "formiojs": ">=4.0.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" } } \ No newline at end of file diff --git a/packages/third-parties/formio/package.json b/packages/third-parties/formio/package.json index 71f8ca2ad36..95298e0601e 100644 --- a/packages/third-parties/formio/package.json +++ b/packages/third-parties/formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Formio package for Ts.ED framework", "private": false, "keywords": [ @@ -31,17 +31,17 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/formio-types": "7.35.0-beta.3", - "@tsed/normalize-path": "7.35.0-beta.3", + "@tsed/formio-types": "7.35.0-beta.4", + "@tsed/normalize-path": "7.35.0-beta.4", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/mongoose": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/mongoose": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/async": "3.2.15", "eslint": "^8.12.0", "express": "^4.17.1", @@ -50,7 +50,7 @@ "mongoose": "^6.1.7" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", "express": "^4.17.1", "formio": "^2.0.0", "lodash": "^4.17.21", diff --git a/packages/third-parties/schema-formio/package.json b/packages/third-parties/schema-formio/package.json index 07acc230fc7..aada65a90aa 100644 --- a/packages/third-parties/schema-formio/package.json +++ b/packages/third-parties/schema-formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema-formio", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Transform Ts.ED Schema & JsonSchema to a valid Formio schema", "private": false, "source": "./src/index.ts", @@ -38,22 +38,22 @@ "tsed" ], "dependencies": { - "@tsed/formio-types": "7.35.0-beta.3", + "@tsed/formio-types": "7.35.0-beta.4", "change-case": "4.1.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/openspec": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/openspec": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-beta.3", - "@tsed/openspec": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/openspec": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4", "formiojs": ">=4.0.0", "lodash": ">=4.0.0", "moment": ">=2.0.0" diff --git a/packages/third-parties/socketio-testing/package.json b/packages/third-parties/socketio-testing/package.json index 1a865272360..36701e3cdc1 100644 --- a/packages/third-parties/socketio-testing/package.json +++ b/packages/third-parties/socketio-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio-testing", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Socket.io testing package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,17 +24,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0", "socket.io-client": "^4.1.2" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", "socket.io-client": "^4.0.1" } } \ No newline at end of file diff --git a/packages/third-parties/socketio/package.json b/packages/third-parties/socketio/package.json index f6918e424ed..5edadf3b75e 100644 --- a/packages/third-parties/socketio/package.json +++ b/packages/third-parties/socketio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Socket.io package for Ts.ED framework", "private": false, "keywords": [ @@ -33,27 +33,27 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/openspec": "7.35.0-beta.3", - "@tsed/platform-middlewares": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/socketio-testing": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/openspec": "7.35.0-beta.4", + "@tsed/platform-middlewares": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/socketio-testing": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0", "express": "^4.17.1", "socket.io": "4.7.1", "socket.io-client": "^4.7.1" }, "peerDependencies": { - "@tsed/di": "^7.35.0-beta.3", - "@tsed/json-mapper": "^7.35.0-beta.3", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/json-mapper": "^7.35.0-beta.4", "@tsed/logger": ">=6.2.2", - "@tsed/platform-middlewares": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/platform-middlewares": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4", "socket.io": ">=4.0.0" }, "peerDependenciesMeta": { diff --git a/packages/third-parties/stripe/package.json b/packages/third-parties/stripe/package.json index 9c1cf0556c3..f3d19f00660 100644 --- a/packages/third-parties/stripe/package.json +++ b/packages/third-parties/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/stripe", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Stripe package for Ts.ED framework", "private": false, "keywords": [ @@ -34,22 +34,22 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/platform-middlewares": "7.35.0-beta.3", - "@tsed/platform-params": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/platform-middlewares": "7.35.0-beta.4", + "@tsed/platform-params": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0", "stripe": "^8.129.0" }, "peerDependencies": { - "@tsed/exceptions": "^7.35.0-beta.3", - "@tsed/platform-middlewares": "^7.35.0-beta.3", - "@tsed/platform-params": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3", + "@tsed/exceptions": "^7.35.0-beta.4", + "@tsed/platform-middlewares": "^7.35.0-beta.4", + "@tsed/platform-params": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4", "@types/body-parser": "^1.19.0", "body-parser": "^1.19.0", "stripe": "^9.16.0" diff --git a/packages/third-parties/terminus/package.json b/packages/third-parties/terminus/package.json index 1b037aa226e..a7e7b998a8f 100644 --- a/packages/third-parties/terminus/package.json +++ b/packages/third-parties/terminus/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/terminus", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.", "author": "Emilien Leroy ", "private": false, @@ -28,20 +28,20 @@ }, "devDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0" }, "peerDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "^7.35.0-beta.3", - "@tsed/core": "^7.35.0-beta.3", - "@tsed/di": "^7.35.0-beta.3", - "@tsed/schema": "^7.35.0-beta.3" + "@tsed/common": "^7.35.0-beta.4", + "@tsed/core": "^7.35.0-beta.4", + "@tsed/di": "^7.35.0-beta.4", + "@tsed/schema": "^7.35.0-beta.4" }, "peerDependenciesMeta": { "@godaddy/terminus": { diff --git a/packages/third-parties/vite-ssr-plugin/package.json b/packages/third-parties/vite-ssr-plugin/package.json index ff22754af32..048a1368b2a 100644 --- a/packages/third-parties/vite-ssr-plugin/package.json +++ b/packages/third-parties/vite-ssr-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/vite-ssr-plugin", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Vite SSR plugin package for Ts.ED framework", "private": false, "contributors": [ @@ -30,18 +30,18 @@ "sirv": ">=2.0.2" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/core": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/common": "7.35.0-beta.4", + "@tsed/core": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "eslint": "^8.12.0", "vite": "4.3.9", "vite-plugin-ssr": "0.4.114" }, "peerDependencies": { - "@tsed/common": "^7.35.0-beta.3", + "@tsed/common": "^7.35.0-beta.4", "vite": ">=4", "vite-plugin-ssr": ">=0.4.114" }, diff --git a/packages/utils/normalize-path/package.json b/packages/utils/normalize-path/package.json index 21090dfe45e..de2b0a6ebac 100644 --- a/packages/utils/normalize-path/package.json +++ b/packages/utils/normalize-path/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/normalize-path", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Utils to normalize path", "private": false, "source": "./src/index.ts", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3", + "@tsed/eslint": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4", "@types/normalize-path": "^3.0.0", "eslint": "^8.12.0" }, diff --git a/tools/eslint/package.json b/tools/eslint/package.json index aeb86f4ef1f..d39cc088467 100644 --- a/tools/eslint/package.json +++ b/tools/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/eslint", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/github-sponsors/package.json b/tools/github-sponsors/package.json index dc18d20f5ff..84163952c9e 100644 --- a/tools/github-sponsors/package.json +++ b/tools/github-sponsors/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/github-sponsors", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "private": true, "scripts": { "sponsors": "node ./bin/github-sponsors.js" diff --git a/tools/integration/package.json b/tools/integration/package.json index 7b03d6ff4ab..53dfe194fba 100644 --- a/tools/integration/package.json +++ b/tools/integration/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/integration", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "source": "src/index.ts", "main": "src/index.js", "private": true, @@ -9,16 +9,16 @@ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json" }, "devDependencies": { - "@tsed/common": "7.35.0-beta.3", - "@tsed/di": "7.35.0-beta.3", - "@tsed/exceptions": "7.35.0-beta.3", - "@tsed/json-mapper": "7.35.0-beta.3", - "@tsed/platform-exceptions": "7.35.0-beta.3", - "@tsed/platform-express": "7.35.0-beta.3", - "@tsed/platform-views": "7.35.0-beta.3", - "@tsed/schema": "7.35.0-beta.3", - "@tsed/swagger": "7.35.0-beta.3", - "@tsed/typescript": "7.35.0-beta.3" + "@tsed/common": "7.35.0-beta.4", + "@tsed/di": "7.35.0-beta.4", + "@tsed/exceptions": "7.35.0-beta.4", + "@tsed/json-mapper": "7.35.0-beta.4", + "@tsed/platform-exceptions": "7.35.0-beta.4", + "@tsed/platform-express": "7.35.0-beta.4", + "@tsed/platform-views": "7.35.0-beta.4", + "@tsed/schema": "7.35.0-beta.4", + "@tsed/swagger": "7.35.0-beta.4", + "@tsed/typescript": "7.35.0-beta.4" }, "dependencies": {}, "peerDependencies": {} diff --git a/tools/jest/package.json b/tools/jest/package.json index 837c28eefa5..cf566d92990 100644 --- a/tools/jest/package.json +++ b/tools/jest/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jest-config", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "private": true, "main": "jest.config.js", "scripts": {}, diff --git a/tools/mocha/package.json b/tools/mocha/package.json index 7758b0fdae3..cbd3d5da561 100644 --- a/tools/mocha/package.json +++ b/tools/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mocha-config", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "private": true, "main": "mocha.config.js", "scripts": {}, diff --git a/tools/typescript/package.json b/tools/typescript/package.json index bd07b00b677..453d42d272d 100644 --- a/tools/typescript/package.json +++ b/tools/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typescript", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/webpack/package.json b/tools/webpack/package.json index df96781f211..e6db8c0c733 100644 --- a/tools/webpack/package.json +++ b/tools/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/webpack-config", - "version": "7.35.0-beta.3", + "version": "7.35.0-beta.4", "private": true, "main": "webpack.config.js", "scripts": {}, From 3a0de5e5a57d8e665a7f7773bcb33a531464d7db Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Wed, 6 Sep 2023 19:07:21 +0200 Subject: [PATCH 20/30] fix(di): fix @Inject when the decorator is used to inject many providers --- packages/di/src/common/decorators/inject.ts | 3 ++- .../common/utils/getConstructorDependencies.ts | 4 ++-- .../repositories/PostsRepository.ts | 8 ++++---- .../repositories/UsersRepository.ts | 8 ++++---- packages/specs/schema/jest.config.js | 6 +++--- packages/specs/schema/src/tsconfig.json | 18 ------------------ packages/specs/schema/test/tsconfig.json | 18 ------------------ 7 files changed, 15 insertions(+), 50 deletions(-) delete mode 100644 packages/specs/schema/src/tsconfig.json delete mode 100644 packages/specs/schema/test/tsconfig.json diff --git a/packages/di/src/common/decorators/inject.ts b/packages/di/src/common/decorators/inject.ts index 6b625ffb46d..c40d44bb51a 100644 --- a/packages/di/src/common/decorators/inject.ts +++ b/packages/di/src/common/decorators/inject.ts @@ -40,11 +40,12 @@ export function Inject(token?: TokenProvider | (() => TokenProvider), onGet = (b switch (bindingType) { case DecoratorTypes.PARAM_CTOR: if (token) { - const paramTypes = getConstructorDependencies(target); + const paramTypes = getConstructorDependencies(target, propertyKey); const type = paramTypes[descriptor as number]; paramTypes[descriptor as number] = type === Array ? [token] : token; + Metadata.setParamTypes(target, propertyKey!, paramTypes); setConstructorDependencies(target, paramTypes); } break; diff --git a/packages/di/src/common/utils/getConstructorDependencies.ts b/packages/di/src/common/utils/getConstructorDependencies.ts index 3b905800dec..faef10580a1 100644 --- a/packages/di/src/common/utils/getConstructorDependencies.ts +++ b/packages/di/src/common/utils/getConstructorDependencies.ts @@ -1,7 +1,7 @@ import {Metadata} from "@tsed/core"; -export function getConstructorDependencies(target: any) { - return [...(Metadata.get("override:ctor:design:paramtypes", target, undefined) || Metadata.getParamTypes(target) || [])]; +export function getConstructorDependencies(target: any, propertyKey?: string | symbol | undefined) { + return Metadata.getOwn("override:ctor:design:paramtypes", target, propertyKey) || [...Metadata.getParamTypes(target, propertyKey)] || []; } export function setConstructorDependencies(target: any, deps: any[]) { diff --git a/packages/orm/prisma/test/snapshots/generate_code/repositories/PostsRepository.ts b/packages/orm/prisma/test/snapshots/generate_code/repositories/PostsRepository.ts index bafa81c2843..187c475c4ad 100644 --- a/packages/orm/prisma/test/snapshots/generate_code/repositories/PostsRepository.ts +++ b/packages/orm/prisma/test/snapshots/generate_code/repositories/PostsRepository.ts @@ -18,8 +18,8 @@ export class PostsRepository { return this.collection.groupBy.bind(this.collection); } - deleteMany(args: Prisma.PostDeleteManyArgs) { - return this.collection.deleteMany(args); + protected deserialize(obj: null | Post | Post[]): T { + return deserialize(obj, {type: PostModel, collectionType: isArray(obj) ? Array : undefined}); } async findUnique(args: Prisma.PostFindUniqueArgs): Promise { @@ -57,8 +57,8 @@ export class PostsRepository { return this.deserialize(obj); } - protected deserialize(obj: null | Post | Post[]): T { - return deserialize(obj, {type: PostModel, collectionType: isArray(obj) ? Array : undefined}); + deleteMany(args: Prisma.PostDeleteManyArgs) { + return this.collection.deleteMany(args); } updateMany(args: Prisma.PostUpdateManyArgs) { diff --git a/packages/orm/prisma/test/snapshots/generate_code/repositories/UsersRepository.ts b/packages/orm/prisma/test/snapshots/generate_code/repositories/UsersRepository.ts index a6b7ded715c..1ea9db4a9c3 100644 --- a/packages/orm/prisma/test/snapshots/generate_code/repositories/UsersRepository.ts +++ b/packages/orm/prisma/test/snapshots/generate_code/repositories/UsersRepository.ts @@ -18,8 +18,8 @@ export class UsersRepository { return this.collection.groupBy.bind(this.collection); } - deleteMany(args: Prisma.UserDeleteManyArgs) { - return this.collection.deleteMany(args); + protected deserialize(obj: null | User | User[]): T { + return deserialize(obj, {type: UserModel, collectionType: isArray(obj) ? Array : undefined}); } async findUnique(args: Prisma.UserFindUniqueArgs): Promise { @@ -57,8 +57,8 @@ export class UsersRepository { return this.deserialize(obj); } - protected deserialize(obj: null | User | User[]): T { - return deserialize(obj, {type: UserModel, collectionType: isArray(obj) ? Array : undefined}); + deleteMany(args: Prisma.UserDeleteManyArgs) { + return this.collection.deleteMany(args); } updateMany(args: Prisma.UserUpdateManyArgs) { diff --git a/packages/specs/schema/jest.config.js b/packages/specs/schema/jest.config.js index 5c7bff70c20..574aef53c33 100644 --- a/packages/specs/schema/jest.config.js +++ b/packages/specs/schema/jest.config.js @@ -6,10 +6,10 @@ module.exports = { roots: ["/src", "/test"], coverageThreshold: { global: { - statements: 99.46, - branches: 96.23, + statements: 99.45, + branches: 96.18, functions: 100, - lines: 99.46 + lines: 99.45 } }, moduleNameMapper: { diff --git a/packages/specs/schema/src/tsconfig.json b/packages/specs/schema/src/tsconfig.json deleted file mode 100644 index 5fa049fa6e5..00000000000 --- a/packages/specs/schema/src/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "@tsed/typescript/tsconfig.node.json", - "compilerOptions": { - "baseUrl": ".", - "module": "commonjs", - "rootDir": ".", - "declaration": false, - "composite": true, - "noEmit": true - }, - "include": ["**/*.ts", "**/*.json", "../**/*.ts", "../**/*.json"], - "exclude": ["node_modules", "lib"], - "references": [ - { - "path": "../" - } - ] -} diff --git a/packages/specs/schema/test/tsconfig.json b/packages/specs/schema/test/tsconfig.json deleted file mode 100644 index 5fa049fa6e5..00000000000 --- a/packages/specs/schema/test/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "@tsed/typescript/tsconfig.node.json", - "compilerOptions": { - "baseUrl": ".", - "module": "commonjs", - "rootDir": ".", - "declaration": false, - "composite": true, - "noEmit": true - }, - "include": ["**/*.ts", "**/*.json", "../**/*.ts", "../**/*.json"], - "exclude": ["node_modules", "lib"], - "references": [ - { - "path": "../" - } - ] -} From 75ca9623fbc91c4eee424c1c387a07f35f0f1d46 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 7 Sep 2023 06:39:27 +0000 Subject: [PATCH 21/30] Github CI build: __run_2 v7.35.0-rc.1 [ci skip] --- lerna.json | 6 ++-- package.json | 2 +- packages/core/package.json | 8 ++--- packages/di/package.json | 16 ++++----- packages/engines/package.json | 8 ++--- packages/graphql/apollo/package.json | 20 +++++------ packages/graphql/typegraphql/package.json | 14 ++++---- packages/orm/adapters-redis/package.json | 22 ++++++------ packages/orm/adapters/package.json | 32 ++++++++--------- packages/orm/ioredis/package.json | 16 ++++----- packages/orm/mikro-orm/package.json | 26 +++++++------- packages/orm/mongoose/package.json | 28 +++++++-------- packages/orm/objection/package.json | 28 +++++++-------- packages/orm/prisma/package.json | 24 ++++++------- packages/orm/testing-mongoose/package.json | 20 +++++------ packages/orm/typeorm/package.json | 24 ++++++------- packages/perf/package.json | 10 +++--- packages/platform/common/package.json | 34 +++++++++---------- packages/platform/platform-cache/package.json | 24 ++++++------- .../platform/platform-exceptions/package.json | 24 ++++++------- .../platform/platform-express/package.json | 32 ++++++++--------- packages/platform/platform-koa/package.json | 28 +++++++-------- .../platform-log-middleware/package.json | 20 +++++------ .../platform-middlewares/package.json | 20 +++++------ .../platform/platform-params/package.json | 28 +++++++-------- .../platform-response-filter/package.json | 28 +++++++-------- .../platform/platform-router/package.json | 32 ++++++++--------- .../platform-serverless-http/package.json | 28 +++++++-------- .../platform-serverless-testing/package.json | 28 +++++++-------- .../platform/platform-serverless/package.json | 24 ++++++------- .../platform/platform-test-sdk/package.json | 30 ++++++++-------- packages/platform/platform-views/package.json | 30 ++++++++-------- packages/security/jwks/package.json | 8 ++--- .../package.json | 20 +++++------ packages/security/oidc-provider/package.json | 32 ++++++++--------- packages/security/passport/package.json | 18 +++++----- packages/specs/ajv/package.json | 24 ++++++------- packages/specs/exceptions/package.json | 10 +++--- packages/specs/json-mapper/package.json | 16 ++++----- packages/specs/openspec/package.json | 8 ++--- packages/specs/schema/package.json | 18 +++++----- packages/specs/swagger/package.json | 26 +++++++------- packages/third-parties/agenda/package.json | 14 ++++---- .../components-scan/package.json | 14 ++++---- .../third-parties/event-emitter/package.json | 14 ++++---- .../third-parties/formio-types/package.json | 8 ++--- packages/third-parties/formio/package.json | 22 ++++++------ .../third-parties/schema-formio/package.json | 22 ++++++------ .../socketio-testing/package.json | 18 +++++----- packages/third-parties/socketio/package.json | 32 ++++++++--------- packages/third-parties/stripe/package.json | 28 +++++++-------- packages/third-parties/terminus/package.json | 24 ++++++------- .../vite-ssr-plugin/package.json | 18 +++++----- packages/utils/normalize-path/package.json | 8 ++--- tools/eslint/package.json | 4 +-- tools/github-sponsors/package.json | 4 +-- tools/integration/package.json | 24 ++++++------- tools/jest/package.json | 4 +-- tools/mocha/package.json | 4 +-- tools/typescript/package.json | 4 +-- tools/webpack/package.json | 4 +-- 61 files changed, 583 insertions(+), 581 deletions(-) diff --git a/lerna.json b/lerna.json index d7234ed721a..436f0ab0177 100644 --- a/lerna.json +++ b/lerna.json @@ -11,10 +11,12 @@ "packages/third-parties/*", "docs" ], - "version": "7.34.8", + "version": "7.35.0-rc.1", "command": { "bootstrap": { - "npmClientArgs": ["--no-package-lock"] + "npmClientArgs": [ + "--no-package-lock" + ] } } } diff --git a/package.json b/package.json index 6ef37a2c805..2a6783f880d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/root", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "A TypeScript Framework on top of Express", "private": true, "author": "Romain Lenzotti", diff --git a/packages/core/package.json b/packages/core/package.json index 82f82554437..e9a8df1f537 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/core", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Core module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -29,9 +29,9 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/packages/di/package.json b/packages/di/package.json index 9ebc226e583..9fe8ab2a1eb 100644 --- a/packages/di/package.json +++ b/packages/di/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/di", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "DI module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -28,17 +28,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/eslint": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", + "@tsed/core": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.34.8" + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { @@ -51,4 +51,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/engines/package.json b/packages/engines/package.json index 04291ecf27f..185318fbd9c 100644 --- a/packages/engines/package.json +++ b/packages/engines/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/engines", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Template engines library. Provide an API to adding custom engines from decorators.", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -27,8 +27,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/fs-extra": "^9.0.13", "@types/semver": "^7.3.9", "arc-templates": "^0.5.3", @@ -95,4 +95,4 @@ "view" ], "peerDependencies": {} -} +} \ No newline at end of file diff --git a/packages/graphql/apollo/package.json b/packages/graphql/apollo/package.json index efc3ca6df2f..5ba9587168f 100644 --- a/packages/graphql/apollo/package.json +++ b/packages/graphql/apollo/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/apollo", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Apollo package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -25,12 +25,12 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/typescript": "7.34.8", + "@tsed/typescript": "7.35.0-rc.1", "@types/graphql": "14.5.0", "apollo-datasource": "^3.2.0", "apollo-datasource-rest": "^3.3.0", @@ -42,13 +42,13 @@ "graphql": "15.7.2" }, "peerDependencies": { - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2", "apollo-datasource": ">=3.0.0", "apollo-datasource-rest": ">=3.0.0", "apollo-server-core": ">=3.0.0", "graphql": ">15.0.0" } -} +} \ No newline at end of file diff --git a/packages/graphql/typegraphql/package.json b/packages/graphql/typegraphql/package.json index 366699cf4f1..b376f92f576 100644 --- a/packages/graphql/typegraphql/package.json +++ b/packages/graphql/typegraphql/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typegraphql", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql", "private": false, "source": "./src/index.ts", @@ -24,14 +24,14 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/apollo": "7.34.8", + "@tsed/apollo": "7.35.0-rc.1", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/graphql": "^14.5.0", "class-validator": "~0.14.0", "eslint": "^8.12.0", @@ -45,4 +45,4 @@ "graphql": ">=15.0.0", "type-graphql": ">=1.0.0" } -} +} \ No newline at end of file diff --git a/packages/orm/adapters-redis/package.json b/packages/orm/adapters-redis/package.json index 094af3a6844..5c874929c3c 100644 --- a/packages/orm/adapters-redis/package.json +++ b/packages/orm/adapters-redis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters-redis", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Redis adapter for Ts.ED", "private": false, "source": "./src/index.ts", @@ -22,23 +22,23 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.34.8", - "@tsed/ioredis": "7.34.8", + "@tsed/adapters": "7.35.0-rc.1", + "@tsed/ioredis": "7.35.0-rc.1", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/adapters": "^7.34.8", - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", + "@tsed/adapters": "^7.35.0-rc.1", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2", "uuid": "8.3.2" } -} +} \ No newline at end of file diff --git a/packages/orm/adapters/package.json b/packages/orm/adapters/package.json index 5b21da2df80..f4f33df9651 100644 --- a/packages/orm/adapters/package.json +++ b/packages/orm/adapters/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Database adapters for Ts.ED", "private": false, "source": "./src/index.ts", @@ -32,24 +32,24 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/ajv": "7.34.8", - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/ajv": "7.35.0-rc.1", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/fs-extra": "9.0.13", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/ajv": "^7.34.8", - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/ajv": "^7.35.0-rc.1", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/ajv": { @@ -71,4 +71,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/orm/ioredis/package.json b/packages/orm/ioredis/package.json index cf0946f8ef3..51f9be99930 100644 --- a/packages/orm/ioredis/package.json +++ b/packages/orm/ioredis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ioredis", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "IO Redis connection for Ts.ED", "private": false, "source": "./src/index.ts", @@ -25,19 +25,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/ioredis-mock": "^5.6.0", "eslint": "^8.12.0", "ioredis": "5.2.3", "ioredis-mock": "8.2.2" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2" } -} +} \ No newline at end of file diff --git a/packages/orm/mikro-orm/package.json b/packages/orm/mikro-orm/package.json index 3dd14e2eada..811ea39d7e9 100644 --- a/packages/orm/mikro-orm/package.json +++ b/packages/orm/mikro-orm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mikro-orm", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "MikroORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -27,23 +27,23 @@ "devDependencies": { "@mikro-orm/core": "^5.2.2", "@mikro-orm/mongodb": "^5.2.2", - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/json-mapper": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", "@tsed/logger": ">=6.1.1", - "@tsed/schema": "7.34.8", - "@tsed/testing-mongoose": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/testing-mongoose": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0", "ts-mockito": "^2.6.1" }, "peerDependencies": { "@mikro-orm/core": ">=4.5.9", - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2" } -} +} \ No newline at end of file diff --git a/packages/orm/mongoose/package.json b/packages/orm/mongoose/package.json index 4cf0367a090..50d846bf7a4 100644 --- a/packages/orm/mongoose/package.json +++ b/packages/orm/mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mongoose", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Mongoose package for Ts.ED framework", "private": false, "keywords": [ @@ -33,24 +33,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/json-mapper": "7.34.8", + "@tsed/ajv": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0", "mongoose": "6.11.3" }, "peerDependencies": { - "@tsed/ajv": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", + "@tsed/ajv": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.34.8", + "@tsed/schema": "^7.35.0-rc.1", "mongoose": ">=6.0.0" } -} +} \ No newline at end of file diff --git a/packages/orm/objection/package.json b/packages/orm/objection/package.json index c8665867d20..da500d916d9 100644 --- a/packages/orm/objection/package.json +++ b/packages/orm/objection/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/objection", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Objection.js package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,24 +25,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/ajv": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0", "knex": "^2.4.0", "objection": "^2.2.15", "sqlite3": "^5.0.2" }, "peerDependencies": { - "@tsed/ajv": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", - "@tsed/schema": "^7.34.8", + "@tsed/ajv": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1", "knex": ">=0.94.0", "objection": ">=2.0.0" }, @@ -69,4 +69,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/orm/prisma/package.json b/packages/orm/prisma/package.json index 4742be6f071..fa64d765a19 100644 --- a/packages/orm/prisma/package.json +++ b/packages/orm/prisma/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/prisma", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Generate Ts.ED JsonSchema based on Prisma models", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -36,12 +36,12 @@ }, "devDependencies": { "@prisma/client": "^4.0.0", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/change-case": "^2.3.1", "@types/pluralize": "0.0.29", "eslint": "^8.12.0", @@ -49,10 +49,10 @@ }, "peerDependencies": { "@prisma/client": ">=4.0.0", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "keywords": [ "TypeScript", @@ -65,4 +65,4 @@ "tsed", "prisma" ] -} +} \ No newline at end of file diff --git a/packages/orm/testing-mongoose/package.json b/packages/orm/testing-mongoose/package.json index 71015290870..fb9e56317cf 100644 --- a/packages/orm/testing-mongoose/package.json +++ b/packages/orm/testing-mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/testing-mongoose", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/mongoose": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/mongoose": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/mongoose": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/mongoose": "^7.35.0-rc.1", "mongoose": "^6.1.7" } -} +} \ No newline at end of file diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index 2ab25b572e1..91bbbf1eb8e 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typeorm", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "TypeORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,20 +25,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0", "typeorm": "^0.2.45" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", - "@tsed/schema": "^7.34.8", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1", "typeorm": "^0.2.26" } -} +} \ No newline at end of file diff --git a/packages/perf/package.json b/packages/perf/package.json index 458e64f7f0c..52d0b13ff06 100644 --- a/packages/perf/package.json +++ b/packages/perf/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/perf", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Perf module tool", "private": false, "source": "./src/index.ts", @@ -20,14 +20,14 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.34.8", + "@tsed/core": "7.35.0-rc.1", "chalk": "^4.1.0", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/packages/platform/common/package.json b/packages/platform/common/package.json index 85a39dced73..e93a2b459e1 100644 --- a/packages/platform/common/package.json +++ b/packages/platform/common/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/common", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -68,29 +68,29 @@ } ], "dependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/json-mapper": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", "@tsed/logger": ">=6.2.2", "@tsed/logger-file": ">=6.2.2", - "@tsed/platform-exceptions": "7.34.8", - "@tsed/platform-log-middleware": "7.34.8", - "@tsed/platform-middlewares": "7.34.8", - "@tsed/platform-params": "7.34.8", - "@tsed/platform-response-filter": "7.34.8", - "@tsed/platform-router": "7.34.8", - "@tsed/platform-views": "7.34.8", - "@tsed/schema": "7.34.8", + "@tsed/platform-exceptions": "7.35.0-rc.1", + "@tsed/platform-log-middleware": "7.35.0-rc.1", + "@tsed/platform-middlewares": "7.35.0-rc.1", + "@tsed/platform-params": "7.35.0-rc.1", + "@tsed/platform-response-filter": "7.35.0-rc.1", + "@tsed/platform-router": "7.35.0-rc.1", + "@tsed/platform-views": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", "@types/json-schema": "7.0.11", "accepts": "^1.3.8", "tslib": "2.5.0", "uuid": "8.3.2" }, "devDependencies": { - "@tsed/components-scan": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/components-scan": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { @@ -105,4 +105,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-cache/package.json b/packages/platform/platform-cache/package.json index d5585ed1b24..80591e7f8b4 100644 --- a/packages/platform/platform-cache/package.json +++ b/packages/platform/platform-cache/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-cache", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Platform cache module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -27,20 +27,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/micromatch": "^4.0.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { @@ -56,4 +56,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-exceptions/package.json b/packages/platform/platform-exceptions/package.json index 27a8c46b976..e207103cbe9 100644 --- a/packages/platform/platform-exceptions/package.json +++ b/packages/platform/platform-exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-exceptions", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Platform exceptions module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,19 +25,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/exceptions": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/exceptions": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { @@ -53,4 +53,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-express/package.json b/packages/platform/platform-express/package.json index 41a65e251c3..cd78a8ea7d9 100644 --- a/packages/platform/platform-express/package.json +++ b/packages/platform/platform-express/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-express", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -63,13 +63,13 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/platform-test-sdk": "7.34.8", - "@tsed/platform-views": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/platform-test-sdk": "7.35.0-rc.1", + "@tsed/platform-views": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/body-parser": "1.19.2", "@types/compression": "1.7.2", "@types/cookie-parser": "1.4.2", @@ -86,14 +86,14 @@ "method-override": "3.0.0" }, "peerDependencies": { - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.34.8", - "@tsed/platform-views": "^7.34.8", - "@tsed/schema": "^7.34.8", + "@tsed/openspec": "^7.35.0-rc.1", + "@tsed/platform-views": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1", "@types/multer": "^1.4.5", "body-parser": "^1.19.0", "multer": "^1.4.5-lts.1" @@ -124,4 +124,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-koa/package.json b/packages/platform/platform-koa/package.json index 6fcc89b7529..4b26d729b81 100644 --- a/packages/platform/platform-koa/package.json +++ b/packages/platform/platform-koa/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-koa", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Koa package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -58,12 +58,12 @@ }, "devDependencies": { "@koa/cors": "3.3.0", - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/platform-test-sdk": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/platform-test-sdk": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/koa": "2.13.4", "@types/koa-bodyparser": "4.3.7", "@types/koa-compose": "3.2.5", @@ -89,13 +89,13 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.34.8", - "@tsed/schema": "^7.34.8", + "@tsed/openspec": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1", "koa": ">=2.13.0", "koa-bodyparser": ">=4.3.0", "koa-compress": ">=5.0.1", @@ -130,4 +130,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-log-middleware/package.json b/packages/platform/platform-log-middleware/package.json index 47616bc4329..ffee8761d54 100644 --- a/packages/platform/platform-log-middleware/package.json +++ b/packages/platform/platform-log-middleware/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-log-middleware", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Log request middleware module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/platform-middlewares": "7.34.8", - "@tsed/platform-params": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/platform-middlewares": "7.35.0-rc.1", + "@tsed/platform-params": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/di": "^7.34.8", - "@tsed/platform-middlewares": "^7.34.8", - "@tsed/platform-params": "^7.34.8" + "@tsed/di": "^7.35.0-rc.1", + "@tsed/platform-middlewares": "^7.35.0-rc.1", + "@tsed/platform-params": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/di": { @@ -48,4 +48,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-middlewares/package.json b/packages/platform/platform-middlewares/package.json index 5a8c04aef51..f670a3a95ac 100644 --- a/packages/platform/platform-middlewares/package.json +++ b/packages/platform/platform-middlewares/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-middlewares", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Middlewares module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { @@ -48,4 +48,4 @@ "optional": true } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-params/package.json b/packages/platform/platform-params/package.json index 52de41d27f5..0836e8b2159 100644 --- a/packages/platform/platform-params/package.json +++ b/packages/platform/platform-params/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-params", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Params module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/exceptions": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/exceptions": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { @@ -58,4 +58,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-response-filter/package.json b/packages/platform/platform-response-filter/package.json index 57cd4f03f4e..bf6d951c58d 100644 --- a/packages/platform/platform-response-filter/package.json +++ b/packages/platform/platform-response-filter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-response-filter", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Platform response filter module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/exceptions": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/exceptions": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { @@ -58,4 +58,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-router/package.json b/packages/platform/platform-router/package.json index 42ff2e8bcc5..ff9c33dacc5 100644 --- a/packages/platform/platform-router/package.json +++ b/packages/platform/platform-router/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-router", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Router", "private": false, "source": "./src/index.ts", @@ -25,23 +25,23 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/platform-params": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/platform-params": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/exceptions": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", - "@tsed/platform-params": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/exceptions": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/platform-params": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { @@ -63,4 +63,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-serverless-http/package.json b/packages/platform/platform-serverless-http/package.json index d9a054f4b79..cfe6fc6b647 100644 --- a/packages/platform/platform-serverless-http/package.json +++ b/packages/platform/platform-serverless-http/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-http", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Module to support Serverless HTTP function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -62,24 +62,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/platform-serverless-testing": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/platform-serverless-testing": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "aws-lambda": "^1.0.7", "eslint": "^8.12.0", "serverless-http": "^2.7.0" }, "peerDependencies": { - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.34.8", - "@tsed/schema": "^7.34.8", + "@tsed/openspec": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1", "aws-lambda": ">=1.0.7", "serverless-http": ">=2.0.0" }, @@ -106,4 +106,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-serverless-testing/package.json b/packages/platform/platform-serverless-testing/package.json index 3c911a0fe10..7bb686e92da 100644 --- a/packages/platform/platform-serverless-testing/package.json +++ b/packages/platform/platform-serverless-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-testing", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Module to test Serverless function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -57,12 +57,12 @@ "url": "git+https://github.com/tsedio/tsed.git" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "dependencies": { @@ -70,12 +70,12 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/openspec": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" } -} +} \ No newline at end of file diff --git a/packages/platform/platform-serverless/package.json b/packages/platform/platform-serverless/package.json index d2c7fddf8e7..3a5351a4c78 100644 --- a/packages/platform/platform-serverless/package.json +++ b/packages/platform/platform-serverless/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Platform serverless module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/platform-exceptions": "7.34.8", - "@tsed/platform-params": "7.34.8", - "@tsed/schema": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/platform-exceptions": "7.35.0-rc.1", + "@tsed/platform-params": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", "encodeurl": "^1.0.2", "mime": "^3.0.0", "tslib": "2.5.0", "uuid": "^8.3.2" }, "devDependencies": { - "@tsed/eslint": "7.34.8", - "@tsed/platform-serverless-testing": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/platform-serverless-testing": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/aws-lambda": "^8.10.83", "@types/encodeurl": "^1.0.0", "@types/mime": "^3.0.1", @@ -44,7 +44,7 @@ "find-my-way": "^7.0.0" }, "peerDependencies": { - "@tsed/di": "^7.34.8", + "@tsed/di": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2" }, "peerDependenciesMeta": { @@ -58,4 +58,4 @@ "optional": true } } -} +} \ No newline at end of file diff --git a/packages/platform/platform-test-sdk/package.json b/packages/platform/platform-test-sdk/package.json index df01db803be..67be3e2f551 100644 --- a/packages/platform/platform-test-sdk/package.json +++ b/packages/platform/platform-test-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-test-sdk", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Package to test platform adapter integration with Ts.ED", "private": false, "source": "./src/index.ts", @@ -28,26 +28,26 @@ "Adapter" ], "dependencies": { - "@tsed/ajv": "7.34.8", - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/json-mapper": "7.34.8", + "@tsed/ajv": "7.35.0-rc.1", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", "@tsed/logger": "6.2.2", - "@tsed/platform-cache": "7.34.8", - "@tsed/platform-params": "7.34.8", - "@tsed/platform-router": "7.34.8", - "@tsed/platform-views": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/swagger": "7.34.8", + "@tsed/platform-cache": "7.35.0-rc.1", + "@tsed/platform-params": "7.35.0-rc.1", + "@tsed/platform-router": "7.35.0-rc.1", + "@tsed/platform-views": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/swagger": "7.35.0-rc.1", "ajv": "^8.12.0", "axios": "^1.3.0", "read-pkg-up": "7.0.1" }, "devDependencies": { - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/packages/platform/platform-views/package.json b/packages/platform/platform-views/package.json index 7d82a8729dd..d4862d5fc99 100644 --- a/packages/platform/platform-views/package.json +++ b/packages/platform/platform-views/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-views", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Views module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,27 +22,27 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/engines": "7.34.8", + "@tsed/engines": "7.35.0-rc.1", "ejs": "^3.1.5", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/engines": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/engines": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/ejs": "3.1.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/engines": "^7.34.8", - "@tsed/exceptions": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/engines": "^7.35.0-rc.1", + "@tsed/exceptions": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { @@ -58,4 +58,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/security/jwks/package.json b/packages/security/jwks/package.json index 096b82d2258..0e1651f1d32 100644 --- a/packages/security/jwks/package.json +++ b/packages/security/jwks/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jwks", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Utils to generate jwks pair keys", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,9 +26,9 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json index 6de0e1aba42..dde6dd09e0f 100644 --- a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json +++ b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider-plugin-wildcard-redirect-uri", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "A plugin to support wildcard in the redirect uri whitelist", "private": false, "contributors": [ @@ -31,19 +31,19 @@ "wildcard": "2.0.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/oidc-provider": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/oidc-provider": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/uuid": "8.3.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/oidc-provider": "^7.34.8", + "@tsed/oidc-provider": "^7.35.0-rc.1", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { @@ -57,4 +57,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/security/oidc-provider/package.json b/packages/security/oidc-provider/package.json index 223327dce66..d27e277a072 100644 --- a/packages/security/oidc-provider/package.json +++ b/packages/security/oidc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "OIDC provider package for Ts.ED framework", "private": false, "contributors": [ @@ -34,7 +34,7 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.34.8", + "@tsed/adapters": "7.35.0-rc.1", "express-urlrewrite": "^1.4.0", "jose2": "npm:jose@^2.0.4", "koa-mount": "^4.0.0", @@ -43,13 +43,13 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/jwks": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/jwks": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/lowdb": "1.0.11", "@types/oidc-provider": "8.1.1", "@types/uuid": "8.3.4", @@ -58,12 +58,12 @@ "oidc-provider": "8.1.1" }, "peerDependencies": { - "@tsed/ajv": "^7.34.8", - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", - "@tsed/schema": "^7.34.8", + "@tsed/ajv": "^7.35.0-rc.1", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { @@ -86,4 +86,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/security/passport/package.json b/packages/security/passport/package.json index 78e1b9ec86c..985763ec708 100644 --- a/packages/security/passport/package.json +++ b/packages/security/passport/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/passport", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Passport package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,12 +26,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/platform-router": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/platform-router": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/passport": "1.0.7", "@types/passport-http": "0.3.9", "@types/passport-local": "1.0.34", @@ -43,7 +43,7 @@ "passport-strategy": "1.0.0" }, "peerDependencies": { - "@tsed/common": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", "passport": ">=0.4.1" }, "peerDependenciesMeta": { @@ -51,4 +51,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/specs/ajv/package.json b/packages/specs/ajv/package.json index 28856ff6b61..dd8c19bed80 100644 --- a/packages/specs/ajv/package.json +++ b/packages/specs/ajv/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ajv", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "AJV package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,20 +26,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "ajv": "8.11.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/exceptions": "^7.34.8", - "@tsed/schema": "^7.34.8", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/exceptions": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1", "ajv": ">=8.9.0", "ajv-errors": ">=3.0.0" }, @@ -57,4 +57,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/specs/exceptions/package.json b/packages/specs/exceptions/package.json index 99bb2c97f0c..cf11fb57f35 100644 --- a/packages/specs/exceptions/package.json +++ b/packages/specs/exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/exceptions", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "HTTP exceptions module for Ts.ED Framework and other pure Express application", "private": false, "source": "./src/index.ts", @@ -27,12 +27,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/statuses": "2.0.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1" } -} +} \ No newline at end of file diff --git a/packages/specs/json-mapper/package.json b/packages/specs/json-mapper/package.json index 94d0deee505..1b999bebf53 100644 --- a/packages/specs/json-mapper/package.json +++ b/packages/specs/json-mapper/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/json-mapper", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Json mapper module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -41,15 +41,15 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { @@ -59,4 +59,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/specs/openspec/package.json b/packages/specs/openspec/package.json index 4fca51a0149..11a601e20bc 100644 --- a/packages/specs/openspec/package.json +++ b/packages/specs/openspec/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/openspec", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application", "private": false, "source": "./src/index.ts", @@ -31,10 +31,10 @@ "JsonSchema" ], "devDependencies": { - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "dependencies": {}, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/packages/specs/schema/package.json b/packages/specs/schema/package.json index c4b78423499..1188fe9278a 100644 --- a/packages/specs/schema/package.json +++ b/packages/specs/schema/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "JsonSchema module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -36,7 +36,7 @@ "tsed" ], "dependencies": { - "@tsed/openspec": "7.34.8", + "@tsed/openspec": "7.35.0-rc.1", "change-case": "^4.1.2", "fs-extra": "^10.0.1", "json-schema": "0.4.0", @@ -46,10 +46,10 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@tsed/core": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/openspec": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/openspec": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/fs-extra": "9.0.13", "@types/json-schema": "7.0.11", "@types/picomatch": "2.3.0", @@ -58,8 +58,8 @@ "picomatch-browser": "https://github.com/silverwind/picomatch#ee6ebcc5570a8846d81610c11ebb92a9e199b145" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/openspec": "^7.34.8" + "@tsed/core": "^7.35.0-rc.1", + "@tsed/openspec": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/openspec": { @@ -69,4 +69,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/specs/swagger/package.json b/packages/specs/swagger/package.json index 46dbbb9f168..58bfcbe0bba 100644 --- a/packages/specs/swagger/package.json +++ b/packages/specs/swagger/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/swagger", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Swagger package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,8 +24,8 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.34.8", - "@tsed/openspec": "7.34.8", + "@tsed/normalize-path": "7.35.0-rc.1", + "@tsed/openspec": "7.35.0-rc.1", "filedirname": "^2.7.0", "fs-extra": "10.0.1", "micromatch": "4.0.5", @@ -33,23 +33,23 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/openspec": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/openspec": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/swagger-ui-dist": ">=3.30.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.34.8" + "@tsed/common": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@tsed/common": { "optional": false } } -} +} \ No newline at end of file diff --git a/packages/third-parties/agenda/package.json b/packages/third-parties/agenda/package.json index 579ba2fd3c8..2bc2c470d9c 100644 --- a/packages/third-parties/agenda/package.json +++ b/packages/third-parties/agenda/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/agenda", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Agenda package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -30,15 +30,15 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "agenda": "^4.1.3", "eslint": "^8.12.0" }, "peerDependencies": { "agenda": "^4.1.3" } -} +} \ No newline at end of file diff --git a/packages/third-parties/components-scan/package.json b/packages/third-parties/components-scan/package.json index 3d9ecd01aac..e1815a3101a 100644 --- a/packages/third-parties/components-scan/package.json +++ b/packages/third-parties/components-scan/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/components-scan", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Components scan utilities for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,15 +22,15 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.34.8", + "@tsed/normalize-path": "7.35.0-rc.1", "globby": "11.0.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { @@ -41,4 +41,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/third-parties/event-emitter/package.json b/packages/third-parties/event-emitter/package.json index 601f2ad2328..73184fb7aa1 100644 --- a/packages/third-parties/event-emitter/package.json +++ b/packages/third-parties/event-emitter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/event-emitter", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "EventEmitter package for Ts.ED framework", "contributors": [ { @@ -33,15 +33,15 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0", "eventemitter2": "^6.4.4" }, "peerDependencies": { "eventemitter2": "^6.4.4" } -} +} \ No newline at end of file diff --git a/packages/third-parties/formio-types/package.json b/packages/third-parties/formio-types/package.json index 7549e11e48a..02c7f72f33b 100644 --- a/packages/third-parties/formio-types/package.json +++ b/packages/third-parties/formio-types/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio-types", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Formio types definition package for Ts.ED framework", "private": false, "keywords": [ @@ -36,8 +36,8 @@ "formiojs": ">=4.0.0" }, "devDependencies": { - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" } -} +} \ No newline at end of file diff --git a/packages/third-parties/formio/package.json b/packages/third-parties/formio/package.json index d01e496f571..b838a263e2d 100644 --- a/packages/third-parties/formio/package.json +++ b/packages/third-parties/formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Formio package for Ts.ED framework", "private": false, "keywords": [ @@ -31,17 +31,17 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/formio-types": "7.34.8", - "@tsed/normalize-path": "7.34.8", + "@tsed/formio-types": "7.35.0-rc.1", + "@tsed/normalize-path": "7.35.0-rc.1", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/mongoose": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/mongoose": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/async": "3.2.15", "eslint": "^8.12.0", "express": "^4.17.1", @@ -50,7 +50,7 @@ "mongoose": "^6.1.7" }, "peerDependencies": { - "@tsed/common": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", "express": "^4.17.1", "formio": "^2.0.0", "lodash": "^4.17.21", @@ -62,4 +62,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/third-parties/schema-formio/package.json b/packages/third-parties/schema-formio/package.json index 2167298beb8..4bdd05a75e4 100644 --- a/packages/third-parties/schema-formio/package.json +++ b/packages/third-parties/schema-formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema-formio", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Transform Ts.ED Schema & JsonSchema to a valid Formio schema", "private": false, "source": "./src/index.ts", @@ -38,22 +38,22 @@ "tsed" ], "dependencies": { - "@tsed/formio-types": "7.34.8", + "@tsed/formio-types": "7.35.0-rc.1", "change-case": "4.1.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/openspec": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/openspec": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.34.8", - "@tsed/openspec": "^7.34.8", - "@tsed/schema": "^7.34.8", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/openspec": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1", "formiojs": ">=4.0.0", "lodash": ">=4.0.0", "moment": ">=2.0.0" @@ -78,4 +78,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/third-parties/socketio-testing/package.json b/packages/third-parties/socketio-testing/package.json index bd9f56a208d..db475c3aa90 100644 --- a/packages/third-parties/socketio-testing/package.json +++ b/packages/third-parties/socketio-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio-testing", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Socket.io testing package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,17 +24,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0", "socket.io-client": "^4.1.2" }, "peerDependencies": { - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", "socket.io-client": "^4.0.1" } -} +} \ No newline at end of file diff --git a/packages/third-parties/socketio/package.json b/packages/third-parties/socketio/package.json index 9dd9ff62203..52a571912c3 100644 --- a/packages/third-parties/socketio/package.json +++ b/packages/third-parties/socketio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Socket.io package for Ts.ED framework", "private": false, "keywords": [ @@ -33,27 +33,27 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/openspec": "7.34.8", - "@tsed/platform-middlewares": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/socketio-testing": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/openspec": "7.35.0-rc.1", + "@tsed/platform-middlewares": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/socketio-testing": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0", "express": "^4.17.1", "socket.io": "4.7.1", "socket.io-client": "^4.7.1" }, "peerDependencies": { - "@tsed/di": "^7.34.8", - "@tsed/json-mapper": "^7.34.8", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/json-mapper": "^7.35.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/platform-middlewares": "^7.34.8", - "@tsed/schema": "^7.34.8", + "@tsed/platform-middlewares": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1", "socket.io": ">=4.0.0" }, "peerDependenciesMeta": { @@ -70,4 +70,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/third-parties/stripe/package.json b/packages/third-parties/stripe/package.json index ed73bda5454..bdae8fd646f 100644 --- a/packages/third-parties/stripe/package.json +++ b/packages/third-parties/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/stripe", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Stripe package for Ts.ED framework", "private": false, "keywords": [ @@ -34,22 +34,22 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/platform-middlewares": "7.34.8", - "@tsed/platform-params": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/platform-middlewares": "7.35.0-rc.1", + "@tsed/platform-params": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0", "stripe": "^8.129.0" }, "peerDependencies": { - "@tsed/exceptions": "^7.34.8", - "@tsed/platform-middlewares": "^7.34.8", - "@tsed/platform-params": "^7.34.8", - "@tsed/schema": "^7.34.8", + "@tsed/exceptions": "^7.35.0-rc.1", + "@tsed/platform-middlewares": "^7.35.0-rc.1", + "@tsed/platform-params": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1", "@types/body-parser": "^1.19.0", "body-parser": "^1.19.0", "stripe": "^9.16.0" @@ -71,4 +71,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/third-parties/terminus/package.json b/packages/third-parties/terminus/package.json index d66dae14bd4..4eebe40a609 100644 --- a/packages/third-parties/terminus/package.json +++ b/packages/third-parties/terminus/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/terminus", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.", "author": "Emilien Leroy ", "private": false, @@ -28,20 +28,20 @@ }, "devDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "^7.34.8", - "@tsed/core": "^7.34.8", - "@tsed/di": "^7.34.8", - "@tsed/schema": "^7.34.8" + "@tsed/common": "^7.35.0-rc.1", + "@tsed/core": "^7.35.0-rc.1", + "@tsed/di": "^7.35.0-rc.1", + "@tsed/schema": "^7.35.0-rc.1" }, "peerDependenciesMeta": { "@godaddy/terminus": { @@ -57,4 +57,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/third-parties/vite-ssr-plugin/package.json b/packages/third-parties/vite-ssr-plugin/package.json index 7d63a9d9539..6504e05ad4d 100644 --- a/packages/third-parties/vite-ssr-plugin/package.json +++ b/packages/third-parties/vite-ssr-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/vite-ssr-plugin", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Vite SSR plugin package for Ts.ED framework", "private": false, "contributors": [ @@ -30,18 +30,18 @@ "sirv": ">=2.0.2" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/core": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/eslint": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/common": "7.35.0-rc.1", + "@tsed/core": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "eslint": "^8.12.0", "vite": "4.3.9", "vite-plugin-ssr": "0.4.114" }, "peerDependencies": { - "@tsed/common": "^7.34.8", + "@tsed/common": "^7.35.0-rc.1", "vite": ">=4", "vite-plugin-ssr": ">=0.4.114" }, @@ -50,4 +50,4 @@ "optional": false } } -} +} \ No newline at end of file diff --git a/packages/utils/normalize-path/package.json b/packages/utils/normalize-path/package.json index 962ab696822..0c9c3a0d76e 100644 --- a/packages/utils/normalize-path/package.json +++ b/packages/utils/normalize-path/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/normalize-path", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Utils to normalize path", "private": false, "source": "./src/index.ts", @@ -26,10 +26,10 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.34.8", - "@tsed/typescript": "7.34.8", + "@tsed/eslint": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1", "@types/normalize-path": "^3.0.0", "eslint": "^8.12.0" }, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/tools/eslint/package.json b/tools/eslint/package.json index da5487fc4cb..64b28f7e36c 100644 --- a/tools/eslint/package.json +++ b/tools/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/eslint", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Util to compile source", "private": true, "main": "index.js", @@ -12,4 +12,4 @@ "dependencies": {}, "devDependencies": {}, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/tools/github-sponsors/package.json b/tools/github-sponsors/package.json index 5652efa66fe..eed4f0277bc 100644 --- a/tools/github-sponsors/package.json +++ b/tools/github-sponsors/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/github-sponsors", - "version": "7.34.8", + "version": "7.35.0-rc.1", "private": true, "scripts": { "sponsors": "node ./bin/github-sponsors.js" @@ -14,4 +14,4 @@ }, "dependencies": {}, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/tools/integration/package.json b/tools/integration/package.json index 6fe4ae4d125..88193a05984 100644 --- a/tools/integration/package.json +++ b/tools/integration/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/integration", - "version": "7.34.8", + "version": "7.35.0-rc.1", "source": "src/index.ts", "main": "src/index.js", "private": true, @@ -9,17 +9,17 @@ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json" }, "devDependencies": { - "@tsed/common": "7.34.8", - "@tsed/di": "7.34.8", - "@tsed/exceptions": "7.34.8", - "@tsed/json-mapper": "7.34.8", - "@tsed/platform-exceptions": "7.34.8", - "@tsed/platform-express": "7.34.8", - "@tsed/platform-views": "7.34.8", - "@tsed/schema": "7.34.8", - "@tsed/swagger": "7.34.8", - "@tsed/typescript": "7.34.8" + "@tsed/common": "7.35.0-rc.1", + "@tsed/di": "7.35.0-rc.1", + "@tsed/exceptions": "7.35.0-rc.1", + "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/platform-exceptions": "7.35.0-rc.1", + "@tsed/platform-express": "7.35.0-rc.1", + "@tsed/platform-views": "7.35.0-rc.1", + "@tsed/schema": "7.35.0-rc.1", + "@tsed/swagger": "7.35.0-rc.1", + "@tsed/typescript": "7.35.0-rc.1" }, "dependencies": {}, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/tools/jest/package.json b/tools/jest/package.json index 3693f4a0a6c..27d90ae0035 100644 --- a/tools/jest/package.json +++ b/tools/jest/package.json @@ -1,10 +1,10 @@ { "name": "@tsed/jest-config", - "version": "7.34.8", + "version": "7.35.0-rc.1", "private": true, "main": "jest.config.js", "scripts": {}, "dependencies": {}, "devDependencies": {}, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/tools/mocha/package.json b/tools/mocha/package.json index 8d17307b22d..b8e7403a433 100644 --- a/tools/mocha/package.json +++ b/tools/mocha/package.json @@ -1,10 +1,10 @@ { "name": "@tsed/mocha-config", - "version": "7.34.8", + "version": "7.35.0-rc.1", "private": true, "main": "mocha.config.js", "scripts": {}, "dependencies": {}, "devDependencies": {}, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/tools/typescript/package.json b/tools/typescript/package.json index af541cbc177..b4878ca6cce 100644 --- a/tools/typescript/package.json +++ b/tools/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typescript", - "version": "7.34.8", + "version": "7.35.0-rc.1", "description": "Util to compile source", "private": true, "main": "index.js", @@ -14,4 +14,4 @@ "dependencies": {}, "devDependencies": {}, "peerDependencies": {} -} +} \ No newline at end of file diff --git a/tools/webpack/package.json b/tools/webpack/package.json index 5f4c341a9bc..21e40b8d74c 100644 --- a/tools/webpack/package.json +++ b/tools/webpack/package.json @@ -1,10 +1,10 @@ { "name": "@tsed/webpack-config", - "version": "7.34.8", + "version": "7.35.0-rc.1", "private": true, "main": "webpack.config.js", "scripts": {}, "dependencies": {}, "devDependencies": {}, "peerDependencies": {} -} +} \ No newline at end of file From 88f1828f70797425d94f56bbe61756786abce1d9 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 12 Sep 2023 07:07:41 +0000 Subject: [PATCH 22/30] Github CI build: __run_2 v7.36.0-rc.1 [ci skip] --- lerna.json | 2 +- package.json | 2 +- packages/core/package.json | 6 ++-- packages/di/package.json | 14 ++++---- packages/engines/package.json | 6 ++-- packages/graphql/apollo/package.json | 18 +++++------ packages/graphql/typegraphql/package.json | 12 +++---- packages/orm/adapters-redis/package.json | 20 ++++++------ packages/orm/adapters/package.json | 30 ++++++++--------- packages/orm/ioredis/package.json | 14 ++++---- packages/orm/mikro-orm/package.json | 24 +++++++------- packages/orm/mongoose/package.json | 26 +++++++-------- packages/orm/objection/package.json | 26 +++++++-------- packages/orm/prisma/package.json | 22 ++++++------- packages/orm/testing-mongoose/package.json | 18 +++++------ packages/orm/typeorm/package.json | 22 ++++++------- packages/perf/package.json | 8 ++--- packages/platform/common/package.json | 32 +++++++++---------- packages/platform/platform-cache/package.json | 22 ++++++------- .../platform/platform-exceptions/package.json | 22 ++++++------- .../platform/platform-express/package.json | 30 ++++++++--------- packages/platform/platform-koa/package.json | 26 +++++++-------- .../platform-log-middleware/package.json | 18 +++++------ .../platform-middlewares/package.json | 18 +++++------ .../platform/platform-params/package.json | 26 +++++++-------- .../platform-response-filter/package.json | 26 +++++++-------- .../platform/platform-router/package.json | 30 ++++++++--------- .../platform-serverless-http/package.json | 26 +++++++-------- .../platform-serverless-testing/package.json | 26 +++++++-------- .../platform/platform-serverless/package.json | 22 ++++++------- .../platform/platform-test-sdk/package.json | 28 ++++++++-------- packages/platform/platform-views/package.json | 28 ++++++++-------- packages/security/jwks/package.json | 6 ++-- .../package.json | 18 +++++------ packages/security/oidc-provider/package.json | 30 ++++++++--------- packages/security/passport/package.json | 16 +++++----- packages/specs/ajv/package.json | 22 ++++++------- packages/specs/exceptions/package.json | 8 ++--- packages/specs/json-mapper/package.json | 14 ++++---- packages/specs/openspec/package.json | 6 ++-- packages/specs/schema/package.json | 16 +++++----- packages/specs/swagger/package.json | 24 +++++++------- packages/third-parties/agenda/package.json | 12 +++---- .../components-scan/package.json | 12 +++---- .../third-parties/event-emitter/package.json | 12 +++---- .../third-parties/formio-types/package.json | 6 ++-- packages/third-parties/formio/package.json | 20 ++++++------ .../third-parties/schema-formio/package.json | 20 ++++++------ .../socketio-testing/package.json | 16 +++++----- packages/third-parties/socketio/package.json | 30 ++++++++--------- packages/third-parties/stripe/package.json | 26 +++++++-------- packages/third-parties/terminus/package.json | 22 ++++++------- .../vite-ssr-plugin/package.json | 16 +++++----- packages/utils/normalize-path/package.json | 6 ++-- tools/eslint/package.json | 2 +- tools/github-sponsors/package.json | 2 +- tools/integration/package.json | 22 ++++++------- tools/jest/package.json | 2 +- tools/mocha/package.json | 2 +- tools/typescript/package.json | 2 +- tools/webpack/package.json | 2 +- 61 files changed, 521 insertions(+), 521 deletions(-) diff --git a/lerna.json b/lerna.json index 436f0ab0177..85ff69b433f 100644 --- a/lerna.json +++ b/lerna.json @@ -11,7 +11,7 @@ "packages/third-parties/*", "docs" ], - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "command": { "bootstrap": { "npmClientArgs": [ diff --git a/package.json b/package.json index 2a6783f880d..37b7e5c95ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/root", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "A TypeScript Framework on top of Express", "private": true, "author": "Romain Lenzotti", diff --git a/packages/core/package.json b/packages/core/package.json index e9a8df1f537..f1742a422d5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/core", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Core module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -29,8 +29,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/di/package.json b/packages/di/package.json index 9fe8ab2a1eb..6b1e2560d39 100644 --- a/packages/di/package.json +++ b/packages/di/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/di", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "DI module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -28,17 +28,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/engines/package.json b/packages/engines/package.json index 185318fbd9c..4e79fef7c22 100644 --- a/packages/engines/package.json +++ b/packages/engines/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/engines", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Template engines library. Provide an API to adding custom engines from decorators.", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -27,8 +27,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/fs-extra": "^9.0.13", "@types/semver": "^7.3.9", "arc-templates": "^0.5.3", diff --git a/packages/graphql/apollo/package.json b/packages/graphql/apollo/package.json index 5ba9587168f..d65eed4660d 100644 --- a/packages/graphql/apollo/package.json +++ b/packages/graphql/apollo/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/apollo", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Apollo package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -25,12 +25,12 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/graphql": "14.5.0", "apollo-datasource": "^3.2.0", "apollo-datasource-rest": "^3.3.0", @@ -42,9 +42,9 @@ "graphql": "15.7.2" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2", "apollo-datasource": ">=3.0.0", "apollo-datasource-rest": ">=3.0.0", diff --git a/packages/graphql/typegraphql/package.json b/packages/graphql/typegraphql/package.json index b376f92f576..06ca1168b1f 100644 --- a/packages/graphql/typegraphql/package.json +++ b/packages/graphql/typegraphql/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typegraphql", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql", "private": false, "source": "./src/index.ts", @@ -24,14 +24,14 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/apollo": "7.35.0-rc.1", + "@tsed/apollo": "7.36.0-rc.1", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/graphql": "^14.5.0", "class-validator": "~0.14.0", "eslint": "^8.12.0", diff --git a/packages/orm/adapters-redis/package.json b/packages/orm/adapters-redis/package.json index 5c874929c3c..4f0d2488c46 100644 --- a/packages/orm/adapters-redis/package.json +++ b/packages/orm/adapters-redis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters-redis", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Redis adapter for Ts.ED", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.35.0-rc.1", - "@tsed/ioredis": "7.35.0-rc.1", + "@tsed/adapters": "7.36.0-rc.1", + "@tsed/ioredis": "7.36.0-rc.1", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/adapters": "^7.35.0-rc.1", - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", + "@tsed/adapters": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2", "uuid": "8.3.2" diff --git a/packages/orm/adapters/package.json b/packages/orm/adapters/package.json index f4f33df9651..eaeb0a9276d 100644 --- a/packages/orm/adapters/package.json +++ b/packages/orm/adapters/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Database adapters for Ts.ED", "private": false, "source": "./src/index.ts", @@ -32,24 +32,24 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/ajv": "7.35.0-rc.1", - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/ajv": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/fs-extra": "9.0.13", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-rc.1", - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/ajv": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/ajv": { diff --git a/packages/orm/ioredis/package.json b/packages/orm/ioredis/package.json index 51f9be99930..9ab7ca41948 100644 --- a/packages/orm/ioredis/package.json +++ b/packages/orm/ioredis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ioredis", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "IO Redis connection for Ts.ED", "private": false, "source": "./src/index.ts", @@ -25,18 +25,18 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/ioredis-mock": "^5.6.0", "eslint": "^8.12.0", "ioredis": "5.2.3", "ioredis-mock": "8.2.2" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2" } diff --git a/packages/orm/mikro-orm/package.json b/packages/orm/mikro-orm/package.json index 811ea39d7e9..4902870b01b 100644 --- a/packages/orm/mikro-orm/package.json +++ b/packages/orm/mikro-orm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mikro-orm", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "MikroORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -27,23 +27,23 @@ "devDependencies": { "@mikro-orm/core": "^5.2.2", "@mikro-orm/mongodb": "^5.2.2", - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", "@tsed/logger": ">=6.1.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/testing-mongoose": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/testing-mongoose": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0", "ts-mockito": "^2.6.1" }, "peerDependencies": { "@mikro-orm/core": ">=4.5.9", - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2" } } \ No newline at end of file diff --git a/packages/orm/mongoose/package.json b/packages/orm/mongoose/package.json index 50d846bf7a4..dc444c70600 100644 --- a/packages/orm/mongoose/package.json +++ b/packages/orm/mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mongoose", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Mongoose package for Ts.ED framework", "private": false, "keywords": [ @@ -33,24 +33,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/ajv": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0", "mongoose": "6.11.3" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/ajv": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "mongoose": ">=6.0.0" } } \ No newline at end of file diff --git a/packages/orm/objection/package.json b/packages/orm/objection/package.json index da500d916d9..907fc332471 100644 --- a/packages/orm/objection/package.json +++ b/packages/orm/objection/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/objection", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Objection.js package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,24 +25,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/ajv": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0", "knex": "^2.4.0", "objection": "^2.2.15", "sqlite3": "^5.0.2" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/ajv": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "knex": ">=0.94.0", "objection": ">=2.0.0" }, diff --git a/packages/orm/prisma/package.json b/packages/orm/prisma/package.json index fa64d765a19..2bcae06241d 100644 --- a/packages/orm/prisma/package.json +++ b/packages/orm/prisma/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/prisma", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Generate Ts.ED JsonSchema based on Prisma models", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -36,12 +36,12 @@ }, "devDependencies": { "@prisma/client": "^4.0.0", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/change-case": "^2.3.1", "@types/pluralize": "0.0.29", "eslint": "^8.12.0", @@ -49,10 +49,10 @@ }, "peerDependencies": { "@prisma/client": ">=4.0.0", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "keywords": [ "TypeScript", diff --git a/packages/orm/testing-mongoose/package.json b/packages/orm/testing-mongoose/package.json index fb9e56317cf..602a0c9a992 100644 --- a/packages/orm/testing-mongoose/package.json +++ b/packages/orm/testing-mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/testing-mongoose", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/mongoose": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/mongoose": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/mongoose": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/mongoose": "^7.36.0-rc.1", "mongoose": "^6.1.7" } } \ No newline at end of file diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index 91bbbf1eb8e..7e77f580b6e 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typeorm", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "TypeORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,20 +25,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0", "typeorm": "^0.2.45" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "typeorm": "^0.2.26" } } \ No newline at end of file diff --git a/packages/perf/package.json b/packages/perf/package.json index 52d0b13ff06..38cd33fff1a 100644 --- a/packages/perf/package.json +++ b/packages/perf/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/perf", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Perf module tool", "private": false, "source": "./src/index.ts", @@ -20,13 +20,13 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", "chalk": "^4.1.0", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/common/package.json b/packages/platform/common/package.json index e93a2b459e1..8883168b455 100644 --- a/packages/platform/common/package.json +++ b/packages/platform/common/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/common", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -68,29 +68,29 @@ } ], "dependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", "@tsed/logger": ">=6.2.2", "@tsed/logger-file": ">=6.2.2", - "@tsed/platform-exceptions": "7.35.0-rc.1", - "@tsed/platform-log-middleware": "7.35.0-rc.1", - "@tsed/platform-middlewares": "7.35.0-rc.1", - "@tsed/platform-params": "7.35.0-rc.1", - "@tsed/platform-response-filter": "7.35.0-rc.1", - "@tsed/platform-router": "7.35.0-rc.1", - "@tsed/platform-views": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", + "@tsed/platform-exceptions": "7.36.0-rc.1", + "@tsed/platform-log-middleware": "7.36.0-rc.1", + "@tsed/platform-middlewares": "7.36.0-rc.1", + "@tsed/platform-params": "7.36.0-rc.1", + "@tsed/platform-response-filter": "7.36.0-rc.1", + "@tsed/platform-router": "7.36.0-rc.1", + "@tsed/platform-views": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", "@types/json-schema": "7.0.11", "accepts": "^1.3.8", "tslib": "2.5.0", "uuid": "8.3.2" }, "devDependencies": { - "@tsed/components-scan": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/components-scan": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/platform/platform-cache/package.json b/packages/platform/platform-cache/package.json index 80591e7f8b4..43a164c9dfc 100644 --- a/packages/platform/platform-cache/package.json +++ b/packages/platform/platform-cache/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-cache", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Platform cache module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -27,20 +27,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/micromatch": "^4.0.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-exceptions/package.json b/packages/platform/platform-exceptions/package.json index e207103cbe9..2aa71a753bd 100644 --- a/packages/platform/platform-exceptions/package.json +++ b/packages/platform/platform-exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-exceptions", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Platform exceptions module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,19 +25,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/exceptions": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/exceptions": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-express/package.json b/packages/platform/platform-express/package.json index cd78a8ea7d9..f66a0fceded 100644 --- a/packages/platform/platform-express/package.json +++ b/packages/platform/platform-express/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-express", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -63,13 +63,13 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/platform-test-sdk": "7.35.0-rc.1", - "@tsed/platform-views": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/platform-test-sdk": "7.36.0-rc.1", + "@tsed/platform-views": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/body-parser": "1.19.2", "@types/compression": "1.7.2", "@types/cookie-parser": "1.4.2", @@ -86,14 +86,14 @@ "method-override": "3.0.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-rc.1", - "@tsed/platform-views": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/openspec": "^7.36.0-rc.1", + "@tsed/platform-views": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "@types/multer": "^1.4.5", "body-parser": "^1.19.0", "multer": "^1.4.5-lts.1" diff --git a/packages/platform/platform-koa/package.json b/packages/platform/platform-koa/package.json index 4b26d729b81..f27cc3db1eb 100644 --- a/packages/platform/platform-koa/package.json +++ b/packages/platform/platform-koa/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-koa", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Koa package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -58,12 +58,12 @@ }, "devDependencies": { "@koa/cors": "3.3.0", - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/platform-test-sdk": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/platform-test-sdk": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/koa": "2.13.4", "@types/koa-bodyparser": "4.3.7", "@types/koa-compose": "3.2.5", @@ -89,13 +89,13 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/openspec": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "koa": ">=2.13.0", "koa-bodyparser": ">=4.3.0", "koa-compress": ">=5.0.1", diff --git a/packages/platform/platform-log-middleware/package.json b/packages/platform/platform-log-middleware/package.json index ffee8761d54..580895c003f 100644 --- a/packages/platform/platform-log-middleware/package.json +++ b/packages/platform/platform-log-middleware/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-log-middleware", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Log request middleware module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/platform-middlewares": "7.35.0-rc.1", - "@tsed/platform-params": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/platform-middlewares": "7.36.0-rc.1", + "@tsed/platform-params": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/di": "^7.35.0-rc.1", - "@tsed/platform-middlewares": "^7.35.0-rc.1", - "@tsed/platform-params": "^7.35.0-rc.1" + "@tsed/di": "^7.36.0-rc.1", + "@tsed/platform-middlewares": "^7.36.0-rc.1", + "@tsed/platform-params": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/di": { diff --git a/packages/platform/platform-middlewares/package.json b/packages/platform/platform-middlewares/package.json index f670a3a95ac..676200d99da 100644 --- a/packages/platform/platform-middlewares/package.json +++ b/packages/platform/platform-middlewares/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-middlewares", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Middlewares module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-params/package.json b/packages/platform/platform-params/package.json index 0836e8b2159..5f45828ecfe 100644 --- a/packages/platform/platform-params/package.json +++ b/packages/platform/platform-params/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-params", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Params module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/exceptions": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/exceptions": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-response-filter/package.json b/packages/platform/platform-response-filter/package.json index bf6d951c58d..0eefb4e14ce 100644 --- a/packages/platform/platform-response-filter/package.json +++ b/packages/platform/platform-response-filter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-response-filter", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Platform response filter module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/exceptions": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/exceptions": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-router/package.json b/packages/platform/platform-router/package.json index ff9c33dacc5..b3e112c22cc 100644 --- a/packages/platform/platform-router/package.json +++ b/packages/platform/platform-router/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-router", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Router", "private": false, "source": "./src/index.ts", @@ -25,23 +25,23 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/platform-params": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/platform-params": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/exceptions": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", - "@tsed/platform-params": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/exceptions": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/platform-params": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-serverless-http/package.json b/packages/platform/platform-serverless-http/package.json index cfe6fc6b647..b6d08915f42 100644 --- a/packages/platform/platform-serverless-http/package.json +++ b/packages/platform/platform-serverless-http/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-http", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Module to support Serverless HTTP function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -62,24 +62,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/platform-serverless-testing": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/platform-serverless-testing": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "aws-lambda": "^1.0.7", "eslint": "^8.12.0", "serverless-http": "^2.7.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/openspec": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "aws-lambda": ">=1.0.7", "serverless-http": ">=2.0.0" }, diff --git a/packages/platform/platform-serverless-testing/package.json b/packages/platform/platform-serverless-testing/package.json index 7bb686e92da..ffccb73d3e0 100644 --- a/packages/platform/platform-serverless-testing/package.json +++ b/packages/platform/platform-serverless-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-testing", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Module to test Serverless function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -57,12 +57,12 @@ "url": "git+https://github.com/tsedio/tsed.git" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "dependencies": { @@ -70,12 +70,12 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/openspec": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" } } \ No newline at end of file diff --git a/packages/platform/platform-serverless/package.json b/packages/platform/platform-serverless/package.json index 3a5351a4c78..77f583bfcfd 100644 --- a/packages/platform/platform-serverless/package.json +++ b/packages/platform/platform-serverless/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Platform serverless module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/platform-exceptions": "7.35.0-rc.1", - "@tsed/platform-params": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/platform-exceptions": "7.36.0-rc.1", + "@tsed/platform-params": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", "encodeurl": "^1.0.2", "mime": "^3.0.0", "tslib": "2.5.0", "uuid": "^8.3.2" }, "devDependencies": { - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/platform-serverless-testing": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/platform-serverless-testing": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/aws-lambda": "^8.10.83", "@types/encodeurl": "^1.0.0", "@types/mime": "^3.0.1", @@ -44,7 +44,7 @@ "find-my-way": "^7.0.0" }, "peerDependencies": { - "@tsed/di": "^7.35.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2" }, "peerDependenciesMeta": { diff --git a/packages/platform/platform-test-sdk/package.json b/packages/platform/platform-test-sdk/package.json index 67be3e2f551..6138b7b99d9 100644 --- a/packages/platform/platform-test-sdk/package.json +++ b/packages/platform/platform-test-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-test-sdk", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Package to test platform adapter integration with Ts.ED", "private": false, "source": "./src/index.ts", @@ -28,25 +28,25 @@ "Adapter" ], "dependencies": { - "@tsed/ajv": "7.35.0-rc.1", - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", + "@tsed/ajv": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", "@tsed/logger": "6.2.2", - "@tsed/platform-cache": "7.35.0-rc.1", - "@tsed/platform-params": "7.35.0-rc.1", - "@tsed/platform-router": "7.35.0-rc.1", - "@tsed/platform-views": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/swagger": "7.35.0-rc.1", + "@tsed/platform-cache": "7.36.0-rc.1", + "@tsed/platform-params": "7.36.0-rc.1", + "@tsed/platform-router": "7.36.0-rc.1", + "@tsed/platform-views": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/swagger": "7.36.0-rc.1", "ajv": "^8.12.0", "axios": "^1.3.0", "read-pkg-up": "7.0.1" }, "devDependencies": { - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/platform-views/package.json b/packages/platform/platform-views/package.json index d4862d5fc99..62c2be29106 100644 --- a/packages/platform/platform-views/package.json +++ b/packages/platform/platform-views/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-views", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Views module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,27 +22,27 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/engines": "7.35.0-rc.1", + "@tsed/engines": "7.36.0-rc.1", "ejs": "^3.1.5", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/engines": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/engines": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/ejs": "3.1.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/engines": "^7.35.0-rc.1", - "@tsed/exceptions": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/engines": "^7.36.0-rc.1", + "@tsed/exceptions": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/security/jwks/package.json b/packages/security/jwks/package.json index 0e1651f1d32..7e6776c1fee 100644 --- a/packages/security/jwks/package.json +++ b/packages/security/jwks/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jwks", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Utils to generate jwks pair keys", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json index dde6dd09e0f..8107cbbbde8 100644 --- a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json +++ b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider-plugin-wildcard-redirect-uri", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "A plugin to support wildcard in the redirect uri whitelist", "private": false, "contributors": [ @@ -31,19 +31,19 @@ "wildcard": "2.0.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/oidc-provider": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/oidc-provider": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/uuid": "8.3.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/oidc-provider": "^7.35.0-rc.1", + "@tsed/oidc-provider": "^7.36.0-rc.1", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/oidc-provider/package.json b/packages/security/oidc-provider/package.json index d27e277a072..1fe0de4d573 100644 --- a/packages/security/oidc-provider/package.json +++ b/packages/security/oidc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "OIDC provider package for Ts.ED framework", "private": false, "contributors": [ @@ -34,7 +34,7 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.35.0-rc.1", + "@tsed/adapters": "7.36.0-rc.1", "express-urlrewrite": "^1.4.0", "jose2": "npm:jose@^2.0.4", "koa-mount": "^4.0.0", @@ -43,13 +43,13 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/jwks": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/jwks": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/lowdb": "1.0.11", "@types/oidc-provider": "8.1.1", "@types/uuid": "8.3.4", @@ -58,12 +58,12 @@ "oidc-provider": "8.1.1" }, "peerDependencies": { - "@tsed/ajv": "^7.35.0-rc.1", - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/ajv": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/passport/package.json b/packages/security/passport/package.json index 985763ec708..baec8410ce8 100644 --- a/packages/security/passport/package.json +++ b/packages/security/passport/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/passport", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Passport package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,12 +26,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/platform-router": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/platform-router": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/passport": "1.0.7", "@types/passport-http": "0.3.9", "@types/passport-local": "1.0.34", @@ -43,7 +43,7 @@ "passport-strategy": "1.0.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", "passport": ">=0.4.1" }, "peerDependenciesMeta": { diff --git a/packages/specs/ajv/package.json b/packages/specs/ajv/package.json index dd8c19bed80..41ba999cfa2 100644 --- a/packages/specs/ajv/package.json +++ b/packages/specs/ajv/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ajv", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "AJV package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,20 +26,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "ajv": "8.11.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/exceptions": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/exceptions": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "ajv": ">=8.9.0", "ajv-errors": ">=3.0.0" }, diff --git a/packages/specs/exceptions/package.json b/packages/specs/exceptions/package.json index cf11fb57f35..d7934364959 100644 --- a/packages/specs/exceptions/package.json +++ b/packages/specs/exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/exceptions", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "HTTP exceptions module for Ts.ED Framework and other pure Express application", "private": false, "source": "./src/index.ts", @@ -27,12 +27,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/statuses": "2.0.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1" } } \ No newline at end of file diff --git a/packages/specs/json-mapper/package.json b/packages/specs/json-mapper/package.json index 1b999bebf53..1060e614267 100644 --- a/packages/specs/json-mapper/package.json +++ b/packages/specs/json-mapper/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/json-mapper", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Json mapper module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -41,15 +41,15 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/specs/openspec/package.json b/packages/specs/openspec/package.json index 11a601e20bc..8d8ab3413c9 100644 --- a/packages/specs/openspec/package.json +++ b/packages/specs/openspec/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/openspec", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application", "private": false, "source": "./src/index.ts", @@ -31,8 +31,8 @@ "JsonSchema" ], "devDependencies": { - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "dependencies": {}, diff --git a/packages/specs/schema/package.json b/packages/specs/schema/package.json index 1188fe9278a..a22efc3332b 100644 --- a/packages/specs/schema/package.json +++ b/packages/specs/schema/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "JsonSchema module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -36,7 +36,7 @@ "tsed" ], "dependencies": { - "@tsed/openspec": "7.35.0-rc.1", + "@tsed/openspec": "7.36.0-rc.1", "change-case": "^4.1.2", "fs-extra": "^10.0.1", "json-schema": "0.4.0", @@ -46,10 +46,10 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@tsed/core": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/openspec": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/openspec": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/fs-extra": "9.0.13", "@types/json-schema": "7.0.11", "@types/picomatch": "2.3.0", @@ -58,8 +58,8 @@ "picomatch-browser": "https://github.com/silverwind/picomatch#ee6ebcc5570a8846d81610c11ebb92a9e199b145" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/openspec": "^7.35.0-rc.1" + "@tsed/core": "^7.36.0-rc.1", + "@tsed/openspec": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/openspec": { diff --git a/packages/specs/swagger/package.json b/packages/specs/swagger/package.json index 58bfcbe0bba..b2515b06695 100644 --- a/packages/specs/swagger/package.json +++ b/packages/specs/swagger/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/swagger", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Swagger package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,8 +24,8 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.35.0-rc.1", - "@tsed/openspec": "7.35.0-rc.1", + "@tsed/normalize-path": "7.36.0-rc.1", + "@tsed/openspec": "7.36.0-rc.1", "filedirname": "^2.7.0", "fs-extra": "10.0.1", "micromatch": "4.0.5", @@ -33,19 +33,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/openspec": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/openspec": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/swagger-ui-dist": ">=3.30.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1" + "@tsed/common": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@tsed/common": { diff --git a/packages/third-parties/agenda/package.json b/packages/third-parties/agenda/package.json index 2bc2c470d9c..f93afcd8fef 100644 --- a/packages/third-parties/agenda/package.json +++ b/packages/third-parties/agenda/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/agenda", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Agenda package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -30,11 +30,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "agenda": "^4.1.3", "eslint": "^8.12.0" }, diff --git a/packages/third-parties/components-scan/package.json b/packages/third-parties/components-scan/package.json index e1815a3101a..92ecb4b49a5 100644 --- a/packages/third-parties/components-scan/package.json +++ b/packages/third-parties/components-scan/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/components-scan", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Components scan utilities for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,15 +22,15 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.35.0-rc.1", + "@tsed/normalize-path": "7.36.0-rc.1", "globby": "11.0.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/third-parties/event-emitter/package.json b/packages/third-parties/event-emitter/package.json index 73184fb7aa1..783c448b328 100644 --- a/packages/third-parties/event-emitter/package.json +++ b/packages/third-parties/event-emitter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/event-emitter", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "EventEmitter package for Ts.ED framework", "contributors": [ { @@ -33,11 +33,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0", "eventemitter2": "^6.4.4" }, diff --git a/packages/third-parties/formio-types/package.json b/packages/third-parties/formio-types/package.json index 02c7f72f33b..521977d1c43 100644 --- a/packages/third-parties/formio-types/package.json +++ b/packages/third-parties/formio-types/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio-types", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Formio types definition package for Ts.ED framework", "private": false, "keywords": [ @@ -36,8 +36,8 @@ "formiojs": ">=4.0.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" } } \ No newline at end of file diff --git a/packages/third-parties/formio/package.json b/packages/third-parties/formio/package.json index b838a263e2d..ea04435b9fb 100644 --- a/packages/third-parties/formio/package.json +++ b/packages/third-parties/formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Formio package for Ts.ED framework", "private": false, "keywords": [ @@ -31,17 +31,17 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/formio-types": "7.35.0-rc.1", - "@tsed/normalize-path": "7.35.0-rc.1", + "@tsed/formio-types": "7.36.0-rc.1", + "@tsed/normalize-path": "7.36.0-rc.1", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/mongoose": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/mongoose": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/async": "3.2.15", "eslint": "^8.12.0", "express": "^4.17.1", @@ -50,7 +50,7 @@ "mongoose": "^6.1.7" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", "express": "^4.17.1", "formio": "^2.0.0", "lodash": "^4.17.21", diff --git a/packages/third-parties/schema-formio/package.json b/packages/third-parties/schema-formio/package.json index 4bdd05a75e4..f50c5ffd9d8 100644 --- a/packages/third-parties/schema-formio/package.json +++ b/packages/third-parties/schema-formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema-formio", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Transform Ts.ED Schema & JsonSchema to a valid Formio schema", "private": false, "source": "./src/index.ts", @@ -38,22 +38,22 @@ "tsed" ], "dependencies": { - "@tsed/formio-types": "7.35.0-rc.1", + "@tsed/formio-types": "7.36.0-rc.1", "change-case": "4.1.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/openspec": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/openspec": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.35.0-rc.1", - "@tsed/openspec": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/openspec": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "formiojs": ">=4.0.0", "lodash": ">=4.0.0", "moment": ">=2.0.0" diff --git a/packages/third-parties/socketio-testing/package.json b/packages/third-parties/socketio-testing/package.json index db475c3aa90..dd0814a9281 100644 --- a/packages/third-parties/socketio-testing/package.json +++ b/packages/third-parties/socketio-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio-testing", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Socket.io testing package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,17 +24,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0", "socket.io-client": "^4.1.2" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", "socket.io-client": "^4.0.1" } } \ No newline at end of file diff --git a/packages/third-parties/socketio/package.json b/packages/third-parties/socketio/package.json index 52a571912c3..7eef61253b1 100644 --- a/packages/third-parties/socketio/package.json +++ b/packages/third-parties/socketio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Socket.io package for Ts.ED framework", "private": false, "keywords": [ @@ -33,27 +33,27 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/openspec": "7.35.0-rc.1", - "@tsed/platform-middlewares": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/socketio-testing": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/openspec": "7.36.0-rc.1", + "@tsed/platform-middlewares": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/socketio-testing": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0", "express": "^4.17.1", "socket.io": "4.7.1", "socket.io-client": "^4.7.1" }, "peerDependencies": { - "@tsed/di": "^7.35.0-rc.1", - "@tsed/json-mapper": "^7.35.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/json-mapper": "^7.36.0-rc.1", "@tsed/logger": ">=6.2.2", - "@tsed/platform-middlewares": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/platform-middlewares": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "socket.io": ">=4.0.0" }, "peerDependenciesMeta": { diff --git a/packages/third-parties/stripe/package.json b/packages/third-parties/stripe/package.json index bdae8fd646f..6cf977c08e4 100644 --- a/packages/third-parties/stripe/package.json +++ b/packages/third-parties/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/stripe", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Stripe package for Ts.ED framework", "private": false, "keywords": [ @@ -34,22 +34,22 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/platform-middlewares": "7.35.0-rc.1", - "@tsed/platform-params": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/platform-middlewares": "7.36.0-rc.1", + "@tsed/platform-params": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0", "stripe": "^8.129.0" }, "peerDependencies": { - "@tsed/exceptions": "^7.35.0-rc.1", - "@tsed/platform-middlewares": "^7.35.0-rc.1", - "@tsed/platform-params": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1", + "@tsed/exceptions": "^7.36.0-rc.1", + "@tsed/platform-middlewares": "^7.36.0-rc.1", + "@tsed/platform-params": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1", "@types/body-parser": "^1.19.0", "body-parser": "^1.19.0", "stripe": "^9.16.0" diff --git a/packages/third-parties/terminus/package.json b/packages/third-parties/terminus/package.json index 4eebe40a609..bc6cc6eb5d0 100644 --- a/packages/third-parties/terminus/package.json +++ b/packages/third-parties/terminus/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/terminus", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.", "author": "Emilien Leroy ", "private": false, @@ -28,20 +28,20 @@ }, "devDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0" }, "peerDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "^7.35.0-rc.1", - "@tsed/core": "^7.35.0-rc.1", - "@tsed/di": "^7.35.0-rc.1", - "@tsed/schema": "^7.35.0-rc.1" + "@tsed/common": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.1" }, "peerDependenciesMeta": { "@godaddy/terminus": { diff --git a/packages/third-parties/vite-ssr-plugin/package.json b/packages/third-parties/vite-ssr-plugin/package.json index 6504e05ad4d..985a3561b0e 100644 --- a/packages/third-parties/vite-ssr-plugin/package.json +++ b/packages/third-parties/vite-ssr-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/vite-ssr-plugin", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Vite SSR plugin package for Ts.ED framework", "private": false, "contributors": [ @@ -30,18 +30,18 @@ "sirv": ">=2.0.2" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/core": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/common": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "eslint": "^8.12.0", "vite": "4.3.9", "vite-plugin-ssr": "0.4.114" }, "peerDependencies": { - "@tsed/common": "^7.35.0-rc.1", + "@tsed/common": "^7.36.0-rc.1", "vite": ">=4", "vite-plugin-ssr": ">=0.4.114" }, diff --git a/packages/utils/normalize-path/package.json b/packages/utils/normalize-path/package.json index 0c9c3a0d76e..47bb42d74fe 100644 --- a/packages/utils/normalize-path/package.json +++ b/packages/utils/normalize-path/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/normalize-path", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Utils to normalize path", "private": false, "source": "./src/index.ts", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1", + "@tsed/eslint": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1", "@types/normalize-path": "^3.0.0", "eslint": "^8.12.0" }, diff --git a/tools/eslint/package.json b/tools/eslint/package.json index 64b28f7e36c..f56fd1e6bad 100644 --- a/tools/eslint/package.json +++ b/tools/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/eslint", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/github-sponsors/package.json b/tools/github-sponsors/package.json index eed4f0277bc..3d56a7d51d7 100644 --- a/tools/github-sponsors/package.json +++ b/tools/github-sponsors/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/github-sponsors", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "private": true, "scripts": { "sponsors": "node ./bin/github-sponsors.js" diff --git a/tools/integration/package.json b/tools/integration/package.json index 88193a05984..359a0c6fe9e 100644 --- a/tools/integration/package.json +++ b/tools/integration/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/integration", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "source": "src/index.ts", "main": "src/index.js", "private": true, @@ -9,16 +9,16 @@ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json" }, "devDependencies": { - "@tsed/common": "7.35.0-rc.1", - "@tsed/di": "7.35.0-rc.1", - "@tsed/exceptions": "7.35.0-rc.1", - "@tsed/json-mapper": "7.35.0-rc.1", - "@tsed/platform-exceptions": "7.35.0-rc.1", - "@tsed/platform-express": "7.35.0-rc.1", - "@tsed/platform-views": "7.35.0-rc.1", - "@tsed/schema": "7.35.0-rc.1", - "@tsed/swagger": "7.35.0-rc.1", - "@tsed/typescript": "7.35.0-rc.1" + "@tsed/common": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.1", + "@tsed/exceptions": "7.36.0-rc.1", + "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/platform-exceptions": "7.36.0-rc.1", + "@tsed/platform-express": "7.36.0-rc.1", + "@tsed/platform-views": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.1", + "@tsed/swagger": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.1" }, "dependencies": {}, "peerDependencies": {} diff --git a/tools/jest/package.json b/tools/jest/package.json index 27d90ae0035..f68fe70a139 100644 --- a/tools/jest/package.json +++ b/tools/jest/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jest-config", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "private": true, "main": "jest.config.js", "scripts": {}, diff --git a/tools/mocha/package.json b/tools/mocha/package.json index b8e7403a433..15021b06b77 100644 --- a/tools/mocha/package.json +++ b/tools/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mocha-config", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "private": true, "main": "mocha.config.js", "scripts": {}, diff --git a/tools/typescript/package.json b/tools/typescript/package.json index b4878ca6cce..8d31e567bcd 100644 --- a/tools/typescript/package.json +++ b/tools/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typescript", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/webpack/package.json b/tools/webpack/package.json index 21e40b8d74c..b098dd67448 100644 --- a/tools/webpack/package.json +++ b/tools/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/webpack-config", - "version": "7.35.0-rc.1", + "version": "7.36.0-rc.1", "private": true, "main": "webpack.config.js", "scripts": {}, From c50c0dc991173ccc3501bebec0763a3abb4b73f0 Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Tue, 12 Sep 2023 18:25:45 +0200 Subject: [PATCH 23/30] fix(prisma): update readme --- packages/orm/prisma/readme.md | 267 +--------------------------------- 1 file changed, 1 insertion(+), 266 deletions(-) diff --git a/packages/orm/prisma/readme.md b/packages/orm/prisma/readme.md index d89b66d2d1e..521ac1bd543 100644 --- a/packages/orm/prisma/readme.md +++ b/packages/orm/prisma/readme.md @@ -28,272 +28,7 @@ ## Installation -```sh -npm i -D prisma -npm i @tsed/prisma @prisma/client -``` - -## Configuration - -After installation, you need to update your `schema.prisma` file and then add a new generator section below the `client` one: - -```prisma -generator client { - // ... -} - -generator tsed { - provider = "@tsed/prisma" -} -``` - -Then after running `npx prisma generate`, this will emit the generated Ts.ED classes and Enums to `@tsed/prisma/.schema` in `node_modules` folder. - -You can also configure the default output folder, e.g.: - -```prisma -generator tsed { - provider = "@tsed/prisma" - output = "../prisma/generated/tsed" -} -``` - -By default, when the output path contains `node_modules`, the generated code is transpiled - containing `*.js` and `*.d.ts` files that are ready to use (import) in your code. -However, if you explicitly choose an other folder in `output` config, the generated code will be emitted as raw TS files which you can use and import as your other source code files. - -You can overwrite that by explicitly setting `emitTranspiledCode` config option: - -```prisma -generator tsed { - provider = "@tsed/prisma" - output = "../prisma/generated/tsed" - emitTranspiledCode = true -} -``` - -## Usage - -Given that you have this part of datamodel definitions: - -```groovy -model User { - /// @TsED.Groups("!creation") - /// Comment - id Int @id @default(autoincrement()) - createdAt DateTime @default(now()) - /// @TsED.Email() - /// @TsED.Description("User email. This email must be unique!") - email String @unique - weight Float? - is18 Boolean? - name String? - successorId Int? - successor User? @relation("BlogOwnerHistory", fields: [successorId], references: [id]) - predecessor User? @relation("BlogOwnerHistory") - role Role @default(USER) - posts Post[] - keywords String[] - biography Json - - /// @TsED.Ignore(ctx.endpoint === true) - ignored String -} - -model Post { - id Int @id @default(autoincrement()) - user User? @relation(fields: [userId], references: [id]) - userId Int? -} - -enum Role { - USER - ADMIN -} -``` - -it will generate the following UserModel: - -```typescript -import {Integer, Required, Property, Groups, Format, Email, Description, Allow, Enum, CollectionOf} from "@tsed/schema"; -import {User} from "../client"; -import {Role} from "../enums"; -import {PostModel} from "./PostModel"; - -export class UserModel implements User { - @Property(Number) - @Integer() - @Required() - @Groups("!creation") - id: number; - - @Property(Date) - @Format("date-time") - @Required() - createdAt: Date; - - @Property(String) - @Required() - @Email() - @Description("User email. This email must be unique!") - email: string; - - @Property(Number) - @Allow(null) - weight: number | null; - - @Property(Boolean) - @Allow(null) - is18: boolean | null; - - @Property(String) - @Allow(null) - name: string | null; - - @Property(Number) - @Integer() - @Allow(null) - successorId: number | null; - - @Property(() => UserModel) - @Allow(null) - predecessor: UserModel | null; - - @Required() - @Enum(Role) - role: Role; - - @CollectionOf(() => PostModel) - @Required() - posts: PostModel[]; - - @CollectionOf(String) - @Required() - keywords: string[]; - - @Property(Object) - @Required() - biography: any; - - @Ignore((value: any, ctx: any) => ctx.endpoint === true) - ignored: string; -} -``` - -And, the following repository: - -```typescript -import {isArray} from "@tsed/core"; -import {deserialize} from "@tsed/json-mapper"; -import {Injectable, Inject} from "@tsed/di"; -import {PrismaService} from "../services/PrismaService"; -import {Prisma, User} from "../client"; -import {UserModel} from "../models"; - -@Injectable() -export class UsersRepository { - @Inject() - protected prisma: PrismaService; - - get collection() { - return this.prisma.user; - } - - get groupBy() { - return this.collection.groupBy.bind(this.collection); - } - - protected deserialize(obj: null | User | User[]): T { - return deserialize(obj, {type: UserModel, collectionType: isArray(obj) ? Array : undefined}); - } - - async findUnique(args: Prisma.UserFindUniqueArgs): Promise { - const obj = await this.collection.findUnique(args); - return this.deserialize(obj); - } - - async findFirst(args: Prisma.UserFindFirstArgs): Promise { - const obj = await this.collection.findFirst(args); - return this.deserialize(obj); - } - - async findMany(args?: Prisma.UserFindManyArgs): Promise { - const obj = await this.collection.findMany(args); - return this.deserialize(obj); - } - - async create(args: Prisma.UserCreateArgs): Promise { - const obj = await this.collection.create(args); - return this.deserialize(obj); - } - - async update(args: Prisma.UserUpdateArgs): Promise { - const obj = await this.collection.update(args); - return this.deserialize(obj); - } - - async upsert(args: Prisma.UserUpsertArgs): Promise { - const obj = await this.collection.upsert(args); - return this.deserialize(obj); - } - - async delete(args: Prisma.UserDeleteArgs): Promise { - const obj = await this.collection.delete(args); - return this.deserialize(obj); - } - - async deleteMany(args: Prisma.UserDeleteManyArgs) { - return this.collection.deleteMany(args); - } - - async updateMany(args: Prisma.UserUpdateManyArgs) { - return this.collection.updateMany(args); - } - - async aggregate(args: Prisma.UserAggregateArgs) { - return this.collection.aggregate(args); - } -} -``` - -## Add Ts.ED decorator - -The generator parse prisma command to find extra Ts.ED decorators. You can use any `@tsed/schema` decorators from Ts.ED by -adding a comment with the following format `/// @TsED.Decorator`. See example above: - -```prisma -model User { - /// @TsED.Groups("!creation") - /// Comment - id Int @id @default(autoincrement()) - createdAt DateTime @default(now()) - /// @TsED.Email() - /// @TsED.Description("User email. This email must be unique!") - email String @unique - /// @TsED.Ignore(ctx.endpoint === true) - ignored String -} -``` - -Output: - -```typescript -export class UserModel implements User { - @Property(Number) - @Integer() - @Required() - @Groups("!creation") - id: number; - - @Property(String) - @Required() - @Email() - @Description("User email. This email must be unique!") - email: string; - - @TsED.Ignore((value: any, ctx: any) => ctx.endpoint === true) - ignored: string; -} -``` +See our [documentation](https://tsed.io/tutorials/prisma.html) for more information. ## Contributors From 056afd92f9c5e6e7b4e96885d6fcc1c16483a92e Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Tue, 12 Sep 2023 19:28:56 +0200 Subject: [PATCH 24/30] fix(json-mapper): fix additionalProperties regression on property decorated by @Name() --- .../orm/mongoose/src/decorators/objectID.ts | 1 + .../orm/mongoose/test/ref.integration.spec.ts | 4 +- .../src/domain/JsonDeserializer.ts | 4 +- .../additional-properties.integration.spec.ts | 56 +++++++++++++++++++ 4 files changed, 60 insertions(+), 5 deletions(-) create mode 100644 packages/specs/json-mapper/test/integration/additional-properties.integration.spec.ts diff --git a/packages/orm/mongoose/src/decorators/objectID.ts b/packages/orm/mongoose/src/decorators/objectID.ts index bdc18cfc0de..a8fa18f875e 100644 --- a/packages/orm/mongoose/src/decorators/objectID.ts +++ b/packages/orm/mongoose/src/decorators/objectID.ts @@ -1,4 +1,5 @@ import {useDecorators} from "@tsed/core"; +import {OnDeserialize} from "@tsed/json-mapper"; import {Description, Example, Name, Pattern} from "@tsed/schema"; import {Types} from "mongoose"; import {Auto} from "./auto"; diff --git a/packages/orm/mongoose/test/ref.integration.spec.ts b/packages/orm/mongoose/test/ref.integration.spec.ts index 6d7b231ce73..81dbbe12c74 100644 --- a/packages/orm/mongoose/test/ref.integration.spec.ts +++ b/packages/orm/mongoose/test/ref.integration.spec.ts @@ -27,9 +27,7 @@ class ProfilesCtrl { } @Get("/") - async getTest(@QueryParams("full") full: boolean) { - const result = await this.ProfileModel.find(); - + getTest(@QueryParams("full") full: boolean) { return full ? this.ProfileModel.find().populate("user") : this.ProfileModel.find(); } } diff --git a/packages/specs/json-mapper/src/domain/JsonDeserializer.ts b/packages/specs/json-mapper/src/domain/JsonDeserializer.ts index 9c354ad9693..89fae9ebdfa 100644 --- a/packages/specs/json-mapper/src/domain/JsonDeserializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonDeserializer.ts @@ -147,7 +147,7 @@ export class JsonDeserializer extends JsonMapperCompiler { const key = propertyStore.propertyName; - properties.add(key as string); + // TODO V8 add this line: properties.add(key as string); properties.add(String(propertyStore.parent.schema.getAliasOf(key) || key)); if ( @@ -325,7 +325,7 @@ export class JsonDeserializer extends JsonMapperCompiler { + describe("deserialize then serialize", () => { + function Snake() { + return (target: any, propertyKey: string) => Name(snakeCase(propertyKey))(target, propertyKey); + } + + function Label(label?: string) { + return (target: any, propertyKey: string) => { + const type = JsonEntityStore.from(target, propertyKey).computedType; + + label = (label ? label : sentenceCase(propertyKey)) + (type === Boolean ? "" : ":"); + + return useDecorators(Snake(), Title(label))(target, propertyKey); + }; + } + + class OIDCBase { + @Label() + @ReadOnly() + @Hidden() + created?: Date; + + @Label() + @ReadOnly() + @Hidden() + modified?: Date; + } + + @AdditionalProperties(true) + class OIDCUser extends OIDCBase { + @Label() + @Groups("partners") + salesmanId: string; + } + + it("should deserialize and the serialize object without losing groups properties + additional properties", () => { + const user = deserialize( + { + salesmanId: "00239496" + }, + {type: OIDCUser, useAlias: true} + ); + + expect(user.salesmanId).toEqual("00239496"); + + expect(serialize(user, {type: OIDCUser})).toEqual({ + salesman_id: "00239496" + }); + }); + }); +}); From 89c58f067db9162ab45fee11cec0e7150aced273 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 12 Sep 2023 18:50:28 +0000 Subject: [PATCH 25/30] Github CI build: __run_2 v7.36.0-rc.2 [ci skip] --- lerna.json | 2 +- package.json | 2 +- packages/core/package.json | 6 ++-- packages/di/package.json | 14 ++++---- packages/engines/package.json | 6 ++-- packages/graphql/apollo/package.json | 18 +++++------ packages/graphql/typegraphql/package.json | 12 +++---- packages/orm/adapters-redis/package.json | 20 ++++++------ packages/orm/adapters/package.json | 30 ++++++++--------- packages/orm/ioredis/package.json | 14 ++++---- packages/orm/mikro-orm/package.json | 24 +++++++------- packages/orm/mongoose/package.json | 26 +++++++-------- packages/orm/objection/package.json | 26 +++++++-------- packages/orm/prisma/package.json | 22 ++++++------- packages/orm/testing-mongoose/package.json | 18 +++++------ packages/orm/typeorm/package.json | 22 ++++++------- packages/perf/package.json | 8 ++--- packages/platform/common/package.json | 32 +++++++++---------- packages/platform/platform-cache/package.json | 22 ++++++------- .../platform/platform-exceptions/package.json | 22 ++++++------- .../platform/platform-express/package.json | 30 ++++++++--------- packages/platform/platform-koa/package.json | 26 +++++++-------- .../platform-log-middleware/package.json | 18 +++++------ .../platform-middlewares/package.json | 18 +++++------ .../platform/platform-params/package.json | 26 +++++++-------- .../platform-response-filter/package.json | 26 +++++++-------- .../platform/platform-router/package.json | 30 ++++++++--------- .../platform-serverless-http/package.json | 26 +++++++-------- .../platform-serverless-testing/package.json | 26 +++++++-------- .../platform/platform-serverless/package.json | 22 ++++++------- .../platform/platform-test-sdk/package.json | 28 ++++++++-------- packages/platform/platform-views/package.json | 28 ++++++++-------- packages/security/jwks/package.json | 6 ++-- .../package.json | 18 +++++------ packages/security/oidc-provider/package.json | 30 ++++++++--------- packages/security/passport/package.json | 16 +++++----- packages/specs/ajv/package.json | 22 ++++++------- packages/specs/exceptions/package.json | 8 ++--- packages/specs/json-mapper/package.json | 14 ++++---- packages/specs/openspec/package.json | 6 ++-- packages/specs/schema/package.json | 16 +++++----- packages/specs/swagger/package.json | 24 +++++++------- packages/third-parties/agenda/package.json | 12 +++---- .../components-scan/package.json | 12 +++---- .../third-parties/event-emitter/package.json | 12 +++---- .../third-parties/formio-types/package.json | 6 ++-- packages/third-parties/formio/package.json | 20 ++++++------ .../third-parties/schema-formio/package.json | 20 ++++++------ .../socketio-testing/package.json | 16 +++++----- packages/third-parties/socketio/package.json | 30 ++++++++--------- packages/third-parties/stripe/package.json | 26 +++++++-------- packages/third-parties/terminus/package.json | 22 ++++++------- .../vite-ssr-plugin/package.json | 16 +++++----- packages/utils/normalize-path/package.json | 6 ++-- tools/eslint/package.json | 2 +- tools/github-sponsors/package.json | 2 +- tools/integration/package.json | 22 ++++++------- tools/jest/package.json | 2 +- tools/mocha/package.json | 2 +- tools/typescript/package.json | 2 +- tools/webpack/package.json | 2 +- 61 files changed, 521 insertions(+), 521 deletions(-) diff --git a/lerna.json b/lerna.json index 85ff69b433f..bbe00a5b5f5 100644 --- a/lerna.json +++ b/lerna.json @@ -11,7 +11,7 @@ "packages/third-parties/*", "docs" ], - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "command": { "bootstrap": { "npmClientArgs": [ diff --git a/package.json b/package.json index 37b7e5c95ac..ef63b006434 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/root", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "A TypeScript Framework on top of Express", "private": true, "author": "Romain Lenzotti", diff --git a/packages/core/package.json b/packages/core/package.json index f1742a422d5..8bc75e5fef0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/core", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Core module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -29,8 +29,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/di/package.json b/packages/di/package.json index 6b1e2560d39..0c33107d14e 100644 --- a/packages/di/package.json +++ b/packages/di/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/di", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "DI module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -28,17 +28,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/engines/package.json b/packages/engines/package.json index 4e79fef7c22..64386b2eb35 100644 --- a/packages/engines/package.json +++ b/packages/engines/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/engines", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Template engines library. Provide an API to adding custom engines from decorators.", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -27,8 +27,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/fs-extra": "^9.0.13", "@types/semver": "^7.3.9", "arc-templates": "^0.5.3", diff --git a/packages/graphql/apollo/package.json b/packages/graphql/apollo/package.json index d65eed4660d..ce6fd88d01e 100644 --- a/packages/graphql/apollo/package.json +++ b/packages/graphql/apollo/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/apollo", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Apollo package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -25,12 +25,12 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/typescript": "7.36.0-rc.2", "@types/graphql": "14.5.0", "apollo-datasource": "^3.2.0", "apollo-datasource-rest": "^3.3.0", @@ -42,9 +42,9 @@ "graphql": "15.7.2" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2", "apollo-datasource": ">=3.0.0", "apollo-datasource-rest": ">=3.0.0", diff --git a/packages/graphql/typegraphql/package.json b/packages/graphql/typegraphql/package.json index 06ca1168b1f..d5156a75ded 100644 --- a/packages/graphql/typegraphql/package.json +++ b/packages/graphql/typegraphql/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typegraphql", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql", "private": false, "source": "./src/index.ts", @@ -24,14 +24,14 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/apollo": "7.36.0-rc.1", + "@tsed/apollo": "7.36.0-rc.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/graphql": "^14.5.0", "class-validator": "~0.14.0", "eslint": "^8.12.0", diff --git a/packages/orm/adapters-redis/package.json b/packages/orm/adapters-redis/package.json index 4f0d2488c46..85eb6b7146f 100644 --- a/packages/orm/adapters-redis/package.json +++ b/packages/orm/adapters-redis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters-redis", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Redis adapter for Ts.ED", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.36.0-rc.1", - "@tsed/ioredis": "7.36.0-rc.1", + "@tsed/adapters": "7.36.0-rc.2", + "@tsed/ioredis": "7.36.0-rc.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/adapters": "^7.36.0-rc.1", - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", + "@tsed/adapters": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2", "uuid": "8.3.2" diff --git a/packages/orm/adapters/package.json b/packages/orm/adapters/package.json index eaeb0a9276d..9bb46d54db9 100644 --- a/packages/orm/adapters/package.json +++ b/packages/orm/adapters/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Database adapters for Ts.ED", "private": false, "source": "./src/index.ts", @@ -32,24 +32,24 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/ajv": "7.36.0-rc.1", - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/ajv": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/fs-extra": "9.0.13", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.1", - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/ajv": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/ajv": { diff --git a/packages/orm/ioredis/package.json b/packages/orm/ioredis/package.json index 9ab7ca41948..89fafeb21e9 100644 --- a/packages/orm/ioredis/package.json +++ b/packages/orm/ioredis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ioredis", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "IO Redis connection for Ts.ED", "private": false, "source": "./src/index.ts", @@ -25,18 +25,18 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/ioredis-mock": "^5.6.0", "eslint": "^8.12.0", "ioredis": "5.2.3", "ioredis-mock": "8.2.2" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2" } diff --git a/packages/orm/mikro-orm/package.json b/packages/orm/mikro-orm/package.json index 4902870b01b..70c4145b09b 100644 --- a/packages/orm/mikro-orm/package.json +++ b/packages/orm/mikro-orm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mikro-orm", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "MikroORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -27,23 +27,23 @@ "devDependencies": { "@mikro-orm/core": "^5.2.2", "@mikro-orm/mongodb": "^5.2.2", - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", "@tsed/logger": ">=6.1.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/testing-mongoose": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/testing-mongoose": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0", "ts-mockito": "^2.6.1" }, "peerDependencies": { "@mikro-orm/core": ">=4.5.9", - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2" } } \ No newline at end of file diff --git a/packages/orm/mongoose/package.json b/packages/orm/mongoose/package.json index dc444c70600..bdba94810e3 100644 --- a/packages/orm/mongoose/package.json +++ b/packages/orm/mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mongoose", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Mongoose package for Ts.ED framework", "private": false, "keywords": [ @@ -33,24 +33,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/ajv": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0", "mongoose": "6.11.3" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/ajv": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/schema": "^7.36.0-rc.2", "mongoose": ">=6.0.0" } } \ No newline at end of file diff --git a/packages/orm/objection/package.json b/packages/orm/objection/package.json index 907fc332471..f01b9c35929 100644 --- a/packages/orm/objection/package.json +++ b/packages/orm/objection/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/objection", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Objection.js package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,24 +25,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/ajv": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0", "knex": "^2.4.0", "objection": "^2.2.15", "sqlite3": "^5.0.2" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/ajv": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2", "knex": ">=0.94.0", "objection": ">=2.0.0" }, diff --git a/packages/orm/prisma/package.json b/packages/orm/prisma/package.json index 2bcae06241d..313dbc162f4 100644 --- a/packages/orm/prisma/package.json +++ b/packages/orm/prisma/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/prisma", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Generate Ts.ED JsonSchema based on Prisma models", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -36,12 +36,12 @@ }, "devDependencies": { "@prisma/client": "^4.0.0", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/change-case": "^2.3.1", "@types/pluralize": "0.0.29", "eslint": "^8.12.0", @@ -49,10 +49,10 @@ }, "peerDependencies": { "@prisma/client": ">=4.0.0", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "keywords": [ "TypeScript", diff --git a/packages/orm/testing-mongoose/package.json b/packages/orm/testing-mongoose/package.json index 602a0c9a992..04184722e5f 100644 --- a/packages/orm/testing-mongoose/package.json +++ b/packages/orm/testing-mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/testing-mongoose", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/mongoose": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/mongoose": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/mongoose": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/mongoose": "^7.36.0-rc.2", "mongoose": "^6.1.7" } } \ No newline at end of file diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index 7e77f580b6e..a0fe1f24993 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typeorm", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "TypeORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,20 +25,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0", "typeorm": "^0.2.45" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2", "typeorm": "^0.2.26" } } \ No newline at end of file diff --git a/packages/perf/package.json b/packages/perf/package.json index 38cd33fff1a..f87177bc82c 100644 --- a/packages/perf/package.json +++ b/packages/perf/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/perf", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Perf module tool", "private": false, "source": "./src/index.ts", @@ -20,13 +20,13 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", "chalk": "^4.1.0", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/common/package.json b/packages/platform/common/package.json index 8883168b455..a110beaf7fa 100644 --- a/packages/platform/common/package.json +++ b/packages/platform/common/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/common", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -68,29 +68,29 @@ } ], "dependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", "@tsed/logger": ">=6.2.2", "@tsed/logger-file": ">=6.2.2", - "@tsed/platform-exceptions": "7.36.0-rc.1", - "@tsed/platform-log-middleware": "7.36.0-rc.1", - "@tsed/platform-middlewares": "7.36.0-rc.1", - "@tsed/platform-params": "7.36.0-rc.1", - "@tsed/platform-response-filter": "7.36.0-rc.1", - "@tsed/platform-router": "7.36.0-rc.1", - "@tsed/platform-views": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", + "@tsed/platform-exceptions": "7.36.0-rc.2", + "@tsed/platform-log-middleware": "7.36.0-rc.2", + "@tsed/platform-middlewares": "7.36.0-rc.2", + "@tsed/platform-params": "7.36.0-rc.2", + "@tsed/platform-response-filter": "7.36.0-rc.2", + "@tsed/platform-router": "7.36.0-rc.2", + "@tsed/platform-views": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", "@types/json-schema": "7.0.11", "accepts": "^1.3.8", "tslib": "2.5.0", "uuid": "8.3.2" }, "devDependencies": { - "@tsed/components-scan": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/components-scan": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/platform/platform-cache/package.json b/packages/platform/platform-cache/package.json index 43a164c9dfc..bf886411150 100644 --- a/packages/platform/platform-cache/package.json +++ b/packages/platform/platform-cache/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-cache", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Platform cache module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -27,20 +27,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/micromatch": "^4.0.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-exceptions/package.json b/packages/platform/platform-exceptions/package.json index 2aa71a753bd..dd960d933fd 100644 --- a/packages/platform/platform-exceptions/package.json +++ b/packages/platform/platform-exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-exceptions", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Platform exceptions module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,19 +25,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/exceptions": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/exceptions": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-express/package.json b/packages/platform/platform-express/package.json index f66a0fceded..2c593247c7f 100644 --- a/packages/platform/platform-express/package.json +++ b/packages/platform/platform-express/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-express", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -63,13 +63,13 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/platform-test-sdk": "7.36.0-rc.1", - "@tsed/platform-views": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/platform-test-sdk": "7.36.0-rc.2", + "@tsed/platform-views": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/body-parser": "1.19.2", "@types/compression": "1.7.2", "@types/cookie-parser": "1.4.2", @@ -86,14 +86,14 @@ "method-override": "3.0.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.1", - "@tsed/platform-views": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/openspec": "^7.36.0-rc.2", + "@tsed/platform-views": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2", "@types/multer": "^1.4.5", "body-parser": "^1.19.0", "multer": "^1.4.5-lts.1" diff --git a/packages/platform/platform-koa/package.json b/packages/platform/platform-koa/package.json index f27cc3db1eb..9d2b89e3438 100644 --- a/packages/platform/platform-koa/package.json +++ b/packages/platform/platform-koa/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-koa", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Koa package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -58,12 +58,12 @@ }, "devDependencies": { "@koa/cors": "3.3.0", - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/platform-test-sdk": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/platform-test-sdk": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/koa": "2.13.4", "@types/koa-bodyparser": "4.3.7", "@types/koa-compose": "3.2.5", @@ -89,13 +89,13 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/openspec": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2", "koa": ">=2.13.0", "koa-bodyparser": ">=4.3.0", "koa-compress": ">=5.0.1", diff --git a/packages/platform/platform-log-middleware/package.json b/packages/platform/platform-log-middleware/package.json index 580895c003f..dd8174be0a9 100644 --- a/packages/platform/platform-log-middleware/package.json +++ b/packages/platform/platform-log-middleware/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-log-middleware", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Log request middleware module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/platform-middlewares": "7.36.0-rc.1", - "@tsed/platform-params": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/platform-middlewares": "7.36.0-rc.2", + "@tsed/platform-params": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/di": "^7.36.0-rc.1", - "@tsed/platform-middlewares": "^7.36.0-rc.1", - "@tsed/platform-params": "^7.36.0-rc.1" + "@tsed/di": "^7.36.0-rc.2", + "@tsed/platform-middlewares": "^7.36.0-rc.2", + "@tsed/platform-params": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/di": { diff --git a/packages/platform/platform-middlewares/package.json b/packages/platform/platform-middlewares/package.json index 676200d99da..9031e12b816 100644 --- a/packages/platform/platform-middlewares/package.json +++ b/packages/platform/platform-middlewares/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-middlewares", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Middlewares module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-params/package.json b/packages/platform/platform-params/package.json index 5f45828ecfe..86ef0d41d76 100644 --- a/packages/platform/platform-params/package.json +++ b/packages/platform/platform-params/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-params", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Params module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/exceptions": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/exceptions": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-response-filter/package.json b/packages/platform/platform-response-filter/package.json index 0eefb4e14ce..ecf0c291419 100644 --- a/packages/platform/platform-response-filter/package.json +++ b/packages/platform/platform-response-filter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-response-filter", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Platform response filter module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/exceptions": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/exceptions": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-router/package.json b/packages/platform/platform-router/package.json index b3e112c22cc..29170007384 100644 --- a/packages/platform/platform-router/package.json +++ b/packages/platform/platform-router/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-router", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Router", "private": false, "source": "./src/index.ts", @@ -25,23 +25,23 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/platform-params": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/platform-params": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/exceptions": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", - "@tsed/platform-params": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/exceptions": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/platform-params": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-serverless-http/package.json b/packages/platform/platform-serverless-http/package.json index b6d08915f42..219e38bf0f2 100644 --- a/packages/platform/platform-serverless-http/package.json +++ b/packages/platform/platform-serverless-http/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-http", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Module to support Serverless HTTP function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -62,24 +62,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/platform-serverless-testing": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/platform-serverless-testing": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "aws-lambda": "^1.0.7", "eslint": "^8.12.0", "serverless-http": "^2.7.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/openspec": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2", "aws-lambda": ">=1.0.7", "serverless-http": ">=2.0.0" }, diff --git a/packages/platform/platform-serverless-testing/package.json b/packages/platform/platform-serverless-testing/package.json index ffccb73d3e0..00898826a72 100644 --- a/packages/platform/platform-serverless-testing/package.json +++ b/packages/platform/platform-serverless-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-testing", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Module to test Serverless function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -57,12 +57,12 @@ "url": "git+https://github.com/tsedio/tsed.git" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "dependencies": { @@ -70,12 +70,12 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/openspec": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" } } \ No newline at end of file diff --git a/packages/platform/platform-serverless/package.json b/packages/platform/platform-serverless/package.json index 77f583bfcfd..fafa9366590 100644 --- a/packages/platform/platform-serverless/package.json +++ b/packages/platform/platform-serverless/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Platform serverless module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/platform-exceptions": "7.36.0-rc.1", - "@tsed/platform-params": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/platform-exceptions": "7.36.0-rc.2", + "@tsed/platform-params": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", "encodeurl": "^1.0.2", "mime": "^3.0.0", "tslib": "2.5.0", "uuid": "^8.3.2" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/platform-serverless-testing": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/platform-serverless-testing": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/aws-lambda": "^8.10.83", "@types/encodeurl": "^1.0.0", "@types/mime": "^3.0.1", @@ -44,7 +44,7 @@ "find-my-way": "^7.0.0" }, "peerDependencies": { - "@tsed/di": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2" }, "peerDependenciesMeta": { diff --git a/packages/platform/platform-test-sdk/package.json b/packages/platform/platform-test-sdk/package.json index 6138b7b99d9..4b3467d89af 100644 --- a/packages/platform/platform-test-sdk/package.json +++ b/packages/platform/platform-test-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-test-sdk", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Package to test platform adapter integration with Ts.ED", "private": false, "source": "./src/index.ts", @@ -28,25 +28,25 @@ "Adapter" ], "dependencies": { - "@tsed/ajv": "7.36.0-rc.1", - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", + "@tsed/ajv": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", "@tsed/logger": "6.2.2", - "@tsed/platform-cache": "7.36.0-rc.1", - "@tsed/platform-params": "7.36.0-rc.1", - "@tsed/platform-router": "7.36.0-rc.1", - "@tsed/platform-views": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/swagger": "7.36.0-rc.1", + "@tsed/platform-cache": "7.36.0-rc.2", + "@tsed/platform-params": "7.36.0-rc.2", + "@tsed/platform-router": "7.36.0-rc.2", + "@tsed/platform-views": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/swagger": "7.36.0-rc.2", "ajv": "^8.12.0", "axios": "^1.3.0", "read-pkg-up": "7.0.1" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/platform-views/package.json b/packages/platform/platform-views/package.json index 62c2be29106..f5ea332cb6c 100644 --- a/packages/platform/platform-views/package.json +++ b/packages/platform/platform-views/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-views", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Views module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,27 +22,27 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/engines": "7.36.0-rc.1", + "@tsed/engines": "7.36.0-rc.2", "ejs": "^3.1.5", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/engines": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/engines": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/ejs": "3.1.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/engines": "^7.36.0-rc.1", - "@tsed/exceptions": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/engines": "^7.36.0-rc.2", + "@tsed/exceptions": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/security/jwks/package.json b/packages/security/jwks/package.json index 7e6776c1fee..c02a83df753 100644 --- a/packages/security/jwks/package.json +++ b/packages/security/jwks/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jwks", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Utils to generate jwks pair keys", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json index 8107cbbbde8..cf0cde90ac2 100644 --- a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json +++ b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider-plugin-wildcard-redirect-uri", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "A plugin to support wildcard in the redirect uri whitelist", "private": false, "contributors": [ @@ -31,19 +31,19 @@ "wildcard": "2.0.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/oidc-provider": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/oidc-provider": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/uuid": "8.3.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/oidc-provider": "^7.36.0-rc.1", + "@tsed/oidc-provider": "^7.36.0-rc.2", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/oidc-provider/package.json b/packages/security/oidc-provider/package.json index 1fe0de4d573..8758a926e13 100644 --- a/packages/security/oidc-provider/package.json +++ b/packages/security/oidc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "OIDC provider package for Ts.ED framework", "private": false, "contributors": [ @@ -34,7 +34,7 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.36.0-rc.1", + "@tsed/adapters": "7.36.0-rc.2", "express-urlrewrite": "^1.4.0", "jose2": "npm:jose@^2.0.4", "koa-mount": "^4.0.0", @@ -43,13 +43,13 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/jwks": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/jwks": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/lowdb": "1.0.11", "@types/oidc-provider": "8.1.1", "@types/uuid": "8.3.4", @@ -58,12 +58,12 @@ "oidc-provider": "8.1.1" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.1", - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/ajv": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/passport/package.json b/packages/security/passport/package.json index baec8410ce8..a186a3762c9 100644 --- a/packages/security/passport/package.json +++ b/packages/security/passport/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/passport", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Passport package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,12 +26,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/platform-router": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/platform-router": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/passport": "1.0.7", "@types/passport-http": "0.3.9", "@types/passport-local": "1.0.34", @@ -43,7 +43,7 @@ "passport-strategy": "1.0.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", "passport": ">=0.4.1" }, "peerDependenciesMeta": { diff --git a/packages/specs/ajv/package.json b/packages/specs/ajv/package.json index 41ba999cfa2..a090d79e31c 100644 --- a/packages/specs/ajv/package.json +++ b/packages/specs/ajv/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ajv", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "AJV package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,20 +26,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "ajv": "8.11.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/exceptions": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/exceptions": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2", "ajv": ">=8.9.0", "ajv-errors": ">=3.0.0" }, diff --git a/packages/specs/exceptions/package.json b/packages/specs/exceptions/package.json index d7934364959..34c063b530d 100644 --- a/packages/specs/exceptions/package.json +++ b/packages/specs/exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/exceptions", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "HTTP exceptions module for Ts.ED Framework and other pure Express application", "private": false, "source": "./src/index.ts", @@ -27,12 +27,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/statuses": "2.0.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2" } } \ No newline at end of file diff --git a/packages/specs/json-mapper/package.json b/packages/specs/json-mapper/package.json index 1060e614267..6256f17f007 100644 --- a/packages/specs/json-mapper/package.json +++ b/packages/specs/json-mapper/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/json-mapper", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Json mapper module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -41,15 +41,15 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/specs/openspec/package.json b/packages/specs/openspec/package.json index 8d8ab3413c9..63c47d06d93 100644 --- a/packages/specs/openspec/package.json +++ b/packages/specs/openspec/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/openspec", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application", "private": false, "source": "./src/index.ts", @@ -31,8 +31,8 @@ "JsonSchema" ], "devDependencies": { - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "dependencies": {}, diff --git a/packages/specs/schema/package.json b/packages/specs/schema/package.json index a22efc3332b..7b8615e4eb3 100644 --- a/packages/specs/schema/package.json +++ b/packages/specs/schema/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "JsonSchema module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -36,7 +36,7 @@ "tsed" ], "dependencies": { - "@tsed/openspec": "7.36.0-rc.1", + "@tsed/openspec": "7.36.0-rc.2", "change-case": "^4.1.2", "fs-extra": "^10.0.1", "json-schema": "0.4.0", @@ -46,10 +46,10 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@tsed/core": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/openspec": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/openspec": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/fs-extra": "9.0.13", "@types/json-schema": "7.0.11", "@types/picomatch": "2.3.0", @@ -58,8 +58,8 @@ "picomatch-browser": "https://github.com/silverwind/picomatch#ee6ebcc5570a8846d81610c11ebb92a9e199b145" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/openspec": "^7.36.0-rc.1" + "@tsed/core": "^7.36.0-rc.2", + "@tsed/openspec": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/openspec": { diff --git a/packages/specs/swagger/package.json b/packages/specs/swagger/package.json index b2515b06695..50035a71272 100644 --- a/packages/specs/swagger/package.json +++ b/packages/specs/swagger/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/swagger", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Swagger package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,8 +24,8 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.36.0-rc.1", - "@tsed/openspec": "7.36.0-rc.1", + "@tsed/normalize-path": "7.36.0-rc.2", + "@tsed/openspec": "7.36.0-rc.2", "filedirname": "^2.7.0", "fs-extra": "10.0.1", "micromatch": "4.0.5", @@ -33,19 +33,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/openspec": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/openspec": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/swagger-ui-dist": ">=3.30.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1" + "@tsed/common": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@tsed/common": { diff --git a/packages/third-parties/agenda/package.json b/packages/third-parties/agenda/package.json index f93afcd8fef..c1dce332b9c 100644 --- a/packages/third-parties/agenda/package.json +++ b/packages/third-parties/agenda/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/agenda", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Agenda package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -30,11 +30,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "agenda": "^4.1.3", "eslint": "^8.12.0" }, diff --git a/packages/third-parties/components-scan/package.json b/packages/third-parties/components-scan/package.json index 92ecb4b49a5..ba969ee9c7e 100644 --- a/packages/third-parties/components-scan/package.json +++ b/packages/third-parties/components-scan/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/components-scan", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Components scan utilities for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,15 +22,15 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.36.0-rc.1", + "@tsed/normalize-path": "7.36.0-rc.2", "globby": "11.0.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/third-parties/event-emitter/package.json b/packages/third-parties/event-emitter/package.json index 783c448b328..36948e275c6 100644 --- a/packages/third-parties/event-emitter/package.json +++ b/packages/third-parties/event-emitter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/event-emitter", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "EventEmitter package for Ts.ED framework", "contributors": [ { @@ -33,11 +33,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0", "eventemitter2": "^6.4.4" }, diff --git a/packages/third-parties/formio-types/package.json b/packages/third-parties/formio-types/package.json index 521977d1c43..90edc991a69 100644 --- a/packages/third-parties/formio-types/package.json +++ b/packages/third-parties/formio-types/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio-types", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Formio types definition package for Ts.ED framework", "private": false, "keywords": [ @@ -36,8 +36,8 @@ "formiojs": ">=4.0.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" } } \ No newline at end of file diff --git a/packages/third-parties/formio/package.json b/packages/third-parties/formio/package.json index ea04435b9fb..e6c5516feb2 100644 --- a/packages/third-parties/formio/package.json +++ b/packages/third-parties/formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Formio package for Ts.ED framework", "private": false, "keywords": [ @@ -31,17 +31,17 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/formio-types": "7.36.0-rc.1", - "@tsed/normalize-path": "7.36.0-rc.1", + "@tsed/formio-types": "7.36.0-rc.2", + "@tsed/normalize-path": "7.36.0-rc.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/mongoose": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/mongoose": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/async": "3.2.15", "eslint": "^8.12.0", "express": "^4.17.1", @@ -50,7 +50,7 @@ "mongoose": "^6.1.7" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", "express": "^4.17.1", "formio": "^2.0.0", "lodash": "^4.17.21", diff --git a/packages/third-parties/schema-formio/package.json b/packages/third-parties/schema-formio/package.json index f50c5ffd9d8..e6cebf420a2 100644 --- a/packages/third-parties/schema-formio/package.json +++ b/packages/third-parties/schema-formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema-formio", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Transform Ts.ED Schema & JsonSchema to a valid Formio schema", "private": false, "source": "./src/index.ts", @@ -38,22 +38,22 @@ "tsed" ], "dependencies": { - "@tsed/formio-types": "7.36.0-rc.1", + "@tsed/formio-types": "7.36.0-rc.2", "change-case": "4.1.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/openspec": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/openspec": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.1", - "@tsed/openspec": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/openspec": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2", "formiojs": ">=4.0.0", "lodash": ">=4.0.0", "moment": ">=2.0.0" diff --git a/packages/third-parties/socketio-testing/package.json b/packages/third-parties/socketio-testing/package.json index dd0814a9281..0ce1f477dc4 100644 --- a/packages/third-parties/socketio-testing/package.json +++ b/packages/third-parties/socketio-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio-testing", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Socket.io testing package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,17 +24,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0", "socket.io-client": "^4.1.2" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", "socket.io-client": "^4.0.1" } } \ No newline at end of file diff --git a/packages/third-parties/socketio/package.json b/packages/third-parties/socketio/package.json index 7eef61253b1..a9184fd1a46 100644 --- a/packages/third-parties/socketio/package.json +++ b/packages/third-parties/socketio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Socket.io package for Ts.ED framework", "private": false, "keywords": [ @@ -33,27 +33,27 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/openspec": "7.36.0-rc.1", - "@tsed/platform-middlewares": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/socketio-testing": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/openspec": "7.36.0-rc.2", + "@tsed/platform-middlewares": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/socketio-testing": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0", "express": "^4.17.1", "socket.io": "4.7.1", "socket.io-client": "^4.7.1" }, "peerDependencies": { - "@tsed/di": "^7.36.0-rc.1", - "@tsed/json-mapper": "^7.36.0-rc.1", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/json-mapper": "^7.36.0-rc.2", "@tsed/logger": ">=6.2.2", - "@tsed/platform-middlewares": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/platform-middlewares": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2", "socket.io": ">=4.0.0" }, "peerDependenciesMeta": { diff --git a/packages/third-parties/stripe/package.json b/packages/third-parties/stripe/package.json index 6cf977c08e4..d7425ab3da1 100644 --- a/packages/third-parties/stripe/package.json +++ b/packages/third-parties/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/stripe", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Stripe package for Ts.ED framework", "private": false, "keywords": [ @@ -34,22 +34,22 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/platform-middlewares": "7.36.0-rc.1", - "@tsed/platform-params": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/platform-middlewares": "7.36.0-rc.2", + "@tsed/platform-params": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0", "stripe": "^8.129.0" }, "peerDependencies": { - "@tsed/exceptions": "^7.36.0-rc.1", - "@tsed/platform-middlewares": "^7.36.0-rc.1", - "@tsed/platform-params": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1", + "@tsed/exceptions": "^7.36.0-rc.2", + "@tsed/platform-middlewares": "^7.36.0-rc.2", + "@tsed/platform-params": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2", "@types/body-parser": "^1.19.0", "body-parser": "^1.19.0", "stripe": "^9.16.0" diff --git a/packages/third-parties/terminus/package.json b/packages/third-parties/terminus/package.json index bc6cc6eb5d0..590b9e0f892 100644 --- a/packages/third-parties/terminus/package.json +++ b/packages/third-parties/terminus/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/terminus", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.", "author": "Emilien Leroy ", "private": false, @@ -28,20 +28,20 @@ }, "devDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0" }, "peerDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "^7.36.0-rc.1", - "@tsed/core": "^7.36.0-rc.1", - "@tsed/di": "^7.36.0-rc.1", - "@tsed/schema": "^7.36.0-rc.1" + "@tsed/common": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.2" }, "peerDependenciesMeta": { "@godaddy/terminus": { diff --git a/packages/third-parties/vite-ssr-plugin/package.json b/packages/third-parties/vite-ssr-plugin/package.json index 985a3561b0e..96aea301bdb 100644 --- a/packages/third-parties/vite-ssr-plugin/package.json +++ b/packages/third-parties/vite-ssr-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/vite-ssr-plugin", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Vite SSR plugin package for Ts.ED framework", "private": false, "contributors": [ @@ -30,18 +30,18 @@ "sirv": ">=2.0.2" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/core": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/common": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "eslint": "^8.12.0", "vite": "4.3.9", "vite-plugin-ssr": "0.4.114" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.1", + "@tsed/common": "^7.36.0-rc.2", "vite": ">=4", "vite-plugin-ssr": ">=0.4.114" }, diff --git a/packages/utils/normalize-path/package.json b/packages/utils/normalize-path/package.json index 47bb42d74fe..b24a3ebbbd5 100644 --- a/packages/utils/normalize-path/package.json +++ b/packages/utils/normalize-path/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/normalize-path", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Utils to normalize path", "private": false, "source": "./src/index.ts", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1", + "@tsed/eslint": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2", "@types/normalize-path": "^3.0.0", "eslint": "^8.12.0" }, diff --git a/tools/eslint/package.json b/tools/eslint/package.json index f56fd1e6bad..5da3300b2f1 100644 --- a/tools/eslint/package.json +++ b/tools/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/eslint", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/github-sponsors/package.json b/tools/github-sponsors/package.json index 3d56a7d51d7..81fd1976ad5 100644 --- a/tools/github-sponsors/package.json +++ b/tools/github-sponsors/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/github-sponsors", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "private": true, "scripts": { "sponsors": "node ./bin/github-sponsors.js" diff --git a/tools/integration/package.json b/tools/integration/package.json index 359a0c6fe9e..f528af26c54 100644 --- a/tools/integration/package.json +++ b/tools/integration/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/integration", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "source": "src/index.ts", "main": "src/index.js", "private": true, @@ -9,16 +9,16 @@ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.1", - "@tsed/di": "7.36.0-rc.1", - "@tsed/exceptions": "7.36.0-rc.1", - "@tsed/json-mapper": "7.36.0-rc.1", - "@tsed/platform-exceptions": "7.36.0-rc.1", - "@tsed/platform-express": "7.36.0-rc.1", - "@tsed/platform-views": "7.36.0-rc.1", - "@tsed/schema": "7.36.0-rc.1", - "@tsed/swagger": "7.36.0-rc.1", - "@tsed/typescript": "7.36.0-rc.1" + "@tsed/common": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.2", + "@tsed/exceptions": "7.36.0-rc.2", + "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/platform-exceptions": "7.36.0-rc.2", + "@tsed/platform-express": "7.36.0-rc.2", + "@tsed/platform-views": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.2", + "@tsed/swagger": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.2" }, "dependencies": {}, "peerDependencies": {} diff --git a/tools/jest/package.json b/tools/jest/package.json index f68fe70a139..f1b44de98e9 100644 --- a/tools/jest/package.json +++ b/tools/jest/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jest-config", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "private": true, "main": "jest.config.js", "scripts": {}, diff --git a/tools/mocha/package.json b/tools/mocha/package.json index 15021b06b77..f14e3fbf174 100644 --- a/tools/mocha/package.json +++ b/tools/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mocha-config", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "private": true, "main": "mocha.config.js", "scripts": {}, diff --git a/tools/typescript/package.json b/tools/typescript/package.json index 8d31e567bcd..d79bb969804 100644 --- a/tools/typescript/package.json +++ b/tools/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typescript", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/webpack/package.json b/tools/webpack/package.json index b098dd67448..3d0eb00f5f5 100644 --- a/tools/webpack/package.json +++ b/tools/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/webpack-config", - "version": "7.36.0-rc.1", + "version": "7.36.0-rc.2", "private": true, "main": "webpack.config.js", "scripts": {}, From 4d4133fdbd69b5612beaca3d0766ca10466f17ff Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Wed, 13 Sep 2023 09:23:15 +0200 Subject: [PATCH 26/30] fix(json-mapper): fix onSerialize/onDeserialize option --- .../src/domain/JsonDeserializer.spec.ts | 36 ++++ .../src/domain/JsonDeserializer.ts | 17 +- .../src/domain/JsonSerializer.spec.ts | 182 +++++++++++++++++- .../json-mapper/src/domain/JsonSerializer.ts | 18 +- .../schema/src/decorators/common/ignore.ts | 9 +- .../specs/schema/src/domain/JsonSchema.ts | 8 +- .../specs/schema/src/hooks/alterIgnore.ts | 8 +- .../schema/src/utils/getPropertiesStores.ts | 2 +- 8 files changed, 252 insertions(+), 28 deletions(-) diff --git a/packages/specs/json-mapper/src/domain/JsonDeserializer.spec.ts b/packages/specs/json-mapper/src/domain/JsonDeserializer.spec.ts index b51edff3963..71353d9a6d7 100644 --- a/packages/specs/json-mapper/src/domain/JsonDeserializer.spec.ts +++ b/packages/specs/json-mapper/src/domain/JsonDeserializer.spec.ts @@ -1,8 +1,10 @@ import faker from "@faker-js/faker"; import {QueryParams} from "@tsed/common"; +import {cleanObject, getValue} from "@tsed/core"; import { AdditionalProperties, CollectionOf, + Default, DiscriminatorKey, DiscriminatorValue, Email, @@ -24,12 +26,14 @@ import { Property, Required } from "@tsed/schema"; +import {snakeCase} from "change-case"; import {Post} from "../../test/helpers/Post"; import {User} from "../../test/helpers/User"; import "../components/DateMapper"; import "../components/PrimitiveMapper"; import "../components/SymbolMapper"; import {OnDeserialize} from "../decorators/onDeserialize"; +import {OnSerialize} from "../decorators/onSerialize"; import {JsonDeserializer} from "./JsonDeserializer"; const deserializer = new JsonDeserializer(); @@ -586,6 +590,38 @@ describe("deserialize()", () => { ] }); }); + it("should transform object to class (ignore props)", () => { + class AvailableDatesParams { + @Ignore() + locationId: number; + + @Name("start_date") + startDate: string; + + @Name("end_date") + endDate: string; + + @Ignore((value, ctx) => { + return !ctx.endpoint; + }) + @OnDeserialize((value) => value + 1) + careCode: number; + } + + const result = deserialize( + { + locationId: 5427, + careCode: 39699, + startDate: "20220606", + endDate: "20220707" + }, + {type: AvailableDatesParams, useAlias: false} + ); + expect(result).toEqual({ + startDate: "20220606", + endDate: "20220707" + }); + }); }); describe("Array", () => { it("should transform object to class (additionalProperties = false)", () => { diff --git a/packages/specs/json-mapper/src/domain/JsonDeserializer.ts b/packages/specs/json-mapper/src/domain/JsonDeserializer.ts index 89fae9ebdfa..0dcae230a7c 100644 --- a/packages/specs/json-mapper/src/domain/JsonDeserializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonDeserializer.ts @@ -1,10 +1,8 @@ -import {classOf, getValue, isArray, isClass, isCollection, isEmpty, isNil, isPrimitive, nameOf, objectKeys, Type} from "@tsed/core"; +import {classOf, getValue, isArray, isBoolean, isClass, isEmpty, isNil, nameOf, objectKeys, Type} from "@tsed/core"; import {getPropertiesStores, JsonClassStore, JsonEntityStore, JsonParameterStore, JsonPropertyStore} from "@tsed/schema"; -import {add} from "husky"; import {alterAfterDeserialize} from "../hooks/alterAfterDeserialize"; import {alterBeforeDeserialize} from "../hooks/alterBeforeDeserialize"; import {alterOnDeserialize} from "../hooks/alterOnDeserialize"; -import {getObjectProperties} from "../utils/getObjectProperties"; import {JsonDeserializerOptions} from "./JsonDeserializerOptions"; import {CachedJsonMapper, JsonMapperCompiler} from "./JsonMapperCompiler"; import {JsonMapperSettings} from "./JsonMapperSettings"; @@ -151,6 +149,7 @@ export class JsonDeserializer extends JsonMapperCompiler (serializer.map as any)(...args); function createMap(value: any) { return new Map([["test", value]]); } + class ObjectId { _bsontype = true; @@ -798,6 +805,7 @@ describe("JsonSerializer", () => { @Groups("creation") password: string; } + class TestProfile { @OnSerialize((value, ctx) => { if (isObjectID(value)) { @@ -978,6 +986,176 @@ describe("JsonSerializer", () => { renamed: "myname" }); }); + it("should serialize model to object (with default value - no assigned)", () => { + class SpaCareCategory { + @Required() + @Groups("!details") + id: string; + + @Required() + label: string; + + @Required() + @OnDeserialize((name: string) => snakeCase(name).toUpperCase()) + code: string; + + @Required() + @Default(0) + @OnSerialize((o) => { + return o || 0; + }) + weight: number = 0; + + constructor({id, label, code, weight}: Partial = {}) { + Object.assign( + this, + cleanObject({ + id, + label, + code, + weight + }) + ); + } + } + + expect( + serialize( + { + label: "categoryLabel", + code: "CATEGORY_CODE" + }, + {type: SpaCareCategory} + ) + ).toEqual({ + code: "CATEGORY_CODE", + label: "categoryLabel", + weight: 0 + }); + }); + it("should serialize model to object (with default value - no assigned - custom decorator)", () => { + function AllowEmpty() { + return useDecorators( + Default(""), + Allow(""), + OnDeserialize((o: any) => (o === null || o === undefined ? "" : o)), + OnSerialize((o: any) => (o === null || o === undefined ? "" : o)) + ); + } + + class SpaInformation { + @Required() + id: number; + + @Required() + @AllowEmpty() + label: string = ""; + + @Required() + @AllowEmpty() + description: string = ""; + + @AllowEmpty() + currency: string = "EUR"; + + @Email() + @AllowEmpty() + email: string; + + @AllowEmpty() + phone: string; + + @Required() + @Name("are_children_accepted") + areChildrenAccepted: boolean = false; + + @AllowEmpty() + website: string = ""; + + @Uri() + @AllowEmpty() + logo: string; + + @Uri() + @AllowEmpty() + image: string; + + @AllowEmpty() + location: string = ""; + + @Name("cancellation_hours_limit") + @Nullable(Number) + @OnSerialize((o) => (isNumber(o) ? o : null)) + cancellationHoursLimit: number | null = null; + + constructor({ + id, + label, + description, + currency, + email, + phone, + areChildrenAccepted, + website, + logo, + image, + location, + cancellationHoursLimit = null + }: Partial = {}) { + Object.assign( + this, + cleanObject({ + id, + label, + description, + currency, + email, + phone, + areChildrenAccepted, + website, + logo, + image, + location, + cancellationHoursLimit + }) + ); + } + } + + const result = serialize( + { + id: 453, + address: null, + label: null, + currency: null, + description: null, + email: null, + phone: undefined, + areChildrenAccepted: true, + website: "website", + logo: undefined, + image: null, + cares: [], + cancellationHoursLimit: undefined + }, + {type: SpaInformation} + ); + + expect(result).toEqual({ + are_children_accepted: true, + currency: "", + description: "", + email: "", + id: 453, + image: "", + label: "", + location: "", + logo: "", + phone: "", + website: "website", + cancellation_hours_limit: null + }); + }); }); describe("custom date mapper", () => { it("should use a custom date mapper", () => { diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.ts index 4ed850243fa..24a79b23fd0 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.ts @@ -1,6 +1,7 @@ import { classOf, hasJsonMethod, + isBoolean, isClassObject, isCollection, isDate, @@ -85,7 +86,10 @@ export class JsonSerializer extends JsonMapperCompiler { ...schemaProperties.flatMap((propertyStore) => { properties.add(propertyStore.propertyKey as string); - if (propertyStore.schema?.$hooks?.has("groups") && this.alterGroups(propertyStore.schema, groups)) { + if ( + (propertyStore.schema?.$ignore && isBoolean(propertyStore.schema?.$ignore)) || + (propertyStore.schema?.$hooks?.has("groups") && this.alterGroups(propertyStore.schema, groups)) + ) { return; } @@ -124,6 +128,8 @@ export class JsonSerializer extends JsonMapperCompiler { const key = String(propertyStore.propertyKey); const aliasKey: string = String(propertyStore.parent.schema.getAliasOf(key) || key); const schemaId = this.getSchemaId(id, key); + const format = propertyStore.itemSchema.get("format"); + const formatOpts = format && `options: {format: '${format}'}`; let writer = new Writer().add(`// Map ${key} ${id} ${groups || ""}`); @@ -134,21 +140,19 @@ export class JsonSerializer extends JsonMapperCompiler { writer = writer.if(`!alterIgnore('${schemaId}', {...options, self: input})`); } - writer = writer.add(`let ${key} = input.${key};`).if(`${key} !== undefined`); - - const format = propertyStore.itemSchema.get("format"); - const formatOpts = format && `options: {format: '${format}'}`; - // pre hook const hasSerializer = propertyStore.schema?.$hooks?.has("onSerialize"); + let getter = `input.${key}`; if (hasSerializer) { this.schemes[schemaId] = propertyStore.schema; const opts = Writer.options(formatOpts); - writer.set(key, `alterValue('${schemaId}', ${key}, ${opts})`); + getter = `alterValue('${schemaId}', input.${key}, ${opts})`; } + writer = writer.set(`let ${key}`, getter).if(`${key} !== undefined`); + const fill = this.getPropertyFiller(propertyStore, key, groups, formatOpts); if (hasSerializer) { diff --git a/packages/specs/schema/src/decorators/common/ignore.ts b/packages/specs/schema/src/decorators/common/ignore.ts index 886dc2aa3f1..622dfa3cf44 100644 --- a/packages/specs/schema/src/decorators/common/ignore.ts +++ b/packages/specs/schema/src/decorators/common/ignore.ts @@ -1,11 +1,6 @@ import {IgnoreCallback} from "../../interfaces/IgnoreCallback"; import {JsonEntityFn} from "./jsonEntityFn"; -/** - * @ignore - */ -const defaultCB = (value: any, ctx: any) => ctx.mongoose !== true; - /** * Ignore the property when JsonMapper serialize the class to a Plain Object JavaScript. * @@ -24,7 +19,7 @@ const defaultCB = (value: any, ctx: any) => ctx.mongoose !== true; * @Property() * lastName: string; * - * @Ignore((value, ctx) => !ctx.mongoose) // don't ignore prop only if mongoose + * @Ignore((value, ctx) => !ctx.endpoint) * password: string; * } * ``` @@ -63,7 +58,7 @@ const defaultCB = (value: any, ctx: any) => ctx.mongoose !== true; * @schema * @deprecated Since v7. Use @Groups decorator instead of. */ -export function Ignore(cb: boolean | IgnoreCallback = defaultCB) { +export function Ignore(cb: boolean | IgnoreCallback = true) { return JsonEntityFn((store) => { store.schema.ignore(cb); }); diff --git a/packages/specs/schema/src/domain/JsonSchema.ts b/packages/specs/schema/src/domain/JsonSchema.ts index aeccb4b0b55..a3b50cc28ed 100644 --- a/packages/specs/schema/src/domain/JsonSchema.ts +++ b/packages/specs/schema/src/domain/JsonSchema.ts @@ -82,6 +82,7 @@ export class JsonSchema extends Map implements NestedGenerics { readonly $allow: any[] = []; public $selfRequired: boolean; public $forwardGroups: boolean = false; + public $ignore: boolean | IgnoreCallback = false; public isDiscriminatorKey = false; public isDiscriminator = false; @@ -255,12 +256,11 @@ export class JsonSchema extends Map implements NestedGenerics { } ignore(cb: boolean | IgnoreCallback) { - if (typeof cb === "boolean") { - const bool = cb; - cb = () => bool; + if (typeof cb !== "boolean") { + this.$hooks.on("ignore", cb); } - this.$hooks.on("ignore", cb); + this.$ignore = cb; return this; } diff --git a/packages/specs/schema/src/hooks/alterIgnore.ts b/packages/specs/schema/src/hooks/alterIgnore.ts index 63c45e5ad25..928bdb55e2f 100644 --- a/packages/specs/schema/src/hooks/alterIgnore.ts +++ b/packages/specs/schema/src/hooks/alterIgnore.ts @@ -1,11 +1,15 @@ -import {Hooks} from "@tsed/core"; +import {Hooks, isBoolean} from "@tsed/core"; /** * @ignore * @param schema * @param options */ -export function alterIgnore(schema: {$hooks: Hooks}, options: any) { +export function alterIgnore(schema: {$hooks: Hooks; $ignore: boolean | Function}, options: any) { + if (isBoolean(schema.$ignore) && schema.$ignore) { + return true; + } + let result = schema?.$hooks?.alter("ignore", false, [options]); if (result) { diff --git a/packages/specs/schema/src/utils/getPropertiesStores.ts b/packages/specs/schema/src/utils/getPropertiesStores.ts index 2b2ab848de1..fe7589787e3 100644 --- a/packages/specs/schema/src/utils/getPropertiesStores.ts +++ b/packages/specs/schema/src/utils/getPropertiesStores.ts @@ -1,4 +1,4 @@ -import {Type} from "@tsed/core"; +import {isBoolean, Type} from "@tsed/core"; import type {JsonClassStore} from "../domain/JsonClassStore"; import type {JsonPropertyStore} from "../domain/JsonPropertyStore"; import {alterIgnore} from "../hooks/alterIgnore"; From e9811c5e0959036958a0322645e85937f2603319 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 13 Sep 2023 11:09:25 +0000 Subject: [PATCH 27/30] Github CI build: __run_2 v7.36.0-rc.3 [ci skip] --- lerna.json | 2 +- package.json | 2 +- packages/core/package.json | 6 ++-- packages/di/package.json | 14 ++++---- packages/engines/package.json | 6 ++-- packages/graphql/apollo/package.json | 18 +++++------ packages/graphql/typegraphql/package.json | 12 +++---- packages/orm/adapters-redis/package.json | 20 ++++++------ packages/orm/adapters/package.json | 30 ++++++++--------- packages/orm/ioredis/package.json | 14 ++++---- packages/orm/mikro-orm/package.json | 24 +++++++------- packages/orm/mongoose/package.json | 26 +++++++-------- packages/orm/objection/package.json | 26 +++++++-------- packages/orm/prisma/package.json | 22 ++++++------- packages/orm/testing-mongoose/package.json | 18 +++++------ packages/orm/typeorm/package.json | 22 ++++++------- packages/perf/package.json | 8 ++--- packages/platform/common/package.json | 32 +++++++++---------- packages/platform/platform-cache/package.json | 22 ++++++------- .../platform/platform-exceptions/package.json | 22 ++++++------- .../platform/platform-express/package.json | 30 ++++++++--------- packages/platform/platform-koa/package.json | 26 +++++++-------- .../platform-log-middleware/package.json | 18 +++++------ .../platform-middlewares/package.json | 18 +++++------ .../platform/platform-params/package.json | 26 +++++++-------- .../platform-response-filter/package.json | 26 +++++++-------- .../platform/platform-router/package.json | 30 ++++++++--------- .../platform-serverless-http/package.json | 26 +++++++-------- .../platform-serverless-testing/package.json | 26 +++++++-------- .../platform/platform-serverless/package.json | 22 ++++++------- .../platform/platform-test-sdk/package.json | 28 ++++++++-------- packages/platform/platform-views/package.json | 28 ++++++++-------- packages/security/jwks/package.json | 6 ++-- .../package.json | 18 +++++------ packages/security/oidc-provider/package.json | 30 ++++++++--------- packages/security/passport/package.json | 16 +++++----- packages/specs/ajv/package.json | 22 ++++++------- packages/specs/exceptions/package.json | 8 ++--- packages/specs/json-mapper/package.json | 14 ++++---- packages/specs/openspec/package.json | 6 ++-- packages/specs/schema/package.json | 16 +++++----- packages/specs/swagger/package.json | 24 +++++++------- packages/third-parties/agenda/package.json | 12 +++---- .../components-scan/package.json | 12 +++---- .../third-parties/event-emitter/package.json | 12 +++---- .../third-parties/formio-types/package.json | 6 ++-- packages/third-parties/formio/package.json | 20 ++++++------ .../third-parties/schema-formio/package.json | 20 ++++++------ .../socketio-testing/package.json | 16 +++++----- packages/third-parties/socketio/package.json | 30 ++++++++--------- packages/third-parties/stripe/package.json | 26 +++++++-------- packages/third-parties/terminus/package.json | 22 ++++++------- .../vite-ssr-plugin/package.json | 16 +++++----- packages/utils/normalize-path/package.json | 6 ++-- tools/eslint/package.json | 2 +- tools/github-sponsors/package.json | 2 +- tools/integration/package.json | 22 ++++++------- tools/jest/package.json | 2 +- tools/mocha/package.json | 2 +- tools/typescript/package.json | 2 +- tools/webpack/package.json | 2 +- 61 files changed, 521 insertions(+), 521 deletions(-) diff --git a/lerna.json b/lerna.json index bbe00a5b5f5..1aaa92d95e9 100644 --- a/lerna.json +++ b/lerna.json @@ -11,7 +11,7 @@ "packages/third-parties/*", "docs" ], - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "command": { "bootstrap": { "npmClientArgs": [ diff --git a/package.json b/package.json index ef63b006434..c20eb41fbe4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/root", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "A TypeScript Framework on top of Express", "private": true, "author": "Romain Lenzotti", diff --git a/packages/core/package.json b/packages/core/package.json index 8bc75e5fef0..25a30ccfd76 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/core", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Core module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -29,8 +29,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/di/package.json b/packages/di/package.json index 0c33107d14e..8a6af017a60 100644 --- a/packages/di/package.json +++ b/packages/di/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/di", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "DI module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -28,17 +28,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/engines/package.json b/packages/engines/package.json index 64386b2eb35..400864a6e33 100644 --- a/packages/engines/package.json +++ b/packages/engines/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/engines", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Template engines library. Provide an API to adding custom engines from decorators.", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -27,8 +27,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/fs-extra": "^9.0.13", "@types/semver": "^7.3.9", "arc-templates": "^0.5.3", diff --git a/packages/graphql/apollo/package.json b/packages/graphql/apollo/package.json index ce6fd88d01e..b7154aefb94 100644 --- a/packages/graphql/apollo/package.json +++ b/packages/graphql/apollo/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/apollo", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Apollo package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -25,12 +25,12 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/typescript": "7.36.0-rc.3", "@types/graphql": "14.5.0", "apollo-datasource": "^3.2.0", "apollo-datasource-rest": "^3.3.0", @@ -42,9 +42,9 @@ "graphql": "15.7.2" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2", "apollo-datasource": ">=3.0.0", "apollo-datasource-rest": ">=3.0.0", diff --git a/packages/graphql/typegraphql/package.json b/packages/graphql/typegraphql/package.json index d5156a75ded..7b4a6e70893 100644 --- a/packages/graphql/typegraphql/package.json +++ b/packages/graphql/typegraphql/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typegraphql", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql", "private": false, "source": "./src/index.ts", @@ -24,14 +24,14 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/apollo": "7.36.0-rc.2", + "@tsed/apollo": "7.36.0-rc.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/graphql": "^14.5.0", "class-validator": "~0.14.0", "eslint": "^8.12.0", diff --git a/packages/orm/adapters-redis/package.json b/packages/orm/adapters-redis/package.json index 85eb6b7146f..9f7be3bb4d1 100644 --- a/packages/orm/adapters-redis/package.json +++ b/packages/orm/adapters-redis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters-redis", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Redis adapter for Ts.ED", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.36.0-rc.2", - "@tsed/ioredis": "7.36.0-rc.2", + "@tsed/adapters": "7.36.0-rc.3", + "@tsed/ioredis": "7.36.0-rc.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/adapters": "^7.36.0-rc.2", - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", + "@tsed/adapters": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2", "uuid": "8.3.2" diff --git a/packages/orm/adapters/package.json b/packages/orm/adapters/package.json index 9bb46d54db9..5ff50304a17 100644 --- a/packages/orm/adapters/package.json +++ b/packages/orm/adapters/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Database adapters for Ts.ED", "private": false, "source": "./src/index.ts", @@ -32,24 +32,24 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/ajv": "7.36.0-rc.2", - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/ajv": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/fs-extra": "9.0.13", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.2", - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/ajv": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/ajv": { diff --git a/packages/orm/ioredis/package.json b/packages/orm/ioredis/package.json index 89fafeb21e9..74eb9253352 100644 --- a/packages/orm/ioredis/package.json +++ b/packages/orm/ioredis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ioredis", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "IO Redis connection for Ts.ED", "private": false, "source": "./src/index.ts", @@ -25,18 +25,18 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/ioredis-mock": "^5.6.0", "eslint": "^8.12.0", "ioredis": "5.2.3", "ioredis-mock": "8.2.2" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2" } diff --git a/packages/orm/mikro-orm/package.json b/packages/orm/mikro-orm/package.json index 70c4145b09b..77d1b9bfa12 100644 --- a/packages/orm/mikro-orm/package.json +++ b/packages/orm/mikro-orm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mikro-orm", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "MikroORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -27,23 +27,23 @@ "devDependencies": { "@mikro-orm/core": "^5.2.2", "@mikro-orm/mongodb": "^5.2.2", - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", "@tsed/logger": ">=6.1.1", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/testing-mongoose": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/testing-mongoose": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0", "ts-mockito": "^2.6.1" }, "peerDependencies": { "@mikro-orm/core": ">=4.5.9", - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2" } } \ No newline at end of file diff --git a/packages/orm/mongoose/package.json b/packages/orm/mongoose/package.json index bdba94810e3..c2946562bf2 100644 --- a/packages/orm/mongoose/package.json +++ b/packages/orm/mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mongoose", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Mongoose package for Ts.ED framework", "private": false, "keywords": [ @@ -33,24 +33,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/ajv": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0", "mongoose": "6.11.3" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/ajv": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/schema": "^7.36.0-rc.3", "mongoose": ">=6.0.0" } } \ No newline at end of file diff --git a/packages/orm/objection/package.json b/packages/orm/objection/package.json index f01b9c35929..cdaacd8b9cc 100644 --- a/packages/orm/objection/package.json +++ b/packages/orm/objection/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/objection", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Objection.js package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,24 +25,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/ajv": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0", "knex": "^2.4.0", "objection": "^2.2.15", "sqlite3": "^5.0.2" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/ajv": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3", "knex": ">=0.94.0", "objection": ">=2.0.0" }, diff --git a/packages/orm/prisma/package.json b/packages/orm/prisma/package.json index 313dbc162f4..79acd3d2c51 100644 --- a/packages/orm/prisma/package.json +++ b/packages/orm/prisma/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/prisma", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Generate Ts.ED JsonSchema based on Prisma models", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -36,12 +36,12 @@ }, "devDependencies": { "@prisma/client": "^4.0.0", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/change-case": "^2.3.1", "@types/pluralize": "0.0.29", "eslint": "^8.12.0", @@ -49,10 +49,10 @@ }, "peerDependencies": { "@prisma/client": ">=4.0.0", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "keywords": [ "TypeScript", diff --git a/packages/orm/testing-mongoose/package.json b/packages/orm/testing-mongoose/package.json index 04184722e5f..c2b53aa7552 100644 --- a/packages/orm/testing-mongoose/package.json +++ b/packages/orm/testing-mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/testing-mongoose", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/mongoose": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/mongoose": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/mongoose": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/mongoose": "^7.36.0-rc.3", "mongoose": "^6.1.7" } } \ No newline at end of file diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index a0fe1f24993..80cdefc14a7 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typeorm", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "TypeORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,20 +25,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0", "typeorm": "^0.2.45" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3", "typeorm": "^0.2.26" } } \ No newline at end of file diff --git a/packages/perf/package.json b/packages/perf/package.json index f87177bc82c..61bcc9ad71b 100644 --- a/packages/perf/package.json +++ b/packages/perf/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/perf", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Perf module tool", "private": false, "source": "./src/index.ts", @@ -20,13 +20,13 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", "chalk": "^4.1.0", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/common/package.json b/packages/platform/common/package.json index a110beaf7fa..4d36316cdce 100644 --- a/packages/platform/common/package.json +++ b/packages/platform/common/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/common", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -68,29 +68,29 @@ } ], "dependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", "@tsed/logger": ">=6.2.2", "@tsed/logger-file": ">=6.2.2", - "@tsed/platform-exceptions": "7.36.0-rc.2", - "@tsed/platform-log-middleware": "7.36.0-rc.2", - "@tsed/platform-middlewares": "7.36.0-rc.2", - "@tsed/platform-params": "7.36.0-rc.2", - "@tsed/platform-response-filter": "7.36.0-rc.2", - "@tsed/platform-router": "7.36.0-rc.2", - "@tsed/platform-views": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", + "@tsed/platform-exceptions": "7.36.0-rc.3", + "@tsed/platform-log-middleware": "7.36.0-rc.3", + "@tsed/platform-middlewares": "7.36.0-rc.3", + "@tsed/platform-params": "7.36.0-rc.3", + "@tsed/platform-response-filter": "7.36.0-rc.3", + "@tsed/platform-router": "7.36.0-rc.3", + "@tsed/platform-views": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", "@types/json-schema": "7.0.11", "accepts": "^1.3.8", "tslib": "2.5.0", "uuid": "8.3.2" }, "devDependencies": { - "@tsed/components-scan": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/components-scan": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/platform/platform-cache/package.json b/packages/platform/platform-cache/package.json index bf886411150..0c20fe73ec5 100644 --- a/packages/platform/platform-cache/package.json +++ b/packages/platform/platform-cache/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-cache", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Platform cache module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -27,20 +27,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/micromatch": "^4.0.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-exceptions/package.json b/packages/platform/platform-exceptions/package.json index dd960d933fd..d859b23143b 100644 --- a/packages/platform/platform-exceptions/package.json +++ b/packages/platform/platform-exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-exceptions", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Platform exceptions module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,19 +25,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/exceptions": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/exceptions": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-express/package.json b/packages/platform/platform-express/package.json index 2c593247c7f..e63f811b435 100644 --- a/packages/platform/platform-express/package.json +++ b/packages/platform/platform-express/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-express", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -63,13 +63,13 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/platform-test-sdk": "7.36.0-rc.2", - "@tsed/platform-views": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/platform-test-sdk": "7.36.0-rc.3", + "@tsed/platform-views": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/body-parser": "1.19.2", "@types/compression": "1.7.2", "@types/cookie-parser": "1.4.2", @@ -86,14 +86,14 @@ "method-override": "3.0.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.2", - "@tsed/platform-views": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/openspec": "^7.36.0-rc.3", + "@tsed/platform-views": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3", "@types/multer": "^1.4.5", "body-parser": "^1.19.0", "multer": "^1.4.5-lts.1" diff --git a/packages/platform/platform-koa/package.json b/packages/platform/platform-koa/package.json index 9d2b89e3438..d193624c159 100644 --- a/packages/platform/platform-koa/package.json +++ b/packages/platform/platform-koa/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-koa", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Koa package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -58,12 +58,12 @@ }, "devDependencies": { "@koa/cors": "3.3.0", - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/platform-test-sdk": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/platform-test-sdk": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/koa": "2.13.4", "@types/koa-bodyparser": "4.3.7", "@types/koa-compose": "3.2.5", @@ -89,13 +89,13 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/openspec": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3", "koa": ">=2.13.0", "koa-bodyparser": ">=4.3.0", "koa-compress": ">=5.0.1", diff --git a/packages/platform/platform-log-middleware/package.json b/packages/platform/platform-log-middleware/package.json index dd8174be0a9..9647d02a751 100644 --- a/packages/platform/platform-log-middleware/package.json +++ b/packages/platform/platform-log-middleware/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-log-middleware", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Log request middleware module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/platform-middlewares": "7.36.0-rc.2", - "@tsed/platform-params": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/platform-middlewares": "7.36.0-rc.3", + "@tsed/platform-params": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/di": "^7.36.0-rc.2", - "@tsed/platform-middlewares": "^7.36.0-rc.2", - "@tsed/platform-params": "^7.36.0-rc.2" + "@tsed/di": "^7.36.0-rc.3", + "@tsed/platform-middlewares": "^7.36.0-rc.3", + "@tsed/platform-params": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/di": { diff --git a/packages/platform/platform-middlewares/package.json b/packages/platform/platform-middlewares/package.json index 9031e12b816..ba43a5a2c3e 100644 --- a/packages/platform/platform-middlewares/package.json +++ b/packages/platform/platform-middlewares/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-middlewares", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Middlewares module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-params/package.json b/packages/platform/platform-params/package.json index 86ef0d41d76..00c34dd2fd7 100644 --- a/packages/platform/platform-params/package.json +++ b/packages/platform/platform-params/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-params", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Params module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/exceptions": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/exceptions": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-response-filter/package.json b/packages/platform/platform-response-filter/package.json index ecf0c291419..f91b4f133eb 100644 --- a/packages/platform/platform-response-filter/package.json +++ b/packages/platform/platform-response-filter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-response-filter", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Platform response filter module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/exceptions": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/exceptions": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-router/package.json b/packages/platform/platform-router/package.json index 29170007384..835bbe6306a 100644 --- a/packages/platform/platform-router/package.json +++ b/packages/platform/platform-router/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-router", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Router", "private": false, "source": "./src/index.ts", @@ -25,23 +25,23 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/platform-params": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/platform-params": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/exceptions": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", - "@tsed/platform-params": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/exceptions": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/platform-params": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-serverless-http/package.json b/packages/platform/platform-serverless-http/package.json index 219e38bf0f2..85853d8618e 100644 --- a/packages/platform/platform-serverless-http/package.json +++ b/packages/platform/platform-serverless-http/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-http", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Module to support Serverless HTTP function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -62,24 +62,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/platform-serverless-testing": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/platform-serverless-testing": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "aws-lambda": "^1.0.7", "eslint": "^8.12.0", "serverless-http": "^2.7.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/openspec": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3", "aws-lambda": ">=1.0.7", "serverless-http": ">=2.0.0" }, diff --git a/packages/platform/platform-serverless-testing/package.json b/packages/platform/platform-serverless-testing/package.json index 00898826a72..f5750af77a6 100644 --- a/packages/platform/platform-serverless-testing/package.json +++ b/packages/platform/platform-serverless-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-testing", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Module to test Serverless function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -57,12 +57,12 @@ "url": "git+https://github.com/tsedio/tsed.git" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "dependencies": { @@ -70,12 +70,12 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/openspec": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" } } \ No newline at end of file diff --git a/packages/platform/platform-serverless/package.json b/packages/platform/platform-serverless/package.json index fafa9366590..0c5ace09f5f 100644 --- a/packages/platform/platform-serverless/package.json +++ b/packages/platform/platform-serverless/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Platform serverless module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/platform-exceptions": "7.36.0-rc.2", - "@tsed/platform-params": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/platform-exceptions": "7.36.0-rc.3", + "@tsed/platform-params": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", "encodeurl": "^1.0.2", "mime": "^3.0.0", "tslib": "2.5.0", "uuid": "^8.3.2" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/platform-serverless-testing": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/platform-serverless-testing": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/aws-lambda": "^8.10.83", "@types/encodeurl": "^1.0.0", "@types/mime": "^3.0.1", @@ -44,7 +44,7 @@ "find-my-way": "^7.0.0" }, "peerDependencies": { - "@tsed/di": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2" }, "peerDependenciesMeta": { diff --git a/packages/platform/platform-test-sdk/package.json b/packages/platform/platform-test-sdk/package.json index 4b3467d89af..5c3d455d88b 100644 --- a/packages/platform/platform-test-sdk/package.json +++ b/packages/platform/platform-test-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-test-sdk", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Package to test platform adapter integration with Ts.ED", "private": false, "source": "./src/index.ts", @@ -28,25 +28,25 @@ "Adapter" ], "dependencies": { - "@tsed/ajv": "7.36.0-rc.2", - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", + "@tsed/ajv": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", "@tsed/logger": "6.2.2", - "@tsed/platform-cache": "7.36.0-rc.2", - "@tsed/platform-params": "7.36.0-rc.2", - "@tsed/platform-router": "7.36.0-rc.2", - "@tsed/platform-views": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/swagger": "7.36.0-rc.2", + "@tsed/platform-cache": "7.36.0-rc.3", + "@tsed/platform-params": "7.36.0-rc.3", + "@tsed/platform-router": "7.36.0-rc.3", + "@tsed/platform-views": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/swagger": "7.36.0-rc.3", "ajv": "^8.12.0", "axios": "^1.3.0", "read-pkg-up": "7.0.1" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/platform-views/package.json b/packages/platform/platform-views/package.json index f5ea332cb6c..5692519ad4d 100644 --- a/packages/platform/platform-views/package.json +++ b/packages/platform/platform-views/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-views", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Views module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,27 +22,27 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/engines": "7.36.0-rc.2", + "@tsed/engines": "7.36.0-rc.3", "ejs": "^3.1.5", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/engines": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/engines": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/ejs": "3.1.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/engines": "^7.36.0-rc.2", - "@tsed/exceptions": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/engines": "^7.36.0-rc.3", + "@tsed/exceptions": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/security/jwks/package.json b/packages/security/jwks/package.json index c02a83df753..791de0023e8 100644 --- a/packages/security/jwks/package.json +++ b/packages/security/jwks/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jwks", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Utils to generate jwks pair keys", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json index cf0cde90ac2..1d4ee1b0802 100644 --- a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json +++ b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider-plugin-wildcard-redirect-uri", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "A plugin to support wildcard in the redirect uri whitelist", "private": false, "contributors": [ @@ -31,19 +31,19 @@ "wildcard": "2.0.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/oidc-provider": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/oidc-provider": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/uuid": "8.3.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/oidc-provider": "^7.36.0-rc.2", + "@tsed/oidc-provider": "^7.36.0-rc.3", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/oidc-provider/package.json b/packages/security/oidc-provider/package.json index 8758a926e13..9987ec528ce 100644 --- a/packages/security/oidc-provider/package.json +++ b/packages/security/oidc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "OIDC provider package for Ts.ED framework", "private": false, "contributors": [ @@ -34,7 +34,7 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.36.0-rc.2", + "@tsed/adapters": "7.36.0-rc.3", "express-urlrewrite": "^1.4.0", "jose2": "npm:jose@^2.0.4", "koa-mount": "^4.0.0", @@ -43,13 +43,13 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/jwks": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/jwks": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/lowdb": "1.0.11", "@types/oidc-provider": "8.1.1", "@types/uuid": "8.3.4", @@ -58,12 +58,12 @@ "oidc-provider": "8.1.1" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.2", - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/ajv": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/passport/package.json b/packages/security/passport/package.json index a186a3762c9..c4575bee36b 100644 --- a/packages/security/passport/package.json +++ b/packages/security/passport/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/passport", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Passport package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,12 +26,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/platform-router": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/platform-router": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/passport": "1.0.7", "@types/passport-http": "0.3.9", "@types/passport-local": "1.0.34", @@ -43,7 +43,7 @@ "passport-strategy": "1.0.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", "passport": ">=0.4.1" }, "peerDependenciesMeta": { diff --git a/packages/specs/ajv/package.json b/packages/specs/ajv/package.json index a090d79e31c..bdd76d2d8ff 100644 --- a/packages/specs/ajv/package.json +++ b/packages/specs/ajv/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ajv", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "AJV package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,20 +26,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "ajv": "8.11.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/exceptions": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/exceptions": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3", "ajv": ">=8.9.0", "ajv-errors": ">=3.0.0" }, diff --git a/packages/specs/exceptions/package.json b/packages/specs/exceptions/package.json index 34c063b530d..6dd16b375c4 100644 --- a/packages/specs/exceptions/package.json +++ b/packages/specs/exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/exceptions", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "HTTP exceptions module for Ts.ED Framework and other pure Express application", "private": false, "source": "./src/index.ts", @@ -27,12 +27,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/statuses": "2.0.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3" } } \ No newline at end of file diff --git a/packages/specs/json-mapper/package.json b/packages/specs/json-mapper/package.json index 6256f17f007..70231a5ad8b 100644 --- a/packages/specs/json-mapper/package.json +++ b/packages/specs/json-mapper/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/json-mapper", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Json mapper module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -41,15 +41,15 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/specs/openspec/package.json b/packages/specs/openspec/package.json index 63c47d06d93..c77b6ea9073 100644 --- a/packages/specs/openspec/package.json +++ b/packages/specs/openspec/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/openspec", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application", "private": false, "source": "./src/index.ts", @@ -31,8 +31,8 @@ "JsonSchema" ], "devDependencies": { - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "dependencies": {}, diff --git a/packages/specs/schema/package.json b/packages/specs/schema/package.json index 7b8615e4eb3..a9e76622a1a 100644 --- a/packages/specs/schema/package.json +++ b/packages/specs/schema/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "JsonSchema module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -36,7 +36,7 @@ "tsed" ], "dependencies": { - "@tsed/openspec": "7.36.0-rc.2", + "@tsed/openspec": "7.36.0-rc.3", "change-case": "^4.1.2", "fs-extra": "^10.0.1", "json-schema": "0.4.0", @@ -46,10 +46,10 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@tsed/core": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/openspec": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/openspec": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/fs-extra": "9.0.13", "@types/json-schema": "7.0.11", "@types/picomatch": "2.3.0", @@ -58,8 +58,8 @@ "picomatch-browser": "https://github.com/silverwind/picomatch#ee6ebcc5570a8846d81610c11ebb92a9e199b145" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/openspec": "^7.36.0-rc.2" + "@tsed/core": "^7.36.0-rc.3", + "@tsed/openspec": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/openspec": { diff --git a/packages/specs/swagger/package.json b/packages/specs/swagger/package.json index 50035a71272..1509694fbc0 100644 --- a/packages/specs/swagger/package.json +++ b/packages/specs/swagger/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/swagger", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Swagger package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,8 +24,8 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.36.0-rc.2", - "@tsed/openspec": "7.36.0-rc.2", + "@tsed/normalize-path": "7.36.0-rc.3", + "@tsed/openspec": "7.36.0-rc.3", "filedirname": "^2.7.0", "fs-extra": "10.0.1", "micromatch": "4.0.5", @@ -33,19 +33,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/openspec": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/openspec": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/swagger-ui-dist": ">=3.30.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2" + "@tsed/common": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@tsed/common": { diff --git a/packages/third-parties/agenda/package.json b/packages/third-parties/agenda/package.json index c1dce332b9c..f2cc47fa4e9 100644 --- a/packages/third-parties/agenda/package.json +++ b/packages/third-parties/agenda/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/agenda", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Agenda package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -30,11 +30,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "agenda": "^4.1.3", "eslint": "^8.12.0" }, diff --git a/packages/third-parties/components-scan/package.json b/packages/third-parties/components-scan/package.json index ba969ee9c7e..efaff278c21 100644 --- a/packages/third-parties/components-scan/package.json +++ b/packages/third-parties/components-scan/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/components-scan", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Components scan utilities for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,15 +22,15 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.36.0-rc.2", + "@tsed/normalize-path": "7.36.0-rc.3", "globby": "11.0.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/third-parties/event-emitter/package.json b/packages/third-parties/event-emitter/package.json index 36948e275c6..c18fedda056 100644 --- a/packages/third-parties/event-emitter/package.json +++ b/packages/third-parties/event-emitter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/event-emitter", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "EventEmitter package for Ts.ED framework", "contributors": [ { @@ -33,11 +33,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0", "eventemitter2": "^6.4.4" }, diff --git a/packages/third-parties/formio-types/package.json b/packages/third-parties/formio-types/package.json index 90edc991a69..5e4ed773d72 100644 --- a/packages/third-parties/formio-types/package.json +++ b/packages/third-parties/formio-types/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio-types", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Formio types definition package for Ts.ED framework", "private": false, "keywords": [ @@ -36,8 +36,8 @@ "formiojs": ">=4.0.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" } } \ No newline at end of file diff --git a/packages/third-parties/formio/package.json b/packages/third-parties/formio/package.json index e6c5516feb2..7335e42d8a3 100644 --- a/packages/third-parties/formio/package.json +++ b/packages/third-parties/formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Formio package for Ts.ED framework", "private": false, "keywords": [ @@ -31,17 +31,17 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/formio-types": "7.36.0-rc.2", - "@tsed/normalize-path": "7.36.0-rc.2", + "@tsed/formio-types": "7.36.0-rc.3", + "@tsed/normalize-path": "7.36.0-rc.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/mongoose": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/mongoose": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/async": "3.2.15", "eslint": "^8.12.0", "express": "^4.17.1", @@ -50,7 +50,7 @@ "mongoose": "^6.1.7" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", "express": "^4.17.1", "formio": "^2.0.0", "lodash": "^4.17.21", diff --git a/packages/third-parties/schema-formio/package.json b/packages/third-parties/schema-formio/package.json index e6cebf420a2..4d70bb35d12 100644 --- a/packages/third-parties/schema-formio/package.json +++ b/packages/third-parties/schema-formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema-formio", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Transform Ts.ED Schema & JsonSchema to a valid Formio schema", "private": false, "source": "./src/index.ts", @@ -38,22 +38,22 @@ "tsed" ], "dependencies": { - "@tsed/formio-types": "7.36.0-rc.2", + "@tsed/formio-types": "7.36.0-rc.3", "change-case": "4.1.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/openspec": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/openspec": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.2", - "@tsed/openspec": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/openspec": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3", "formiojs": ">=4.0.0", "lodash": ">=4.0.0", "moment": ">=2.0.0" diff --git a/packages/third-parties/socketio-testing/package.json b/packages/third-parties/socketio-testing/package.json index 0ce1f477dc4..b97bf019b3b 100644 --- a/packages/third-parties/socketio-testing/package.json +++ b/packages/third-parties/socketio-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio-testing", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Socket.io testing package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,17 +24,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0", "socket.io-client": "^4.1.2" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", "socket.io-client": "^4.0.1" } } \ No newline at end of file diff --git a/packages/third-parties/socketio/package.json b/packages/third-parties/socketio/package.json index a9184fd1a46..a8262d9b614 100644 --- a/packages/third-parties/socketio/package.json +++ b/packages/third-parties/socketio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Socket.io package for Ts.ED framework", "private": false, "keywords": [ @@ -33,27 +33,27 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/openspec": "7.36.0-rc.2", - "@tsed/platform-middlewares": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/socketio-testing": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/openspec": "7.36.0-rc.3", + "@tsed/platform-middlewares": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/socketio-testing": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0", "express": "^4.17.1", "socket.io": "4.7.1", "socket.io-client": "^4.7.1" }, "peerDependencies": { - "@tsed/di": "^7.36.0-rc.2", - "@tsed/json-mapper": "^7.36.0-rc.2", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/json-mapper": "^7.36.0-rc.3", "@tsed/logger": ">=6.2.2", - "@tsed/platform-middlewares": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/platform-middlewares": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3", "socket.io": ">=4.0.0" }, "peerDependenciesMeta": { diff --git a/packages/third-parties/stripe/package.json b/packages/third-parties/stripe/package.json index d7425ab3da1..91b38282686 100644 --- a/packages/third-parties/stripe/package.json +++ b/packages/third-parties/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/stripe", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Stripe package for Ts.ED framework", "private": false, "keywords": [ @@ -34,22 +34,22 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/platform-middlewares": "7.36.0-rc.2", - "@tsed/platform-params": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/platform-middlewares": "7.36.0-rc.3", + "@tsed/platform-params": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0", "stripe": "^8.129.0" }, "peerDependencies": { - "@tsed/exceptions": "^7.36.0-rc.2", - "@tsed/platform-middlewares": "^7.36.0-rc.2", - "@tsed/platform-params": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2", + "@tsed/exceptions": "^7.36.0-rc.3", + "@tsed/platform-middlewares": "^7.36.0-rc.3", + "@tsed/platform-params": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3", "@types/body-parser": "^1.19.0", "body-parser": "^1.19.0", "stripe": "^9.16.0" diff --git a/packages/third-parties/terminus/package.json b/packages/third-parties/terminus/package.json index 590b9e0f892..3acb052c4d9 100644 --- a/packages/third-parties/terminus/package.json +++ b/packages/third-parties/terminus/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/terminus", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.", "author": "Emilien Leroy ", "private": false, @@ -28,20 +28,20 @@ }, "devDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0" }, "peerDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "^7.36.0-rc.2", - "@tsed/core": "^7.36.0-rc.2", - "@tsed/di": "^7.36.0-rc.2", - "@tsed/schema": "^7.36.0-rc.2" + "@tsed/common": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.3" }, "peerDependenciesMeta": { "@godaddy/terminus": { diff --git a/packages/third-parties/vite-ssr-plugin/package.json b/packages/third-parties/vite-ssr-plugin/package.json index 96aea301bdb..d990079e67c 100644 --- a/packages/third-parties/vite-ssr-plugin/package.json +++ b/packages/third-parties/vite-ssr-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/vite-ssr-plugin", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Vite SSR plugin package for Ts.ED framework", "private": false, "contributors": [ @@ -30,18 +30,18 @@ "sirv": ">=2.0.2" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/core": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/common": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "eslint": "^8.12.0", "vite": "4.3.9", "vite-plugin-ssr": "0.4.114" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.2", + "@tsed/common": "^7.36.0-rc.3", "vite": ">=4", "vite-plugin-ssr": ">=0.4.114" }, diff --git a/packages/utils/normalize-path/package.json b/packages/utils/normalize-path/package.json index b24a3ebbbd5..52c93f9b979 100644 --- a/packages/utils/normalize-path/package.json +++ b/packages/utils/normalize-path/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/normalize-path", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Utils to normalize path", "private": false, "source": "./src/index.ts", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2", + "@tsed/eslint": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3", "@types/normalize-path": "^3.0.0", "eslint": "^8.12.0" }, diff --git a/tools/eslint/package.json b/tools/eslint/package.json index 5da3300b2f1..fca9bb18212 100644 --- a/tools/eslint/package.json +++ b/tools/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/eslint", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/github-sponsors/package.json b/tools/github-sponsors/package.json index 81fd1976ad5..e0542cd63d4 100644 --- a/tools/github-sponsors/package.json +++ b/tools/github-sponsors/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/github-sponsors", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "private": true, "scripts": { "sponsors": "node ./bin/github-sponsors.js" diff --git a/tools/integration/package.json b/tools/integration/package.json index f528af26c54..7b815a7788a 100644 --- a/tools/integration/package.json +++ b/tools/integration/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/integration", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "source": "src/index.ts", "main": "src/index.js", "private": true, @@ -9,16 +9,16 @@ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.2", - "@tsed/di": "7.36.0-rc.2", - "@tsed/exceptions": "7.36.0-rc.2", - "@tsed/json-mapper": "7.36.0-rc.2", - "@tsed/platform-exceptions": "7.36.0-rc.2", - "@tsed/platform-express": "7.36.0-rc.2", - "@tsed/platform-views": "7.36.0-rc.2", - "@tsed/schema": "7.36.0-rc.2", - "@tsed/swagger": "7.36.0-rc.2", - "@tsed/typescript": "7.36.0-rc.2" + "@tsed/common": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.3", + "@tsed/exceptions": "7.36.0-rc.3", + "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/platform-exceptions": "7.36.0-rc.3", + "@tsed/platform-express": "7.36.0-rc.3", + "@tsed/platform-views": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.3", + "@tsed/swagger": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.3" }, "dependencies": {}, "peerDependencies": {} diff --git a/tools/jest/package.json b/tools/jest/package.json index f1b44de98e9..2c9a0cda74f 100644 --- a/tools/jest/package.json +++ b/tools/jest/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jest-config", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "private": true, "main": "jest.config.js", "scripts": {}, diff --git a/tools/mocha/package.json b/tools/mocha/package.json index f14e3fbf174..4004d9e9a97 100644 --- a/tools/mocha/package.json +++ b/tools/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mocha-config", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "private": true, "main": "mocha.config.js", "scripts": {}, diff --git a/tools/typescript/package.json b/tools/typescript/package.json index d79bb969804..854fe3afa11 100644 --- a/tools/typescript/package.json +++ b/tools/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typescript", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/webpack/package.json b/tools/webpack/package.json index 3d0eb00f5f5..797ebb31a41 100644 --- a/tools/webpack/package.json +++ b/tools/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/webpack-config", - "version": "7.36.0-rc.2", + "version": "7.36.0-rc.3", "private": true, "main": "webpack.config.js", "scripts": {}, From bb42a30ce1bbb10bc3d7b3194ffa8b1c860df461 Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Wed, 13 Sep 2023 15:21:05 +0200 Subject: [PATCH 28/30] fix(json-mapper): fix deserialize method when the input is an Array of model --- packages/specs/json-mapper/jest.config.js | 6 +- .../src/domain/JsonSerializer.spec.ts | 60 +++++++++++++++++++ .../json-mapper/src/domain/JsonSerializer.ts | 9 ++- 3 files changed, 70 insertions(+), 5 deletions(-) diff --git a/packages/specs/json-mapper/jest.config.js b/packages/specs/json-mapper/jest.config.js index 6d3a38f0bf4..4b3e62075f6 100644 --- a/packages/specs/json-mapper/jest.config.js +++ b/packages/specs/json-mapper/jest.config.js @@ -6,10 +6,10 @@ module.exports = { roots: ["/src", "/test"], coverageThreshold: { global: { - statements: 99.66, - branches: 97.94, + statements: 99.53, + branches: 97.46, functions: 100, - lines: 99.66 + lines: 99.53 } }, moduleNameMapper: { diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts index d2fc9c9e435..a9860d510f9 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts @@ -98,6 +98,20 @@ describe("JsonSerializer", () => { arrayLike.push(1); expect(serialize(arrayLike)).toEqual([1]); + + class SetLike extends Set {} + + const setLike = new SetLike(); + setLike.add(1); + + expect(serialize(setLike)).toEqual([1]); + + class MapLike extends Map {} + + const mapLike = new MapLike(); + mapLike.set("i", 1); + + expect(serialize(mapLike)).toEqual({i: 1}); }); }); describe("Map", () => { @@ -644,6 +658,52 @@ describe("JsonSerializer", () => { prop4: null }); }); + it("should serialize array model with alias property", () => { + class SpaBooking { + @Required() + @Name("booking_number") + bookingNumber: string; + + @Required() + status: string; + + @Required() + @Name("order_id") + orderId: number; + + @Required() + @Name("appointment_id") + appointmentId: number; + + @Name("customer_id") + @Groups("!create", "!read") + customerId: number; + } + + const appointments = [ + { + bookingNumber: "100566224434", + status: "Booked", + orderId: 711376505, + appointmentId: 566224434, + customerId: null + } + ]; + + const serializedResult = serialize(appointments, { + type: SpaBooking + }); + + expect(serializedResult).toEqual([ + { + booking_number: "100566224434", + status: "Booked", + order_id: 711376505, + appointment_id: 566224434, + customer_id: null + } + ]); + }); }); describe("class with toJSON/toClass", () => { it("should serialize model", () => { diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.ts index 24a79b23fd0..aacbda55e3b 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.ts @@ -1,6 +1,7 @@ import { classOf, hasJsonMethod, + isArray, isBoolean, isClassObject, isCollection, @@ -21,10 +22,14 @@ import {getJsonMapperTypes} from "./JsonMapperTypesContainer"; import {JsonSerializerOptions} from "./JsonSerializerOptions"; import {Writer} from "./Writer"; +const getCollectionType = (input: any) => { + return isArray(input) ? "Array" : input instanceof Set ? "Set" : input instanceof Map ? "Map" : undefined; +}; + function getBestType(type: Type, obj: any) { const dataType = classOf(obj); - if (dataType && !isClassObject(dataType)) { + if (dataType && !isClassObject(dataType) && !isCollection(obj)) { return dataType; } @@ -229,7 +234,7 @@ export class JsonSerializer extends JsonMapperCompiler { } if (input && isCollection(input)) { - return this.execMapper(nameOf(classOf(input)), input, options); + return this.execMapper(getCollectionType(input)!, input, options); } if (hasJsonMethod(input)) { From 64a17012379d1f935f488a521f2c586d537f4274 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 13 Sep 2023 15:54:01 +0000 Subject: [PATCH 29/30] Github CI build: __run_2 v7.36.0-rc.4 [ci skip] --- lerna.json | 2 +- package.json | 2 +- packages/core/package.json | 6 ++-- packages/di/package.json | 14 ++++---- packages/engines/package.json | 6 ++-- packages/graphql/apollo/package.json | 18 +++++------ packages/graphql/typegraphql/package.json | 12 +++---- packages/orm/adapters-redis/package.json | 20 ++++++------ packages/orm/adapters/package.json | 30 ++++++++--------- packages/orm/ioredis/package.json | 14 ++++---- packages/orm/mikro-orm/package.json | 24 +++++++------- packages/orm/mongoose/package.json | 26 +++++++-------- packages/orm/objection/package.json | 26 +++++++-------- packages/orm/prisma/package.json | 22 ++++++------- packages/orm/testing-mongoose/package.json | 18 +++++------ packages/orm/typeorm/package.json | 22 ++++++------- packages/perf/package.json | 8 ++--- packages/platform/common/package.json | 32 +++++++++---------- packages/platform/platform-cache/package.json | 22 ++++++------- .../platform/platform-exceptions/package.json | 22 ++++++------- .../platform/platform-express/package.json | 30 ++++++++--------- packages/platform/platform-koa/package.json | 26 +++++++-------- .../platform-log-middleware/package.json | 18 +++++------ .../platform-middlewares/package.json | 18 +++++------ .../platform/platform-params/package.json | 26 +++++++-------- .../platform-response-filter/package.json | 26 +++++++-------- .../platform/platform-router/package.json | 30 ++++++++--------- .../platform-serverless-http/package.json | 26 +++++++-------- .../platform-serverless-testing/package.json | 26 +++++++-------- .../platform/platform-serverless/package.json | 22 ++++++------- .../platform/platform-test-sdk/package.json | 28 ++++++++-------- packages/platform/platform-views/package.json | 28 ++++++++-------- packages/security/jwks/package.json | 6 ++-- .../package.json | 18 +++++------ packages/security/oidc-provider/package.json | 30 ++++++++--------- packages/security/passport/package.json | 16 +++++----- packages/specs/ajv/package.json | 22 ++++++------- packages/specs/exceptions/package.json | 8 ++--- packages/specs/json-mapper/package.json | 14 ++++---- packages/specs/openspec/package.json | 6 ++-- packages/specs/schema/package.json | 16 +++++----- packages/specs/swagger/package.json | 24 +++++++------- packages/third-parties/agenda/package.json | 12 +++---- .../components-scan/package.json | 12 +++---- .../third-parties/event-emitter/package.json | 12 +++---- .../third-parties/formio-types/package.json | 6 ++-- packages/third-parties/formio/package.json | 20 ++++++------ .../third-parties/schema-formio/package.json | 20 ++++++------ .../socketio-testing/package.json | 16 +++++----- packages/third-parties/socketio/package.json | 30 ++++++++--------- packages/third-parties/stripe/package.json | 26 +++++++-------- packages/third-parties/terminus/package.json | 22 ++++++------- .../vite-ssr-plugin/package.json | 16 +++++----- packages/utils/normalize-path/package.json | 6 ++-- tools/eslint/package.json | 2 +- tools/github-sponsors/package.json | 2 +- tools/integration/package.json | 22 ++++++------- tools/jest/package.json | 2 +- tools/mocha/package.json | 2 +- tools/typescript/package.json | 2 +- tools/webpack/package.json | 2 +- 61 files changed, 521 insertions(+), 521 deletions(-) diff --git a/lerna.json b/lerna.json index 1aaa92d95e9..e9016691c05 100644 --- a/lerna.json +++ b/lerna.json @@ -11,7 +11,7 @@ "packages/third-parties/*", "docs" ], - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "command": { "bootstrap": { "npmClientArgs": [ diff --git a/package.json b/package.json index c20eb41fbe4..fcf304057ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/root", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "A TypeScript Framework on top of Express", "private": true, "author": "Romain Lenzotti", diff --git a/packages/core/package.json b/packages/core/package.json index 25a30ccfd76..650ba28c0a6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/core", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Core module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -29,8 +29,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/di/package.json b/packages/di/package.json index 8a6af017a60..b7a5a3e1dbb 100644 --- a/packages/di/package.json +++ b/packages/di/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/di", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "DI module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -28,17 +28,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/engines/package.json b/packages/engines/package.json index 400864a6e33..4f3be520001 100644 --- a/packages/engines/package.json +++ b/packages/engines/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/engines", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Template engines library. Provide an API to adding custom engines from decorators.", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -27,8 +27,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/fs-extra": "^9.0.13", "@types/semver": "^7.3.9", "arc-templates": "^0.5.3", diff --git a/packages/graphql/apollo/package.json b/packages/graphql/apollo/package.json index b7154aefb94..a5af93d3bc7 100644 --- a/packages/graphql/apollo/package.json +++ b/packages/graphql/apollo/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/apollo", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Apollo package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -25,12 +25,12 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/typescript": "7.36.0-rc.4", "@types/graphql": "14.5.0", "apollo-datasource": "^3.2.0", "apollo-datasource-rest": "^3.3.0", @@ -42,9 +42,9 @@ "graphql": "15.7.2" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2", "apollo-datasource": ">=3.0.0", "apollo-datasource-rest": ">=3.0.0", diff --git a/packages/graphql/typegraphql/package.json b/packages/graphql/typegraphql/package.json index 7b4a6e70893..c18bfba917e 100644 --- a/packages/graphql/typegraphql/package.json +++ b/packages/graphql/typegraphql/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typegraphql", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "TypeGraphQL package for Ts.ED framework, based on Apollo-server-core and Type-graphql", "private": false, "source": "./src/index.ts", @@ -24,14 +24,14 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/apollo": "7.36.0-rc.3", + "@tsed/apollo": "7.36.0-rc.4", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/graphql": "^14.5.0", "class-validator": "~0.14.0", "eslint": "^8.12.0", diff --git a/packages/orm/adapters-redis/package.json b/packages/orm/adapters-redis/package.json index 9f7be3bb4d1..cf79c09f86e 100644 --- a/packages/orm/adapters-redis/package.json +++ b/packages/orm/adapters-redis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters-redis", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Redis adapter for Ts.ED", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.36.0-rc.3", - "@tsed/ioredis": "7.36.0-rc.3", + "@tsed/adapters": "7.36.0-rc.4", + "@tsed/ioredis": "7.36.0-rc.4", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/adapters": "^7.36.0-rc.3", - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", + "@tsed/adapters": "^7.36.0-rc.4", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2", "uuid": "8.3.2" diff --git a/packages/orm/adapters/package.json b/packages/orm/adapters/package.json index 5ff50304a17..b3243c82398 100644 --- a/packages/orm/adapters/package.json +++ b/packages/orm/adapters/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/adapters", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Database adapters for Ts.ED", "private": false, "source": "./src/index.ts", @@ -32,24 +32,24 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/ajv": "7.36.0-rc.3", - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/ajv": "7.36.0-rc.4", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/fs-extra": "9.0.13", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.3", - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/ajv": "^7.36.0-rc.4", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/ajv": { diff --git a/packages/orm/ioredis/package.json b/packages/orm/ioredis/package.json index 74eb9253352..85e7e62f221 100644 --- a/packages/orm/ioredis/package.json +++ b/packages/orm/ioredis/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ioredis", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "IO Redis connection for Ts.ED", "private": false, "source": "./src/index.ts", @@ -25,18 +25,18 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/ioredis-mock": "^5.6.0", "eslint": "^8.12.0", "ioredis": "5.2.3", "ioredis-mock": "8.2.2" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", "ioredis": ">=5.2.3", "ioredis-mock": ">=8.2.2" } diff --git a/packages/orm/mikro-orm/package.json b/packages/orm/mikro-orm/package.json index 77d1b9bfa12..d69b448d341 100644 --- a/packages/orm/mikro-orm/package.json +++ b/packages/orm/mikro-orm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mikro-orm", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "MikroORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -27,23 +27,23 @@ "devDependencies": { "@mikro-orm/core": "^5.2.2", "@mikro-orm/mongodb": "^5.2.2", - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", "@tsed/logger": ">=6.1.1", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/testing-mongoose": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/testing-mongoose": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0", "ts-mockito": "^2.6.1" }, "peerDependencies": { "@mikro-orm/core": ">=4.5.9", - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2" } } \ No newline at end of file diff --git a/packages/orm/mongoose/package.json b/packages/orm/mongoose/package.json index c2946562bf2..b35a1375dc0 100644 --- a/packages/orm/mongoose/package.json +++ b/packages/orm/mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mongoose", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Mongoose package for Ts.ED framework", "private": false, "keywords": [ @@ -33,24 +33,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/ajv": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0", "mongoose": "6.11.3" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/ajv": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/schema": "^7.36.0-rc.4", "mongoose": ">=6.0.0" } } \ No newline at end of file diff --git a/packages/orm/objection/package.json b/packages/orm/objection/package.json index cdaacd8b9cc..19477abce04 100644 --- a/packages/orm/objection/package.json +++ b/packages/orm/objection/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/objection", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Objection.js package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,24 +25,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/ajv": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/ajv": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0", "knex": "^2.4.0", "objection": "^2.2.15", "sqlite3": "^5.0.2" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/ajv": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4", "knex": ">=0.94.0", "objection": ">=2.0.0" }, diff --git a/packages/orm/prisma/package.json b/packages/orm/prisma/package.json index 79acd3d2c51..a209ec7afbc 100644 --- a/packages/orm/prisma/package.json +++ b/packages/orm/prisma/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/prisma", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Generate Ts.ED JsonSchema based on Prisma models", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -36,12 +36,12 @@ }, "devDependencies": { "@prisma/client": "^4.0.0", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/change-case": "^2.3.1", "@types/pluralize": "0.0.29", "eslint": "^8.12.0", @@ -49,10 +49,10 @@ }, "peerDependencies": { "@prisma/client": ">=4.0.0", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "keywords": [ "TypeScript", diff --git a/packages/orm/testing-mongoose/package.json b/packages/orm/testing-mongoose/package.json index c2b53aa7552..19a0167df82 100644 --- a/packages/orm/testing-mongoose/package.json +++ b/packages/orm/testing-mongoose/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/testing-mongoose", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/mongoose": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/mongoose": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/mongoose": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/mongoose": "^7.36.0-rc.4", "mongoose": "^6.1.7" } } \ No newline at end of file diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index 80cdefc14a7..8f3063b896d 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typeorm", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "TypeORM package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -25,20 +25,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0", "typeorm": "^0.2.45" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4", "typeorm": "^0.2.26" } } \ No newline at end of file diff --git a/packages/perf/package.json b/packages/perf/package.json index 61bcc9ad71b..1eac7d6d0be 100644 --- a/packages/perf/package.json +++ b/packages/perf/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/perf", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Perf module tool", "private": false, "source": "./src/index.ts", @@ -20,13 +20,13 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", "chalk": "^4.1.0", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/common/package.json b/packages/platform/common/package.json index 4d36316cdce..a5ba2dd139d 100644 --- a/packages/platform/common/package.json +++ b/packages/platform/common/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/common", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -68,29 +68,29 @@ } ], "dependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", "@tsed/logger": ">=6.2.2", "@tsed/logger-file": ">=6.2.2", - "@tsed/platform-exceptions": "7.36.0-rc.3", - "@tsed/platform-log-middleware": "7.36.0-rc.3", - "@tsed/platform-middlewares": "7.36.0-rc.3", - "@tsed/platform-params": "7.36.0-rc.3", - "@tsed/platform-response-filter": "7.36.0-rc.3", - "@tsed/platform-router": "7.36.0-rc.3", - "@tsed/platform-views": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", + "@tsed/platform-exceptions": "7.36.0-rc.4", + "@tsed/platform-log-middleware": "7.36.0-rc.4", + "@tsed/platform-middlewares": "7.36.0-rc.4", + "@tsed/platform-params": "7.36.0-rc.4", + "@tsed/platform-response-filter": "7.36.0-rc.4", + "@tsed/platform-router": "7.36.0-rc.4", + "@tsed/platform-views": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", "@types/json-schema": "7.0.11", "accepts": "^1.3.8", "tslib": "2.5.0", "uuid": "8.3.2" }, "devDependencies": { - "@tsed/components-scan": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/components-scan": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/platform/platform-cache/package.json b/packages/platform/platform-cache/package.json index 0c20fe73ec5..b82b3799da4 100644 --- a/packages/platform/platform-cache/package.json +++ b/packages/platform/platform-cache/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-cache", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Platform cache module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -27,20 +27,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/micromatch": "^4.0.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-exceptions/package.json b/packages/platform/platform-exceptions/package.json index d859b23143b..b4c5b344b47 100644 --- a/packages/platform/platform-exceptions/package.json +++ b/packages/platform/platform-exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-exceptions", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Platform exceptions module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,19 +25,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/exceptions": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/exceptions": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-express/package.json b/packages/platform/platform-express/package.json index e63f811b435..44a9bda86bf 100644 --- a/packages/platform/platform-express/package.json +++ b/packages/platform/platform-express/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-express", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "A TypeScript Framework on top of Express", "private": false, "source": "./src/index.ts", @@ -63,13 +63,13 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/platform-test-sdk": "7.36.0-rc.3", - "@tsed/platform-views": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/platform-test-sdk": "7.36.0-rc.4", + "@tsed/platform-views": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/body-parser": "1.19.2", "@types/compression": "1.7.2", "@types/cookie-parser": "1.4.2", @@ -86,14 +86,14 @@ "method-override": "3.0.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.3", - "@tsed/platform-views": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/openspec": "^7.36.0-rc.4", + "@tsed/platform-views": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4", "@types/multer": "^1.4.5", "body-parser": "^1.19.0", "multer": "^1.4.5-lts.1" diff --git a/packages/platform/platform-koa/package.json b/packages/platform/platform-koa/package.json index d193624c159..6e9ffca11e7 100644 --- a/packages/platform/platform-koa/package.json +++ b/packages/platform/platform-koa/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-koa", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Koa package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -58,12 +58,12 @@ }, "devDependencies": { "@koa/cors": "3.3.0", - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/platform-test-sdk": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/platform-test-sdk": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/koa": "2.13.4", "@types/koa-bodyparser": "4.3.7", "@types/koa-compose": "3.2.5", @@ -89,13 +89,13 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/openspec": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4", "koa": ">=2.13.0", "koa-bodyparser": ">=4.3.0", "koa-compress": ">=5.0.1", diff --git a/packages/platform/platform-log-middleware/package.json b/packages/platform/platform-log-middleware/package.json index 9647d02a751..88d0132117e 100644 --- a/packages/platform/platform-log-middleware/package.json +++ b/packages/platform/platform-log-middleware/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-log-middleware", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Log request middleware module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/platform-middlewares": "7.36.0-rc.3", - "@tsed/platform-params": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/platform-middlewares": "7.36.0-rc.4", + "@tsed/platform-params": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/di": "^7.36.0-rc.3", - "@tsed/platform-middlewares": "^7.36.0-rc.3", - "@tsed/platform-params": "^7.36.0-rc.3" + "@tsed/di": "^7.36.0-rc.4", + "@tsed/platform-middlewares": "^7.36.0-rc.4", + "@tsed/platform-params": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/di": { diff --git a/packages/platform/platform-middlewares/package.json b/packages/platform/platform-middlewares/package.json index ba43a5a2c3e..270489e8f8d 100644 --- a/packages/platform/platform-middlewares/package.json +++ b/packages/platform/platform-middlewares/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-middlewares", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Middlewares module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,17 +25,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-params/package.json b/packages/platform/platform-params/package.json index 00c34dd2fd7..afcf439f30a 100644 --- a/packages/platform/platform-params/package.json +++ b/packages/platform/platform-params/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-params", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Params module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/exceptions": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/exceptions": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-response-filter/package.json b/packages/platform/platform-response-filter/package.json index f91b4f133eb..d20f09c502f 100644 --- a/packages/platform/platform-response-filter/package.json +++ b/packages/platform/platform-response-filter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-response-filter", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Platform response filter module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -25,21 +25,21 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/exceptions": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/exceptions": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-router/package.json b/packages/platform/platform-router/package.json index 835bbe6306a..21a1082150d 100644 --- a/packages/platform/platform-router/package.json +++ b/packages/platform/platform-router/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-router", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Router", "private": false, "source": "./src/index.ts", @@ -25,23 +25,23 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/platform-params": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/platform-params": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/exceptions": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", - "@tsed/platform-params": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/exceptions": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", + "@tsed/platform-params": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/platform/platform-serverless-http/package.json b/packages/platform/platform-serverless-http/package.json index 85853d8618e..081eeda544f 100644 --- a/packages/platform/platform-serverless-http/package.json +++ b/packages/platform/platform-serverless-http/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-http", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Module to support Serverless HTTP function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -62,24 +62,24 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/platform-serverless-testing": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/platform-serverless-testing": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "aws-lambda": "^1.0.7", "eslint": "^8.12.0", "serverless-http": "^2.7.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/openspec": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4", "aws-lambda": ">=1.0.7", "serverless-http": ">=2.0.0" }, diff --git a/packages/platform/platform-serverless-testing/package.json b/packages/platform/platform-serverless-testing/package.json index f5750af77a6..e83d771c06e 100644 --- a/packages/platform/platform-serverless-testing/package.json +++ b/packages/platform/platform-serverless-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless-testing", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Module to test Serverless function with Ts.ED", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -57,12 +57,12 @@ "url": "git+https://github.com/tsedio/tsed.git" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "dependencies": { @@ -70,12 +70,12 @@ "tslib": "2.5.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/openspec": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/openspec": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" } } \ No newline at end of file diff --git a/packages/platform/platform-serverless/package.json b/packages/platform/platform-serverless/package.json index 0c5ace09f5f..19f22f6675f 100644 --- a/packages/platform/platform-serverless/package.json +++ b/packages/platform/platform-serverless/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-serverless", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Platform serverless module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,21 +22,21 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/platform-exceptions": "7.36.0-rc.3", - "@tsed/platform-params": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/platform-exceptions": "7.36.0-rc.4", + "@tsed/platform-params": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", "encodeurl": "^1.0.2", "mime": "^3.0.0", "tslib": "2.5.0", "uuid": "^8.3.2" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/platform-serverless-testing": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/platform-serverless-testing": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/aws-lambda": "^8.10.83", "@types/encodeurl": "^1.0.0", "@types/mime": "^3.0.1", @@ -44,7 +44,7 @@ "find-my-way": "^7.0.0" }, "peerDependencies": { - "@tsed/di": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2" }, "peerDependenciesMeta": { diff --git a/packages/platform/platform-test-sdk/package.json b/packages/platform/platform-test-sdk/package.json index 5c3d455d88b..77b2b3b16ba 100644 --- a/packages/platform/platform-test-sdk/package.json +++ b/packages/platform/platform-test-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-test-sdk", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Package to test platform adapter integration with Ts.ED", "private": false, "source": "./src/index.ts", @@ -28,25 +28,25 @@ "Adapter" ], "dependencies": { - "@tsed/ajv": "7.36.0-rc.3", - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", + "@tsed/ajv": "7.36.0-rc.4", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", "@tsed/logger": "6.2.2", - "@tsed/platform-cache": "7.36.0-rc.3", - "@tsed/platform-params": "7.36.0-rc.3", - "@tsed/platform-router": "7.36.0-rc.3", - "@tsed/platform-views": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/swagger": "7.36.0-rc.3", + "@tsed/platform-cache": "7.36.0-rc.4", + "@tsed/platform-params": "7.36.0-rc.4", + "@tsed/platform-router": "7.36.0-rc.4", + "@tsed/platform-views": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/swagger": "7.36.0-rc.4", "ajv": "^8.12.0", "axios": "^1.3.0", "read-pkg-up": "7.0.1" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/platform/platform-views/package.json b/packages/platform/platform-views/package.json index 5692519ad4d..365def10c29 100644 --- a/packages/platform/platform-views/package.json +++ b/packages/platform/platform-views/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/platform-views", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Views module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,27 +22,27 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/engines": "7.36.0-rc.3", + "@tsed/engines": "7.36.0-rc.4", "ejs": "^3.1.5", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/engines": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/engines": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/ejs": "3.1.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/engines": "^7.36.0-rc.3", - "@tsed/exceptions": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/engines": "^7.36.0-rc.4", + "@tsed/exceptions": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/security/jwks/package.json b/packages/security/jwks/package.json index 791de0023e8..32159934db8 100644 --- a/packages/security/jwks/package.json +++ b/packages/security/jwks/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jwks", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Utils to generate jwks pair keys", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": {} diff --git a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json index 1d4ee1b0802..9e7d709c4ee 100644 --- a/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json +++ b/packages/security/oidc-provider-plugin-wildcard-redirect-uri/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider-plugin-wildcard-redirect-uri", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "A plugin to support wildcard in the redirect uri whitelist", "private": false, "contributors": [ @@ -31,19 +31,19 @@ "wildcard": "2.0.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/oidc-provider": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/oidc-provider": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/uuid": "8.3.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/oidc-provider": "^7.36.0-rc.3", + "@tsed/oidc-provider": "^7.36.0-rc.4", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/oidc-provider/package.json b/packages/security/oidc-provider/package.json index 9987ec528ce..880b4b3acfa 100644 --- a/packages/security/oidc-provider/package.json +++ b/packages/security/oidc-provider/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/oidc-provider", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "OIDC provider package for Ts.ED framework", "private": false, "contributors": [ @@ -34,7 +34,7 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/adapters": "7.36.0-rc.3", + "@tsed/adapters": "7.36.0-rc.4", "express-urlrewrite": "^1.4.0", "jose2": "npm:jose@^2.0.4", "koa-mount": "^4.0.0", @@ -43,13 +43,13 @@ "uuid": "8.3.2" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/jwks": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/jwks": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/lowdb": "1.0.11", "@types/oidc-provider": "8.1.1", "@types/uuid": "8.3.4", @@ -58,12 +58,12 @@ "oidc-provider": "8.1.1" }, "peerDependencies": { - "@tsed/ajv": "^7.36.0-rc.3", - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/ajv": "^7.36.0-rc.4", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4", "oidc-provider": ">=8.0.0" }, "peerDependenciesMeta": { diff --git a/packages/security/passport/package.json b/packages/security/passport/package.json index c4575bee36b..1acff5b7e7c 100644 --- a/packages/security/passport/package.json +++ b/packages/security/passport/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/passport", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Passport package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,12 +26,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/platform-router": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/platform-router": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/passport": "1.0.7", "@types/passport-http": "0.3.9", "@types/passport-local": "1.0.34", @@ -43,7 +43,7 @@ "passport-strategy": "1.0.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", "passport": ">=0.4.1" }, "peerDependenciesMeta": { diff --git a/packages/specs/ajv/package.json b/packages/specs/ajv/package.json index bdd76d2d8ff..4dbce66e816 100644 --- a/packages/specs/ajv/package.json +++ b/packages/specs/ajv/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/ajv", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "AJV package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -26,20 +26,20 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "ajv": "8.11.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/exceptions": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/exceptions": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4", "ajv": ">=8.9.0", "ajv-errors": ">=3.0.0" }, diff --git a/packages/specs/exceptions/package.json b/packages/specs/exceptions/package.json index 6dd16b375c4..51b72abe018 100644 --- a/packages/specs/exceptions/package.json +++ b/packages/specs/exceptions/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/exceptions", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "HTTP exceptions module for Ts.ED Framework and other pure Express application", "private": false, "source": "./src/index.ts", @@ -27,12 +27,12 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/statuses": "2.0.0", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4" } } \ No newline at end of file diff --git a/packages/specs/json-mapper/package.json b/packages/specs/json-mapper/package.json index 70231a5ad8b..3d9db449efa 100644 --- a/packages/specs/json-mapper/package.json +++ b/packages/specs/json-mapper/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/json-mapper", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Json mapper module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -41,15 +41,15 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/core": { diff --git a/packages/specs/openspec/package.json b/packages/specs/openspec/package.json index c77b6ea9073..ebb58d56ccf 100644 --- a/packages/specs/openspec/package.json +++ b/packages/specs/openspec/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/openspec", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "OpenSpec2 and OpenSpec3 interfaces declarations for TypeScript application", "private": false, "source": "./src/index.ts", @@ -31,8 +31,8 @@ "JsonSchema" ], "devDependencies": { - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "dependencies": {}, diff --git a/packages/specs/schema/package.json b/packages/specs/schema/package.json index a9e76622a1a..4f7537c8da2 100644 --- a/packages/specs/schema/package.json +++ b/packages/specs/schema/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "JsonSchema module for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -36,7 +36,7 @@ "tsed" ], "dependencies": { - "@tsed/openspec": "7.36.0-rc.3", + "@tsed/openspec": "7.36.0-rc.4", "change-case": "^4.1.2", "fs-extra": "^10.0.1", "json-schema": "0.4.0", @@ -46,10 +46,10 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "10.0.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/openspec": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/openspec": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/fs-extra": "9.0.13", "@types/json-schema": "7.0.11", "@types/picomatch": "2.3.0", @@ -58,8 +58,8 @@ "picomatch-browser": "https://github.com/silverwind/picomatch#ee6ebcc5570a8846d81610c11ebb92a9e199b145" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/openspec": "^7.36.0-rc.3" + "@tsed/core": "^7.36.0-rc.4", + "@tsed/openspec": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/openspec": { diff --git a/packages/specs/swagger/package.json b/packages/specs/swagger/package.json index 1509694fbc0..a713e19b73b 100644 --- a/packages/specs/swagger/package.json +++ b/packages/specs/swagger/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/swagger", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Swagger package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,8 +24,8 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.36.0-rc.3", - "@tsed/openspec": "7.36.0-rc.3", + "@tsed/normalize-path": "7.36.0-rc.4", + "@tsed/openspec": "7.36.0-rc.4", "filedirname": "^2.7.0", "fs-extra": "10.0.1", "micromatch": "4.0.5", @@ -33,19 +33,19 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/openspec": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/openspec": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/swagger-ui-dist": ">=3.30.1", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3" + "@tsed/common": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@tsed/common": { diff --git a/packages/third-parties/agenda/package.json b/packages/third-parties/agenda/package.json index f2cc47fa4e9..c06d33bf910 100644 --- a/packages/third-parties/agenda/package.json +++ b/packages/third-parties/agenda/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/agenda", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Agenda package for Ts.ED framework", "source": "./src/index.ts", "main": "./lib/cjs/index.js", @@ -30,11 +30,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "agenda": "^4.1.3", "eslint": "^8.12.0" }, diff --git a/packages/third-parties/components-scan/package.json b/packages/third-parties/components-scan/package.json index efaff278c21..49e46c48d44 100644 --- a/packages/third-parties/components-scan/package.json +++ b/packages/third-parties/components-scan/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/components-scan", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Components scan utilities for Ts.ED Framework", "private": false, "source": "./src/index.ts", @@ -22,15 +22,15 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/normalize-path": "7.36.0-rc.3", + "@tsed/normalize-path": "7.36.0-rc.4", "globby": "11.0.3", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { diff --git a/packages/third-parties/event-emitter/package.json b/packages/third-parties/event-emitter/package.json index c18fedda056..88c59937d34 100644 --- a/packages/third-parties/event-emitter/package.json +++ b/packages/third-parties/event-emitter/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/event-emitter", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "EventEmitter package for Ts.ED framework", "contributors": [ { @@ -33,11 +33,11 @@ }, "private": false, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0", "eventemitter2": "^6.4.4" }, diff --git a/packages/third-parties/formio-types/package.json b/packages/third-parties/formio-types/package.json index 5e4ed773d72..64d24a12060 100644 --- a/packages/third-parties/formio-types/package.json +++ b/packages/third-parties/formio-types/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio-types", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Formio types definition package for Ts.ED framework", "private": false, "keywords": [ @@ -36,8 +36,8 @@ "formiojs": ">=4.0.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" } } \ No newline at end of file diff --git a/packages/third-parties/formio/package.json b/packages/third-parties/formio/package.json index 7335e42d8a3..e583c53a097 100644 --- a/packages/third-parties/formio/package.json +++ b/packages/third-parties/formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/formio", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Formio package for Ts.ED framework", "private": false, "keywords": [ @@ -31,17 +31,17 @@ "lint:fix": "eslint '**/*.{ts,js}' --fix" }, "dependencies": { - "@tsed/formio-types": "7.36.0-rc.3", - "@tsed/normalize-path": "7.36.0-rc.3", + "@tsed/formio-types": "7.36.0-rc.4", + "@tsed/normalize-path": "7.36.0-rc.4", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/mongoose": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/mongoose": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/async": "3.2.15", "eslint": "^8.12.0", "express": "^4.17.1", @@ -50,7 +50,7 @@ "mongoose": "^6.1.7" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", "express": "^4.17.1", "formio": "^2.0.0", "lodash": "^4.17.21", diff --git a/packages/third-parties/schema-formio/package.json b/packages/third-parties/schema-formio/package.json index 4d70bb35d12..02f7ba8b549 100644 --- a/packages/third-parties/schema-formio/package.json +++ b/packages/third-parties/schema-formio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/schema-formio", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Transform Ts.ED Schema & JsonSchema to a valid Formio schema", "private": false, "source": "./src/index.ts", @@ -38,22 +38,22 @@ "tsed" ], "dependencies": { - "@tsed/formio-types": "7.36.0-rc.3", + "@tsed/formio-types": "7.36.0-rc.4", "change-case": "4.1.2", "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/openspec": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/openspec": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { - "@tsed/core": "^7.36.0-rc.3", - "@tsed/openspec": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/openspec": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4", "formiojs": ">=4.0.0", "lodash": ">=4.0.0", "moment": ">=2.0.0" diff --git a/packages/third-parties/socketio-testing/package.json b/packages/third-parties/socketio-testing/package.json index b97bf019b3b..74f1b662f48 100644 --- a/packages/third-parties/socketio-testing/package.json +++ b/packages/third-parties/socketio-testing/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio-testing", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Socket.io testing package for Ts.ED framework", "private": false, "source": "./src/index.ts", @@ -24,17 +24,17 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0", "socket.io-client": "^4.1.2" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", "socket.io-client": "^4.0.1" } } \ No newline at end of file diff --git a/packages/third-parties/socketio/package.json b/packages/third-parties/socketio/package.json index a8262d9b614..b226f8c894d 100644 --- a/packages/third-parties/socketio/package.json +++ b/packages/third-parties/socketio/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/socketio", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Socket.io package for Ts.ED framework", "private": false, "keywords": [ @@ -33,27 +33,27 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/openspec": "7.36.0-rc.3", - "@tsed/platform-middlewares": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/socketio-testing": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/openspec": "7.36.0-rc.4", + "@tsed/platform-middlewares": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/socketio-testing": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0", "express": "^4.17.1", "socket.io": "4.7.1", "socket.io-client": "^4.7.1" }, "peerDependencies": { - "@tsed/di": "^7.36.0-rc.3", - "@tsed/json-mapper": "^7.36.0-rc.3", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/json-mapper": "^7.36.0-rc.4", "@tsed/logger": ">=6.2.2", - "@tsed/platform-middlewares": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/platform-middlewares": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4", "socket.io": ">=4.0.0" }, "peerDependenciesMeta": { diff --git a/packages/third-parties/stripe/package.json b/packages/third-parties/stripe/package.json index 91b38282686..f604a08eddd 100644 --- a/packages/third-parties/stripe/package.json +++ b/packages/third-parties/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/stripe", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Stripe package for Ts.ED framework", "private": false, "keywords": [ @@ -34,22 +34,22 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/platform-middlewares": "7.36.0-rc.3", - "@tsed/platform-params": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/platform-middlewares": "7.36.0-rc.4", + "@tsed/platform-params": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0", "stripe": "^8.129.0" }, "peerDependencies": { - "@tsed/exceptions": "^7.36.0-rc.3", - "@tsed/platform-middlewares": "^7.36.0-rc.3", - "@tsed/platform-params": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3", + "@tsed/exceptions": "^7.36.0-rc.4", + "@tsed/platform-middlewares": "^7.36.0-rc.4", + "@tsed/platform-params": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4", "@types/body-parser": "^1.19.0", "body-parser": "^1.19.0", "stripe": "^9.16.0" diff --git a/packages/third-parties/terminus/package.json b/packages/third-parties/terminus/package.json index 3acb052c4d9..a0d9ef74f73 100644 --- a/packages/third-parties/terminus/package.json +++ b/packages/third-parties/terminus/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/terminus", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Adds graceful shutdown and Kubernetes readiness / liveness checks for any HTTP applications.", "author": "Emilien Leroy ", "private": false, @@ -28,20 +28,20 @@ }, "devDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0" }, "peerDependencies": { "@godaddy/terminus": "^4.7.1", - "@tsed/common": "^7.36.0-rc.3", - "@tsed/core": "^7.36.0-rc.3", - "@tsed/di": "^7.36.0-rc.3", - "@tsed/schema": "^7.36.0-rc.3" + "@tsed/common": "^7.36.0-rc.4", + "@tsed/core": "^7.36.0-rc.4", + "@tsed/di": "^7.36.0-rc.4", + "@tsed/schema": "^7.36.0-rc.4" }, "peerDependenciesMeta": { "@godaddy/terminus": { diff --git a/packages/third-parties/vite-ssr-plugin/package.json b/packages/third-parties/vite-ssr-plugin/package.json index d990079e67c..c0185818e9a 100644 --- a/packages/third-parties/vite-ssr-plugin/package.json +++ b/packages/third-parties/vite-ssr-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/vite-ssr-plugin", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Vite SSR plugin package for Ts.ED framework", "private": false, "contributors": [ @@ -30,18 +30,18 @@ "sirv": ">=2.0.2" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/core": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/common": "7.36.0-rc.4", + "@tsed/core": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "eslint": "^8.12.0", "vite": "4.3.9", "vite-plugin-ssr": "0.4.114" }, "peerDependencies": { - "@tsed/common": "^7.36.0-rc.3", + "@tsed/common": "^7.36.0-rc.4", "vite": ">=4", "vite-plugin-ssr": ">=0.4.114" }, diff --git a/packages/utils/normalize-path/package.json b/packages/utils/normalize-path/package.json index 52c93f9b979..46603c574f3 100644 --- a/packages/utils/normalize-path/package.json +++ b/packages/utils/normalize-path/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/normalize-path", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Utils to normalize path", "private": false, "source": "./src/index.ts", @@ -26,8 +26,8 @@ "tslib": "2.5.0" }, "devDependencies": { - "@tsed/eslint": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3", + "@tsed/eslint": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4", "@types/normalize-path": "^3.0.0", "eslint": "^8.12.0" }, diff --git a/tools/eslint/package.json b/tools/eslint/package.json index fca9bb18212..bbd88750015 100644 --- a/tools/eslint/package.json +++ b/tools/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/eslint", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/github-sponsors/package.json b/tools/github-sponsors/package.json index e0542cd63d4..19e6bacd18a 100644 --- a/tools/github-sponsors/package.json +++ b/tools/github-sponsors/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/github-sponsors", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "private": true, "scripts": { "sponsors": "node ./bin/github-sponsors.js" diff --git a/tools/integration/package.json b/tools/integration/package.json index 7b815a7788a..cd3a93ea011 100644 --- a/tools/integration/package.json +++ b/tools/integration/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/integration", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "source": "src/index.ts", "main": "src/index.js", "private": true, @@ -9,16 +9,16 @@ "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json" }, "devDependencies": { - "@tsed/common": "7.36.0-rc.3", - "@tsed/di": "7.36.0-rc.3", - "@tsed/exceptions": "7.36.0-rc.3", - "@tsed/json-mapper": "7.36.0-rc.3", - "@tsed/platform-exceptions": "7.36.0-rc.3", - "@tsed/platform-express": "7.36.0-rc.3", - "@tsed/platform-views": "7.36.0-rc.3", - "@tsed/schema": "7.36.0-rc.3", - "@tsed/swagger": "7.36.0-rc.3", - "@tsed/typescript": "7.36.0-rc.3" + "@tsed/common": "7.36.0-rc.4", + "@tsed/di": "7.36.0-rc.4", + "@tsed/exceptions": "7.36.0-rc.4", + "@tsed/json-mapper": "7.36.0-rc.4", + "@tsed/platform-exceptions": "7.36.0-rc.4", + "@tsed/platform-express": "7.36.0-rc.4", + "@tsed/platform-views": "7.36.0-rc.4", + "@tsed/schema": "7.36.0-rc.4", + "@tsed/swagger": "7.36.0-rc.4", + "@tsed/typescript": "7.36.0-rc.4" }, "dependencies": {}, "peerDependencies": {} diff --git a/tools/jest/package.json b/tools/jest/package.json index 2c9a0cda74f..e98406bc89e 100644 --- a/tools/jest/package.json +++ b/tools/jest/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/jest-config", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "private": true, "main": "jest.config.js", "scripts": {}, diff --git a/tools/mocha/package.json b/tools/mocha/package.json index 4004d9e9a97..269a314c352 100644 --- a/tools/mocha/package.json +++ b/tools/mocha/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/mocha-config", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "private": true, "main": "mocha.config.js", "scripts": {}, diff --git a/tools/typescript/package.json b/tools/typescript/package.json index 854fe3afa11..a7f021c5529 100644 --- a/tools/typescript/package.json +++ b/tools/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/typescript", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "description": "Util to compile source", "private": true, "main": "index.js", diff --git a/tools/webpack/package.json b/tools/webpack/package.json index 797ebb31a41..1383de57e5b 100644 --- a/tools/webpack/package.json +++ b/tools/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@tsed/webpack-config", - "version": "7.36.0-rc.3", + "version": "7.36.0-rc.4", "private": true, "main": "webpack.config.js", "scripts": {}, From 314237a239dc53fd2400dfe77ea47c554de7e1fc Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Thu, 14 Sep 2023 11:58:47 +0200 Subject: [PATCH 30/30] fix(json-mapper): fix potential reference issue on serialize method --- packages/security/oidc-provider/package.json | 5 +++-- .../oidc-provider/src/domain/OidcSettings.ts | 7 +++++++ .../src/services/OidcInteractionContext.ts | 14 ++++++-------- .../oidc-provider/src/services/OidcProvider.ts | 1 + .../src/domain/JsonSerializer.spec.ts | 18 ++++++++++++++++++ .../json-mapper/src/domain/JsonSerializer.ts | 2 +- 6 files changed, 36 insertions(+), 11 deletions(-) diff --git a/packages/security/oidc-provider/package.json b/packages/security/oidc-provider/package.json index 880b4b3acfa..fd2aefdcd24 100644 --- a/packages/security/oidc-provider/package.json +++ b/packages/security/oidc-provider/package.json @@ -40,7 +40,8 @@ "koa-mount": "^4.0.0", "koa-rewrite": "^3.0.1", "tslib": "2.5.0", - "uuid": "8.3.2" + "uuid": "8.3.2", + "lodash": "4.17.21" }, "devDependencies": { "@tsed/common": "7.36.0-rc.4", @@ -86,4 +87,4 @@ "optional": false } } -} \ No newline at end of file +} diff --git a/packages/security/oidc-provider/src/domain/OidcSettings.ts b/packages/security/oidc-provider/src/domain/OidcSettings.ts index 8cf0bb03f5a..bf2cf54e49a 100644 --- a/packages/security/oidc-provider/src/domain/OidcSettings.ts +++ b/packages/security/oidc-provider/src/domain/OidcSettings.ts @@ -52,6 +52,13 @@ export interface OidcSettings extends Configuration { connectionName?: string; plugins?: TsED.OIDCPluginSettings; + + render?: { + /** + * By default ["clientSecret"] is omitted + */ + omitClientProps?: string[]; + }; } declare global { diff --git a/packages/security/oidc-provider/src/services/OidcInteractionContext.ts b/packages/security/oidc-provider/src/services/OidcInteractionContext.ts index e33c05c4d16..e538f874012 100644 --- a/packages/security/oidc-provider/src/services/OidcInteractionContext.ts +++ b/packages/security/oidc-provider/src/services/OidcInteractionContext.ts @@ -21,11 +21,14 @@ import {OidcInteractionPromptProps} from "../domain/OidcInteractionPromptProps"; import {debug} from "../utils/debug"; import {OidcInteractions} from "./OidcInteractions"; import {OidcProvider} from "./OidcProvider"; - +import omit from "lodash/omit"; @Injectable() export class OidcInteractionContext { @Constant("env") - env: Env; + protected env: Env; + + @Constant("oidc.render.omitClientProps", []) + protected omitClientProps: string[]; @Inject() protected oidcProvider: OidcProvider; @@ -112,13 +115,8 @@ export class OidcInteractionContext { async interactionPrompt({client, ...options}: Record): Promise { client = client || (await this.findClient()); - const newClient = serialize(client, {useAlias: false, groups: ["render"]}); - - // remove client secret from - delete (newClient as any).clientSecret; - return { - client: newClient, + client: omit(client, ["clientSecret", ...this.omitClientProps]), uid: this.uid, grantId: this.grantId, details: this.prompt.details, diff --git a/packages/security/oidc-provider/src/services/OidcProvider.ts b/packages/security/oidc-provider/src/services/OidcProvider.ts index 9a44ed93dcd..c02940263ea 100644 --- a/packages/security/oidc-provider/src/services/OidcProvider.ts +++ b/packages/security/oidc-provider/src/services/OidcProvider.ts @@ -86,6 +86,7 @@ export class OidcProvider { secureCookies = this.env == Env.PROD, Adapter, connectionName, + render, ...options } = this.oidc; diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts index a9860d510f9..b7ff03ed7c6 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.spec.ts @@ -704,6 +704,24 @@ describe("JsonSerializer", () => { } ]); }); + it("should serialize model without decorator", () => { + class Client { + clientId: string; + clientSecret: string; + } + + const client = new Client(); + client.clientId = "id"; + client.clientSecret = "secret"; + + const result = serialize(client, {useAlias: false, groups: ["render"]}); + + expect(result === client).toBeFalsy(); + expect(result).toEqual({ + clientId: "id", + clientSecret: "secret" + }); + }); }); describe("class with toJSON/toClass", () => { it("should serialize model", () => { diff --git a/packages/specs/json-mapper/src/domain/JsonSerializer.ts b/packages/specs/json-mapper/src/domain/JsonSerializer.ts index aacbda55e3b..6e7fc2e0edb 100644 --- a/packages/specs/json-mapper/src/domain/JsonSerializer.ts +++ b/packages/specs/json-mapper/src/domain/JsonSerializer.ts @@ -83,7 +83,7 @@ export class JsonSerializer extends JsonMapperCompiler { writer.add(this.mapPrecondition(id)); if (!schemaProperties.length) { - return writer.return("input").root().toString(); + return writer.return("isObject(input) ? {...input} : input").root().toString(); } // properties