Version 18.18.7 of the @types/node package, released on October 25, 2023, introduces a notable change compared to its predecessor, version 18.18.6, released a week earlier on October 18, 2023. The key difference lies in the introduction of a new dependency: undici-types with a version constraint of ~5.26.4.
For developers using @types/node for TypeScript definitions for Node.js, this means that upgrading to version 18.18.7 will automatically bring in the undici-types package. This dependency likely provides enhanced or updated typings for the undici library, which is a popular HTTP/1.1 client for Node.js. Developers who are actively using undici or planning to integrate it into their projects will find this update beneficial as it ensures type safety and improved code completion when working with the library's API.
The dist section shows a slightly larger unpacked size for v18.18.7 (3801518 bytes) compared to v18.18.6 (3796699 bytes), reflecting the addition of the undici-types dependency. The file count remains the same at 125. Developers should consider this slight increase in size, although it's unlikely to be a significant factor for most projects. Overall, the upgrade from 18.18.6 to 18.18.7 appears to be a targeted enhancement focused on improving the type definitions related to HTTP client functionalities powered by undici, making it a worthwhile upgrade for relevant projects seeking improved TypeScript support.
The are not vulnerabilities for the version 18.18.7 of the package @types/node