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

configuration-master

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

configuration-master - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

13

index.js

@@ -16,2 +16,3 @@ const _ = require('lodash');

const _myConfig = {};
_myConfig[COMMON_KEY] = {};

@@ -75,5 +76,11 @@ const _processConfig = (data) =>

{
const fpath = path.resolve(path.dirname(require.main.filename), filename);
const tmp = require(fpath);
this.setConfig(tmp, namespace);
if (__non_webpack_require__)
{
const tmp = __non_webpack_require__(filename);
this.setConfig(tmp, namespace);
}
else {
const tmp = require(filename);
this.setConfig(tmp, namespace);
}
}

@@ -80,0 +87,0 @@ }

{
"name": "configuration-master",
"version": "0.1.3",
"version": "0.1.4",
"description": "Simple configuration load/access tool.",

@@ -5,0 +5,0 @@ "main": "index.js",

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

#### Release Notes
v0.1.4
- adjust method for loading configs. it is now the responsibility of the caller to provide the correct path.
v0.1.3

@@ -8,0 +11,0 @@ - add additional tests

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