Releases: wheresrhys/fetch-mock
Releases · wheresrhys/fetch-mock
Upgrade to webpack
Update deps (#250) * update some out of date deps * babel-preset-env * add regenerator-runtime * transform-runtime * midway through upgrade to webpack * fix babelification problems * prepublish uses webpack * reinstate sw tests
release with circleci (correct branch)
v6.0.0-beta.9 more extension
release with circleci
Circleci (#245) * start configuring for circleci workflows * more config tweaks * force * force * try to run test as workflow * try circle1 * try again * try to build * shift build * simple build again * try adding workflows again * tweak circelci * tweak circelci * workflow tweak * add fan out * cache node_modules * test both versions of node fetch * chrome headless tests * try circleci docker with browsers * firefox and lint * added deploy step * final tweaks to tasks
Fix regression: url not being added to response objects
v5.13.1 5.13.1
Add includeContentLength option
Adds this option so that responses calculate and add Content-Length
header
Support combining function matchers with other options
So that e.g. .get(url => /\?/.test(url))
will work
Avoid uncaught error in promise
In future versions of node this is likely to be thrown as an error, so getting ahead of the game with this commit
redirected
Supports using a __redirectUrl
property in order to mock a fetch that has followed redirects
v5.11.2
Fixes bug where flush()
was resolving too quickly
v5.11.1
Fixes bug caused by including node-fetch's Headers implementation in browser code