postcss-preset-env
Advanced tools
Comparing version 6.0.10 to 6.1.0
# Changes to PostCSS Preset Env | ||
### 6.1.0 (October 10, 2018) | ||
- Added: `postcss-color-gray` | ||
- Added: Passing `autoprefixer: false` disables autoprefixer | ||
- Updated: `browserslist` to 4.2.0 (minor) | ||
- Updated: `caniuse-lite` to 1.0.30000890 (patch) | ||
### 6.0.10 (October 2, 2018) | ||
@@ -4,0 +11,0 @@ |
@@ -8,2 +8,3 @@ 'use strict'; | ||
var postcssColorFunctionalNotation = _interopDefault(require('postcss-color-functional-notation')); | ||
var postcssColorGray = _interopDefault(require('postcss-color-gray')); | ||
var postcssColorHexAlpha = _interopDefault(require('postcss-color-hex-alpha')); | ||
@@ -80,2 +81,3 @@ var postcssColorModFunction = _interopDefault(require('postcss-color-mod-function')); | ||
'gap-properties': postcssGapProperties, | ||
'gray-function': postcssColorGray, | ||
'hexadecimal-alpha-notation': postcssColorHexAlpha, | ||
@@ -127,3 +129,3 @@ 'image-set-function': postcssImageSetPolyfill, | ||
'dir-pseudo-class', 'all-property', // run all-property before other property polyfills | ||
'color-functional-notation', 'hexadecimal-alpha-notation', 'lab-function', 'rebeccapurple-color', 'color-mod-function', // run color-mod after other color modifications have finished | ||
'color-functional-notation', 'gray-function', 'hexadecimal-alpha-notation', 'lab-function', 'rebeccapurple-color', 'color-mod-function', // run color-mod after other color modifications have finished | ||
'break-properties', 'font-variant-property', 'gap-properties', 'overflow-property', 'overflow-wrap-property', 'place-properties', 'system-ui-font-family']; | ||
@@ -140,3 +142,3 @@ | ||
const sharedOpts = initializeSharedOpts(Object(opts)); | ||
const stagedAutoprefixer = autoprefixer(Object.assign({ | ||
const stagedAutoprefixer = autoprefixerOptions === false ? () => {} : autoprefixer(Object.assign({ | ||
browsers | ||
@@ -143,0 +145,0 @@ }, autoprefixerOptions)); // polyfillable features (those with an available postcss plugin) |
{ | ||
"name": "postcss-preset-env", | ||
"version": "6.0.10", | ||
"version": "6.1.0", | ||
"description": "Convert modern CSS into something browsers understand", | ||
@@ -30,4 +30,4 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
"autoprefixer": "^9.1.5", | ||
"browserslist": "^4.1.2", | ||
"caniuse-lite": "^1.0.30000888", | ||
"browserslist": "^4.2.0", | ||
"caniuse-lite": "^1.0.30000890", | ||
"cssdb": "^3.2.1", | ||
@@ -37,2 +37,3 @@ "postcss": "^7.0.5", | ||
"postcss-color-functional-notation": "^2.0.1", | ||
"postcss-color-gray": "^5.0.0", | ||
"postcss-color-hex-alpha": "^5.0.2", | ||
@@ -73,3 +74,3 @@ "postcss-color-mod-function": "^3.0.3", | ||
"pre-commit": "^1.2.2", | ||
"rollup": "^0.66.2", | ||
"rollup": "^0.66.6", | ||
"rollup-plugin-babel": "^4.0.3" | ||
@@ -76,0 +77,0 @@ }, |
@@ -214,3 +214,3 @@ # PostCSS Preset Env [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS" width="90" height="90" align="right">][postcss] | ||
Specifying `autoprefixer` option enables passing | ||
Specifying the `autoprefixer` option enables passing | ||
[additional options](https://github.com/postcss/autoprefixer#options) | ||
@@ -225,2 +225,4 @@ into [autoprefixer]. | ||
Passing `autoprefixer: false` disables autoprefixer. | ||
### preserve | ||
@@ -227,0 +229,0 @@ |
Sorry, the diff of this file is not supported yet
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
48990
380
385
33
+ Addedpostcss-color-gray@^5.0.0
+ Addedpostcss-color-gray@5.0.0(transitive)
Updatedbrowserslist@^4.2.0
Updatedcaniuse-lite@^1.0.30000890