autoprefixer 6.7.3 → 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/AUTHORS +1 -0
- package/CHANGELOG.md +17 -0
- package/README.md +1 -1
- package/data/prefixes.js +17 -3
- package/lib/hacks/order.js +1 -1
- package/package.json +7 -7
package/AUTHORS
CHANGED
|
@@ -31,6 +31,7 @@ Bogdan Chadkin <trysound@yandex.ru>
|
|
|
31
31
|
brainopia <brainopia@evilmartians.com>
|
|
32
32
|
Brandon Mathis <brandon@imathis.com>
|
|
33
33
|
Chad von Nau <chad@vonnau.com>
|
|
34
|
+
Chi Vinh Le <vinh@wikiwi.io>
|
|
34
35
|
Cory House <housecor@gmail.com>
|
|
35
36
|
Cory Simmons <cory@mojotech.com>
|
|
36
37
|
Craig Martin <https://github.com/craigmichaelmartin>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
|
+
|
|
4
|
+
## 6.7.7
|
|
5
|
+
* Fix `order` for non-digit values.
|
|
6
|
+
|
|
7
|
+
## 6.7.6
|
|
8
|
+
* Fix `font-kerning` (by Chi Vinh Le).
|
|
9
|
+
|
|
10
|
+
## 6.7.5
|
|
11
|
+
* Fix `text-decoration-skip` in iOS (by Chi Vinh Le).
|
|
12
|
+
* Fix `clip-path` (by Chi Vinh Le).
|
|
13
|
+
|
|
14
|
+
## 6.7.4
|
|
15
|
+
* Improve `browsers` option perfomance.
|
|
16
|
+
* Update CoffeeScript compiler.
|
|
17
|
+
|
|
1
18
|
## 6.7.3
|
|
2
19
|
* Fix compatibility with “Intrinsic & Extrinsic Sizing” spec update.
|
|
3
20
|
|
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/data/prefixes.js
CHANGED
|
@@ -296,12 +296,19 @@
|
|
|
296
296
|
});
|
|
297
297
|
|
|
298
298
|
feature(require('caniuse-db/features-json/font-feature.json'), function(browsers) {
|
|
299
|
-
return prefix('font-feature-settings', 'font-variant-ligatures', 'font-language-override',
|
|
299
|
+
return prefix('font-feature-settings', 'font-variant-ligatures', 'font-language-override', {
|
|
300
300
|
browsers: browsers,
|
|
301
301
|
feature: 'font-feature'
|
|
302
302
|
});
|
|
303
303
|
});
|
|
304
304
|
|
|
305
|
+
feature(require('caniuse-db/features-json/font-kerning.json'), function(browsers) {
|
|
306
|
+
return prefix('font-kerning', {
|
|
307
|
+
browsers: browsers,
|
|
308
|
+
feature: 'font-kerning'
|
|
309
|
+
});
|
|
310
|
+
});
|
|
311
|
+
|
|
305
312
|
feature(require('caniuse-db/features-json/border-image.json'), function(browsers) {
|
|
306
313
|
return prefix('border-image', {
|
|
307
314
|
browsers: browsers,
|
|
@@ -421,7 +428,7 @@
|
|
|
421
428
|
});
|
|
422
429
|
|
|
423
430
|
feature(decoration, {
|
|
424
|
-
match: /x.*#
|
|
431
|
+
match: /x.*#[23]/
|
|
425
432
|
}, function(browsers) {
|
|
426
433
|
return prefix('text-decoration-skip', {
|
|
427
434
|
browsers: browsers,
|
|
@@ -443,12 +450,19 @@
|
|
|
443
450
|
browsers: browsers,
|
|
444
451
|
feature: 'css-masks'
|
|
445
452
|
});
|
|
446
|
-
return prefix('
|
|
453
|
+
return prefix('mask', 'mask-position', 'mask-size', 'mask-border', 'mask-border-outset', 'mask-border-width', 'mask-border-slice', {
|
|
447
454
|
browsers: browsers,
|
|
448
455
|
feature: 'css-masks'
|
|
449
456
|
});
|
|
450
457
|
});
|
|
451
458
|
|
|
459
|
+
feature(require('caniuse-db/features-json/css-clip-path.json'), function(browsers) {
|
|
460
|
+
return prefix('clip-path', {
|
|
461
|
+
browsers: browsers,
|
|
462
|
+
feature: 'css-clip-path'
|
|
463
|
+
});
|
|
464
|
+
});
|
|
465
|
+
|
|
452
466
|
boxdecorbreak = require('caniuse-db/features-json/css-boxdecorationbreak.json');
|
|
453
467
|
|
|
454
468
|
feature(boxdecorbreak, function(browsers) {
|
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,15 +25,15 @@
|
|
|
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
|
-
"coffee-script": "^1.12.
|
|
36
|
+
"coffee-script": "^1.12.4"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"test": "gulp"
|