Tld.js Versions Save

JavaScript API to work easily with complex domain names, subdomains and well-known TLDs.

1.0.1

10 years ago
  • bugfix

1.0.2

10 years ago
  • updated rules.json with latest public rules change
  • altered behavior for unknown TLD according to publicsuffix.org rules change

1.0.3

10 years ago
  • updated rules.json with latest public rules change

1.1.0

10 years ago

Nothing new: only optimization and cleanup.

There is a Backward Compatibility Break if you used directly rules.json. Format has changed. Use rules-legacy.json to benefit from the formatted data from version 1.0.x.

  • builder now relies on grunt
  • reduced the number of dependencies, all of them are devDependencies specific only
  • reduced the filesize of rules.json (from 600K to less than 60K, it's about 21K gzipped)

1.1.1

10 years ago
  • fixed package.json engines config; the package was impossible to install

1.1.2

10 years ago

Subtle fixes and new non-breaking methods.

  • fixed isValid documentation (#24)
  • added getSubdomain method (#13)
  • added domainExists method (#14)
  • added tests and fixes for the Rule object (#3)

1.2.0

10 years ago
  • removed node 0.6 compat
  • added node 0.10 compat
  • switched to grunt 0.4

1.3.1

10 years ago
  • fixed bad tld escaping for tld.getSubdomain (#33)
  • fixed rule order inconsistency caused by tld.getDomain (#35)
  • Grunt is no longer a needed dependency (#36)
  • updated PublicSuffix rules

1.3.0

10 years ago
  • added browser compatibility
  • availability for component.io and bower package managers
  • updated rules