Preact Transition Group experienced a significant evolution between versions 1.1.1 and 2.0.0, marked by a shift in the development toolchain and dependency management. Version 2.0.0 embraces modern JavaScript practices, relying on newer tooling like Microbundle for smaller bundle sizes, Webpack for module bundling, and Babel for transpilation – a notable departure from the older Rollup and UglifyJS used in version 1.1.1. This translates to better performance, improved compatibility with current web standards, and often, a smoother development experience.
A key upgrade is the adoption of newer versions of core dependencies. Version 2.0.0 targets Preact 10.4.1, while version 1.1.1 was built for Preact 6.0.2. This reflects compatibility with the latest Preact features and improvements. The extensive list of development dependencies in version 1.1.1, including testing frameworks like Karma, Mocha, and Sinon, are streamlined in version 2.0.0, favoring a more focused and arguably more efficient testing setup indicated by the presence of Karmatic. Developers will appreciate the cleaner dependency structure in newer version. Also, version 2.0.0 includes a fileCount and unpackedSize in the "dist" section, which is missing in version 1.1.1. Finally, the release date, moving from April 2017 to May 2020, shows it's a more recent, actively maintained library. All of these point towards a codebase that's more relevant to current development workflows.
The are not vulnerabilities for the version 2.0.0 of the package preact-transition-group