csstree-validator version 2.0.0 introduces significant updates and improvements compared to version 1.6.0, making it a worthwhile upgrade for developers working with CSS. One of the core changes involves the underlying css-tree dependency, which jumps from version 1.0.0 to version 1.1.1, incorporating potential bug fixes and feature enhancements within the core parsing engine. While both versions share the clap dependency for command-line argument parsing, version 2.0.0 boasts expanded development dependencies crucial for modern JavaScript projects. These include rollup and its associated plugins (@rollup/plugin-json, @rollup/plugin-commonjs, @rollup/plugin-node-resolve, rollup-plugin-terser), enabling efficient bundling and minification for distribution.
The difference in fileCount (15 vs 13) and unpackedSize (191037 vs 15569 bytes) signals a more comprehensive build process involving these newer tools. For developers, this means better performance and smaller bundle sizes. Furthermore, the introduction of rollup-plugin-terser suggests a focus on minimizing the validator's footprint. While both versions maintain the same MIT license and author information, version 2.0.0 represents a modernization of the build and dependency pipeline, potentially leading to improved maintainability and performance for CSS validation tasks. The release date also shows us the new version is newer and should include all the relevant fixes.
The are not vulnerabilities for the version 2.0.0 of the package csstree-validator