@types/node version 22.3.0, released on August 14, 2024, brings updated TypeScript definitions for Node.js, building upon the previous stable release, version 22.2.0, which came out on August 9, 2024. The key difference between the two versions lies in their dependency on undici-types. Version 22.3.0 upgrades this dependency to "~6.18.2" from "~6.13.0" in version 22.2.0. This undici-types upgrade likely includes fixes, performance improvements, or new features related to the undici HTTP/1.1 client, which is used in Node.js.
For developers using @types/node, this update means potentially enhanced type safety and improved integration with the latest features and fixes in Node.js and its associated libraries. The unpacked size of version 22.3.0 is slightly larger at 2105812 bytes compared to 2092790 bytes for version 22.2.0, suggesting the addition of new or modified type definitions. The relatively short interval between the two releases implies that this update is important to keep in sync to solve possible bugs. The update guarantees compatibility with updated Node.js versions.
The are not vulnerabilities for the version 22.3.0 of the package @types/node