autoprefixer
Advanced tools
Comparing version 6.4.1 to 6.5.0
@@ -0,1 +1,6 @@ | ||
## 6.5 “Einigkeit und Recht und Freiheit” | ||
* Add `defaults` keyword to browsers requirements. | ||
* Fix CSS Grid Layout support. | ||
* Fix `align-self` cleaning. | ||
## 6.4.1 | ||
@@ -2,0 +7,0 @@ * Fix node cloning after some PostCSS plugins. |
@@ -17,2 +17,6 @@ (function() { | ||
GridRowAlign.prototype.check = function(decl) { | ||
return decl.value.indexOf('flex-') === -1 && decl.value !== 'baseline'; | ||
}; | ||
GridRowAlign.prototype.prefixed = function(prop, prefix) { | ||
@@ -23,3 +27,3 @@ return prefix + 'grid-row-align'; | ||
GridRowAlign.prototype.normalize = function(prop) { | ||
return 'align-items'; | ||
return 'align-self'; | ||
}; | ||
@@ -26,0 +30,0 @@ |
@@ -215,3 +215,3 @@ (function() { | ||
Prefixes.prototype.preprocess = function(selected) { | ||
var add, j, k, l, len, len1, len2, len3, len4, len5, len6, m, n, name, o, old, olds, p, prefix, prefixed, prefixes, prop, props, ref, ref1, ref2, remove, selector, value, values; | ||
var a, add, j, k, l, len, len1, len2, len3, len4, len5, len6, m, n, name, o, old, olds, p, prefix, prefixed, prefixes, prop, props, ref, ref1, ref2, ref3, remove, selector, value, values; | ||
add = { | ||
@@ -297,2 +297,12 @@ selectors: [], | ||
olds = this.decl(name).old(name, prefix); | ||
if (name === 'align-self') { | ||
a = (ref3 = add[name]) != null ? ref3.prefixes : void 0; | ||
if (a) { | ||
if (prefix === '-webkit- 2009' && a.indexOf('-webkit-') !== -1) { | ||
continue; | ||
} else if (prefix === '-webkit-' && a.indexOf('-webkit- 2009') !== -1) { | ||
continue; | ||
} | ||
} | ||
} | ||
for (p = 0, len6 = olds.length; p < len6; p++) { | ||
@@ -299,0 +309,0 @@ prefixed = olds[p]; |
@@ -106,6 +106,6 @@ (function() { | ||
return _this.prefixes.transition.add(decl, result); | ||
} else if (decl.prop === 'align-items') { | ||
} else if (decl.prop === 'align-self') { | ||
display = _this.displayType(decl); | ||
if (display !== 'grid' && _this.prefixes.options.flexbox !== false) { | ||
prefixer = _this.prefixes.add['align-items']; | ||
prefixer = _this.prefixes.add['align-self']; | ||
if (prefixer && prefixer.prefixes) { | ||
@@ -235,3 +235,3 @@ prefixer.process(decl); | ||
} | ||
other = ['order', 'justify-content', 'align-self', 'align-content']; | ||
other = ['order', 'justify-content', 'align-items', 'align-content']; | ||
if (node.prop.indexOf('flex') !== -1 || other.indexOf(node.prop) !== -1) { | ||
@@ -238,0 +238,0 @@ return true; |
{ | ||
"name": "autoprefixer", | ||
"version": "6.4.1", | ||
"version": "6.5.0", | ||
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website", | ||
@@ -19,5 +19,5 @@ "keywords": [ | ||
"num2fraction": "^1.2.2", | ||
"browserslist": "~1.3.6", | ||
"caniuse-db": "^1.0.30000527", | ||
"postcss": "^5.1.2" | ||
"browserslist": "~1.4.0", | ||
"caniuse-db": "^1.0.30000540", | ||
"postcss": "^5.2.2" | ||
}, | ||
@@ -35,5 +35,5 @@ "devDependencies": { | ||
"should": "11.1.0", | ||
"mocha": "3.0.2", | ||
"mocha": "3.1.0", | ||
"gulp": "3.9.1", | ||
"coffee-script": "1.10.0" | ||
"coffee-script": "1.11.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
198703
4323
+ Addedbrowserslist@1.4.0(transitive)
- Removedbrowserslist@1.3.6(transitive)
Updatedbrowserslist@~1.4.0
Updatedcaniuse-db@^1.0.30000540
Updatedpostcss@^5.2.2