Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(worker): read request/response body from as ArrayBuffer #1332

Closed
wants to merge 7 commits into from

Conversation

kettanaito
Copy link
Member

  • Clone of 1321

Changes

  • Reads request/response bodies in the worker as ArrayBuffer. This unifies the body handling as we use IsomorphicRequest and MockedRequest that extends it, and they operate with bodies as ArrayBuffer.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 16, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 28c2f36:

Sandbox Source
MSW React Configuration

@95th 95th force-pushed the chore/worker-read-buffer branch from e9c9897 to 473b740 Compare July 16, 2022 16:05
@kettanaito
Copy link
Member Author

This may be partially/fully obsolete with #1404.

@kettanaito kettanaito mentioned this pull request Oct 18, 2022
34 tasks
@kettanaito
Copy link
Member Author

Closing in favor of #1436

@kettanaito kettanaito closed this Nov 16, 2022
@kettanaito
Copy link
Member Author

Released: v2.0.0 🎉

This has been released in v2.0.0!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

@kettanaito kettanaito deleted the chore/worker-read-buffer branch February 12, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants