browserslist 4.16.0 → 4.16.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,6 +1,9 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
+ ## 4.16.1
5
+ * Fixed Chrome 4 with `mobileToDesktop` (by Aron Woost).
6
+
4
7
  ## 4.16
5
8
  * Add `browserslist config` query.
6
9
 
package/README.md CHANGED
@@ -273,7 +273,7 @@ You can specify the browser and Node.js versions by queries (case insensitive):
273
273
  page. A list of all available features can be found at
274
274
  [`caniuse-lite/data/features`].
275
275
  * `browserslist config`: the browsers defined in Browserslist config. Useful
276
- in the tools to modify user’s config like
276
+ in Differential Serving to modify user’s config like
277
277
  `browserslist config and supports es6-module`.
278
278
  * `since 2015` or `last 2 years`: all versions released since year 2015
279
279
  (also `since 2015-03` and `since 2015-03-10`).
@@ -402,8 +402,7 @@ naming or prefixing the module with `@scope/browserslist-config`, such as
402
402
  `@scope/browserslist-config` or `@scope/browserslist-config-mycompany`.
403
403
 
404
404
  If you don’t accept Browserslist queries from users, you can disable the
405
- validation by using the or `BROWSERSLIST_DANGEROUS_EXTEND` environment variable
406
- or `dangerousExtend` option.
405
+ validation by using the or `BROWSERSLIST_DANGEROUS_EXTEND` environment variable.
407
406
 
408
407
  ```sh
409
408
  BROWSERSLIST_DANGEROUS_EXTEND=1 npx webpack
package/node.js CHANGED
@@ -127,7 +127,7 @@ function normalizeStats (data, stats) {
127
127
  data[i] &&
128
128
  data[i].versions.length === 1
129
129
  ) {
130
- var normal = Object.keys(data[i].versions)[0]
130
+ var normal = data[i].versions[0]
131
131
  normalized[i] = { }
132
132
  normalized[i][normal] = stats[i][versions[0]]
133
133
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browserslist",
3
- "version": "4.16.0",
3
+ "version": "4.16.1",
4
4
  "description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset",
5
5
  "keywords": [
6
6
  "caniuse",
@@ -15,11 +15,11 @@
15
15
  "license": "MIT",
16
16
  "repository": "browserslist/browserslist",
17
17
  "dependencies": {
18
- "caniuse-lite": "^1.0.30001165",
18
+ "caniuse-lite": "^1.0.30001173",
19
19
  "colorette": "^1.2.1",
20
- "electron-to-chromium": "^1.3.621",
20
+ "electron-to-chromium": "^1.3.634",
21
21
  "escalade": "^3.1.1",
22
- "node-releases": "^1.1.67"
22
+ "node-releases": "^1.1.69"
23
23
  },
24
24
  "engines": {
25
25
  "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"