Open renovate[bot] opened 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
gatsby-source-sanity | ❌ Failed (Inspect) | Oct 18, 2023 6:30am |
Removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: @types/debug@4.1.9
This PR contains the following updates:
^6.0.1
->^8.0.0
Release Notes
sindresorhus/get-stream (get-stream)
### [`v8.0.1`](https://redirect.github.com/sindresorhus/get-stream/releases/tag/v8.0.1) [Compare Source](https://redirect.github.com/sindresorhus/get-stream/compare/v8.0.0...v8.0.1) #### Fixes - Ensure [`error.bufferedData`](https://redirect.github.com/sindresorhus/get-stream#errors) is as full as possible. ([#106](https://redirect.github.com/sindresorhus/get-stream/issues/106)) - Fix the [`maxBuffer`](https://redirect.github.com/sindresorhus/get-stream#maxbuffer) option being one byte off in some edge case. ([#105](https://redirect.github.com/sindresorhus/get-stream/issues/105)) ### [`v8.0.0`](https://redirect.github.com/sindresorhus/get-stream/releases/tag/v8.0.0) [Compare Source](https://redirect.github.com/sindresorhus/get-stream/compare/v7.0.1...v8.0.0) Huge thanks to [@ehmicky](https://redirect.github.com/ehmicky) for doing all the work for this release 🙌 ##### Breaking - Remove the `encoding` option. ([#69](https://redirect.github.com/sindresorhus/get-stream/issues/69), [#67](https://redirect.github.com/sindresorhus/get-stream/issues/67)) - This package handles binary, UTF-8 and object streams. - For other encodings like UTF-16, hexacimal and base64, please see the [following tip](https://redirect.github.com/sindresorhus/get-stream#non-utf-8-encoding). ([#84](https://redirect.github.com/sindresorhus/get-stream/issues/84)) - Methods like [`buffer.toString('hex')` or `buffer.toString('base64')`](https://nodejs.org/api/buffer.html#buftostringencoding-start-end) can also be used. ##### Improvements - Support any JavaScript environment, including browsers. ([#85](https://redirect.github.com/sindresorhus/get-stream/issues/85)) - Support web streams ([`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream)). ([#82](https://redirect.github.com/sindresorhus/get-stream/issues/82), [#78](https://redirect.github.com/sindresorhus/get-stream/issues/78), [#79](https://redirect.github.com/sindresorhus/get-stream/issues/79), [#80](https://redirect.github.com/sindresorhus/get-stream/issues/80)) - Support [async iterables](https://redirect.github.com/sindresorhus/get-stream#async-iterables). ([#69](https://redirect.github.com/sindresorhus/get-stream/issues/69), [#93](https://redirect.github.com/sindresorhus/get-stream/issues/93)) - Add [`getStreamAsArray()`](https://redirect.github.com/ehmicky/get-stream#getstreamasarraystream-options) method to pass streams [in object mode](https://redirect.github.com/ehmicky/get-stream#getstreamasarraystream-options). ([#86](https://redirect.github.com/sindresorhus/get-stream/issues/86)) - Add [`getStreamAsArrayBuffer()`](https://redirect.github.com/sindresorhus/get-stream#getstreamasarraybufferstream-options) method to return the stream as an [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). ([#81](https://redirect.github.com/sindresorhus/get-stream/issues/81)) - When the stream is larger than the maximum size for a [string](https://nodejs.org/api/buffer.html#bufferconstantsmax_string_length), [buffer or `ArrayBuffer`](https://nodejs.org/api/buffer.html#bufferconstantsmax_length), set [`error.bufferedData`](https://redirect.github.com/ehmicky/get-stream#errors) with the partially read data instead of leaving it empty. ([#68](https://redirect.github.com/sindresorhus/get-stream/issues/68), [#48](https://redirect.github.com/sindresorhus/get-stream/issues/48)) #### Fixes - Do not crash on big streams (with one/many GBs). ([#66](https://redirect.github.com/sindresorhus/get-stream/issues/66)) - Ensure `maxBuffer` stops infinite streams. ([#62](https://redirect.github.com/sindresorhus/get-stream/issues/62)) - Stop consuming the streaming when hitting [`maxBuffer`](https://redirect.github.com/ehmicky/get-stream#maxbuffer). ([#42](https://redirect.github.com/sindresorhus/get-stream/issues/42), [#69](https://redirect.github.com/sindresorhus/get-stream/issues/69)). - Set [`error.bufferedData`](https://redirect.github.com/ehmicky/get-stream#errors) when the stream errors for other reasons than [`maxBuffer`](https://redirect.github.com/ehmicky/get-stream#maxbuffer). ([#56](https://redirect.github.com/sindresorhus/get-stream/issues/56), [#63](https://redirect.github.com/sindresorhus/get-stream/issues/63)) - Ensure [`error.bufferedData`](https://redirect.github.com/ehmicky/get-stream#errors) is smaller than [`maxBuffer`](https://redirect.github.com/ehmicky/get-stream#maxbuffer). ([#89](https://redirect.github.com/sindresorhus/get-stream/issues/89)) #### TypeScript types - The `stream` argument must be a [`Readable`, `ReadableStream` or `AsyncIterable`](https://redirect.github.com/sindresorhus/get-stream/blob/c1df6e8f3a52885489f0120d3c5e55d4f49d9d44/source/index.d.ts#L10). ([#71](https://redirect.github.com/sindresorhus/get-stream/issues/71)) #### Documentation - Add tips on [alternatives](https://redirect.github.com/sindresorhus/get-stream#alternatives), [`Blob`](https://redirect.github.com/sindresorhus/get-stream/tree/main#blobs) and [JSON streaming](https://redirect.github.com/sindresorhus/get-stream/tree/main#json-streaming). ([#58](https://redirect.github.com/sindresorhus/get-stream/issues/58), [#95](https://redirect.github.com/sindresorhus/get-stream/issues/95), [#96](https://redirect.github.com/sindresorhus/get-stream/issues/96), [#97](https://redirect.github.com/sindresorhus/get-stream/issues/97)) #### Performance - Do not block the event loop when the stream ends. ([#92](https://redirect.github.com/sindresorhus/get-stream/issues/92)) ### [`v7.0.1`](https://redirect.github.com/sindresorhus/get-stream/releases/tag/v7.0.1) [Compare Source](https://redirect.github.com/sindresorhus/get-stream/compare/v7.0.0...v7.0.1) - Work around issue with handling large sizes [`e58d141`](https://redirect.github.com/sindresorhus/get-stream/commit/e58d141) ### [`v7.0.0`](https://redirect.github.com/sindresorhus/get-stream/releases/tag/v7.0.0) [Compare Source](https://redirect.github.com/sindresorhus/get-stream/compare/v6.0.1...v7.0.0) ##### Breaking - Require Node.js 16 [`70571f8`](https://redirect.github.com/sindresorhus/get-stream/commit/70571f8) - This package is now pure ESM. **Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** - Removed `getStream.array()` - It complicated the codebase considerably and I personally never used it. - You can use [`readableStream.toArray()`](https://nodejs.org/api/stream.html#readabletoarrayoptions) instead. [Example](https://redirect.github.com/sindresorhus/get-stream#tip) - `const getStream = require('get-stream'); getStream.buffer(…);` → `import {getStreamAsBuffer} from 'get-stream'; getStreamAsBuffer(…);` - `const getStream = require('get-stream'); getStream.MaxBufferError;` → `import {MaxBufferError} from 'get-stream'; MaxBufferError;` ##### Tip [You may not need this package anymore.](https://redirect.github.com/sindresorhus/get-stream#tip) ***Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate using a curated preset maintained by . View repository job log here