Open Kristinita opened 2 years ago
Looks like it is the request
package that is throwing. I haven't touched this project in a long time, so it is probably getting old. Would be interesting to see if the native URL
class handles this better?
Type: Question :question:
Looks like it is the
request
package that is throwing.
Unfortunately, as of Feb 11th 2020, “request” is fully deprecated.
What about migration from “request” to “got” for check-pages? The developers of “got” writes: “You may think it’s too hard to switch, but it’s really not.”. At the time of writing this comment, “got” is actively developed and supports HTTP/2 requests.
Thanks.
1. Summary
Both check-pages-cli and grunt-check-pages show errors if Cyrillic domains in values of the
a.href
attribute. Like this:2. MCVE
KiraEncodedCyrillicDomain.html
:3. Steps to reproduce
I run http-server:
In new tab I run check-pages-cli:
4. Behavior
4.1. Desired
No errors.
If Latin domains, I get no errors.
4.2. Current
5. Environment
Thanks.