autoprefixer 10.4.0 → 10.4.1

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 CHANGED
@@ -522,23 +522,15 @@ f(prefixFullscreen, { match: /x(\s#2|$)/ }, browsers =>
522
522
  )
523
523
 
524
524
  // File selector button
525
- prefix(['::file-selector-button'], {
526
- selector: true,
527
- feature: 'file-selector-button',
528
- browsers: [
529
- 'chrome 89',
530
- 'edge 89',
531
- 'firefox 82',
532
- 'opera 75',
533
- 'safari 14.1',
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')
@@ -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' +
@@ -532,7 +532,7 @@ function insertAreas(css, isDisabled) {
532
532
  if (lastRule) {
533
533
  lastRuleIndex = css.index(lastRule)
534
534
  } else {
535
- /* istanbul ignore next */
535
+ /* c8 ignore next 2 */
536
536
  lastRuleIndex = -1
537
537
  }
538
538
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "10.4.0",
3
+ "version": "10.4.1",
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"
@@ -29,11 +29,11 @@
29
29
  "postcss": "^8.1.0"
30
30
  },
31
31
  "dependencies": {
32
- "browserslist": "^4.17.5",
33
- "caniuse-lite": "^1.0.30001272",
34
- "fraction.js": "^4.1.1",
32
+ "browserslist": "^4.19.1",
33
+ "caniuse-lite": "^1.0.30001294",
34
+ "fraction.js": "^4.1.2",
35
35
  "normalize-range": "^0.1.2",
36
36
  "picocolors": "^1.0.0",
37
- "postcss-value-parser": "^4.1.0"
37
+ "postcss-value-parser": "^4.2.0"
38
38
  }
39
39
  }