-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
This issue proposes removing the promised-lifestream dependency and replacing it with Node.js built-in stream/promises module.
Motivation
- Reduce external dependencies: Node.js now provides native promise-based stream utilities in the
stream/promisesmodule - Better maintenance: Using built-in modules reduces the risk of security vulnerabilities and maintenance overhead
- Performance: Native implementations are typically more optimized
- Compatibility: Ensures better long-term compatibility with Node.js updates
Proposed Changes
- Remove
promised-lifestreamfrom package.json dependencies - Replace imports/requires of
promised-lifestreamwithstream/promises - Update any code that uses promised-lifestream APIs to use the equivalent stream/promises APIs
- Update tests to verify functionality remains intact
- Update documentation if needed
Implementation Notes
The stream/promises module provides utilities like:
pipeline()- for connecting streams with promise supportfinished()- for waiting for a stream to completeTransform,Readable,Writablewith promise support
Acceptance Criteria
- promised-lifestream dependency removed from package.json
- All functionality using promised-lifestream migrated to stream/promises
- All existing tests pass
- No breaking changes to public API
- Documentation updated if necessary
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request