Pino-abstract-transport simplifies the creation of custom transports for the Pino logger, offering a streamlined approach to handling log data. Version 2.0.0 introduces notable changes compared to the previous stable release, version 1.2.0. A key difference is the removal of the direct dependency on readable-stream, suggesting potential internal refactoring or reliance on native stream implementations, which might lead to performance improvements or reduced bundle size. While both versions maintain the split2 dependency for stream processing, the "devDependencies" section reveals further distinctions. Version 2.0.0 adds thread-stream as a dev dependency and has an updated version of thread-stream", potentially used for testing or parallel processing within the transport development environment improving efficiency. Both versions include essential development tools like tap for testing, tsd for TypeScript definitions verification, husky for Git hooks, snazzy for code style enforcement, standard for JavaScript linting, and @types/node for TypeScript typings. If you're developing custom Pino transports, upgrading could be beneficial, especially considering the removal of the direct readable-stream dependency and the inclusion of thread-stream. Check the release notes and test your implementations to ensure compatibility and take advantage of any performance gains or new features introduced in version 2.0.0. The core functionality of writing Pino transports is preserved.
The are not vulnerabilities for the version 2.0.0 of the package pino-abstract-transport