Support for Fetch API members and user-friendly exports
This release includes minor usability improvements including:
- Support for Fetch API members, including
fetch(new Request(url, options))
. - Now, both
default
and named fields are exported, so bothimport MockRequests from 'mock-requests';
andimport { configure } from 'mock-requests';
work equally well. - Minimized production build to reduce parent project's build size.
- Security fixes for nested devDependencies; the issues wouldn't have impacted
MockRequests
installation/usage but were still important for the case where users clone the repo directly.