Clang-format versions 1.2.3 and 1.2.4 are both Node.js wrappers for the popular clang-format code formatting tool, offering a convenient way to integrate automated code formatting into JavaScript projects. Both versions maintain the same core dependencies, including "async", "glob", and "resolve", ensuring consistent asynchronous operations, file matching, and module resolution capabilities. They are distributed under the Apache-2.0 license, promoting open-source usage and modification. The source code repository remains consistent between versions, hosted on GitHub under the angular organization.
A key difference lies in the introduction of specific distribution metrics in version 1.2.4; fileCount and unpackedSize are now explicitly stated, providing developers with immediate insight into the package's footprint (15 files and ~9.5MB unpacked) which contrasts with version 1.2.3 (15 files and ~9.3MB unpacked), a slight size increase might be noticed by developers when installing the newer version. Furthermore, version 1.2.3 included a devDependency on "husky," typically used for Git hooks to enforce code styling before commits. This dependency is absent in version 1.2.4, potentially indicating a change in the tooling or workflow related to development and contribution. Version 1.2.4 was released on August 5, 2018, a few months after the 1.2.3 release on March 29, 2018, which might include bug fixes or minor improvements. Developers should consider the presence/absence of husky and the slightly bigger size when deciding which version to use.
The are not vulnerabilities for the version 1.2.4 of the package clang-format