Skip to content

Commit e03ae72

Browse files
committed
Replace Object.assign with module
1 parent 517d3c3 commit e03ae72

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"lodash": "~2.4.1",
2020
"lodash-node": "~2.4.1",
2121
"minimist": "~1.1.0",
22+
"object-assign": "~2.0.0",
2223
"through2": "~0.6.3"
2324
},
2425
"devDependencies": {

src/jsonSass.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
import through from 'through2';
44
import jsToSassString from './jsToSassString';
5+
import assign from 'object-assign';
56

67
let DEFAULTS = {
78
prefix: '',
89
suffix: ';',
910
};
1011

1112
function jsonSass(options) {
12-
let options = Object.assign({}, DEFAULTS, options);
13+
let options = assign({}, DEFAULTS, options);
1314

1415
return through(function(chunk, enc, callback) {
1516
let jsValue = JSON.parse(chunk);

0 commit comments

Comments
 (0)