You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 Added global augmentations for ReadableStream to the polyfill's type definitions. (#130)
This allows TypeScript users to use new methods such as ReadableStream.prototype[Symbol.asyncIterator](), even when TypeScript doesn't yet have a built-in type definition for them.
💥 The type definitions now require TypeScript 3.6 or higher. (#130) (Reverted in version 3.3.1)
Added ReadableStream.from(asyncIterable), which creates a ReadableStream wrapping the given iterable or async iterable. This can also be used to wrap a native ReadableStream (e.g. a Response.body from fetch()), even if the native ReadableStream doesn't yet support async iteration. (#135)
Added Transformer.cancel method, which is called when the readable side of a TransformStream is cancelled or when its writable side is aborted.
Added min option to ReadableStreamBYOBReader.read(view, options).
Added support for AbortSignal.reason when aborting a pipe.
🚀 Buffers passed to ReadableStreamBYOBReader.read(view) will now be correctly transferred if either ArrayBuffer.prototype.transfer() or structuredClone() is available. (#136)
🐛 Prevent warnings from Bluebird about a promise being created within a handler but not being returned from a handler. (#131)