Skip to content

Commit e043c24

Browse files
committed
Upgrade dependencies
1 parent b25b5dc commit e043c24

3 files changed

Lines changed: 79 additions & 111 deletions

File tree

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,19 @@
5252
"dependencies": {
5353
"css-selector-tokenizer": "^0.7.0",
5454
"icss-utils": "^2.1.0",
55-
"postcss": "^6.0.1",
55+
"postcss": "^6.0.2",
5656
"postcss-value-parser": "^3.3.0"
5757
},
5858
"devDependencies": {
5959
"babel-cli": "^6.24.1",
6060
"babel-jest": "^20.0.3",
61-
"babel-preset-env": "^1.5.1",
61+
"babel-preset-env": "^1.5.2",
6262
"css-selector-parser": "^1.0.4",
6363
"eslint": "^4.0.0",
64-
"husky": "^0.13.3",
65-
"jest": "^20.0.3",
66-
"lint-staged": "^3.4.2",
67-
"prettier": "^1.3.1",
64+
"husky": "^0.13.4",
65+
"jest": "^20.0.4",
66+
"lint-staged": "^3.6.1",
67+
"prettier": "^1.4.4",
6868
"strip-indent": "^2.0.0"
6969
}
7070
}

src/index.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ const getIdentifiers = (rule, result) => {
4242
const identifier = getSelectorIdentifier(selector);
4343
if (identifier === null) {
4444
result.warn(
45-
`composition is only allowed in single class selector, not in '${Tokenizer.stringify(selector)}'`,
45+
`composition is only allowed in single class selector, not in '${Tokenizer.stringify(
46+
selector
47+
)}'`,
4648
{ node: rule }
4749
);
4850
}
@@ -90,8 +92,9 @@ const parseComposes = value => {
9092
);
9193
return {
9294
names: names.filter(node => node.type === "word").map(node => node.value),
93-
path: path &&
94-
path.filter(node => node.type === "string").map(node => node.value)[0]
95+
path:
96+
path &&
97+
path.filter(node => node.type === "string").map(node => node.value)[0]
9598
};
9699
};
97100

0 commit comments

Comments
 (0)