@7c/parsedomain
Version:
Splits an url into sub-domain, domain and effective top-level-domain
84 lines (43 loc) • 2.52 kB
Markdown
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
<a name="2.2.0"></a>
- Forked from /peerigon
- Added valid_domain property
- Added fulldomain property
- Added hostname property
- Fixed some issue described [here](https://github.com/peerigon/parse-domain/issues/49)
- Documented how to update Lists manually
- Tested 2.1.2 and 2.2.0 against 50Million hosts from real logs to make sure the patch is still compatible with the version from [peerigon](https://github.com/peerigon/parse-domain)
<a name="2.1.2"></a>
* Add .babelrc for create-react-app apps ([#37](https://github.com/peerigon/parse-domain/issues/37)) ([d2d3728](https://github.com/peerigon/parse-domain/commit/d2d3728))
<a name="2.1.1"></a>
* Support url which has no protocol ([#28](https://github.com/peerigon/parse-domain/issues/28)) ([74dec41](https://github.com/peerigon/parse-domain/commit/74dec41))
<a name="2.1.0"></a>
* Use trie data structure to decrease file size ([#33](https://github.com/peerigon/parse-domain/issues/33)) ([59f951b](https://github.com/peerigon/parse-domain/commit/59f951b))
<a name="2.0.0"></a>
* Update code to node 4 ([4d87f43](https://github.com/peerigon/parse-domain/commit/4d87f43))
* Update list of TLDs ([df15b19](https://github.com/peerigon/parse-domain/commit/df15b19))
### BREAKING CHANGES
* node 4 or newer is required
<a name="1.2.0"></a>
Changelog
---------
- Fix parsing of URLs that have an @ character in the path [
- Update tlds a27a2c83102c563978b831bd161f1fb5409376bd
- Removed private tlds from the default regexp [
- Introduced `privateTlds` boolean flag to include private tlds
- Reached stable state :)