autoprefixer 10.0.1 → 10.0.2

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,6 +1,10 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
+ ## 10.0.2
5
+ * Removed `-ms-user-select: all` because IE and old Edge don’t support it.
6
+ * Fixed Grid Layout warning.
7
+
4
8
  ## 10.0.1
5
9
  * Fix PostCSS 8.1 compatability.
6
10
  * Add our OpenCollective to `package.json`.
@@ -759,7 +759,11 @@ function warnIfGridRowColumnExists (decl, result) {
759
759
  let rule = decl.parent
760
760
  let decls = []
761
761
  rule.walkDecls(/^grid-(row|column)/, d => {
762
- if (!d.prop.endsWith('-end') && !d.value.startsWith('span')) {
762
+ if (
763
+ !d.prop.endsWith('-end') &&
764
+ !d.value.startsWith('span') &&
765
+ !d.prop.endsWith('-gap')
766
+ ) {
763
767
  decls.push(d)
764
768
  }
765
769
  })
@@ -10,6 +10,17 @@ class UserSelect extends Declaration {
10
10
  }
11
11
  return super.set(decl, prefix)
12
12
  }
13
+
14
+ /**
15
+ * Avoid prefixing all in IE
16
+ */
17
+ insert (decl, prefix, prefixes) {
18
+ if (decl.value === 'all' && prefix === '-ms-') {
19
+ return undefined
20
+ } else {
21
+ return super.insert(decl, prefix, prefixes)
22
+ }
23
+ }
13
24
  }
14
25
 
15
26
  UserSelect.names = ['user-select']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "10.0.1",
3
+ "version": "10.0.2",
4
4
  "description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"
@@ -25,8 +25,8 @@
25
25
  "postcss": "^8.1.0"
26
26
  },
27
27
  "dependencies": {
28
- "browserslist": "^4.14.5",
29
- "caniuse-lite": "^1.0.30001137",
28
+ "browserslist": "^4.14.7",
29
+ "caniuse-lite": "^1.0.30001157",
30
30
  "colorette": "^1.2.1",
31
31
  "normalize-range": "^0.1.2",
32
32
  "num2fraction": "^1.2.2",