Closed kettanaito closed 1 year ago
This has been released in v0.24.0!
Make sure to always update to the latest version (npm i @mswjs/interceptors@latest
) to get the newest features and bug fixes.
Predictable release automation by @ossjs/release.
Since we've migrated to the Fetch API primitives and Node.js 18 support, there's no real need to use the HeadersPolyfill library anymore (previously used to represent HTTP headers in the same manner across different implementations:
http.OutgoingHeaders
, XHR headers, Fetch headers).We can still utilize its helper methods for working with headers but first it'd be nice to assess if those are advantageous compared to custom utility functions.