fetch

A Fetch API wrapper

MIT License

Downloads
438
Stars
61
fetch - Latest Release

Published by tkrotoff over 1 year ago

fetch -

Published by tkrotoff over 1 year ago

  • Replace wait(0) with Promise.resolve(): should reduce the bundle size
  • Improve documentation
fetch -

Published by tkrotoff over 1 year ago

  • Breaking change: drop old browsers support (#28)
  • Remove node-fetch from Node.js example (#36)
  • Update npm packages
  • Remove Node.js 14 & 16 from CI
fetch -

Published by tkrotoff almost 2 years ago

  • Breaking change: createHttpError & createJSONHttpError params are no longer optional
  • Test with Undici fetch
fetch -

Published by tkrotoff almost 2 years ago

  • Update npm packages
  • Test with Node.js 18 (#29)
fetch -

Published by tkrotoff over 2 years ago

  • Accept URL as input
fetch -

Published by tkrotoff over 2 years ago

fetch -

Published by tkrotoff over 2 years ago

  • Just ship CommonJS
  • More JSDoc
fetch -

Published by tkrotoff over 2 years ago

  • Update npm packages
fetch -

Published by tkrotoff over 2 years ago

fetch -

Published by tkrotoff over 2 years ago

  • Fix web example
  • Update npm packages
  • Improve documentation
  • Upload coverage to Code Climate & Codecov
  • Remove Travis CI support
fetch -

Published by tkrotoff almost 3 years ago

  • Update to node-fetch 3
  • Update other npm packages
  • Switch to @playwright/test
fetch -

Published by tkrotoff about 3 years ago

Features

  • Update npm packages
fetch -

Published by tkrotoff about 3 years ago

Features

  • Update npm packages
fetch -

Published by tkrotoff over 3 years ago

Breaking Changes

  • Switch HttpStatus from an enum to an object to reduce bundle size
  • Do not bundle export entriesToObject()

Features

  • Document isJSONResponse() & improve documentation
  • Change internal file organization
fetch -

Published by tkrotoff over 3 years ago

Features

  • Improve documentation
  • Various internal improvements
  • Update npm packages
fetch -

Published by tkrotoff over 3 years ago

Fixes

  • Use Rollup to generate CommonJS and UMD outputs
    • No need anymore for mockFetch.ts: no more "TypeError: Cannot redefine property: ..." with Jest thx to Rollup CommonJS output
  • Fix HttpError name when minified
fetch -

Published by tkrotoff over 3 years ago

Features

  • More HTTP status codes
  • Update npm packages
fetch -

Published by tkrotoff over 3 years ago

Features

  • Introduce createHttpError() & createJSONHttpError()
fetch -

Published by tkrotoff almost 4 years ago

Fixes

  • Fix for Microsoft Edge <= 18 (EdgeHTML)

Features

  • Document HttpError