-
Notifications
You must be signed in to change notification settings - Fork 260
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 request with axios #267
Conversation
@XhmikosR review? |
@@ -1,6 +1,7 @@ | |||
'use strict'; | |||
// @ts-check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't needed
@@ -61,7 +63,7 @@ describe('sendToCoveralls', () => { | |||
|
|||
// set up mock process.stdout.write temporarily | |||
const origStdoutWrite = process.stdout.write; | |||
process.stdout.write = function(string, ...args) { | |||
process.stdout.write = function (string, ...args) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be reverted
@cktang88 my main concern is if everything will work fine in case of exceptions. /CC @nickmerwin |
Also, TBH I'm not sure I'd go with axios. Maybe node-fetch or got (8.x for Node.js 6.x support) would be a better choice. |
@nickmerwin this can be closed |
Fix #204
Uses: https://bundlephobia.com/[email protected]
Should save around 170kb gzipped