Json-schema-to-ts, a valuable tool for developers using JSON schemas to generate TypeScript types, saw a release of version 2.7.0 following version 2.6.2. Both versions offer the core functionality of inferring TypeScript types directly from JSON schemas, streamlining development workflows and enhancing type safety. Developers can leverage this to automatically create interfaces and types, which reduces manual coding efforts and potential errors when handling JSON data in TypeScript projects.
A notable difference between the two versions lies in their dependencies. In version 2.6.2, ts-toolbelt was listed as a direct dependency, while in version 2.7.0, it has been moved to become a dev dependency. This indicates a potential change in how ts-toolbelt is utilized within the library. This might mean that functionality previously reliant on ts-toolbelt at runtime is now either integrated differently or used solely during the development or build process of the library itself. This could lead to a slightly smaller bundle size or improved runtime performance for users of json-schema-to-ts.
Furthermore, the dist section reveals an increase in both fileCount (from 237 to 279) and unpackedSize (from 97038 to 98371 bytes) from version 2.6.2 to 2.7.0. This implies the addition of new features, enhanced documentation, or more comprehensive test cases in the latest version. Developers should consider exploring the changelog or release notes for version 2.7.0 to understand the specific improvements and new functionalities introduced. The increase in file count may also be related to better support for different schema variations or newly introduced features.
The are not vulnerabilities for the version 2.7.0 of the package json-schema-to-ts