File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
var gutil = require ( 'gulp-util' ) ;
4
4
var through = require ( 'through2' ) ;
5
- var assign = require ( 'object-assign ' ) ;
5
+ var clonedeep = require ( 'lodash.clonedeep ' ) ;
6
6
var path = require ( 'path' ) ;
7
7
var applySourceMap = require ( 'vinyl-sourcemaps-apply' ) ;
8
8
@@ -34,7 +34,7 @@ var gulpSass = function gulpSass(options, sync) {
34
34
}
35
35
36
36
37
- opts = assign ( { } , options ) ;
37
+ opts = clonedeep ( options || { } ) ;
38
38
opts . data = file . contents . toString ( ) ;
39
39
40
40
// we set the file path here so that libsass can correctly resolve import paths
Original file line number Diff line number Diff line change 22
22
},
23
23
"dependencies" : {
24
24
"gulp-util" : " ^3.0" ,
25
+ "lodash.clonedeep" : " ^4.3.2" ,
25
26
"node-sass" : " ^3.4.2" ,
26
- "object-assign" : " ^4.0.1" ,
27
27
"through2" : " ^2.0.0" ,
28
28
"vinyl-sourcemaps-apply" : " ^0.2.0"
29
29
},
You can’t perform that action at this time.
0 commit comments