Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cosmiconfig

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmiconfig - npm Package Compare versions

Comparing version 5.0.5 to 5.0.6

4

CHANGELOG.md
# 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 @@

2

dist/createExplorer.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc