Last 12 weeks · 0 commits
4 of 6 standards met
This PR aims to clean up the stream implementation by using the modern method instead of . The change is not only cosmetic. This should reduce the chance of memory leaks and other problems, as automatically forwards errors and destroys the streams if they error. It also has special handling for legacy streams, which we didn't have previously. So this should improve compatibility with the rest of the ecosystem. Although, it does require an upgrade to recent versions of Node, as was introduced in Node 10 and the legacy compatibility was introduced in Node 14.
Repository: sindresorhus/temp-write. Description: Write data to a random temporary file Stars: 109, Forks: 12. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v6.0.1 (5mo ago). Open PRs: 0, open issues: 0. Last activity: 5mo ago. Community health: 85%. Top contributors: sindresorhus, SamVerschueren, sholladay, coreyfarrell, BendingBender.