autoprefixer 10.4.19 → 10.4.20

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.
Files changed (2) hide show
  1. package/data/prefixes.js +12 -4
  2. package/package.json +4 -4
package/data/prefixes.js CHANGED
@@ -597,13 +597,21 @@ f(prefixIntrinsic, { match: /x|\s#4/ }, browsers =>
597
597
  })
598
598
  )
599
599
 
600
- f(prefixIntrinsic, { match: /x|\s#5/ }, browsers =>
601
- prefix(['fit-content'], {
602
- browsers,
600
+ f(prefixIntrinsic, { match: /x|\s#5/ }, browsers => {
601
+ let ffFix = browsers.filter(i => {
602
+ let [name, version] = i.split(' ')
603
+ if (name === 'firefox' || name === 'and_ff') {
604
+ return parseInt(version) < 94
605
+ } else {
606
+ return true
607
+ }
608
+ })
609
+ return prefix(['fit-content'], {
610
+ browsers: ffFix,
603
611
  feature: 'intrinsic-width',
604
612
  props: sizeProps
605
613
  })
606
- )
614
+ })
607
615
 
608
616
  // Stretch value
609
617
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "10.4.19",
3
+ "version": "10.4.20",
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,11 +39,11 @@
39
39
  "postcss": "^8.1.0"
40
40
  },
41
41
  "dependencies": {
42
- "browserslist": "^4.23.0",
43
- "caniuse-lite": "^1.0.30001599",
42
+ "browserslist": "^4.23.3",
43
+ "caniuse-lite": "^1.0.30001646",
44
44
  "fraction.js": "^4.3.7",
45
45
  "normalize-range": "^0.1.2",
46
- "picocolors": "^1.0.0",
46
+ "picocolors": "^1.0.1",
47
47
  "postcss-value-parser": "^4.2.0"
48
48
  }
49
49
  }