Skip to content

Commit

Permalink
fix: Fix bug when parsing private TLDs (#79)
Browse files Browse the repository at this point in the history
Fixes #67
  • Loading branch information
jhnns authored Aug 10, 2019
1 parent bf49e72 commit 69162fc
Show file tree
Hide file tree
Showing 23 changed files with 715 additions and 470 deletions.
4 changes: 2 additions & 2 deletions lists/icann.complete.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use strict";

const parseTrie = require("../lib/tries/parseTrie");
const parse = require("../lib/trie/parse");

module.exports = parseTrie(require("../build/tries/icann.complete.json").trie);
module.exports = parse(require("../build/tries/icann.complete.json").trie);
4 changes: 2 additions & 2 deletions lists/icann.light.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use strict";

const parseTrie = require("../lib/tries/parseTrie");
const parse = require("../lib/trie/parse");

module.exports = parseTrie(require("../build/tries/icann.light.json").trie);
module.exports = parse(require("../build/tries/icann.light.json").trie);
4 changes: 2 additions & 2 deletions lists/private.complete.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use strict";

const parseTrie = require("../lib/tries/parseTrie");
const parse = require("../lib/trie/parse");

module.exports = parseTrie(require("../build/tries/private.complete.json").trie);
module.exports = parse(require("../build/tries/private.complete.json").trie);
Loading

0 comments on commit 69162fc

Please sign in to comment.