Releases: berniegp/mock-xmlhttprequest
Releases · berniegp/mock-xmlhttprequest
v6.2.0
New features
- Add
getRequestBodySize()
- Handle
FormData
request bodies
v6.1.0
New features
Breaking changes
- Drop transpiled dist files for browser environment. These required bublé and it is not expected that this package is used as-is in browsers anyway.
v6.0.0
New features
Breaking changes
v5.1.0
Add missing event hooks and fix other errors in TypeScript type declarations
v5.0.0
New features
- Add TypeScript declaration files
- Update dependencies
Breaking changes
v4.4.0
New features
- Add support for json responseType
- Add support for the withCredentials attribute
- Add partial support of the responseXml attribute
- Add partial support for overrideMimeType()
- Add noop setters for readonly attributes
v4.3.0
New features
- Respect the once flag on addEventListener()
Fixes
- Don't throw when setting xhr.responseType