React Loading Skeleton has released version 2.0.0 providing developers with an elegant way to display animated loading states that seamlessly adapt to any application's design. Comparing it to the previous stable version, 1.3.0, several key updates enhance the developer experience. One notable change is the dependency update, switching from the emotion package in version 1.3.0 to @emotion/core in version 2.0.0 alongside @emotion/babel-preset-css-prop. This suggests improvements in styling and potentially better performance with Emotion's core features.
Version 2.0.0 also features a more streamlined build process, evident in the drastically reduced unpacked size, going from 25893 bytes in 1.3.0 to 15718 bytes. This indicates optimizations in the package's size, leading to faster install times and reduced bundle sizes for applications incorporating the library. Developers will appreciate the improved efficiency, allowing for quicker development cycles and enhanced website performance. There are also some updates on the dev dependencies used to maintain the library up to date from 2019 to 2020. Both versions maintain the same peer dependency requirement for React versions "^15.6.1 || ^16.0.0", ensuring continued compatibility for a wide range of React projects.
The are not vulnerabilities for the version 2.0.0 of the package react-loading-skeleton