autoprefixer 10.4.0 → 10.4.3
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/data/prefixes.js +17 -21
- package/lib/autoprefixer.js +1 -2
- package/lib/hacks/grid-utils.js +1 -1
- package/package.json +15 -9
package/data/prefixes.js
CHANGED
|
@@ -522,23 +522,15 @@ f(prefixFullscreen, { match: /x(\s#2|$)/ }, browsers =>
|
|
|
522
522
|
)
|
|
523
523
|
|
|
524
524
|
// File selector button
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
'android 89',
|
|
535
|
-
'and_chr 89',
|
|
536
|
-
'op_mob 63',
|
|
537
|
-
'and_ff 82',
|
|
538
|
-
'ios_saf 14.5',
|
|
539
|
-
'samsung 15.0'
|
|
540
|
-
]
|
|
541
|
-
})
|
|
525
|
+
let prefixFileSelectorButton = require('caniuse-lite/data/features/css-file-selector-button')
|
|
526
|
+
|
|
527
|
+
f(prefixFileSelectorButton, browsers =>
|
|
528
|
+
prefix(['::file-selector-button'], {
|
|
529
|
+
selector: true,
|
|
530
|
+
feature: 'file-selector-button',
|
|
531
|
+
browsers
|
|
532
|
+
})
|
|
533
|
+
)
|
|
542
534
|
|
|
543
535
|
// :autofill
|
|
544
536
|
let prefixAutofill = require('caniuse-lite/data/features/css-autofill')
|
|
@@ -602,17 +594,21 @@ f(prefixIntrinsic, { match: /x|\s#4/ }, browsers =>
|
|
|
602
594
|
)
|
|
603
595
|
|
|
604
596
|
f(prefixIntrinsic, { match: /x|\s#5/ }, browsers =>
|
|
605
|
-
prefix(['
|
|
597
|
+
prefix(['fit-content'], {
|
|
606
598
|
props: sizeProps,
|
|
607
599
|
feature: 'intrinsic-width',
|
|
608
600
|
browsers
|
|
609
601
|
})
|
|
610
602
|
)
|
|
611
603
|
|
|
612
|
-
|
|
613
|
-
|
|
604
|
+
// Stretch value
|
|
605
|
+
|
|
606
|
+
let prefixStretch = require('caniuse-lite/data/features/css-width-stretch')
|
|
607
|
+
|
|
608
|
+
f(prefixStretch, browsers =>
|
|
609
|
+
prefix(['stretch'], {
|
|
614
610
|
props: sizeProps,
|
|
615
|
-
feature: '
|
|
611
|
+
feature: 'css-width-stretch',
|
|
616
612
|
browsers
|
|
617
613
|
})
|
|
618
614
|
)
|
package/lib/autoprefixer.js
CHANGED
|
@@ -40,8 +40,7 @@ function timeCapsule(result, prefixes) {
|
|
|
40
40
|
if (Object.keys(prefixes.add).length > 2) {
|
|
41
41
|
return
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
/* istanbul ignore next */
|
|
43
|
+
/* c8 ignore next 11 */
|
|
45
44
|
result.warn(
|
|
46
45
|
'Autoprefixer target browsers do not need any prefixes.' +
|
|
47
46
|
'You do not need Autoprefixer anymore.\n' +
|
package/lib/hacks/grid-utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoprefixer",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.3",
|
|
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"
|
|
@@ -15,10 +15,16 @@
|
|
|
15
15
|
"main": "lib/autoprefixer.js",
|
|
16
16
|
"bin": "bin/autoprefixer",
|
|
17
17
|
"types": "lib/autoprefixer.d.ts",
|
|
18
|
-
"funding":
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
"funding": [
|
|
19
|
+
{
|
|
20
|
+
"type": "opencollective",
|
|
21
|
+
"url": "https://opencollective.com/postcss"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "tidelift",
|
|
25
|
+
"url": "https://tidelift.com/funding/github/npm/autoprefixer"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
22
28
|
"author": "Andrey Sitnik <andrey@sitnik.ru>",
|
|
23
29
|
"license": "MIT",
|
|
24
30
|
"repository": "postcss/autoprefixer",
|
|
@@ -29,11 +35,11 @@
|
|
|
29
35
|
"postcss": "^8.1.0"
|
|
30
36
|
},
|
|
31
37
|
"dependencies": {
|
|
32
|
-
"browserslist": "^4.
|
|
33
|
-
"caniuse-lite": "^1.0.
|
|
34
|
-
"fraction.js": "^4.
|
|
38
|
+
"browserslist": "^4.20.2",
|
|
39
|
+
"caniuse-lite": "^1.0.30001317",
|
|
40
|
+
"fraction.js": "^4.2.0",
|
|
35
41
|
"normalize-range": "^0.1.2",
|
|
36
42
|
"picocolors": "^1.0.0",
|
|
37
|
-
"postcss-value-parser": "^4.
|
|
43
|
+
"postcss-value-parser": "^4.2.0"
|
|
38
44
|
}
|
|
39
45
|
}
|