Socket
Socket
Sign inDemoInstall

tldts

Package Overview
Dependencies
Maintainers
1
Versions
733
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tldts - npm Package Versions

1
7274

4.0.5

Diff

Changelog

Source

4.0.5

2019-03-29

  • #101 Update Public Suffix Lists
  • #101 Update dev dependencies
remusao
published 4.0.4 •

Changelog

Source

4.0.4

2019-03-28

  • #100 Update Public Suffix Lists
remusao
published 4.0.3 •

Changelog

Source

4.0.3

2019-03-10

  • #82 Update Public Suffix Lists
remusao
published 4.0.2 •

Changelog

Source

4.0.2

2019-02-05

  • #36 Update Public Suffix Lists
remusao
published 4.0.1 •

Changelog

Source

4.0.1

2019-01-29

  • #35 Update Public Suffix Lists
    • https://github.com/publicsuffix/list/commit/5d3dfdf7f074ca2831d7c2413cf50b976a019a39
remusao
published 4.0.0 •

Changelog

Source

4.0.0

2019-01-07

This Release introduces some more optimizations both in size of bundles, memory usage and speed of parsing. Because it introduces some breaking changes in the API results (host renamed into hostname and deletion of the isValid attribute), as well as introducing a new experimental backend (tldts-experimental bundle), this is a major version bump.

  • #16 Optimizations + comparison with other libraries (#16)

    • Optimize Trie into a DAWG (size reduction)
    • Implement comparison with other libraries
    • Implement fast path for valid hostnames as arguments
    • Allow to disable hostname parsing and validation using option
    • Add tests for corner-cases URLs parsing
    • Update README
  • #13 Implement experimental probabilistic packed suffix structure (#13)

    • Implement packed hash probabilistic structure for more compact representation and faster lookups. See ./bin/builders/hashes.js for more details about how it works.
    • Create second bundle (tldts-experimental) making use of this new implementation
    • Simplify hostname validation and remove strict IDNA checks
    • Move lookup implementations into 'lookup' sub-folder
    • Move compiled data into 'lookup/data' sub-folder
    • Refactor suffix list parsing out of builders
    • Handle IDNA hostnames at build-time instead of runtime (by indexing some suffixes multiple times: once puny-coded and once in unicode form)
remusao
published 3.1.2 •

remusao
published 3.1.1 •

Changelog

Source

3.1.1

  • Minify rules and idna files
remusao
published 3.1.0 •

Changelog

Source

3.1.0

  • #3 Various optimizations
    • Rules are now shipped in a parsed form in the bundle
    • Rules cannot be updated (opinionated)
    • Trie matching is now iterative
    • All rules are stored in their ASCII form instead of Unicode
    • Use ts-jest to run tests
    • Remove dist folder from source tree
    • Hostname parsing has been optimized
  • #2 Fix isPrivate being undefined
  • #4 Optimize the implementation of options' setDefaults
remusao
published 3.0.2 •

Changelog

Source

3.0.2 (2018/10/03 15h46)

  • #6 Update Public Suffix Lists
    • https://github.com/publicsuffix/list/commit/6f2b9e75eaf65bb75da83677655a59110088ebc5
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc