samchon / typia

Super-fast/easy runtime validators and serializers via transformation
https://typia.io/
MIT License
4.64k stars 160 forks source link

New function `typia.llm.parameters()`. #1374

Closed samchon closed 2 days ago

samchon commented 2 days ago

This pull request includes several updates to the typia package and improvements to the handling of LLM (Large Language Model) applications. The most important changes include version updates in multiple package.json files and significant refactoring of the LLM application and schema handling code.

Version Updates:

LLM Application Refactoring:

These changes aim to streamline the codebase, reduce redundancy, and ensure compatibility with the latest versions of dependencies.

pkg-pr-new[bot] commented 2 days ago

Open in Stackblitz

npm i https://pkg.pr.new/typia@1374

commit: 458832e

socket-security[bot] commented 2 days ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@fastify/type-provider-typebox@3.6.0 None 0 25.5 kB matteo.collina
npm/@sinclair/typebox@0.31.28 None 0 536 kB sinclair
npm/@trivago/prettier-plugin-sort-imports@3.4.0 Transitive: environment, eval, filesystem, shell, unsafe +34 12.4 MB ayusharma
npm/@typegoose/typegoose@10.5.0 environment Transitive: eval, filesystem, network +101 15.6 MB hasezoey
npm/@types/autocannon@7.12.5 None 0 21.8 kB types
npm/@types/benchmark@2.1.5 None 0 9.24 kB types
npm/@types/d3@7.4.3 None +31 1 MB types
npm/@types/physical-cpu-count@2.0.2 None 0 3.23 kB types
npm/@types/uuid@8.3.4 None 0 6.67 kB types
npm/@typescript-eslint/eslint-plugin@5.62.0 Transitive: environment, eval, filesystem, unsafe +97 15.3 MB jameshenry
npm/@typescript-eslint/parser@5.62.0 Transitive: environment, eval, filesystem, unsafe +90 12.1 MB jameshenry
npm/autocannon@7.15.0 environment, filesystem, network, shell Transitive: eval, unsafe +34 2.92 MB matteo.collina
npm/benchmark@2.1.4 eval +1 138 kB jdalton
npm/class-transformer@0.5.1 None 0 776 kB typestack-release-bot
npm/class-validator@0.14.1 None +3 14.3 MB typestack-release-bot
npm/d3@5.16.0 Transitive: filesystem, network, shell +35 4.01 MB mbostock
npm/eslint-plugin-deprecation@1.6.0 Transitive: environment, eval, filesystem, unsafe +96 14.2 MB gund
npm/express@4.21.1 environment, filesystem, network Transitive: eval, unsafe +55 1.63 MB ulisesgascon
npm/fast-json-stringify@5.16.1 eval +5 622 kB jsumners
npm/fastify@4.28.1 Transitive: environment, eval +39 4.97 MB eomm
npm/io-ts@2.2.21 None +1 5.2 MB gcanti
npm/jsdom@21.1.2 eval, filesystem, network, shell, unsafe Transitive: environment +46 7.7 MB domenic
npm/physical-cpu-count@2.0.0 shell 0 3.14 kB seb
npm/prettier@2.8.8 environment, filesystem, unsafe 0 11.2 MB prettier-bot
npm/reflect-metadata@0.1.14 None 0 295 kB rbuckton
npm/tgrid@0.10.3 Transitive: network +4 695 kB samchon
npm/zod@3.23.8 None 0 667 kB colinmcd94

🚮 Removed packages: npm/@rollup/plugin-commonjs@26.0.3, npm/@rollup/plugin-node-resolve@15.3.0, npm/@rollup/plugin-typescript@11.1.6, npm/@samchon/openapi@2.0.0-dev.20241123-6, npm/@types/inquirer@8.2.10, npm/@types/prettier@3.0.0, npm/@types/react@18.3.12, npm/@typescript-eslint/eslint-plugin@7.18.0, npm/@typescript-eslint/parser@7.18.0, npm/commander@10.0.1, npm/comment-json@4.2.5, npm/inquirer@8.2.6, npm/package-manager-detector@0.2.4, npm/rollup@4.27.4, npm/ts-expose-internals@5.5.4, npm/typescript@5.6.3, npm/typia@7.0.0-dev.20241123

View full report↗︎

socket-security[bot] commented 2 days ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Critical CVE npm/@babel/traverse@7.17.3 ⚠︎

View full report↗︎

Next steps

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/@babel/traverse@7.17.3