-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace axios with node-fetch #254
Conversation
Signed-off-by: ruiyi.jiang <[email protected]>
Signed-off-by: ryjiang <[email protected]>
Signed-off-by: ryjiang <[email protected]>
Signed-off-by: ryjiang <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #254 +/- ##
==========================================
- Coverage 95.57% 95.08% -0.50%
==========================================
Files 37 39 +2
Lines 1742 1831 +89
Branches 453 434 -19
==========================================
+ Hits 1665 1741 +76
- Misses 70 87 +17
+ Partials 7 3 -4
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: ryjiang <[email protected]>
Signed-off-by: ryjiang <[email protected]>
object Signed-off-by: ryjiang <[email protected]>
Signed-off-by: ryjiang <[email protected]>
- add fetch options for GET/SET - update reamde Signed-off-by: ruiyi.jiang <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: nameczz, shanghaikid The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
in this pr, we are using native fetch to call http request.
because, axios is not allowed to use in cloudflare worker:
https://community.cloudflare.com/t/can-i-use-axios-in-a-worker/168139/3 .
and user is able to use their
fetch
to replace the nativefetch
function: