summaryrefslogtreecommitdiff
path: root/node_modules/lilconfig/readme.md
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
commitf06956efd2dc4bf77244a9fcce2b883a00b925af (patch)
tree0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/lilconfig/readme.md
parent8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff)
updated node modules
Diffstat (limited to 'node_modules/lilconfig/readme.md')
-rw-r--r--node_modules/lilconfig/readme.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/node_modules/lilconfig/readme.md b/node_modules/lilconfig/readme.md
index 7b6610dc..ac42df08 100644
--- a/node_modules/lilconfig/readme.md
+++ b/node_modules/lilconfig/readme.md
@@ -43,15 +43,13 @@ lilconfigSync(
```
## Difference to `cosmiconfig`
-Lilconfig does not intend to be 100% compatible with `cosmiconfig` but tries to mimic it where possible. The key differences are:
-- **no** support for yaml files out of the box(`lilconfig` attempts to parse files with no extension as JSON instead of YAML). You can still add the support for YAML files by providing a loader, see an [example](#yaml-loader) below.
-- **no** cache
+Lilconfig does not intend to be 100% compatible with `cosmiconfig` but tries to mimic it where possible. The key difference is **no** support for yaml files out of the box(`lilconfig` attempts to parse files with no extension as JSON instead of YAML). You can still add the support for YAML files by providing a loader, see an [example](#yaml-loader) below.
### Options difference between the two.
|cosmiconfig option | lilconfig |
|------------------------|-----------|
-|cache | ❌ |
+|cache | ✅ |
|loaders | ✅ |
|ignoreEmptySearchPlaces | ✅ |
|packageProp | ✅ |
@@ -116,3 +114,4 @@ lilconfig('myapp', {
- lilconig v1 → cosmiconfig v6
- lilconig v2 → cosmiconfig v7
+- lilconig v3 → cosmiconfig v8