postcss-preset-env 6.1.1 → 6.3.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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changes to PostCSS Preset Env
2
2
 
3
+ ### 6.3.1 (November 5, 2018)
4
+
5
+ - Updated `caniuse-lite` to 1.0.30000905 (patch)
6
+ - Updated `postcss-custom-properties` to 8.0.9 (patch)
7
+
8
+ ### 6.3.0 (October 28, 2018)
9
+
10
+ - Added `postcss-double-position-gradients` 1.0.0 (major, non-breaking for this project)
11
+ - Updated `autoprefixer` to 9.3.1 (minor)
12
+ - Updated `browserslist` to 4.3.4 (patch)
13
+ - Updated `caniuse-lite` to 1.0.30000899 (patch)
14
+ - Updated `cssdb` to 4.1.0 (major, non-breaking for this project)
15
+
16
+ ### 6.2.0 (October 22, 2018)
17
+
18
+ - Updated `autoprefixer` to 9.2.1 (minor)
19
+ - Updated `browserslist` to 4.3.1 (minor)
20
+
21
+ ### 6.1.2 (October 19, 2018)
22
+
23
+ - Updated `browserslist` to 4.2.1 (patch)
24
+ - Updated `caniuse-lite` to 1.0.30000893 (patch)
25
+ - Updated `postcss-custom-media` to 7.0.7 (patch)
26
+
3
27
  ### 6.1.1 (October 12, 2018)
4
28
 
5
29
  - Updated: `postcss-custom-media` to 7.0.6 (patch)
package/index.cjs.js CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
4
 
5
- var postcss = _interopDefault(require('postcss'));
5
+ var autoprefixer = _interopDefault(require('autoprefixer'));
6
+ var browserslist = _interopDefault(require('browserslist'));
7
+ var cssdb = _interopDefault(require('cssdb'));
6
8
  var postcssAttributeCaseInsensitive = _interopDefault(require('postcss-attribute-case-insensitive'));
7
9
  var postcssColorFunctionalNotation = _interopDefault(require('postcss-color-functional-notation'));
8
10
  var postcssColorGray = _interopDefault(require('postcss-color-gray'));
@@ -13,10 +15,12 @@ var postcssCustomMedia = _interopDefault(require('postcss-custom-media'));
13
15
  var postcssCustomProperties = _interopDefault(require('postcss-custom-properties'));
14
16
  var postcssCustomSelectors = _interopDefault(require('postcss-custom-selectors'));
15
17
  var postcssDirPseudoClass = _interopDefault(require('postcss-dir-pseudo-class'));
18
+ var postcssDoublePositionGradients = _interopDefault(require('postcss-double-position-gradients'));
16
19
  var postcssEnvFunction = _interopDefault(require('postcss-env-function'));
17
20
  var postcssFocusVisible = _interopDefault(require('postcss-focus-visible'));
18
21
  var postcssFocusWithin = _interopDefault(require('postcss-focus-within'));
19
22
  var postcssFontVariant = _interopDefault(require('postcss-font-variant'));
23
+ var postcss = _interopDefault(require('postcss'));
20
24
  var postcssGapProperties = _interopDefault(require('postcss-gap-properties'));
21
25
  var postcssImageSetPolyfill = _interopDefault(require('postcss-image-set-function'));
22
26
  var postcssInitial = _interopDefault(require('postcss-initial'));
@@ -32,9 +36,6 @@ var postcssReplaceOverflowWrap = _interopDefault(require('postcss-replace-overfl
32
36
  var postcssSelectorMatches = _interopDefault(require('postcss-selector-matches'));
33
37
  var postcssSelectorNot = _interopDefault(require('postcss-selector-not'));
34
38
  var caniuse = require('caniuse-lite');
35
- var autoprefixer = _interopDefault(require('autoprefixer'));
36
- var browserslist = _interopDefault(require('browserslist'));
37
- var cssdb = _interopDefault(require('cssdb'));
38
39
 
39
40
  var postcssFontFamilySystemUi = postcss.plugin('postcss-system-ui-font', () => root => {
40
41
  root.walkDecls(propertyRegExp, decl => {
@@ -72,6 +73,7 @@ var plugins = {
72
73
  'custom-properties': postcssCustomProperties,
73
74
  'custom-selectors': postcssCustomSelectors,
74
75
  'dir-pseudo-class': postcssDirPseudoClass,
76
+ 'double-position-gradients': postcssDoublePositionGradients,
75
77
  'environment-variables': postcssEnvFunction,
76
78
  'focus-visible-pseudo-class': postcssFocusVisible,
77
79
  'focus-within-pseudo-class': postcssFocusWithin,
@@ -124,7 +126,7 @@ var idsByExecutionOrder = ['custom-media-queries', 'custom-properties', 'environ
124
126
  'any-link-pseudo-class', 'case-insensitive-attributes', 'focus-visible-pseudo-class', 'focus-within-pseudo-class', 'matches-pseudo-class', 'not-pseudo-class', // run matches-pseudo-class and bit-pseudo-class after other selectors have been transpiled
125
127
  'logical-properties-and-values', // run logical-properties-and-values before dir-pseudo-class
126
128
  'dir-pseudo-class', 'all-property', // run all-property before other property polyfills
127
- 'color-functional-notation', 'gray-function', 'hexadecimal-alpha-notation', 'lab-function', 'rebeccapurple-color', 'color-mod-function', // run color-mod after other color modifications have finished
129
+ 'color-functional-notation', 'double-position-gradients', 'gray-function', 'hexadecimal-alpha-notation', 'lab-function', 'rebeccapurple-color', 'color-mod-function', // run color-mod after other color modifications have finished
128
130
  'break-properties', 'font-variant-property', 'gap-properties', 'overflow-property', 'overflow-wrap-property', 'place-properties', 'system-ui-font-family'];
129
131
 
130
132
  var index = postcss.plugin('postcss-preset-env', opts => {
@@ -1,4 +1,6 @@
1
- import postcss from 'postcss';
1
+ import autoprefixer from 'autoprefixer';
2
+ import browserslist from 'browserslist';
3
+ import cssdb from 'cssdb';
2
4
  import postcssAttributeCaseInsensitive from 'postcss-attribute-case-insensitive';
3
5
  import postcssColorFunctionalNotation from 'postcss-color-functional-notation';
4
6
  import postcssColorGray from 'postcss-color-gray';
@@ -9,10 +11,12 @@ import postcssCustomMedia from 'postcss-custom-media';
9
11
  import postcssCustomProperties from 'postcss-custom-properties';
10
12
  import postcssCustomSelectors from 'postcss-custom-selectors';
11
13
  import postcssDirPseudoClass from 'postcss-dir-pseudo-class';
14
+ import postcssDoublePositionGradients from 'postcss-double-position-gradients';
12
15
  import postcssEnvFunction from 'postcss-env-function';
13
16
  import postcssFocusVisible from 'postcss-focus-visible';
14
17
  import postcssFocusWithin from 'postcss-focus-within';
15
18
  import postcssFontVariant from 'postcss-font-variant';
19
+ import postcss from 'postcss';
16
20
  import postcssGapProperties from 'postcss-gap-properties';
17
21
  import postcssImageSetPolyfill from 'postcss-image-set-function';
18
22
  import postcssInitial from 'postcss-initial';
@@ -28,9 +32,6 @@ import postcssReplaceOverflowWrap from 'postcss-replace-overflow-wrap';
28
32
  import postcssSelectorMatches from 'postcss-selector-matches';
29
33
  import postcssSelectorNot from 'postcss-selector-not';
30
34
  import { features, feature } from 'caniuse-lite';
31
- import autoprefixer from 'autoprefixer';
32
- import browserslist from 'browserslist';
33
- import cssdb from 'cssdb';
34
35
 
35
36
  var postcssFontFamilySystemUi = postcss.plugin('postcss-system-ui-font', () => root => {
36
37
  root.walkDecls(propertyRegExp, decl => {
@@ -68,6 +69,7 @@ var plugins = {
68
69
  'custom-properties': postcssCustomProperties,
69
70
  'custom-selectors': postcssCustomSelectors,
70
71
  'dir-pseudo-class': postcssDirPseudoClass,
72
+ 'double-position-gradients': postcssDoublePositionGradients,
71
73
  'environment-variables': postcssEnvFunction,
72
74
  'focus-visible-pseudo-class': postcssFocusVisible,
73
75
  'focus-within-pseudo-class': postcssFocusWithin,
@@ -120,7 +122,7 @@ var idsByExecutionOrder = ['custom-media-queries', 'custom-properties', 'environ
120
122
  'any-link-pseudo-class', 'case-insensitive-attributes', 'focus-visible-pseudo-class', 'focus-within-pseudo-class', 'matches-pseudo-class', 'not-pseudo-class', // run matches-pseudo-class and bit-pseudo-class after other selectors have been transpiled
121
123
  'logical-properties-and-values', // run logical-properties-and-values before dir-pseudo-class
122
124
  'dir-pseudo-class', 'all-property', // run all-property before other property polyfills
123
- 'color-functional-notation', 'gray-function', 'hexadecimal-alpha-notation', 'lab-function', 'rebeccapurple-color', 'color-mod-function', // run color-mod after other color modifications have finished
125
+ 'color-functional-notation', 'double-position-gradients', 'gray-function', 'hexadecimal-alpha-notation', 'lab-function', 'rebeccapurple-color', 'color-mod-function', // run color-mod after other color modifications have finished
124
126
  'break-properties', 'font-variant-property', 'gap-properties', 'overflow-property', 'overflow-wrap-property', 'place-properties', 'system-ui-font-family'];
125
127
 
126
128
  var index = postcss.plugin('postcss-preset-env', opts => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss-preset-env",
3
- "version": "6.1.1",
3
+ "version": "6.3.1",
4
4
  "description": "Convert modern CSS into something browsers understand",
5
5
  "author": "Jonathan Neal <jonathantneal@hotmail.com>",
6
6
  "license": "CC0-1.0",
@@ -8,17 +8,17 @@
8
8
  "homepage": "https://github.com/csstools/postcss-preset-env#readme",
9
9
  "bugs": "https://github.com/csstools/postcss-preset-env/issues",
10
10
  "main": "index.cjs.js",
11
- "module": "index.es.mjs",
11
+ "module": "index.esm.mjs",
12
12
  "files": [
13
13
  "index.cjs.js",
14
14
  "index.cjs.js.map",
15
- "index.es.mjs",
16
- "index.es.mjs.map"
15
+ "index.esm.mjs",
16
+ "index.esm.mjs.map"
17
17
  ],
18
18
  "scripts": {
19
19
  "prepublishOnly": "npm test",
20
20
  "pretest": "rollup -c .rollup.js --silent",
21
- "test": "echo 'Running tests...'; npm run test:js && npm run test:tape",
21
+ "test": "npm run test:js && npm run test:tape",
22
22
  "test:js": "eslint *.js lib/*.js --cache --ignore-path .gitignore --quiet",
23
23
  "test:tape": "postcss-tape"
24
24
  },
@@ -26,10 +26,10 @@
26
26
  "node": ">=6.0.0"
27
27
  },
28
28
  "dependencies": {
29
- "autoprefixer": "^9.1.5",
30
- "browserslist": "^4.2.0",
31
- "caniuse-lite": "^1.0.30000890",
32
- "cssdb": "^3.2.1",
29
+ "autoprefixer": "^9.3.1",
30
+ "browserslist": "^4.3.4",
31
+ "caniuse-lite": "^1.0.30000905",
32
+ "cssdb": "^4.1.0",
33
33
  "postcss": "^7.0.5",
34
34
  "postcss-attribute-case-insensitive": "^4.0.0",
35
35
  "postcss-color-functional-notation": "^2.0.1",
@@ -37,10 +37,11 @@
37
37
  "postcss-color-hex-alpha": "^5.0.2",
38
38
  "postcss-color-mod-function": "^3.0.3",
39
39
  "postcss-color-rebeccapurple": "^4.0.1",
40
- "postcss-custom-media": "^7.0.6",
41
- "postcss-custom-properties": "^8.0.8",
40
+ "postcss-custom-media": "^7.0.7",
41
+ "postcss-custom-properties": "^8.0.9",
42
42
  "postcss-custom-selectors": "^5.1.2",
43
43
  "postcss-dir-pseudo-class": "^5.0.0",
44
+ "postcss-double-position-gradients": "^1.0.0",
44
45
  "postcss-env-function": "^2.0.2",
45
46
  "postcss-focus-visible": "^4.0.0",
46
47
  "postcss-focus-within": "^3.0.0",
@@ -64,12 +65,12 @@
64
65
  "@babel/core": "^7.1.2",
65
66
  "@babel/preset-env": "^7.1.0",
66
67
  "babel-eslint": "^10.0.1",
67
- "eslint": "^5.6.1",
68
+ "eslint": "^5.8.0",
68
69
  "eslint-config-dev": "^2.0.0",
69
70
  "postcss-simple-vars": "^5.0.1",
70
71
  "postcss-tape": "^2.2.0",
71
72
  "pre-commit": "^1.2.2",
72
- "rollup": "^0.66.6",
73
+ "rollup": "^0.67.0",
73
74
  "rollup-plugin-babel": "^4.0.3"
74
75
  },
75
76
  "eslintConfig": {