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.3.3 to 1.4.0

Extension.js

9

lib/EasyConfiguration.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

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