You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead there should be two exports: is_iri and is_uri.
I saw there wasn't any commit to this repo since 2015, but since this affects a Gatsby issue I was wondering, what you plans with the module are? Do you think about handing it over, @ogt?
The module is used heavily according to npms download numbers, so it might be in the interest of the community to give it some 💌 .
The text was updated successfully, but these errors were encountered:
I was facing the same issues with valid-url but also validator so I decided to build a module as reliable as possible strictly based on RFC-3986: https://github.com/adrienv1520/node-uri
The main features of this project are:
parse any URI (URNs, URLs, URIs with IDNs support, etc.);
get the safe Punycode ASCII or Unicode serialization of a domain;
check an URI, HTTP/HTTPS/Sitemap URL, IP, domain is valid with clear checking errors;
Currently
is_iri
fails on any characters, which don't match this regex:valid-url/index.js
Line 28 in 8d1fc52
Example:
As far as I understand the main difference between URI and IRI is:
https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier
Therefore
is_iri
should allow all UTF-8 characters and these exports aren't correct:Instead there should be two exports:
is_iri
andis_uri
.I saw there wasn't any commit to this repo since 2015, but since this affects a Gatsby issue I was wondering, what you plans with the module are? Do you think about handing it over, @ogt?
The module is used heavily according to npms download numbers, so it might be in the interest of the community to give it some 💌 .
The text was updated successfully, but these errors were encountered: