OpenFn / OpenFn/adaptors

Remove `axios`

Open
#549 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
24
Forks
41
Avg merge
3d 13h
Merged PRs (30d)
12

Description

We should migrate all adaptors away from axios

Affected packages should either:

  1. migrate to the new common http utils (preferable)
  2. migrate to use undici as a direct replacement

This affects literally every adaptor because while common still supports the legacy http APIs, it depends on axios (and so everyone does).

These adaptors have direct dependencies on axios:

@openfn/language-common@1.13.1
@openfn/language-dhis2@4.0.3
@openfn/language-godata@3.4.0
@openfn/language-mailchimp@0.7.3
@openfn/language-openfn@1.3.10
@openfn/language-progres@1.3.10
@openfn/language-rapidpro@1.0.10
@openfn/language-salesforce@4.6.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the listed adaptor packages, especially @openfn/language-common and the packages with direct axios dependencies. Trace how the common HTTP utilities and legacy HTTP APIs are used, then migrate each adaptor to the common utilities where possible or to undici. Done means all listed adaptors no longer depend on axios.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.