Socket
Socket
Sign inDemoInstall

cosmiconfig

Package Overview
Dependencies
9
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.2 to 5.0.3

4

CHANGELOG.md
# Changelog
## 5.0.3
- Docs: Minor corrections to documentation. *Released to update package documentation on npm*.
## 5.0.2

@@ -4,0 +8,0 @@

2

dist/createExplorer.js

@@ -265,3 +265,3 @@ //

if (!filepath) {
throw new Error('load and loadSync must be pass a non-empty string');
throw new Error('load and loadSync must pass a non-empty string');
}

@@ -268,0 +268,0 @@ }

{
"name": "cosmiconfig",
"version": "5.0.2",
"version": "5.0.3",
"description": "Find and load configuration from a package.json property, rc file, or CommonJS module",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -168,3 +168,3 @@ # cosmiconfig

```js
const result = explorer.search([searchFrom]);
const result = explorer.searchSync([searchFrom]);
```

@@ -179,3 +179,3 @@

```js
explorer.load([loadPath]).then(result => {..})
explorer.load(loadPath).then(result => {..})
```

@@ -196,3 +196,3 @@

```js
const result = explorer.load([loadPath]);
const result = explorer.loadSync(loadPath);
```

@@ -199,0 +199,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc