Skip to content

v5.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jan 12:51
· 23 commits to main since this release

5.0.0 (2022-01-23)

Bug Fixes

  • Type errors with is-ip module (8ea728c)

Features

BREAKING CHANGES

  • Introduces a dependency on the global TextEncoder constructor which should be available in all modern engines
    (see https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder). The strict validation mode (which is the default) will also be a little bit more strict since it will now also check for hyphens at the beginning or end of a domain label. It also requires top-level domain names not to be all-numeric.