browserslist 2.11.2 → 2.11.3

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 +3 -1
  3. package/package.json +2 -2
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.11.3
5
+ * Fix for `path: undefined` option.
6
+
4
7
  ## 2.11.2
5
8
  * Remove Node.js specific code from webpack build.
6
9
 
package/node.js CHANGED
@@ -122,8 +122,10 @@ module.exports = {
122
122
  } else {
123
123
  return pickEnv(module.exports.readConfig(file), opts)
124
124
  }
125
- } else {
125
+ } else if (opts.path) {
126
126
  return pickEnv(module.exports.findConfig(opts.path), opts)
127
+ } else {
128
+ return undefined
127
129
  }
128
130
  },
129
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browserslist",
3
- "version": "2.11.2",
3
+ "version": "2.11.3",
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,7 +11,7 @@
11
11
  "license": "MIT",
12
12
  "repository": "ai/browserslist",
13
13
  "dependencies": {
14
- "caniuse-lite": "^1.0.30000791",
14
+ "caniuse-lite": "^1.0.30000792",
15
15
  "electron-to-chromium": "^1.3.30"
16
16
  },
17
17
  "bin": "./cli.js",