postcss-local-constants
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -0,1 +1,4 @@ | ||
## 0.0.5 | ||
* `lodash` is used directly rather than `lodash-node` | ||
## 0.0.4 | ||
@@ -2,0 +5,0 @@ * `lodash` is a dep |
var postcss = require('postcss'); | ||
var nodepath = require('path'); | ||
var _ = require('lodash-node'); | ||
var assign = require('lodash/object/assign'); | ||
@@ -16,3 +16,3 @@ module.exports = postcss.plugin('postcss-local-constants', function (opts) { | ||
if (sets[requiredSet]) { | ||
sets[requiredSet] = _.assign({}, sets[requiredSet], constantSets[requiredSet]); | ||
sets[requiredSet] = assign({}, sets[requiredSet], constantSets[requiredSet]); | ||
} | ||
@@ -19,0 +19,0 @@ |
{ | ||
"name": "postcss-local-constants", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "PostCSS plugin to process imported constants from a file, removing them from a global scope.", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
"dependencies": { | ||
"lodash-node": "^3.10.0", | ||
"lodash": "^3.10.0", | ||
"postcss": "^4.1.13" | ||
@@ -27,0 +27,0 @@ }, |
6955
+ Addedlodash@^3.10.0
+ Addedlodash@3.10.1(transitive)
- Removedlodash-node@^3.10.0
- Removedlodash-node@3.10.2(transitive)