autoprefixer 8.4.0 → 8.4.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 +3 -0
- package/lib/processor.js +7 -5
- package/package.json +1 -1
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
|
+
## 8.4.1
|
|
5
|
+
* Fix working in old PostCSS versions (by Diablohu).
|
|
6
|
+
|
|
4
7
|
## 8.4 “Non in aves, sed in angues”
|
|
5
8
|
* Add `/* autoprefixer: ignore next */` control comment (by Pavel Vostrikov).
|
|
6
9
|
|
package/lib/processor.js
CHANGED
|
@@ -343,11 +343,13 @@ var Processor = function () {
|
|
|
343
343
|
return node._autoprefixerDisabled;
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
346
|
+
if (node.parent) {
|
|
347
|
+
var p = node.prev();
|
|
348
|
+
if (p && p.type === 'comment' && IGNORE_NEXT.test(p.text)) {
|
|
349
|
+
node._autoprefixerDisabled = true;
|
|
350
|
+
node._autoprefixerSelfDisabled = true;
|
|
351
|
+
return true;
|
|
352
|
+
}
|
|
351
353
|
}
|
|
352
354
|
|
|
353
355
|
var value = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoprefixer",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.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>",
|