autoprefixer 10.4.12 → 10.4.13

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.
@@ -33,7 +33,7 @@ class Declaration extends Prefixer {
33
33
  continue
34
34
  }
35
35
  if (value.includes(other)) {
36
- return true
36
+ return value.replace(/var\([^)]+\)/, '').includes(other)
37
37
  }
38
38
  }
39
39
  return false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "10.4.12",
3
+ "version": "10.4.13",
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"
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "browserslist": "^4.21.4",
39
- "caniuse-lite": "^1.0.30001407",
39
+ "caniuse-lite": "^1.0.30001426",
40
40
  "fraction.js": "^4.2.0",
41
41
  "normalize-range": "^0.1.2",
42
42
  "picocolors": "^1.0.0",