cosmiconfig
Advanced tools
Comparing version 5.0.5 to 5.0.6
# Changelog | ||
## 5.0.6 | ||
- Fixed: Better error message if the end user tries an extension Cosmiconfig is not configured to understand. | ||
## 5.0.5 | ||
@@ -4,0 +8,0 @@ |
@@ -187,3 +187,3 @@ // | ||
const loaderKey = path.extname(filepath) || 'noExt'; | ||
return this.config.loaders[loaderKey]; | ||
return this.config.loaders[loaderKey] || {}; | ||
} | ||
@@ -190,0 +190,0 @@ |
{ | ||
"name": "cosmiconfig", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"description": "Find and load configuration from a package.json property, rc file, or CommonJS module", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40639