Socket
Socket
Sign inDemoInstall

conf

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conf - npm Package Compare versions

Comparing version 0.10.0 to 0.11.0

2

index.js

@@ -11,3 +11,3 @@ 'use strict';

// get the uncached parent
// prevent caching of this module so module.parent is always accurate
delete require.cache[__filename];

@@ -14,0 +14,0 @@ const parentDir = path.dirname(module.parent.filename);

{
"name": "conf",
"version": "0.10.0",
"version": "0.11.0",
"description": "Simple config handling for your app or module",

@@ -38,3 +38,3 @@ "license": "MIT",

"dot-prop": "^3.0.0",
"env-paths": "^0.1.0",
"env-paths": "^0.2.0",
"mkdirp": "^0.5.1",

@@ -45,2 +45,3 @@ "pkg-up": "^1.0.0"

"ava": "*",
"del": "^2.2.1",
"tempfile": "^1.1.1",

@@ -47,0 +48,0 @@ "xo": "*"

@@ -131,3 +131,3 @@ # conf [![Build Status: Linux and macOS](https://travis-ci.org/sindresorhus/conf.svg?branch=master)](https://travis-ci.org/sindresorhus/conf) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/n88jwh3aju39i0p2/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/conf/branch/master)

I'm also the author of `configstore`. While it's pretty good, I did make some mistakes early on that are hard to change at this point. This module is the result of everything I learned from making `configstore`. Mainly where config is stored. In `configstore`, the config is stored in `~/.config` (which is mainly a Linux convention) on all systems, while `conf` stores config in the system default [user config directory](https://github.com/sindresorhus/env-paths#pathsconfig). The `~/.config` directory, it turns out, often have an incorrect permission on OS X and Windows, which has caused a lot of grief for users.
I'm also the author of `configstore`. While it's pretty good, I did make some mistakes early on that are hard to change at this point. This module is the result of everything I learned from making `configstore`. Mainly where config is stored. In `configstore`, the config is stored in `~/.config` (which is mainly a Linux convention) on all systems, while `conf` stores config in the system default [user config directory](https://github.com/sindresorhus/env-paths#pathsconfig). The `~/.config` directory, it turns out, often have an incorrect permission on macOS and Windows, which has caused a lot of grief for users.

@@ -134,0 +134,0 @@

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