From 7ab018e3678729392978311eef2cb02754650960 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 28 Feb 2019 13:31:47 +0100 Subject: [PATCH] Migrate to the lodash package The modularized lodash packages are unmaintained since 2 years, lagging a lot behind the main lodash package. Partial imports of lodash are the preferred way. --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 3b68d4a0..6bdb7ea2 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const PluginError = require('plugin-error'); const replaceExtension = require('replace-ext'); const stripAnsi = require('strip-ansi'); const through = require('through2'); -const clonedeep = require('lodash.clonedeep'); +const clonedeep = require('lodash/cloneDeep'); const path = require('path'); const applySourceMap = require('vinyl-sourcemaps-apply'); diff --git a/package.json b/package.json index d56d7de2..0521c276 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ }, "dependencies": { "chalk": "^2.3.0", - "lodash.clonedeep": "^4.3.2", + "lodash": "^4.17.11", "node-sass": "^4.8.3", "plugin-error": "^1.0.1", "replace-ext": "^1.0.0",