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

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 2.1.0 to 2.2.0

5

index.js

@@ -36,7 +36,8 @@ /* eslint-disable node/no-deprecated-api */

configName: 'config',
fileExtension: 'json'
fileExtension: 'json',
projectSuffix: 'nodejs'
}, options);
if (!options.cwd) {
options.cwd = envPaths(options.projectName).config;
options.cwd = envPaths(options.projectName, {suffix: options.projectSuffix}).config;
}

@@ -43,0 +44,0 @@

2

package.json
{
"name": "conf",
"version": "2.1.0",
"version": "2.2.0",
"description": "Simple config handling for your app or module",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -1,2 +0,2 @@

# 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)
# conf [![Build Status](https://travis-ci.org/sindresorhus/conf.svg?branch=master)](https://travis-ci.org/sindresorhus/conf)

@@ -110,2 +110,15 @@ > Simple config handling for your app or module

#### projectSuffix
Type: `string`<br>
Default: `nodejs`
**You most likely don't need this. Please don't use it unless you really have to.**
Suffix appended to `projectName` during config file creation to avoid name conflicts with native apps.
You can pass an empty string to remove the suffix.
For example, on macOS, the config file will be stored in the `~/Library/Preferences/foo-nodejs` directory, where `foo` is the `projectName`.
### Instance

@@ -112,0 +125,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