autoprefixer 7.2.4 → 7.2.5

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/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
+ ## 7.2.5
5
+ * Fix multiple prefixes in declaration value.
6
+
4
7
  ## 7.2.4
5
8
  * Fix IE 10 support.
6
9
 
@@ -90,7 +90,7 @@ var Gradient = function (_Value) {
90
90
  if (prefix === '-webkit- old') {
91
91
  var changes = this.oldWebkit(node);
92
92
  if (!changes) {
93
- return undefined;
93
+ return false;
94
94
  }
95
95
  } else {
96
96
  node.nodes = this.convertDirection(node.nodes);
package/lib/value.js CHANGED
@@ -142,10 +142,15 @@ var Value = function (_Prefixer) {
142
142
  decl._autoprefixerValues = {};
143
143
  }
144
144
  var value = decl._autoprefixerValues[prefix] || this.value(decl);
145
- value = this.replace(value, prefix);
146
- if (value) {
147
- decl._autoprefixerValues[prefix] = value;
148
- }
145
+
146
+ var before = void 0;
147
+ do {
148
+ before = value;
149
+ value = this.replace(value, prefix);
150
+ if (value === false) return;
151
+ } while (value !== before);
152
+
153
+ decl._autoprefixerValues[prefix] = value;
149
154
  };
150
155
 
151
156
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "7.2.4",
3
+ "version": "7.2.5",
4
4
  "description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
5
5
  "keywords": [
6
6
  "autoprefixer",
@@ -13,11 +13,11 @@
13
13
  "license": "MIT",
14
14
  "repository": "postcss/autoprefixer",
15
15
  "dependencies": {
16
- "browserslist": "^2.10.2",
17
- "caniuse-lite": "^1.0.30000784",
16
+ "browserslist": "^2.11.1",
17
+ "caniuse-lite": "^1.0.30000791",
18
18
  "normalize-range": "^0.1.2",
19
19
  "num2fraction": "^1.2.2",
20
- "postcss": "^6.0.15",
20
+ "postcss": "^6.0.16",
21
21
  "postcss-value-parser": "^3.2.3"
22
22
  },
23
23
  "bin": {