Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: bump minipass from 5.0.0 to 7.0.2 #92

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 11, 2023

Bumps minipass from 5.0.0 to 7.0.2.

Changelog

Sourced from minipass's changelog.

chernge lerg

7.0

This is a big one, please read carefully before upgrading from prior versions, especially if you extend Minipass in a subclass.

Breaking Changes

  • Rewritten in TypeScript as hybrid esm/cjs build, so a lot of types changed in subtle ways, and several behaviors got stricter.
  • Minipass now inherits from EventEmitter rather than Stream. Nothing from the Stream class was ever used by Minipass, but it inherited from Stream to pass checks in some stream libraries that checked instanceof Stream. Unfortunately, the type difference in the pipe() method signature made it challenging to continue doing in TypeScript.
  • It is no longer possible to change the type of data emitted after a Minipass stream is instantiated, as this would thwart TypeScript's static checks. As a consequence:
    • The setEncoding method and the encoding setter are deprecated. Encoding may only be set in the constructor options object.
    • objectMode is no longer inferred by writing something other than a string or Buffer. It may only be set in the constructor options object.
  • If all existing data consumers are removed, via stream.unpipe(dest), stream.removeListener('data', handler), stream.removeAllListeners('data'), and/or stream.removeAllListeners(), then the data will stop flowing. Note that it is still possible to explicitly discard a stream's data by calling stream.resume() in the absence of any consumers.

Features and Fixes

  • Removed a very subtle performance issue that made objectMode Minipass streams slower in some cases than node core streams. Minipass is now faster than node core streams for all data types.
  • The array returned by stream.collect() for objectMode streams will have a dataLength property equal to 0, rather than undefined.
  • isStream is moved from a static member on the Minipass class to a named export.
  • isWritable() and isReadable() methods added.

6.0

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [minipass](https://github.com/isaacs/minipass) from 5.0.0 to 7.0.2.
- [Changelog](https://github.com/isaacs/minipass/blob/main/CHANGELOG.md)
- [Commits](isaacs/minipass@v5.0.0...v7.0.2)

---
updated-dependencies:
- dependency-name: minipass
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner July 11, 2023 18:04
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 14, 2023

Superseded by #94.

@dependabot dependabot bot closed this Aug 14, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/minipass-7.0.2 branch August 14, 2023 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants