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 1.3.1 to 1.4.0

5

index.js

@@ -24,4 +24,5 @@ 'use strict';

opts = Object.assign({
// If the package.json was not found, avoid breaking with `require(null)`
projectName: pkgPath && require(pkgPath).name
// Can't use `require` because of Webpack being annoying:
// https://github.com/webpack/webpack/issues/196
projectName: pkgPath && JSON.parse(fs.readFileSync(pkgPath, 'utf8')).name
}, opts);

@@ -28,0 +29,0 @@

4

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

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

"del": "^3.0.0",
"tempy": "^0.1.0",
"tempy": "^0.2.1",
"xo": "*"
}
}

@@ -106,2 +106,4 @@ # 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)

The `value` must be JSON serializable.
#### .set(object)

@@ -108,0 +110,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