autoprefixer 6.7.6 → 6.7.7
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/README.md +1 -1
- package/lib/hacks/order.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -529,7 +529,7 @@ var plugin = autoprefixer({ cascade: false });
|
|
|
529
529
|
|
|
530
530
|
There are 8 options:
|
|
531
531
|
|
|
532
|
-
* `browsers` (array): list of browsers query (like `last 2
|
|
532
|
+
* `browsers` (array): list of browsers query (like `last 2 versions`),
|
|
533
533
|
which are supported in your project. We recommend to use `browserslist`
|
|
534
534
|
config or `browserslist` key in `package.json`, rather than this option
|
|
535
535
|
to share browsers with other tools. See [Browserslist docs] for available
|
package/lib/hacks/order.js
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
Order.prototype.set = function(decl, prefix) {
|
|
36
36
|
var spec;
|
|
37
37
|
spec = flexSpec(prefix)[0];
|
|
38
|
-
if (spec === 2009) {
|
|
38
|
+
if (spec === 2009 && /\d/.test(decl.value)) {
|
|
39
39
|
decl.value = (parseInt(decl.value) + 1).toString();
|
|
40
40
|
return Order.__super__.set.call(this, decl, prefix);
|
|
41
41
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoprefixer",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.7",
|
|
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": "^1.7.
|
|
17
|
-
"caniuse-db": "^1.0.
|
|
16
|
+
"browserslist": "^1.7.6",
|
|
17
|
+
"caniuse-db": "^1.0.30000634",
|
|
18
18
|
"normalize-range": "^0.1.2",
|
|
19
19
|
"num2fraction": "^1.2.2",
|
|
20
|
-
"postcss": "^5.2.
|
|
20
|
+
"postcss": "^5.2.16",
|
|
21
21
|
"postcss-value-parser": "^3.2.3"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"eslint-config-postcss": "^2.0.2",
|
|
26
26
|
"fs-extra": "^2.0.0",
|
|
27
27
|
"gulp": "^3.9.1",
|
|
28
|
-
"gulp-coffee": "^2.3.
|
|
28
|
+
"gulp-coffee": "^2.3.4",
|
|
29
29
|
"gulp-eslint": "^3.0.1",
|
|
30
30
|
"gulp-json-editor": "^2.2.1",
|
|
31
31
|
"gulp-mocha": "^3.0.1",
|
|
32
32
|
"gulp-replace": "^0.5.4",
|
|
33
33
|
"mocha": "^3.2.0",
|
|
34
|
-
"should": "^11.2.
|
|
34
|
+
"should": "^11.2.1",
|
|
35
35
|
"vinyl-source-stream": "^1.1.0",
|
|
36
36
|
"coffee-script": "^1.12.4"
|
|
37
37
|
},
|