Less-loader, a crucial webpack tool for compiling Less to CSS, saw a significant update from version 7.1.0 to 7.2.0, released on December 23, 2020. While both versions share the core functionality and key dependencies like klona, loader-utils, and schema-utils, several notable changes have been introduced that might impact developers.
A primary difference lies in the supported versions of its peer dependencies. Version 7.2.0 explicitly allows Less version 4 (less":"^3.5.0 || ^4.0.0"), suggesting compatibility and potential utilization of newer Less features. In contrast, version 7.1.0 was more focused on version 3 ("less":"^3.5.0"). Similarly, there are slight shifts in the versions of developer dependencies like eslint, prettier, and @babel/* packages, reflecting updates in linting, code formatting, and JavaScript transpilation tools. While seemingly minor, these dependency tweaks often bring performance improvements, bug fixes, and alignment with the evolving JavaScript ecosystem.
Developers upgrading to version 7.2.0 should particularly take note of the updated Less peer dependency, ensuring their Less code is compatible with version 4. Beyond that, these updates represent a general refinement of the build and development process, which will result in a more robust and maintainable tool. Regular package updates like these are essential for staying current with best practices and ensuring smooth integration with other modern web development tools.
The are not vulnerabilities for the version 7.2.0 of the package less-loader