Grunt-karma has a new release, version 4.0.2, following closely on the heels of version 4.0.1, both released on May 11, 2021. While superficially similar, a key difference lies in the peer dependencies. Version 4.0.2 declares compatibility with Karma versions 4, 5, or 6 (^4.0.0 || ^5.0.0 || ^6.0.0), expanding the range supported by the previous version 4.0.1, which only supported Karma versions 4 and 5 (^4.0.0 || ^5.0.0).
For developers using Grunt to automate their Karma-based JavaScript testing, this is a crucial update. If you've upgraded to Karma 6, version 4.0.2 of grunt-karma is essential to ensure compatibility and continued functionality. Both versions depend on lodash and include a suite of devDependencies for linting, semantic releases, and testing. These dependencies ensure code quality and streamline the release process. The core functionality of the plugin, acting as a Grunt task wrapper for the Karma test runner, remains consistent between the two versions. The unpacked size of version 4.0.2 is slightly larger (28342 bytes) than version 4.0.1 (28001 bytes), potentially indicating minor internal changes or updates to included files. Therefore, developers should prefer using version 4.0.2 to harness the latest improvements and ensure compatibility with a broader range of Karma versions, especially Karma 6, for smoother integration within their testing workflows.
The are not vulnerabilities for the version 4.0.2 of the package grunt-karma