The @types/glob package provides TypeScript definitions for the popular glob library, enabling developers to leverage strong typing and improved code completion when working with file system globbing patterns in their TypeScript projects. Version 7.1.2, released on June 4, 2020, refines the type definitions compared to the earlier stable version 7.1.1, released on September 27, 2018.
A key difference lies in the dependencies. Version 7.1.1 depended on @types/node, @types/events, and @types/minimatch. In version 7.1.2, the dependency on @types/events has been removed, indicating a potential simplification or refactoring of the type definitions, possibly making the package more focused and streamlined. Both versions depend on @types/node and @types/minimatch suggesting that features related to Node.js environment and minimatch library are core functions of the definitions for glob.
The newer version also has a slightly larger unpacked size (6104 bytes vs 5782 bytes), suggesting potential additions, refinements, or optimizations within the type definitions themselves. The repository location also specifies a directory now, pointing to types/glob. Developers upgrading from 7.1.1 should review their code, though any breaking changes are unlikely, the removed dependency on @types/events may have an impact in some particular use cases. For new users, version 7.1.2 offers a more recent and potentially more accurate representation of the glob API for TypeScript projects.
The are not vulnerabilities for the version 7.1.2 of the package @types/glob