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
74

5.3.1

Diff

Changelog

Source

5.3.1

2019-07-17

  • clean-up dead folder + update rules #199
remusao
published 5.3.0 •

Changelog

Source

5.3.0

2019-07-03

  • change structure of the cliqz/adblocker project into a monorepo #185
    • embrace lerna and yarn workspaces as a way to manage multiple packages
    • split tldts into two packages tldts and tldts-experimental
    • both package inherit from tldts-core which contains the building blocks
remusao
published 5.2.1 •

Changelog

Source

5.2.1

2019-07-01

  • ship both cjs and es6 source + only minified bundles #183
remusao
published 5.2.0 •

Changelog

Source

5.2.0

2019-06-21

  • Exclude unnecessary files from package.json #177
remusao
published 5.1.0 •

Changelog

Source

5.1.0

2019-06-06

  • #164 Update rules + add fast path for experimental bundle as well
remusao
published 5.0.3 •

Changelog

Source

5.0.3

2019-05-29

remusao
published 5.0.2 •

Changelog

Source

5.0.2

2019-05-24

remusao
published 5.0.1 •

Changelog

Source

5.0.1

2019-05-23

remusao
published 5.0.0 •

Changelog

Source

5.0.0

2019-05-23

  • Improvements in various areas #149
    • Performance improvements in all methods of public API (up to x2 faster)
      • extractHostname: will now avoid lower-casing the result in some cases
      • extractHostname: handles single or triple '/' after protocol
      • extractHostname: has fast-path for validation of common protocols (e.g. https)
      • isProbablyIpv4: performs first quick check on length of hostname
      • isProbablyIpv6: performs first quick check on length of hostname
      • isValidHostname: make use of charCodeAt instead of codePointAt
      • lookupInTrie: makes use of Trie with more stable structure (faster)
      • lookupInTrie: lazily allocate memory for result
      • suffixLookup: uses fast-path for most common suffixes (massive speed-up)
      • suffixLookup: does not allocate memory for result anymore
      • setDefaults: fast-path in case no argument was provided
      • getSubdomain: fast-path if subdomain is empty
    • Add more options to fine-tune behavior and performance
      • detectIp allows to disable IP check
      • mixedInput allows to specify if we expect a mix of URLs and hostnames as input. If only hostnames are expected then extractHostname can be set to false to speed-up parsing. If only URLs are expected then mixedInputs can be set to false. The mixedInputs is only a hint and will not change the behavior of the library.
      • validateHostname can be set to false to disable validation and speed-up processing further.
    • Check that input is string before parsing
    • Fix support for reserved keywords in hostnames
    • Add tests and bring back coverage to 100%
    • Minified bundle is now also tested with the same suite
    • Migrate utils scripts from bin/ folder to TypeScript
    • Add small tldts cli which can be used to parse URLs
    • Update README with more accurate information
remusao
published 4.0.6 •

Changelog

Source

4.0.6

2019-04-15

  • #123 Update Public Suffix Lists to 033221af7f600bcfce38dcbfafe03b9a2269c4cc
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