Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: peerigon/parse-domain
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.1.0
Choose a base ref
...
head repository: peerigon/parse-domain
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.0.0
Choose a head ref
  • 5 commits
  • 14 files changed
  • 2 contributors

Commits on Jan 21, 2022

  1. fix: Type errors with is-ip module

    Fixes #127
    jhnns committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    8ea728c View commit details
    Browse the repository at this point in the history
  2. Format code

    jhnns committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    4985cc7 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. feat: Improve validation

    This commit introduces two different validation modes:
    - Strict (default): Only allows letters, digits, hyphens
    - Lax: Allows any octets and just checks for the max lengths
    
    This allows domains to have an underscore character. Closes #134
    
    BREAKING CHANGE: 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.
    jhnns committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    171a8c8 View commit details
    Browse the repository at this point in the history
  2. Improve package exports

    jhnns committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    39bb2f7 View commit details
    Browse the repository at this point in the history
  3. chore(release): 5.0.0 [skip ci]

    # [5.0.0](v4.1.0...v5.0.0) (2022-01-23)
    
    ### Bug Fixes
    
    * Type errors with is-ip module ([8ea728c](8ea728c))
    
    ### Features
    
    * Improve validation ([171a8c8](171a8c8))
    
    ### 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.
    semantic-release-bot committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    c46ff0d View commit details
    Browse the repository at this point in the history
Loading