Index: node_modules/urlHelpers.js |
diff --git a/node_modules/urlHelpers.js b/node_modules/urlHelpers.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2e5434a2fb158e1ce7ad4719ca23a6c17033ee47 |
--- /dev/null |
+++ b/node_modules/urlHelpers.js |
@@ -0,0 +1,25 @@ |
+/* |
+ * This file is part of Adblock Plus <https://adblockplus.org/>, |
+ * Copyright (C) 2006-2016 Eyeo GmbH |
+ * |
+ * Adblock Plus is free software: you can redistribute it and/or modify |
+ * it under the terms of the GNU General Public License version 3 as |
+ * published by the Free Software Foundation. |
+ * |
+ * Adblock Plus is distributed in the hope that it will be useful, |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
+ * GNU General Public License for more details. |
+ * |
+ * You should have received a copy of the GNU General Public License |
+ * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
+ */ |
+ |
+"use strict"; |
+ |
+// This file serves as a stand-in for the parts of the adblockpluschrome URL |
+// library that we need to generate content blocker lists. |
+ |
+let tldjs = require("tldjs"); |
+ |
+exports.getBaseDomain = tldjs.getDomain.bind(tldjs); |