get-stream
9.0.1 · 16 Mar 2024MIT293.1M / weekRepositoryHomepagenpmAtom feed
Upgrading get-stream From 4.1.0 to 9.0.1
11 releases in betweenevery note read
Reading releases, release notes and advisories…
- 10
- changes to make
- 0
- advisories fixed
- 9
- new
- 8
- fixes
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
9.0.1nothing new or fixed in the note
- Breaking
Require Node.js 18 (#111) 7ccab70
- New
Allow multiple readers at once (#121) a51d085
- Fixed
Fix browser support (#122) 4d233d3
- Breaking
- Fixed
Ensure
error.bufferedDatais as full as possible. - Fixed
Fix the
maxBufferoption being one byte off in some edge case.
- Fixed
- Breaking
Remove the
encodingoption. (#69, #67) - New
Support any JavaScript environment, including browsers.
- New
Support web streams (
ReadableStream). (#82, #78, #79, #80) - New
Add
getStreamAsArray()method to pass streams in object mode.
- Breaking
7.0.1nothing new or fixed in the note
- 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;
- Breaking
- Fixed
Fix TypeScript type for the
.buffer()method (#44) 0ee784a
- Fixed
- 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';toimport getStream = require('get-stream'); - New
Use native
stream.pipelineinstead ofpumppackage (#39) 5cf31ba
- Breaking
4 other lines we could not sort, mostly version bumps
- 9.0.1
Upgrade
ReadableStream[Symbol.asyncIterator]ponyfill (#128) df42674 - 8.0.0
The
streamargument must be aReadable,ReadableStreamorAsyncIterable. - 7.0.1
Work around issue with handling large sizes e58d141
- 5.1.0
Refactor TypeScript definition to CommonJS compatible export (#31) 0c3b07d
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.