chore(deps): update dependency web-streams-polyfill to v4 #225
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.1
->^4.1.0
Release Notes
MattiasBuelens/web-streams-polyfill (web-streams-polyfill)
v4.1.0
Compare Source
fa4891a
(#156)This prevents an issue where an incorrect BYOB request would temporarily be visible through a patched
Object.prototype.then
,which broke some internal invariants.
next()
andreturn()
methods ofReadableStream
's async iterator are now correctly "chained",such that the promises returned by either of these methods are always resolved in the same order
as those methods were called.
WritableStreamDefaultController.signal
. (#157)v4.0.0
Compare Source
The table below shows how to upgrade your v3 import to their equivalent v4 import.
See the migration guide for more information.
(#82, #139)
import
orrequire()
a variant.moduleResolution
must be set to"node16"
,"nodenext"
or"bundler"
.ReadableStream.from()
implementation to avoid depending onasync function*
down-leveling for ES5. (#144)web-streams-polyfill
web-streams-polyfill/polyfill/es5
web-streams-polyfill/es6
web-streams-polyfill/polyfill
web-streams-polyfill/es2018
web-streams-polyfill/polyfill
web-streams-polyfill/ponyfill
web-streams-polyfill/es5
web-streams-polyfill/ponyfill/es6
web-streams-polyfill
web-streams-polyfill/ponyfill/es2018
web-streams-polyfill
v3.3.3
Compare Source
ReadableStream
to match TypeScript'sAsyncIterable<R>
type. (#141, #142)v3.3.2
Compare Source
v3.3.1
Compare Source
engines
bump inpackage.json
. (#137, #138)v3.3.0
Compare Source
ReadableStream
to the polyfill's type definitions. (#130)ReadableStream.prototype[Symbol.asyncIterator]()
,even when TypeScript doesn't yet have a built-in type definition for them.
4dc123a
(#115, #134)ReadableStream.from(asyncIterable)
, which creates aReadableStream
wrapping the given iterable or async iterable.This can also be used to wrap a native
ReadableStream
(e.g. aResponse.body
fromfetch()
),even if the native
ReadableStream
doesn't yet support async iteration. (#135)Transformer.cancel
method, which is called when the readable side of aTransformStream
is cancelled or when its writable side is aborted.min
option toReadableStreamBYOBReader.read(view, options)
.AbortSignal.reason
when aborting a pipe.ReadableStreamBYOBReader.read(view)
will now be correctly transferredif either
ArrayBuffer.prototype.transfer()
orstructuredClone()
is available. (#136)DOMException
polyfill. (#133)v3.2.1
Compare Source
Function.name
is non-configurable. (#112)v3.2.0
Compare Source
WritableStreamDefaultController.abortReason
(#102)WritableStreamDefaultController.signal.reason
instead.4b6b93c
(#103)v3.1.1
Compare Source
ReadableStream
andTransformStream
(#85, #86)v3.1.0
Compare Source
ReadableStream.tee()
on a readable byte stream now returns two readable byte streams. (#81)WritableStreamDefaultController.signal
and.abortReason
. (#81).signal
requires a globalAbortController
constructor to be available. If necessary, use a polyfill.cada812
(#79, #81)v3.0.3
Compare Source
Promise<void>
toPromise<undefined>
in TypeScript type definitions (#72)ReadableStream.tee()
resolving itscancel()
promise too early (#73)6762cdb
(#73)v3.0.2
Compare Source
200c971
(#69)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.