Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 20ae74d

Browse files
committedJul 4, 2017
Change: upgrade to PostCSS 6
For now just a (stupid) bump of all dependencies. Some breaking changes: - image-set polyfill change 2x from 144dpi to 192dpi - whitespace changes for image-set polyfill output - rebeccapurpule is now an hexa number - custom-selector does not output useless (empty) blocks with a selector with no rules associated You can expect some other since all postcss plugins used have been updated to latest versions. If you have unexpected regression, please check corresponding plugins changelog before opening an issue.
1 parent af5f9c1 commit 20ae74d

File tree

5 files changed

+38
-46
lines changed

5 files changed

+38
-46
lines changed
 

‎package.json

+31-31
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,37 @@
2121
"!**/__tests__"
2222
],
2323
"dependencies": {
24-
"autoprefixer": "^6.0.2",
25-
"caniuse-api": "^1.5.3",
26-
"chalk": "^1.1.1",
27-
"pixrem": "^3.0.0",
28-
"pleeease-filters": "^3.0.0",
29-
"postcss": "^5.0.4",
30-
"postcss-apply": "^0.3.0",
31-
"postcss-attribute-case-insensitive": "^1.0.1",
32-
"postcss-calc": "^5.0.0",
33-
"postcss-color-function": "^2.0.0",
34-
"postcss-color-gray": "^3.0.0",
35-
"postcss-color-hex-alpha": "^2.0.0",
36-
"postcss-color-hsl": "^1.0.5",
37-
"postcss-color-hwb": "^2.0.0",
38-
"postcss-color-rebeccapurple": "^2.0.0",
39-
"postcss-color-rgb": "^1.1.4",
40-
"postcss-color-rgba-fallback": "^2.0.0",
41-
"postcss-custom-media": "^5.0.0",
42-
"postcss-custom-properties": "^5.0.0",
43-
"postcss-custom-selectors": "^3.0.0",
44-
"postcss-font-family-system-ui": "^1.0.1",
45-
"postcss-font-variant": "^2.0.0",
46-
"postcss-image-set-polyfill": "^0.3.3",
47-
"postcss-initial": "^1.3.1",
48-
"postcss-media-minmax": "^2.1.0",
49-
"postcss-nesting": "^2.0.5",
50-
"postcss-pseudo-class-any-link": "^1.0.0",
51-
"postcss-pseudoelements": "^3.0.0",
52-
"postcss-replace-overflow-wrap": "^1.0.0",
53-
"postcss-selector-matches": "^2.0.0",
54-
"postcss-selector-not": "^2.0.0"
24+
"autoprefixer": "^7.1.1",
25+
"caniuse-api": "^2.0.0",
26+
"chalk": "^2.0.1",
27+
"pixrem": "^3.0.2",
28+
"pleeease-filters": "^4.0.0",
29+
"postcss": "^6.0.5",
30+
"postcss-apply": "^0.8.0",
31+
"postcss-attribute-case-insensitive": "^2.0.0",
32+
"postcss-calc": "^6.0.0",
33+
"postcss-color-function": "^4.0.0",
34+
"postcss-color-gray": "^4.0.0",
35+
"postcss-color-hex-alpha": "^3.0.0",
36+
"postcss-color-hsl": "^2.0.0",
37+
"postcss-color-hwb": "^3.0.0",
38+
"postcss-color-rebeccapurple": "^3.0.0",
39+
"postcss-color-rgb": "^2.0.0",
40+
"postcss-color-rgba-fallback": "^2.2.0",
41+
"postcss-custom-media": "^6.0.0",
42+
"postcss-custom-properties": "^6.1.0",
43+
"postcss-custom-selectors": "^4.0.1",
44+
"postcss-font-family-system-ui": "^2.0.1",
45+
"postcss-font-variant": "^3.0.0",
46+
"postcss-image-set-polyfill": "^0.3.5",
47+
"postcss-initial": "^2.0.0",
48+
"postcss-media-minmax": "^3.0.0",
49+
"postcss-nesting": "^4.0.1",
50+
"postcss-pseudo-class-any-link": "^4.0.0",
51+
"postcss-pseudoelements": "^4.0.0",
52+
"postcss-replace-overflow-wrap": "^2.0.0",
53+
"postcss-selector-matches": "^3.0.1",
54+
"postcss-selector-not": "^3.0.1"
5555
},
5656
"peerDependencies": {
5757
"caniuse-db": "^1.0.30000652"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
body {
2-
background: rgb(102, 51, 153)
2+
background: #639
33
}
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
.image {
22
background-image: url(img/test.png);
3+
}@media (min-resolution: 192dpi) {.image {
4+
background-image: url(img/test-2x.png);
35
}
4-
@media (min-resolution: 144dpi) {
5-
.image {
6-
background-image: url(img/test-2x.png);
7-
}
6+
}@media (min-resolution: 600dpi) {.image {
7+
background-image: url(my-img-print.png);
88
}
9-
@media (min-resolution: 600dpi) {
10-
.image {
11-
background-image: url(my-img-print.png);
12-
}
139
}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.button {
2-
}
3-
41
.button i {
5-
6-
color: black
2+
color: black;
73
}

‎src/__tests__/option.browsers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tape("cssnext browsers option", function(t) {
1313
)
1414

1515
const customPropsInput = ":root{--foo:bar}baz{qux:var(--foo)}"
16-
const customPropsOutput = "baz{qux: bar}"
16+
const customPropsOutput = "baz{qux:bar}"
1717

1818
// fx 30 doesn't handle custom prop
1919
t.equal(

0 commit comments

Comments
 (0)
This repository has been archived.