Socket
Socket
Sign inDemoInstall

tldtools

Package Overview
Dependencies
47
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.24 to 0.0.25

2

index.js

@@ -31,3 +31,3 @@ /*

TLD_TOOLS = {
_tldSource: 'http://mxr.mozilla.org/mozilla/source/netwerk/dns/src/effective_tld_names.dat?raw=1',
_tldSource: 'https://publicsuffix.org/list/public_suffix_list.dat',
_tldLocalSource: __dirname + '/effective_tld_names.dat',

@@ -34,0 +34,0 @@ _tldCacheOut: __dirname + '/.tlds',

{
"name": "tldtools",
"description": "Extracts a domain into its component parts (node-url wrapper), performs domain inspection functions",
"version": "0.0.24",
"version": "0.0.25",
"maintainers": [

@@ -6,0 +6,0 @@ {

@@ -22,3 +22,3 @@ # tldtools

The first time tldtools is loaded it will attempt to call out to `http://mxr.mozilla.org/mozilla/source/netwerk/dns/src/effective_tld_names.dat?raw=1`
The first time tldtools is loaded it will attempt to call out to `https://publicsuffix.org/list/public_suffix_list.dat`
to retrieve the latest TLD list. This file is parsed, normalised and stored in `/.tlds`. To override this outbound call and look locally, place your

@@ -25,0 +25,0 @@ own overriding file in `/effective_tld_names.dat`

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc