Packages

get-stream

9.0.1 · 16 Mar 2024MIT293.1M / weekRepositoryHomepagenpmAtom feed

Upgrading get-stream From 3.0.0 to 9.0.1

13 releases in betweennotes for 11

Reading releases, release notes and advisories…

4.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 3.0.0yours
  2. 4.0.0major
  3. 1 release
  4. 5.0.0major
  5. 2 releases
  6. 6.0.0major
  7. 1 release
  8. 7.0.0major
  9. 1 release
  10. 8.0.0major
  11. 1 release
  12. 9.0.0major
  13. 9.0.1target
10+
changes to make
0
advisories fixed
9+
new
8+
fixes

Counted from 11 of 13 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking9.0.0
  • Breaking8.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking5.0.0

Release by release

  1. 9.0.1nothing new or fixed in the note

  2. 9.0.0

    Migration needed15 Mar 20241 new · 1 fix
    • Breaking

      Require Node.js 18 (#111) 7ccab70

    • New

      Allow multiple readers at once (#121) a51d085

    • Fixed

      Fix browser support (#122) 4d233d3

  3. 8.0.1

    17 Aug 20232 fixes
  4. 8.0.0

    Migration needed16 Aug 20236 new · 4 fixes
  5. 7.0.1nothing new or fixed in the note

  6. 7.0.0

    Migration needed26 May 2023
    • Breaking

      Require Node.js 16 70571f8

    • Breaking

      This package is now pure ESM. Please read this.

    • Breaking

      Removed getStream.array()

    • Breaking

      const getStream = require('get-stream'); getStream.buffer(…); → import {getStreamAsBuffer} from 'get-stream'; getStreamAsBuffer(…);

    • Breaking

      const getStream = require('get-stream'); getStream.MaxBufferError; → import {MaxBufferError} from 'get-stream'; MaxBufferError;

  7. 6.0.1

    15 Apr 20211 fix
    • Fixed

      Fix TypeScript type for the .buffer() method (#44) 0ee784a

  8. 6.0.0

    Migration needed10 Aug 20201 new
    • Breaking

      Require Node.js 10 80165c1

    • Breaking

      Only use a CommonJS export for the TypeScript definition (reason) You need to change import getStream from 'get-stream'; to import getStream = require('get-stream');

    • New

      Use native stream.pipeline instead of pump package (#39) 5cf31ba

4 other lines we could not sort, mostly version bumps
  • Upgrade ReadableStream[Symbol.asyncIterator] ponyfill (#128) df42674

    9.0.1
  • The stream argument must be a Readable, ReadableStream or AsyncIterable.

    8.0.0
  • Work around issue with handling large sizes e58d141

    7.0.1
  • Refactor TypeScript definition to CommonJS compatible export (#31) 0c3b07d

    5.1.0

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.