browserslist 4.3.5 → 4.3.6

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/node.js +1 -1
  3. package/package.json +5 -7
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.3.6
5
+ * Fix version-less browser support in custom statistics (by Alex Walter).
6
+
4
7
  ## 4.3.5
5
8
  * Fix `not` query for wrong Can I Use data.
6
9
 
package/node.js CHANGED
@@ -156,7 +156,7 @@ module.exports = {
156
156
  if (versions.length === 1 && data[i] && data[i].versions.length === 1) {
157
157
  var normal = Object.keys(data[i].versions)[0]
158
158
  normalized[i] = { }
159
- normalized[i][normal] = stats[i]
159
+ normalized[i][normal] = stats[i][versions[0]]
160
160
  } else {
161
161
  normalized[i] = stats[i]
162
162
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browserslist",
3
- "version": "4.3.5",
3
+ "version": "4.3.6",
4
4
  "description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset",
5
5
  "keywords": [
6
6
  "caniuse",
@@ -11,9 +11,9 @@
11
11
  "license": "MIT",
12
12
  "repository": "browserslist/browserslist",
13
13
  "dependencies": {
14
- "caniuse-lite": "^1.0.30000912",
15
- "electron-to-chromium": "^1.3.86",
16
- "node-releases": "^1.0.5"
14
+ "caniuse-lite": "^1.0.30000921",
15
+ "electron-to-chromium": "^1.3.92",
16
+ "node-releases": "^1.1.1"
17
17
  },
18
18
  "bin": "./cli.js",
19
19
  "browser": {
@@ -22,9 +22,7 @@
22
22
  },
23
23
  "husky": {
24
24
  "hooks": {
25
- "pre-commit": [
26
- "lint-staged"
27
- ]
25
+ "pre-commit": "lint-staged"
28
26
  }
29
27
  }
30
28
  }