🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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

to
1.4.0

Extension.js

@@ -39,2 +39,11 @@ // Generated by CoffeeScript 1.6.3

EasyConfiguration.prototype.removeExtension = function(name) {
if (typeof this.extensions[name] === 'undefined') {
throw new Error('Extension with name ' + name + ' was not found.');
}
delete this.extensions[name];
this.invalidate();
return this;
};
EasyConfiguration.prototype.invalidate = function() {

@@ -41,0 +50,0 @@ this.data = null;

10

package.json
{
"name": "easy-configuration",
"description": "Simply extensible loader for json config files",
"version": "1.3.3",
"version": "1.4.0",
"author": {

@@ -25,3 +25,9 @@ "name": "David Kudera",

},
"main": "./lib/EasyConfiguration.js"
"main": "./lib/EasyConfiguration.js",
"devDependencies": {
"should": "1.2.2"
},
"scripts": {
"test": "cd ./test; mocha ./index.js;"
}
}

14

README.md

@@ -5,2 +5,6 @@ # Easy Configuration

## Changelog
Changelog is in the bottom of this readme.
## Installing

@@ -174,2 +178,10 @@

var parameters = config.parameters;
```
```
## Changelog
* 1.4.0
+ Added changelog to readme
+ Created tests
+ Tests can be runned with `npm test` command
+ added removeExtension method

Sorry, the diff of this file is not supported yet