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

bi-config

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bi-config - npm Package Compare versions

Comparing version 2.0.0-alpha to 2.0.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 2.0.0
* [ADDED] - `Config.prototype.isInitialized` method
## 2.0.0-alpha

@@ -2,0 +6,0 @@

@@ -23,2 +23,3 @@ var fs = require('fs');

function Config(data, type) {
this._initialized = false;
this.hasFileConfig = false;

@@ -51,3 +52,11 @@ this.hasShellPositionalArgs = false;

/**
* @return {Boolean}
*/
Config.prototype.isInitialized = function() {
return !!this._initialized;
};
/**
* @private

@@ -213,2 +222,4 @@ * @return {String}

));
this._initialized = true;
};

@@ -215,0 +226,0 @@

2

package.json
{
"name": "bi-config",
"version": "2.0.0-alpha",
"version": "2.0.0",
"description": "Service configuration provider for bi-service based apps",

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

@@ -1,2 +0,4 @@

Configuration plugin for [bi-service]()
[![Build Status](https://travis-ci.org/BohemiaInteractive/bi-config.svg?branch=master)](https://travis-ci.org/BohemiaInteractive/bi-config)
Configuration plugin for [bi-service](https://github.com/BohemiaInteractive/bi-service)
Loads a config file from a fs path which defaults to `/config/NODE_ENV/config.json5`.

@@ -3,0 +5,0 @@ `NODE_ENV` defaults to `development` string value.

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