Skip to content

Commit 7ab018e

Browse files
stofxzyfer
authored andcommittedAug 5, 2019
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.
1 parent fa670c6 commit 7ab018e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const PluginError = require('plugin-error');
33
const replaceExtension = require('replace-ext');
44
const stripAnsi = require('strip-ansi');
55
const through = require('through2');
6-
const clonedeep = require('lodash.clonedeep');
6+
const clonedeep = require('lodash/cloneDeep');
77
const path = require('path');
88
const applySourceMap = require('vinyl-sourcemaps-apply');
99

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"dependencies": {
2727
"chalk": "^2.3.0",
28-
"lodash.clonedeep": "^4.3.2",
28+
"lodash": "^4.17.11",
2929
"node-sass": "^4.8.3",
3030
"plugin-error": "^1.0.1",
3131
"replace-ext": "^1.0.0",

1 commit comments

Comments
 (1)

artem-malko commented on Aug 21, 2019

@artem-malko

Hey, what about new release version?)

Please sign in to comment.