From 19e7ca77b76e93bbf17560dd4756c2e2439892ba Mon Sep 17 00:00:00 2001 From: evanvosberg Date: Thu, 13 Sep 2018 23:57:31 +0200 Subject: [PATCH] Update dependecy. --- grunt/tasks/modularize.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/grunt/tasks/modularize.js b/grunt/tasks/modularize.js index 30e7f7b..f97d57b 100644 --- a/grunt/tasks/modularize.js +++ b/grunt/tasks/modularize.js @@ -53,7 +53,7 @@ module.exports = function (grunt) { return options[depName].components; }) .flatten() - .unique() + .uniq() .without(name) .sort(function (a, b) { return options[a].components.indexOf(b) === -1 ? -1 : 1; @@ -76,7 +76,7 @@ module.exports = function (grunt) { } // Remove duplicates - sources = _.unique(sources); + sources = _.uniq(sources); // Add module settings to fmd definition modules[name] = [sources, opts]; diff --git a/package.json b/package.json index 3e6dac3..ef49d55 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "grunt-jsonlint": "^1.0.4", "grunt-update-json": "^0.2.0", "load-grunt-config": "^0.16.0", - "lodash": "^3.5.0" + "lodash": "^4.17.11" }, "keywords": [ "security",