-
Notifications
You must be signed in to change notification settings - Fork 68
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
Chore: Remove Axios Package #1350
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1350 +/- ##
==========================================
+ Coverage 62.51% 64.51% +2.00%
==========================================
Files 112 111 -1
Lines 3391 3647 +256
Branches 591 639 +48
==========================================
+ Hits 2120 2353 +233
+ Misses 1079 1058 -21
- Partials 192 236 +44 ☔ View full report in Codecov by Sentry. |
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.
works for me, best implementation so far. nice work!
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.
Looks good, but needs some improvement when probing websites with invalid SSLs:
probes:
- id: '1'
name: GitHub
description: Multiple
requests:
- url: https://expired.badssl.com/
interval: 3
notifications:
- id: '1'
type: 'discord'
data:
url: <discord_url>
In Symon Mode, it goes to Error 99:
However, using --ignoreInvalidTLS works like a charm, no issues here.
It just throws Unknown Error without solid reason WHY it happens. Maybe you need to handle errors for invalid SSL from undici?
Probably try these domains:
latest commit good to go! |
Monika Pull Request (PR)
What feature/issue does this PR add
Remove Axios package
How did you implement / how did you fix it
Change the implementation to built-in Node.js fetch.
How to test
npm test