autoprefixer 7.1.0 → 7.1.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/data/prefixes.js +1 -1
- package/lib/hacks/intrinsic.js +7 -0
- package/package.json +5 -5
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
|
+
## 7.1.1
|
|
5
|
+
* Remove non-`-webkit-` intrinsic prefixes in Grid Layout (by 一丝).
|
|
6
|
+
|
|
4
7
|
## 7.1 “Universitas litterarum”
|
|
5
8
|
* Add `unicode-bidi` support.
|
|
6
9
|
* Add `-webkit-appearance` support for Edge.
|
package/data/prefixes.js
CHANGED
|
@@ -389,7 +389,7 @@ f(require('caniuse-lite/data/features/css3-tabsize.js'), function (browsers) {
|
|
|
389
389
|
// Intrinsic & extrinsic sizing
|
|
390
390
|
f(require('caniuse-lite/data/features/intrinsic-width.js'), function (browsers) {
|
|
391
391
|
return prefix(['max-content', 'min-content', 'fit-content', 'fill', 'fill-available', 'stretch'], {
|
|
392
|
-
props: ['width', 'min-width', 'max-width', 'height', 'min-height', 'max-height', 'inline-size', 'min-inline-size', 'max-inline-size', 'block-size', 'min-block-size', 'max-block-size', 'grid-template', 'grid-template-rows', 'grid-template-columns'],
|
|
392
|
+
props: ['width', 'min-width', 'max-width', 'height', 'min-height', 'max-height', 'inline-size', 'min-inline-size', 'max-inline-size', 'block-size', 'min-block-size', 'max-block-size', 'grid', 'grid-template', 'grid-template-rows', 'grid-template-columns', 'grid-auto-columns', 'grid-auto-rows'],
|
|
393
393
|
feature: 'intrinsic-width',
|
|
394
394
|
browsers: browsers
|
|
395
395
|
});
|
package/lib/hacks/intrinsic.js
CHANGED
|
@@ -53,6 +53,13 @@ var Intrinsic = function (_Value) {
|
|
|
53
53
|
return new OldValue(this.name, prefixed, prefixed, _regexp(prefixed));
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
+
Intrinsic.prototype.add = function add(decl, prefix) {
|
|
57
|
+
if (decl.prop.indexOf('grid') !== -1 && prefix !== '-webkit-') {
|
|
58
|
+
return undefined;
|
|
59
|
+
}
|
|
60
|
+
return _Value.prototype.add.call(this, decl, prefix);
|
|
61
|
+
};
|
|
62
|
+
|
|
56
63
|
return Intrinsic;
|
|
57
64
|
}(Value);
|
|
58
65
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoprefixer",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
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,8 +13,8 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": "postcss/autoprefixer",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"browserslist": "^2.1.
|
|
17
|
-
"caniuse-lite": "^1.0.
|
|
16
|
+
"browserslist": "^2.1.3",
|
|
17
|
+
"caniuse-lite": "^1.0.30000670",
|
|
18
18
|
"normalize-range": "^0.1.2",
|
|
19
19
|
"num2fraction": "^1.2.2",
|
|
20
20
|
"postcss": "^6.0.1",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"gulp-coffee": "^2.3.4",
|
|
34
34
|
"gulp-json-editor": "^2.2.1",
|
|
35
35
|
"gulp-replace": "^0.5.4",
|
|
36
|
-
"jest": "^20.0.
|
|
37
|
-
"lint-staged": "^3.4.
|
|
36
|
+
"jest": "^20.0.3",
|
|
37
|
+
"lint-staged": "^3.4.2",
|
|
38
38
|
"pre-commit": "^1.2.2",
|
|
39
39
|
"vinyl-source-stream": "^1.1.0",
|
|
40
40
|
"babel-register": "^6.24.0"
|