Svelte version 5.1.2 has arrived, succeeding the immediately prior release, 5.1.1. Both versions share the same core dependencies, including acorn, esrap, and magic-string, crucial for Svelte's parsing and code manipulation capabilities. They also utilize the same suite of development tools, such as Rollup, Vitest, and TypeScript. This consistency suggests that the core development workflow and build processes remain unchanged.
The significant difference between the two versions lies in their unpacked size. Version 5.1.2 weighs in at 2293964 bytes while, version 5.1.1 is slightly smaller at 2291237 bytes. This small size increase likely indicates bug fixes or incremental improvements to existing features. Also, version 5.1.2 was released a bit later than version 5.1.1.
For developers, this indicates a stable and actively maintained library. Upgrading from 5.1.1 to 5.1.2 should be a straightforward process with minimal risk of breaking changes. The slight increase in size shouldn't significantly impact performance. Developers already using Svelte 5 can confidently upgrade, while new users can be assured they're starting with a well-supported and refined tool. As the core dependencies and dev dependencies are identical between version, the upgrade should not require further upgrade on existing project dependencies.
The are not vulnerabilities for the version 5.1.2 of the package svelte