-
Notifications
You must be signed in to change notification settings - Fork 35
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 fetch
#528
Conversation
This should also fix the issue with the Estonian regional adblock list I noted in #380 (comment) |
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.
change lgtm but CI is failing with a node gyp error: https://github.com/brave/brave-core-crx-packager/actions/runs/3643168897/jobs/6151103409
Also of note: we'd need to run this in Node 18 ( |
@diracdeltas looks like a Python 2->3 error.
I'm not sure what's causing that specifically, but I assume Node 18 has a better chance of handling Python 3 correctly, too. |
4199e1f
to
4427f0a
Compare
I see that |
4427f0a
to
f0a6ddf
Compare
This is good to go now. |
The
request
package is deprecated and unmaintained. The same functionality can be achieved with the built-infetch
API, so I removed the dependency and updated the code accordingly.Progress towards #380.