Skip to content

Commit c30cf32

Browse files
authored
Merge pull request #71 from GitScrum/milestone-0.0.23
Milestone 0.0.23
2 parents 27c1cbb + 86d9097 commit c30cf32

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ sudo: false
22
language: node_js
33
node_js:
44
- "6"
5+
- "5"
6+
- "4"
57

68
after_script:
79
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [0.0.23] - 14-06-2016
2+
### Change
3+
- Change #70, babel preset
4+
- Update small core
5+
16
## [0.0.22] - 24-05-2016
27
### Added
38
- Added #65, files to pkg.json

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "postcss-at-rules-variables",
3-
"version": "0.0.22",
3+
"version": "0.0.23",
44
"description": "PostCss plugin to use CSS Custom Properties in at-rule @each, @for, @if, @else ",
55
"main": "lib/index.js",
66
"files": "lib/index.js",
77
"engines": {
8-
"node": ">=6"
8+
"node": ">=4"
99
},
1010
"scripts": {
1111
"test": "eslint --format=node_modules/eslint-formatter-pretty ./src/*.js ./test/*.js && nyc ava",
@@ -43,22 +43,22 @@
4343
"babel-cli": "^6.6.5",
4444
"babel-eslint": "^6.0.4",
4545
"babel-plugin-add-module-exports": "^0.2.0",
46-
"babel-preset-es2015-node6": "^0.2.0",
46+
"babel-preset-es2015-node": "^6.1.0",
4747
"babel-register": "^6.7.2",
4848
"coveralls": "^2.11.9",
49-
"nyc": "^6.2.1",
50-
"updtr": "^0.1.10",
5149
"eslint": "^2.10.2",
5250
"eslint-config-xo": "^0.14.1",
5351
"eslint-formatter-pretty": "^0.2.2",
5452
"eslint-plugin-ava": "^2.3.1",
5553
"eslint-plugin-babel": "^3.2.0",
5654
"eslint-plugin-require-path-exists": "^1.1.5",
57-
"eslint-plugin-xo": "^0.4.3"
55+
"eslint-plugin-xo": "^0.4.3",
56+
"nyc": "^6.2.1",
57+
"updtr": "^0.1.10"
5858
},
5959
"babel": {
6060
"presets": [
61-
"es2015-node6"
61+
"es2015-node"
6262
],
6363
"plugins": [
6464
"add-module-exports"

src/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ function getProperty(nodes) {
2121
return;
2222
}
2323

24-
rule.each(decl => {
25-
const {prop, value} = decl;
24+
rule.each(({prop, value}) => {
2625
propertys[prop] = value;
2726
});
2827
});

0 commit comments

Comments
 (0)