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

confme

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

confme - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

2

package.json
{
"name": "confme",
"version": "0.0.9",
"version": "0.0.10",
"description": "Opinionated config library that allows you to have complex config and behaves according to Twelve Factor App rules",

@@ -5,0 +5,0 @@ "main": "src/confme.js",

@@ -7,6 +7,13 @@ require("dotenv-defaults").config();

const template = fs.readFileSync(configPath).toString();
const configStr = replace(template, process.env);
let config = JSON.parse(configStr);
let config = {};
try {
config = JSON.parse(configStr);
} catch (error) {
console.error("CANNOT PARSE JSON:", configStr);
throw error;
}
if (livrSchemaPath) {

@@ -13,0 +20,0 @@ config = validateConfig(config, livrSchemaPath);

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