tldts-experimental 7.1.1 → 7.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -447,7 +447,7 @@ function isProbablyIpv6(hostname) {
447
447
  }
448
448
  else if (!(((code >= 48 && code <= 57) || // 0-9
449
449
  (code >= 97 && code <= 102) || // a-f
450
- (code >= 65 && code <= 90)) // A-F
450
+ (code >= 65 && code <= 70)) // A-F (RFC 4291 §2.2: an IPv6 hextet is hex digits only)
451
451
  )) {
452
452
  return false;
453
453
  }