Skip to content

Doesn't work on .io / .de / .cc / .ly etc #5

@jvgeee

Description

@jvgeee

I'm having errors using this module for many non-traditional TLDs. Can be replicated with any of the following domain names:

grabcode.fr
tablo.io
mahe.sh
live.dk
hadouken.io
nigel.in
cade.jp
live.no
ben.gy
live.cn
seedtech.io
sinakresse.de
dialcom.cc
genealassemb.ly
jasperwuts.nl
delga.do
doyouevenlift.io
labrat.no
thatstartupshow.tv
app.io
thisthing.us
ashw.in
melbdev.io
q-design.se
kros.ch
inbox.ru
adventurecapital.vc
markusgiesen.de
freesoul.cc
tolog.ch
motionstory.no
web.de
erck.de
bunts.io
embry.io
grabcode.fr
tablo.io
mahe.sh
live.dk
hadouken.io
nigel.in
cade.jp
live.no
ben.gy
live.cn
seedtech.io
sinakresse.de
dialcom.cc
genealassemb.ly
jasperwuts.nl
delga.do
doyouevenlift.io
labrat.no
thatstartupshow.tv
app.io
thisthing.us
ashw.in
melbdev.io
q-design.se
kros.ch
inbox.ru
adventurecapital.vc
markusgiesen.de
freesoul.cc
tolog.ch
motionstory.no
web.de
erck.de
bunts.io
embry.io
``

I'm loading them in like so:

var d = parse(domain);
console.log(d.sld);

All of the above return `null`. Any easy fixes for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions