Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR bumps the versions of the
readable-stream
and@types/readable-stream
dependencies.Context
While troubleshooting an issue with
RecordsWrite
overwrites inweb5-js
I attempted to use a locally linkeddwn-sdk-js
package to add logging but encountered a series of errors that prevented building from completing successfully:The root cause is that
dwn-sdk-js
andweb5-js
are using significantly different versions of the@types/readable-stream
type definitions:dwn-sdk-js
depends on2.3.15
which was published over a year ago (31-Oct-2022)web5-js
depends on4.0.0
which was published ~4 months ago (25-Jul-2023)Since
dwn-sdk-js
has been using v4.4.0 ofreadable-stream
for 5+ months it seems logical that it should also use more recent type definitions.Changes
@types/readable-stream
version from2.3.15
to4.0.6
.readable-stream
version from4.4.0
to4.4.2
.Notes
web5-js
has been usingv4.4.2
ofreadable-stream
for 3 months without any known issues. The same commit also bumped the type definitions from2.3.15
to4.0.0
.readable-stream
v4.4.1 and v4.4.2 for reviewers to confirm they are comfortable with the changes.web5-js
to bump the@types/readable-stream
version from4.0.0
to4.0.6
.