-
Notifications
You must be signed in to change notification settings - Fork 764
chore(deps): bump formdata-node from 3.7.0 to 4.0.0 #2196
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
Conversation
|
What is confusing about release notes? |
|
I don't think this will work: swagger-js/test/http/http-multipart.js Lines 260 to 261 in 72d297f
Probably replace -expect(await itemEntries[0].text()).toEqual(file1.toString());
+expect(await itemEntries[0].text()).toEqual(await file1.text());
-expect(await itemEntries[1].text()).toEqual(file2.toString());
+expect(await itemEntries[1].text()).toEqual(await file2.text()); |
Yeah, this change + other things. Anyway this technically introduces breaking change for us. We need to find a way how to still support Buffer instances transparently and transform them into Blob types under the hood. |
|
0197dbb to
ed6741a
Compare
|
Thanks for heads up and comments, it helped me to process this more quickly! Backward compatibility when using Buffers is still guaranteed. |
Because form-data serialization is not the part of the FormData class, this change was made. Basically builtin encoder was separated to another package -
Because |
ed6741a to
a1eb63e
Compare
# [3.16.0](v3.15.0...v3.16.0) (2021-08-20) ### Features * **deps:** bump formdata-node from 3.7.0 to 4.0.0 ([#2196](#2196)) ([3da4ae8](3da4ae8))
|
🎉 This PR is included in version 3.16.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #2193