moltar / typescript-runtime-type-benchmarks

📊 Benchmark Comparison of Packages with Runtime Validation and TypeScript Support
https://moltar.github.io/typescript-runtime-type-benchmarks/
637 stars 62 forks source link

fix(deps): update dependency typia to v5.3.3 #1184

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
typia (source) 5.0.4 -> 5.3.3 age adoption passing confidence

Release Notes

samchon/typia (typia) ### [`v5.3.3`](https://togithub.com/samchon/typia/compare/v5.3.2...2067670f934603a1dea29e8d779454233a2cd1bc) [Compare Source](https://togithub.com/samchon/typia/compare/v5.3.2...2067670f934603a1dea29e8d779454233a2cd1bc) ### [`v5.3.2`](https://togithub.com/samchon/typia/releases/tag/v5.3.2) [Compare Source](https://togithub.com/samchon/typia/compare/v5.3.1...v5.3.2) #### What's Changed - Fix typo in setup.mdx by [@​MarArMar](https://togithub.com/MarArMar) in [https://github.com/samchon/typia/pull/890](https://togithub.com/samchon/typia/pull/890) - Fix length error of `typia.random()` function. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/891](https://togithub.com/samchon/typia/pull/891) **Full Changelog**: https://github.com/samchon/typia/compare/v5.3.1...v5.3.2 ### [`v5.3.1`](https://togithub.com/samchon/typia/releases/tag/v5.3.1) [Compare Source](https://togithub.com/samchon/typia/compare/d27f19c6a099ad9b0714683d92576409bbbfeb10...v5.3.1) Starts supporting TypeScript v5.3 update. Since TypeScript v5.3 update, it no more parses `JSDocComment`s from the `tsc` command and it damages on the "Comment Tags" and "JSON schema generator" features. By the way, as update of `ts-patch` for the TypeScript v5.3 update is delaying, I've patched the TypeScript module by myself. The new cli command `npx typia patch` is the thing reviving `JSDocComment` feature from `tsc`. For reference, `typia setup` command also does the same behavior. > Detailed content about that > > https://typia.io/docs/setup/#manual-setup #### What's Changed - Gather compilation error of custom type tags too. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/864](https://togithub.com/samchon/typia/pull/864) - Add `reflect.metadata()` function. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/867](https://togithub.com/samchon/typia/pull/867) - Complete [#​469](https://togithub.com/samchon/typia/issues/469) - new function `asserGuard()`. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/872](https://togithub.com/samchon/typia/pull/872) - Close [#​848](https://togithub.com/samchon/typia/issues/848) - `exactOptionalPropertyTypes` option for `typia.protobuf.decode()` function. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/874](https://togithub.com/samchon/typia/pull/874) - Fixed the typia homepage address. by [@​windofwind](https://togithub.com/windofwind) in [https://github.com/samchon/typia/pull/877](https://togithub.com/samchon/typia/pull/877) - Warning message when `jsDocParsingMode` is not hacked. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/879](https://togithub.com/samchon/typia/pull/879) - Separate test program from the main package. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/881](https://togithub.com/samchon/typia/pull/881) - New cli command `npx typia patch` for hacking `defaultJSDocParsingMode` value by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/883](https://togithub.com/samchon/typia/pull/883) - Complement [#​865](https://togithub.com/samchon/typia/issues/865) - documentation by [@​MarArMar](https://togithub.com/MarArMar) in [https://github.com/samchon/typia/pull/882](https://togithub.com/samchon/typia/pull/882) - Fix [#​884](https://togithub.com/samchon/typia/issues/884) - wrong union predication about constant type by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/886](https://togithub.com/samchon/typia/pull/886) - Tried [#​885](https://togithub.com/samchon/typia/issues/885), but a problem of TS API by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/887](https://togithub.com/samchon/typia/pull/887) #### New Contributors - [@​windofwind](https://togithub.com/windofwind) made their first contribution in [https://github.com/samchon/typia/pull/877](https://togithub.com/samchon/typia/pull/877) - [@​MarArMar](https://togithub.com/MarArMar) made their first contribution in [https://github.com/samchon/typia/pull/882](https://togithub.com/samchon/typia/pull/882) **Full Changelog**: https://github.com/samchon/typia/compare/v5.2.6...v5.3.1 ### [`v5.3.0`](https://togithub.com/samchon/typia/compare/v5.2.6...d27f19c6a099ad9b0714683d92576409bbbfeb10) [Compare Source](https://togithub.com/samchon/typia/compare/v5.2.6...d27f19c6a099ad9b0714683d92576409bbbfeb10) ### [`v5.2.6`](https://togithub.com/samchon/typia/releases/tag/v5.2.6) [Compare Source](https://togithub.com/samchon/typia/compare/v5.2.5...v5.2.6) ##### What's Changed - Break change from `ts.factory.createNumericLiteral()`. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/863](https://togithub.com/samchon/typia/pull/863) **Full Changelog**: https://github.com/samchon/typia/compare/v5.2.5...v5.2.6 ### [`v5.2.5`](https://togithub.com/samchon/typia/releases/tag/v5.2.5) [Compare Source](https://togithub.com/samchon/typia/compare/v5.2.4...v5.2.5) ##### What's Changed - Fix typo in docs by [@​Jamesgt](https://togithub.com/Jamesgt) in [https://github.com/samchon/typia/pull/858](https://togithub.com/samchon/typia/pull/858) - Fix [#​853](https://togithub.com/samchon/typia/issues/853) - `Record, T>` case. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/861](https://togithub.com/samchon/typia/pull/861) ##### New Contributors - [@​Jamesgt](https://togithub.com/Jamesgt) made their first contribution in [https://github.com/samchon/typia/pull/858](https://togithub.com/samchon/typia/pull/858) **Full Changelog**: https://github.com/samchon/typia/compare/v5.2.4...v5.2.5 ### [`v5.2.4`](https://togithub.com/samchon/typia/releases/tag/v5.2.4) [Compare Source](https://togithub.com/samchon/typia/compare/v5.2.3...v5.2.4) ##### What's Changed - Pending TypeScript v5.3 update. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/851](https://togithub.com/samchon/typia/pull/851) **Full Changelog**: https://github.com/samchon/typia/compare/v5.2.3...v5.2.4 ### [`v5.2.3`](https://togithub.com/samchon/typia/releases/tag/v5.2.3) [Compare Source](https://togithub.com/samchon/typia/compare/v5.2.2...v5.2.3) ##### What's Changed - Remove deprecated [@​types/commander](https://togithub.com/types/commander) package by [@​techvlad](https://togithub.com/techvlad) in [https://github.com/samchon/typia/pull/846](https://togithub.com/samchon/typia/pull/846) - Print CLI output when running `npx typia setup`. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/847](https://togithub.com/samchon/typia/pull/847) **Full Changelog**: https://github.com/samchon/typia/compare/v5.2.2...v5.2.3 ### [`v5.2.2`](https://togithub.com/samchon/typia/releases/tag/v5.2.2) [Compare Source](https://togithub.com/samchon/typia/compare/v5.2.1...v5.2.2) When `JSON.stringify()` function be called about `Map` type, it always returns the empty bracket value `{}`. Until now, I'd developed `typia` to return the empty bracket value `{}`, following the standard `JSON.stringify()` function. However, as most TypeScript/JavaScript developers do not know about that and there's not any problem when using the `Map` type on `typia.json.stringify()` function ini the compile time, it was possible to misunderstand that `typia`'s stringify function has a bug about the `Map` time. In such reason, I've decided to throw a compile error when such non-supported type being used in the `typia.json` functions. Also, such strategy would be helpful for `typia` users to avoid taking a mistake using such non-supported type on the JSON functions. ##### What's Changed - Fix [#​842](https://togithub.com/samchon/typia/issues/842) - exact description comment tracing. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/843](https://togithub.com/samchon/typia/pull/843) - Close [#​823](https://togithub.com/samchon/typia/issues/823) - ban Map types on JSON functions. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/844](https://togithub.com/samchon/typia/pull/844) **Full Changelog**: https://github.com/samchon/typia/compare/v5.2.1...v5.2.2 ### [`v5.2.1`](https://togithub.com/samchon/typia/releases/tag/v5.2.1) [Compare Source](https://togithub.com/samchon/typia/compare/v5.2.0...v5.2.1) To support `yarn berry` which had banned `npm prepare` script, I'd changed setup wizard of `typia` to define `npm postinstall` script instead. By the way, unlike the `npm prepare` script which works on only in the local drive and does not work when be installed from remote `npm`, `npm postinstall` script is working even when installing from the remote `npm`. Therefore, when publishing an `npm` module which has installed `tyipa` through setup wizard, it enforces users of derived libraries to run the `npm postinstall` command that requires `ts-patch` module. To fix this crazy bug, I've decided to ban `yarn berry` on the setup wizard. From now on, when you run the `npx typia setup` command, it will print a text that "yarn berry is not supported". If you still want to utilize the `yarn berry`, configure it manually by yourself please. #### What's Changed - Close [#​838](https://togithub.com/samchon/typia/issues/838) - show typia version on playground. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/839](https://togithub.com/samchon/typia/pull/839) - Ban `yarn berry` on setup wizard. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/840](https://togithub.com/samchon/typia/pull/840) **Full Changelog**: https://github.com/samchon/typia/compare/v5.2.0...v5.2.1 ### [`v5.2.0`](https://togithub.com/samchon/typia/releases/tag/v5.2.0) [Compare Source](https://togithub.com/samchon/typia/compare/v5.1.6...v5.2.0) Added a new module `notations` to support naming convention converters. This update is for future's [nestia](https://togithub.com/samchon/nestia) feature. ```typescript export namespace notations { export function camel(input: T): CamelCase; export function assertCamel(input: unknown | T): CamelCase; export function isCamel(input: unknown | T): CamelCase | null; export function validateCamel(input: unknown | T): IValidation>; export function pascal(input: T): PascalCase; export function assertPascal(input: unknown | T): PascalCase; export function isPascal(input: unknown | T): PascalCase | null; export function validatePascal(input: unknown | T): IValidation>; export function snake(input: T): SnakeCase; export function assertSnake(input: unknown | T): SnakeCase; export function isSnake(input: unknown | T): SnakeCase | null; export function validateSnake(input: unknown | T): IValidation>; } ``` #### What's Changed - New module `notations`, the naming convention converters by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/835](https://togithub.com/samchon/typia/pull/835) **Full Changelog**: https://github.com/samchon/typia/compare/v5.1.6...v5.2.0 ### [`v5.1.6`](https://togithub.com/samchon/typia/releases/tag/v5.1.6) [Compare Source](https://togithub.com/samchon/typia/compare/v5.1.5...v5.1.6) #### What's Changed - Fix [#​831](https://togithub.com/samchon/typia/issues/831) - exact optional type analyzing. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/833](https://togithub.com/samchon/typia/pull/833) - fix: add `@sinclair/typebox` to `devDependencies` by [@​techvlad](https://togithub.com/techvlad) in [https://github.com/samchon/typia/pull/832](https://togithub.com/samchon/typia/pull/832) **Full Changelog**: https://github.com/samchon/typia/compare/v5.1.5...v5.1.6 ### [`v5.1.5`](https://togithub.com/samchon/typia/releases/tag/v5.1.5) [Compare Source](https://togithub.com/samchon/typia/compare/fe43d2e307c590dbd1e8159062dcb04f6fb03d9b...v5.1.5) New module `http` has been newly added. ```typescript export namespace http { export function parameter(input: string): T; export function headers(input: Record): Resolved; export function isHeaders(input: Record): Resolved | null; export function assertHeaders(input: Record): Resolved; export function validateHeaders(input: Record): IValidation>; export function query(input: URLSearchParams): Resolved; export function isQuery(input: URLSearchParams): Resolved | null; export function assertQuery(input: URLSearchParams): Resolved; export function validateQuery(input: URLSearchParams): IValidation>; } ``` For reference, those features had been developed in [`@nestia/core`](https://togithub.com/samchon/nestia) for a long time. The reason why migrating them from [`@nestia/core`](https://togithub.com/samchon/nestia) is to support `Fastify` plugin like [`nestia`](https://togithub.com/samchon/nestia) case. In the same reason, I've changed naming strategy of JSON schema (`IJsonComponents`) to be much simpler. Also, fixed a bug occurred only when `tsconfig.json` has configured `exactOptionalPropertyTypes` option and utilizing `Partial` and `Required` types. #### What's Changed - Change naming strategy of swagger components. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/818](https://togithub.com/samchon/typia/pull/818) - Close [#​815](https://togithub.com/samchon/typia/issues/815) - new module `http` - `query`, `headeres` and `parameter` by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/819](https://togithub.com/samchon/typia/pull/819) - Naming strategy of swagger schema. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/820](https://togithub.com/samchon/typia/pull/820) - New type tag `Default`. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/821](https://togithub.com/samchon/typia/pull/821) - Fix [#​827](https://togithub.com/samchon/typia/issues/827) - change setup wizard logic. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/828](https://togithub.com/samchon/typia/pull/828) - Fix [samchon/nestia#628](https://togithub.com/samchon/nestia/issues/628) - `exactOptionalPropertyTypes`'s with `Partial` and `Required` types. by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/829](https://togithub.com/samchon/typia/pull/829) **Full Changelog**: https://github.com/samchon/typia/compare/v5.0.5...v5.1.5 ### [`v5.1.4`](https://togithub.com/samchon/typia/compare/19af539f4126bc52d26ef9e74abcec782c6fed8a...fe43d2e307c590dbd1e8159062dcb04f6fb03d9b) [Compare Source](https://togithub.com/samchon/typia/compare/19af539f4126bc52d26ef9e74abcec782c6fed8a...fe43d2e307c590dbd1e8159062dcb04f6fb03d9b) ### [`v5.1.3`](https://togithub.com/samchon/typia/compare/04b7b39ba9b666c2d86f5082aeb5cbe8287450e4...19af539f4126bc52d26ef9e74abcec782c6fed8a) [Compare Source](https://togithub.com/samchon/typia/compare/04b7b39ba9b666c2d86f5082aeb5cbe8287450e4...19af539f4126bc52d26ef9e74abcec782c6fed8a) ### [`v5.1.2`](https://togithub.com/samchon/typia/compare/0bf0935b91f114436ae9967cce9064c5349f90d3...04b7b39ba9b666c2d86f5082aeb5cbe8287450e4) [Compare Source](https://togithub.com/samchon/typia/compare/0bf0935b91f114436ae9967cce9064c5349f90d3...04b7b39ba9b666c2d86f5082aeb5cbe8287450e4) ### [`v5.1.1`](https://togithub.com/samchon/typia/compare/3d2a37cfcdb2a969857f9633606c15e7bc88665a...0bf0935b91f114436ae9967cce9064c5349f90d3) [Compare Source](https://togithub.com/samchon/typia/compare/3d2a37cfcdb2a969857f9633606c15e7bc88665a...0bf0935b91f114436ae9967cce9064c5349f90d3) ### [`v5.1.0`](https://togithub.com/samchon/typia/compare/v5.0.5...3d2a37cfcdb2a969857f9633606c15e7bc88665a) [Compare Source](https://togithub.com/samchon/typia/compare/v5.0.5...3d2a37cfcdb2a969857f9633606c15e7bc88665a) ### [`v5.0.5`](https://togithub.com/samchon/typia/releases/tag/v5.0.5) [Compare Source](https://togithub.com/samchon/typia/compare/v5.0.4...v5.0.5) From now on, [generation mode](https://typia.io/docs/setup/#generation) supports `*.tsx` files. ##### What's Changed - Support .tsx and Svelte files by [@​tsengia](https://togithub.com/tsengia) in [https://github.com/samchon/typia/pull/816](https://togithub.com/samchon/typia/pull/816) - Complement [#​816](https://togithub.com/samchon/typia/issues/816) - support `*.tsx` files' generation by [@​samchon](https://togithub.com/samchon) in [https://github.com/samchon/typia/pull/817](https://togithub.com/samchon/typia/pull/817) ##### New Contributors - [@​tsengia](https://togithub.com/tsengia) made their first contribution in [https://github.com/samchon/typia/pull/816](https://togithub.com/samchon/typia/pull/816) **Full Changelog**: https://github.com/samchon/typia/compare/v5.0.4...v5.0.5

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.