autoprefixer 9.6.0 → 9.6.1

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
+ ## 9.6.1
5
+ * Fix `-webkit-line-clamp` truncating multi-line text support.
6
+
4
7
  ## 9.6 “Nunc id vides, nunc ne vides”
5
8
  * Show warning about Browserslist config on `browser` option.
6
9
  * Add warning-less `overrideBrowserslist` option.
package/lib/processor.js CHANGED
@@ -441,6 +441,16 @@ function () {
441
441
  notHack = true;
442
442
  }
443
443
 
444
+ if (decl.prop === '-webkit-box-orient') {
445
+ var hacks = {
446
+ 'flex-direction': true,
447
+ 'flex-flow': true
448
+ };
449
+ if (!decl.parent.some(function (j) {
450
+ return hacks[j.prop];
451
+ })) return;
452
+ }
453
+
444
454
  if (notHack && !_this2.withHackValue(decl)) {
445
455
  if (decl.raw('before').indexOf('\n') > -1) {
446
456
  _this2.reduceSpaces(decl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "9.6.0",
3
+ "version": "9.6.1",
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,13 +10,13 @@
10
10
  "node": ">=6.0.0"
11
11
  },
12
12
  "dependencies": {
13
- "browserslist": "^4.6.1",
14
- "caniuse-lite": "^1.0.30000971",
13
+ "browserslist": "^4.6.3",
14
+ "caniuse-lite": "^1.0.30000980",
15
15
  "chalk": "^2.4.2",
16
16
  "normalize-range": "^0.1.2",
17
17
  "num2fraction": "^1.2.2",
18
- "postcss": "^7.0.16",
19
- "postcss-value-parser": "^3.3.1"
18
+ "postcss": "^7.0.17",
19
+ "postcss-value-parser": "^4.0.0"
20
20
  },
21
21
  "bin": {
22
22
  "autoprefixer": "./bin/autoprefixer"