Version 5.0.1 of the data-uri-to-buffer npm package is a minor patch release following version 5.0.0, both designed to generate a Buffer instance from a Data URI string. Targeted at developers needing to decode base64 encoded data URIs into Buffer objects for processing (e.g., image manipulation, file handling in Node.js), the core functionality remains consistent between the versions.
The notable difference lies in the updated @types/node dev dependency. Version 5.0.1 bumps this to ^14.18.45 from ^14.18.43 in version 5.0.0. This likely resolves some TypeScript compatibility issues or incorporates new type definitions relevant to Node.js versions within that range. The unpackedSize is marginally smaller in version 5.0.1 (10156 bytes vs 10163 bytes), which could be related to minor code optimizations or changes in included files. The release date also marks the newer version released a day later than the older one.
Both versions include the same suite of development dependencies vital for testing and ensuring code quality: jest for testing, ts-jest for TypeScript-based testing, and typescript for type checking and compilation. The package is licensed under the MIT license, granting developers broad permissions for use and modification. The package source code is part of the the proxy-agents repository facilitating contributions and inspections. Nathan Rajlich remains the author of both versions, ensuring continuity in maintenance and development.
The are not vulnerabilities for the version 5.0.1 of the package data-uri-to-buffer