autoprefixer 10.4.1 → 10.4.4

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 +8 -4
  2. package/package.json +14 -8
package/data/prefixes.js CHANGED
@@ -594,17 +594,21 @@ f(prefixIntrinsic, { match: /x|\s#4/ }, browsers =>
594
594
  )
595
595
 
596
596
  f(prefixIntrinsic, { match: /x|\s#5/ }, browsers =>
597
- prefix(['stretch'], {
597
+ prefix(['fit-content'], {
598
598
  props: sizeProps,
599
599
  feature: 'intrinsic-width',
600
600
  browsers
601
601
  })
602
602
  )
603
603
 
604
- f(prefixIntrinsic, { match: /x|\s#5/ }, browsers =>
605
- prefix(['fit-content'], {
604
+ // Stretch value
605
+
606
+ let prefixStretch = require('caniuse-lite/data/features/css-width-stretch')
607
+
608
+ f(prefixStretch, browsers =>
609
+ prefix(['stretch'], {
606
610
  props: sizeProps,
607
- feature: 'intrinsic-width',
611
+ feature: 'css-width-stretch',
608
612
  browsers
609
613
  })
610
614
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "10.4.1",
3
+ "version": "10.4.4",
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
- "type": "opencollective",
20
- "url": "https://opencollective.com/postcss/"
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,9 +35,9 @@
29
35
  "postcss": "^8.1.0"
30
36
  },
31
37
  "dependencies": {
32
- "browserslist": "^4.19.1",
33
- "caniuse-lite": "^1.0.30001294",
34
- "fraction.js": "^4.1.2",
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
43
  "postcss-value-parser": "^4.2.0"