autoprefixer 10.4.21 → 10.4.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -13
- package/data/prefixes.js +8 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -16,12 +16,7 @@ entirely):
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.image {
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
@media (min-resolution: 2dppx) {
|
|
22
|
-
.image {
|
|
23
|
-
background-image: url(image@2x.png);
|
|
24
|
-
}
|
|
19
|
+
width: stretch;
|
|
25
20
|
}
|
|
26
21
|
```
|
|
27
22
|
|
|
@@ -38,13 +33,9 @@ of Autoprefixer.
|
|
|
38
33
|
}
|
|
39
34
|
|
|
40
35
|
.image {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
(min-resolution: 2dppx) {
|
|
45
|
-
.image {
|
|
46
|
-
background-image: url(image@2x.png);
|
|
47
|
-
}
|
|
36
|
+
width: -webkit-fill-available;
|
|
37
|
+
width: -moz-available;
|
|
38
|
+
width: stretch;
|
|
48
39
|
}
|
|
49
40
|
```
|
|
50
41
|
|
package/data/prefixes.js
CHANGED
|
@@ -617,18 +617,21 @@ f(prefixIntrinsic, { match: /x|\s#5/ }, browsers => {
|
|
|
617
617
|
|
|
618
618
|
let prefixStretch = require('caniuse-lite/data/features/css-width-stretch')
|
|
619
619
|
|
|
620
|
-
f(prefixStretch, browsers =>
|
|
621
|
-
|
|
620
|
+
f(prefixStretch, browsers => {
|
|
621
|
+
f(prefixIntrinsic, { match: /x|\s#2/ }, firefox => {
|
|
622
|
+
browsers = browsers.concat(firefox)
|
|
623
|
+
})
|
|
624
|
+
return prefix(['stretch'], {
|
|
622
625
|
browsers,
|
|
623
626
|
feature: 'css-width-stretch',
|
|
624
627
|
props: sizeProps
|
|
625
628
|
})
|
|
626
|
-
)
|
|
629
|
+
})
|
|
627
630
|
|
|
628
631
|
// Zoom cursors
|
|
629
|
-
let
|
|
632
|
+
let prefixCursorsNew = require('caniuse-lite/data/features/css3-cursors-newer')
|
|
630
633
|
|
|
631
|
-
f(
|
|
634
|
+
f(prefixCursorsNew, browsers =>
|
|
632
635
|
prefix(['zoom-in', 'zoom-out'], {
|
|
633
636
|
browsers,
|
|
634
637
|
feature: 'css3-cursors-newer',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoprefixer",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.22",
|
|
4
4
|
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^10 || ^12 || >=14"
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"postcss": "^8.1.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"browserslist": "^4.
|
|
43
|
-
"caniuse-lite": "^1.0.
|
|
44
|
-
"fraction.js": "^
|
|
42
|
+
"browserslist": "^4.27.0",
|
|
43
|
+
"caniuse-lite": "^1.0.30001754",
|
|
44
|
+
"fraction.js": "^5.3.4",
|
|
45
45
|
"normalize-range": "^0.1.2",
|
|
46
46
|
"picocolors": "^1.1.1",
|
|
47
47
|
"postcss-value-parser": "^4.2.0"
|