valid-url icon indicating copy to clipboard operation
valid-url copied to clipboard

NPM does not detect the MIT licence

Open jaller94 opened this issue 6 years ago • 3 comments

NPM is not picking up on this project being MIT licensed. The licence detection is used by a couple of compliance analyzers, so it would be helpful to change the entry from none to MIT. I am not sure what the issue is.

https://www.npmjs.com/package/valid-url

jaller94 avatar Nov 13 '18 21:11 jaller94

I think it's because the license was added after the last release.

Please make a new release with the updated license. It's causing build issues when validating licenses.

Thanks!

smellems avatar Sep 27 '19 17:09 smellems

Hi @ogt 👋 would it be possible to get a new version of this package published with the new license? Thank you!

lencioni avatar Mar 23 '20 19:03 lencioni

This project, so as validatorhas a lot of issues and is not a reliable way to valid an URL.

I was facing a lot of issues 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;
  • encode/decode an URI, HTTP/HTTPS/Sitemap URL.

I hope it could help you.

adrienv1520 avatar Oct 17 '20 16:10 adrienv1520