Skip to content

Commit

Permalink
Merge pull request #12 from hapijs/fix/auto-update-tlds
Browse files Browse the repository at this point in the history
Update TLDs
  • Loading branch information
Marsup authored Oct 23, 2024
2 parents a83ec06 + 4f2fbb3 commit f2910ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { TLDS } from "./tlds";
import { TLDS } from './tlds';

export const tlds = new Set(TLDS.map((tld) => tld.toLowerCase()));
3 changes: 1 addition & 2 deletions src/tlds.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// https://data.iana.org/TLD/tlds-alpha-by-domain.txt
// # Version 2024071500, Last Updated Mon Jul 15 07:07:01 2024 UTC
// # Version 2024102200, Last Updated Tue Oct 22 07:07:01 2024 UTC

export const TLDS: string[] = [
'AAA',
Expand Down Expand Up @@ -300,7 +300,6 @@ export const TLDS: string[] = [
'CYMRU',
'CYOU',
'CZ',
'DABUR',
'DAD',
'DANCE',
'DATA',
Expand Down

0 comments on commit f2910ce

Please sign in to comment.