autoprefixer 9.4.2 → 9.4.3

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 (43) hide show
  1. package/CHANGELOG.md +6 -2
  2. package/README.md +5 -5
  3. package/lib/at-rule.js +2 -2
  4. package/lib/browsers.js +6 -6
  5. package/lib/declaration.js +26 -26
  6. package/lib/hacks/align-content.js +4 -4
  7. package/lib/hacks/align-items.js +4 -4
  8. package/lib/hacks/align-self.js +6 -6
  9. package/lib/hacks/block-logical.js +2 -2
  10. package/lib/hacks/border-radius.js +2 -2
  11. package/lib/hacks/break-props.js +6 -6
  12. package/lib/hacks/color-adjust.js +2 -2
  13. package/lib/hacks/display-flex.js +6 -6
  14. package/lib/hacks/flex-basis.js +4 -4
  15. package/lib/hacks/flex-direction.js +4 -4
  16. package/lib/hacks/flex-grow.js +2 -2
  17. package/lib/hacks/flex-shrink.js +4 -4
  18. package/lib/hacks/flex.js +4 -4
  19. package/lib/hacks/gradient.js +32 -32
  20. package/lib/hacks/grid-column-align.js +4 -4
  21. package/lib/hacks/grid-row-align.js +4 -4
  22. package/lib/hacks/grid-rows-columns.js +2 -2
  23. package/lib/hacks/grid-start.js +4 -4
  24. package/lib/hacks/grid-utils.js +1 -1
  25. package/lib/hacks/image-rendering.js +8 -8
  26. package/lib/hacks/inline-logical.js +2 -2
  27. package/lib/hacks/justify-content.js +4 -4
  28. package/lib/hacks/mask-border.js +2 -2
  29. package/lib/hacks/order.js +4 -4
  30. package/lib/hacks/overscroll-behavior.js +4 -4
  31. package/lib/hacks/pixelated.js +2 -2
  32. package/lib/hacks/placeholder.js +2 -2
  33. package/lib/hacks/transform-decl.js +6 -6
  34. package/lib/old-selector.js +2 -2
  35. package/lib/prefixer.js +8 -8
  36. package/lib/prefixes.js +18 -18
  37. package/lib/processor.js +28 -16
  38. package/lib/resolution.js +6 -6
  39. package/lib/selector.js +16 -16
  40. package/lib/supports.js +30 -30
  41. package/lib/transition.js +22 -22
  42. package/lib/value.js +12 -12
  43. package/package.json +3 -3
package/lib/transition.js CHANGED
@@ -115,11 +115,11 @@ function () {
115
115
  decl.cloneBefore();
116
116
  decl.value = value;
117
117
  }
118
- };
118
+ }
119
119
  /**
120
120
  * Find property name
121
121
  */
122
-
122
+ ;
123
123
 
124
124
  _proto.findProp = function findProp(param) {
125
125
  var prop = param[0].value;
@@ -135,21 +135,21 @@ function () {
135
135
  }
136
136
 
137
137
  return prop;
138
- };
138
+ }
139
139
  /**
140
140
  * Does we already have this declaration
141
141
  */
142
-
142
+ ;
143
143
 
144
144
  _proto.already = function already(decl, prop, value) {
145
145
  return decl.parent.some(function (i) {
146
146
  return i.prop === prop && i.value === value;
147
147
  });
148
- };
148
+ }
149
149
  /**
150
150
  * Add declaration if it is not exist
151
151
  */
152
-
152
+ ;
153
153
 
154
154
  _proto.cloneBefore = function cloneBefore(decl, prop, value) {
155
155
  if (!this.already(decl, prop, value)) {
@@ -158,11 +158,11 @@ function () {
158
158
  value: value
159
159
  });
160
160
  }
161
- };
161
+ }
162
162
  /**
163
163
  * Show transition-property warning
164
164
  */
165
-
165
+ ;
166
166
 
167
167
  _proto.checkForWarning = function checkForWarning(result, decl) {
168
168
  if (decl.prop !== 'transition-property') {
@@ -188,11 +188,11 @@ function () {
188
188
 
189
189
  return false;
190
190
  });
191
- };
191
+ }
192
192
  /**
193
193
  * Process transition and remove all unnecessary properties
194
194
  */
195
-
195
+ ;
196
196
 
197
197
  _proto.remove = function remove(decl) {
198
198
  var _this2 = this;
@@ -227,11 +227,11 @@ function () {
227
227
  }
228
228
 
229
229
  decl.value = value;
230
- };
230
+ }
231
231
  /**
232
232
  * Parse properties list to array
233
233
  */
234
-
234
+ ;
235
235
 
236
236
  _proto.parse = function parse(value) {
237
237
  var ast = parser(value);
@@ -263,11 +263,11 @@ function () {
263
263
  return result.filter(function (i) {
264
264
  return i.length > 0;
265
265
  });
266
- };
266
+ }
267
267
  /**
268
268
  * Return properties string from array
269
269
  */
