Skip to content

Support for Fetch API members and user-friendly exports

Compare
Choose a tag to compare
@D-Pow D-Pow released this 20 Dec 00:42
· 333 commits to master since this release

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 both import MockRequests from 'mock-requests'; and import { 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.