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
base: 9246927990982c4854e490785855c33d3217ac07
Choose a base ref
...
head repository: peerigon/parse-domain
compare: a22b76e4877df754c32787bffc0a18af50d4b9e6
Choose a head ref
  • 2 commits
  • 85 files changed
  • 2 contributors

Commits on Apr 23, 2020

  1. feat: Complete rewrite in TypeScript and several bug fixes and improv…

    …ements
    
    - Run against [psl example domains](https://raw.githubusercontent.com/publicsuffix/list/master/tests/test_psl.txt). Closes #1
    - Add support for international domain names. Fixes #16 #82 and #44
    - Only accept hostnames instead of whole URLs. Fixes #49 and #14
    - Do not auto update tries on npm install. Fixes #42 #48 and #90
    - Use "node-fetch" instead of "got". Fixes #78 and #62
    - Use Node's "assert" module instead of Jest for smoke test. Fixes #92 #93 #89 #91
    - Recognize IPv4 and IPv6 in hostnames. Fixes #102
    
    BREAKING CHANGE: This release is a complete rewrite in TypeScript. It fixes some long outstanding bugs and comes with improvements we were planning for quite some time. The major changes are: 1. parseDomain does not accept whole URLs anymore. Only the hostname section of a URL is allowed now. 2. We removed the options object. Custom TLDs are returned as "valid but not listed". The parse result contains both the result with private TLDs and without private TLDs. 3. Dropped Node 6 support. We recommend reading the README since the public API as changed quite a lot.
    jhnns committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    9f38492 View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.0.0 [skip ci]

    # [3.0.0](v2.3.4...v3.0.0) (2020-04-23)
    
    ### Features
    
    * Complete rewrite in TypeScript and several bug fixes and improvements ([9f38492](9f38492))
    
    ### BREAKING CHANGES
    
    * This release is a complete rewrite in TypeScript. It fixes some long outstanding bugs and comes with improvements we were planning for quite some time. The major changes are: 1. parseDomain does not accept whole URLs anymore. Only the hostname section of a URL is allowed now. 2. We removed the options object. Custom TLDs are returned as "valid but not listed". The parse result contains both the result with private TLDs and without private TLDs. 3. Dropped Node 6 support. We recommend reading the README since the public API as changed quite a lot.
    semantic-release-bot committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    a22b76e View commit details
    Browse the repository at this point in the history