Closed mrbbot closed 1 year ago
Latest commit: db066c5ad85ec32abb97e4d1c635da93986ba67e
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Hey! 👋 There are cases where mutating the URL returned from
Miniflare#ready
may be desirable, e.g. changing the protocol tows:
and using thews
module to establish a WebSocket connection. Previously, doing this would break Miniflare'sdispatchFetch
, as the returned URL was Miniflare's own internal reference. This change makes sure we return a copy.