autoprefixer 10.2.3 → 10.2.4

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,9 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
+ ## 10.2.4
5
+ * Fixed browser names in `npx autoprefixer --info`.
6
+
4
7
  ## 10.2.3
5
8
  * Fixed PostCSS 8 support.
6
9
 
package/lib/info.js CHANGED
@@ -7,12 +7,16 @@ function capitalize (str) {
7
7
  const NAMES = {
8
8
  ie: 'IE',
9
9
  ie_mob: 'IE Mobile',
10
- ios_saf: 'iOS',
10
+ ios_saf: 'iOS Safari',
11
11
  op_mini: 'Opera Mini',
12
12
  op_mob: 'Opera Mobile',
13
13
  and_chr: 'Chrome for Android',
14
14
  and_ff: 'Firefox for Android',
15
- and_uc: 'UC for Android'
15
+ and_uc: 'UC for Android',
16
+ and_qq: 'QQ Browser',
17
+ kaios: 'KaiOS Browser',
18
+ baidu: 'Baidu Browser',
19
+ samsung: 'Samsung Internet'
16
20
  }
17
21
 
18
22
  function prefix (name, prefixes, note) {
package/lib/prefixer.js CHANGED
@@ -16,11 +16,13 @@ function clone (obj, parent) {
16
16
  }
17
17
  } else if (i === 'source' || i === null) {
18
18
  cloned[i] = value
19
- } else if (i === 'proxyCache') {
20
- continue
21
19
  } else if (Array.isArray(value)) {
22
20
  cloned[i] = value.map(x => clone(x, cloned))
23
- } else if (i !== '_autoprefixerPrefix' && i !== '_autoprefixerValues') {
21
+ } else if (
22
+ i !== '_autoprefixerPrefix' &&
23
+ i !== '_autoprefixerValues' &&
24
+ i !== 'proxyCache'
25
+ ) {
24
26
  if (typeof value === 'object' && value !== null) {
25
27
  value = clone(value, cloned)
26
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "10.2.3",
3
+ "version": "10.2.4",
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"
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "browserslist": "^4.16.1",
30
- "caniuse-lite": "^1.0.30001178",
30
+ "caniuse-lite": "^1.0.30001181",
31
31
  "colorette": "^1.2.1",
32
32
  "fraction.js": "^4.0.13",
33
33
  "normalize-range": "^0.1.2",