Skip to content

Commit a9595ab

Browse files
committed
Update dependencies
1 parent 5ad5a3f commit a9595ab

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

jest-setup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ global.groupTest = function(testGroups) {
1212

1313
testFn(message, () =>
1414
postcss(plugin(group.options))
15-
.process(item.fixture)
15+
.process(item.fixture, { from: undefined })
1616
.then(root => {
1717
expect(root.css).toEqual(item.expected);
1818
})
@@ -51,7 +51,7 @@ global.runTest = function(input, opts, dirname) {
5151
}
5252

5353
return postcss([plugin(opts)])
54-
.process(inputCSS)
54+
.process(inputCSS, { from: inputPath })
5555
.then(result => {
5656
const actualCSS = result.css;
5757

lib/__tests__/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test(`Should throw an error if config has error`, () => {
1212
};
1313

1414
const pluginRun = postcss([plugin(opts)])
15-
.process('')
15+
.process('', { from: undefined })
1616
.then(() => {
1717
expect('Plugin should throw an error').toBeFalst();
1818
})

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
},
2727
"dependencies": {
2828
"lodash": "^4.17.4",
29-
"postcss": "^6.0.13"
29+
"postcss": "^7.0.0"
3030
},
3131
"devDependencies": {
32-
"eslint": "~4.10.0",
33-
"eslint-config-hudochenkov": "~2.0.0",
34-
"eslint-config-prettier": "~2.6.0",
35-
"eslint-plugin-prettier": "~2.3.1",
32+
"eslint": "~5.1.0",
33+
"eslint-config-hudochenkov": "~3.0.0",
34+
"eslint-config-prettier": "~2.9.0",
35+
"eslint-plugin-prettier": "~2.6.2",
3636
"husky": "^0.14.3",
37-
"jest": "^21.2.1",
38-
"lint-staged": "^4.3.0",
39-
"prettier": "~1.7.4"
37+
"jest": "^23.4.1",
38+
"lint-staged": "^7.2.0",
39+
"prettier": "~1.13.7"
4040
},
4141
"scripts": {
4242
"precommit": "lint-staged",

0 commit comments

Comments
 (0)