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

easy-configuration

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-configuration - npm Package Compare versions

Comparing version 1.5.5 to 1.5.6

16

lib/EasyConfiguration.js

@@ -116,10 +116,12 @@ // Generated by CoffeeScript 1.6.3

section = sections[name];
if (sections.hasOwnProperty(name) && (name !== '__proto__') && typeof this.extensions[name] === 'undefined') {
throw new Error('Found section ' + name + ' but there is no coresponding extension.');
if (sections.hasOwnProperty(name) && (name !== '__proto__')) {
if (typeof this.extensions[name] === 'undefined') {
throw new Error('Found section ' + name + ' but there is no coresponding extension.');
}
this.extensions[name].data = section;
section = this.extensions[name].loadConfiguration();
section = Helpers.expandWithParameters(section, result.parameters);
section = this.extensions[name].afterCompile(section);
result.sections[name] = section;
}
this.extensions[name].data = section;
section = this.extensions[name].loadConfiguration();
section = Helpers.expandWithParameters(section, result.parameters);
section = this.extensions[name].afterCompile(section);
result.sections[name] = section;
}

@@ -126,0 +128,0 @@ return result;

{
"name": "easy-configuration",
"description": "Simply extensible loader for json config files",
"version": "1.5.5",
"version": "1.5.6",
"author": {

@@ -6,0 +6,0 @@ "name": "David Kudera",

@@ -199,3 +199,3 @@ # Easy Configuration

* 1.5.4 - 1.5.5
* 1.5.4 - 1.5.6
+ Some optimizations

@@ -202,0 +202,0 @@

Sorry, the diff of this file is not supported yet

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