Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Releases: debitoor/fetcher

v3.3.3

24 Mar 08:01
Compare
Choose a tag to compare
  • run npm audit fix
  • #26

v3.3.2

27 Oct 08:20
Compare
Choose a tag to compare
  • fix more dependencies.

v3.3.1

27 Oct 08:18
Compare
Choose a tag to compare
  • fix security warnings from package-lock.json.

Updates Dependencies

31 Jul 07:34
Compare
Choose a tag to compare

Resolves some cases where the debug dependency would show up as missing.

Fix bug with required redirect prop

22 Jul 09:01
Compare
Choose a tag to compare
  • Optional prop redirect was mistakenly set to required in d.ts. file.

Allow optional redirect option

17 Jul 12:27
Compare
Choose a tag to compare

It is now possible to supply an optional redirect property as also described in the node-fetch documentation.

Readme update, add debugger

17 Jul 09:23
Compare
Choose a tag to compare
  • Updated readme with explanation of url merger and example of how to keep path baseUrl.
  • Added debug module.

Refactoring, updates

25 Jun 09:05
Compare
Choose a tag to compare
  • Refactor source code from root --> lib/
  • Make module export a default Fetcher, so it can be required like const Fetcher = require('@debitoor/fetcher')
  • Update types to changes and improve them.

fix d.ts file, dependency issues

24 Jun 20:45
Compare
Choose a tag to compare
  • Fix bug with wrong order of .fetcher() arguments in d.ts file.
  • Fix security warnings with dependencies.

Refactoring and optimisation

16 May 07:49
Compare
Choose a tag to compare
  • It is no longer possible to provide an optional Error handler in options.
  • You can now overwrite the baseUrl that was given when initialising the new Fetcher class or skip it entirely, by providing it in the fetcher.fetch() call.
  • fetch() can now take an object of options or be provided as direct calls. Please see readme or type definitions file.