browserslist 2.3.1 → 2.3.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,9 @@
1
1
  # Change Log
2
2
  This project adheres to [Semantic Versioning](http://semver.org/).
3
3
 
4
+ ## 2.3.2
5
+ * Fix `> 0` query for browsers with one version (by Nikolay Solovyov).
6
+
4
7
  ## 2.3.1
5
8
  * Reduce library size.
6
9
 
package/index.js CHANGED
@@ -641,7 +641,7 @@ var QUERIES = [
641
641
  regexp: /^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,
642
642
  select: function (context, name, sign, version) {
643
643
  var data = checkName(name)
644
- var alias = normalizeVersion(data, version)
644
+ var alias = browserslist.versionAliases[data.name][version]
645
645
  if (alias) {
646
646
  version = alias
647
647
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browserslist",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Share browsers list between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset",
5
5
  "keywords": [
6
6
  "caniuse",
@@ -10,8 +10,8 @@
10
10
  "license": "MIT",
11
11
  "repository": "ai/browserslist",
12
12
  "dependencies": {
13
- "caniuse-lite": "^1.0.30000712",
14
- "electron-to-chromium": "^1.3.17"
13
+ "caniuse-lite": "^1.0.30000715",
14
+ "electron-to-chromium": "^1.3.18"
15
15
  },
16
16
  "bin": "./cli.js",
17
17
  "devDependencies": {
@@ -29,7 +29,7 @@
29
29
  "jest": "^20.0.4",
30
30
  "lint-staged": "^4.0.3",
31
31
  "pre-commit": "^1.1.3",
32
- "size-limit": "^0.8.1",
32
+ "size-limit": "^0.8.4",
33
33
  "yaspeller-ci": "^0.6.0"
34
34
  },
35
35
  "eslintConfig": {