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

app-config-chain

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

app-config-chain - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

9

index.js

@@ -8,4 +8,4 @@ 'use strict';

var envConfigPath, defaultConfigPath, cfgDir,
defaultConfig, envConfig;
var envConfigPath, defaultConfigPath, cfgDir, defaultConfig;
var envConfig = {};

@@ -20,3 +20,2 @@ // figure out where the config files are at

var defaultConfigPath = path.join(cfgDir, 'default');

@@ -37,9 +36,7 @@

envConfig = require(envConfigPath);
} else {
envConfig = {};
}
} catch (err) {
envConfig = {}; // no env specified
throw new Error(err);
}
module.exports = merge(defaultConfig, envConfig);
{
"name": "app-config-chain",
"description": "Cascading configuration for web applications",
"version": "1.0.3",
"version": "1.0.4",
"homepage": "http://github.com/contra/app-config-chain",

@@ -29,3 +29,6 @@ "repository": "git://github.com/contra/app-config-chain.git",

},
"license": "MIT"
"license": "MIT",
"files": [
"index.js"
]
}
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