270
-
270
+ ;
271
271
 
272
272
  _proto.stringify = function stringify(params) {
273
273
  if (params.length === 0) {
@@ -308,11 +308,11 @@ function () {
308
308
  return parser.stringify({
309
309
  nodes: nodes
310
310
  });
311
- };
311
+ }
312
312
  /**
313
313
  * Return new param array with different name
314
314
  */
315
-
315
+ ;
316
316
 
317
317
  _proto.clone = function clone(origin, name, param) {
318
318
  var result = [];
@@ -344,11 +344,11 @@ function () {
344
344
  }
345
345
 
346
346
  return result;
347
- };
347
+ }
348
348
  /**
349
349
  * Find or create separator
350
350
  */
351
-
351
+ ;
352
352
 
353
353
  _proto.div = function div(params) {
354
354
  for (var _iterator7 = params, _isArray7 = Array.isArray(_iterator7), _i7 = 0, _iterator7 = _isArray7 ? _iterator7 : _iterator7[Symbol.iterator]();;) {
@@ -399,11 +399,11 @@ function () {
399
399
  var current = vendor.prefix(_this3.findProp(param));
400
400
  return current === '' || current === prefix;
401
401
  });
402
- };
402
+ }
403
403
  /**
404
404
  * Remove all non-webkit prefixes and unprefixed params if we have prefixed
405
405
  */
406
-
406
+ ;
407
407
 
408
408
  _proto.cleanFromUnprefixed = function cleanFromUnprefixed(params, prefix) {
409
409
  var _this4 = this;
@@ -439,11 +439,11 @@ function () {
439
439
  }
440
440
 
441
441
  return result;
442
- };
442
+ }
443
443
  /**
444
444
  * Check property for disabled by option
445
445
  */
446
-
446
+ ;
447
447
 
448
448
  _proto.disabled = function disabled(prop, prefix) {
449
449
  var other = ['order', 'justify-content', 'align-self', 'align-content'];
package/lib/value.js CHANGED
@@ -85,11 +85,11 @@ function (_Prefixer) {
85
85
  }
86
86
 
87
87
  return result;
88
- };
88
+ }
89
89
  /**
90
90
  * Is declaration need to be prefixed
91
91
  */
92
-
92
+ ;
93
93
 
94
94
  var _proto = Value.prototype;
95
95
 
@@ -101,27 +101,27 @@ function (_Prefixer) {
101
101
  }
102
102
 
103
103
  return !!value.match(this.regexp());
104
- };
104
+ }
105
105
  /**
106
106
  * Lazy regexp loading
107
107
  */
108
-
108
+ ;
109
109
 
110
110
  _proto.regexp = function regexp() {
111
111
  return this.regexpCache || (this.regexpCache = utils.regexp(this.name));
112
- };
112
+ }
113
113
  /**
114
114
  * Add prefix to values in string
115
115
  */
116
-
116
+ ;
117
117
 
118
118
  _proto.replace = function replace(string, prefix) {
119
119
  return string.replace(this.regexp(), "$1" + prefix + "$2");
120
- };
120
+ }
121
121
  /**
122
122
  * Get value with comments if it was not changed
123
123
  */
124
-
124
+ ;
125
125
 
126
126
  _proto.value = function value(decl) {
127
127
  if (decl.raws.value && decl.raws.value.value === decl.value) {
@@ -129,11 +129,11 @@ function (_Prefixer) {
129
129
  } else {
130
130
  return decl.value;
131
131
  }
132
- };
132
+ }
133
133
  /**
134
134
  * Save values with next prefixed token
135
135
  */
136
-
136
+ ;
137
137
 
138
138
  _proto.add = function add(decl, prefix) {
139
139
  if (!decl._autoprefixerValues) {
@@ -150,11 +150,11 @@ function (_Prefixer) {
150
150
  } while (value !== before);
151
151
 
152
152
  decl._autoprefixerValues[prefix] = value;
153
- };
153
+ }
154
154
  /**
155
155
  * Return function to fast find prefixed value
156
156
  */
157
-
157
+ ;
158
158
 
159
159
  _proto.old = function old(prefix) {
160
160
  return new OldValue(this.name, prefix + this.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "9.4.2",
3
+ "version": "9.4.3",
4
4
  "description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
5
5
  "keywords": ["autoprefixer", "css", "prefix", "postcss", "postcss-plugin"],
6
6
  "author": "Andrey Sitnik <andrey@sitnik.ru>",
@@ -10,8 +10,8 @@
10
10
  "node": ">=6.0.0"
11
11
  },
12
12
  "dependencies": {
13
- "browserslist": "^4.3.5",
14
- "caniuse-lite": "^1.0.30000914",
13
+ "browserslist": "^4.3.6",
14
+ "caniuse-lite": "^1.0.30000921",
15
15
  "normalize-range": "^0.1.2",
16
16
  "num2fraction": "^1.2.2",
17
17
  "postcss": "^7.0.6",