From 961e8f9a3b976bf6ca90aae358ab130a8cbcacd4 Mon Sep 17 00:00:00 2001 From: Ananya Saxena Date: Sun, 30 Apr 2017 10:31:38 -0700 Subject: [PATCH] removing lodash --- index.js | 10 ++++++---- package.json | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 74be209..2a45b8c 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,6 @@ 'use strict'; -var core = require('./core'), -_ = require('lodash'); +var core = require('./core'); /** * Small nifty thick that allows us to download a fresh set regexs from t3h @@ -42,7 +41,10 @@ module.exports = function updater() { } }; + +Object.keys(core).forEach(function(key){ + module.exports[key] = core[key]; +}); + // Override the exports with our newly set module.exports exports = module.exports; - -_.merge(exports, core); diff --git a/package.json b/package.json index ed70845..d67b9d2 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,6 @@ "prepublish": "npm run update" }, "dependencies": { - "lodash": "^4.17.4", "lru-cache": "2.2.x", "tmp": "0.0.x" }