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

@opuscapita/config

Package Overview
Dependencies
Maintainers
25
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opuscapita/config - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

10

lib/ConfigClient.js

@@ -47,2 +47,12 @@ const ConfigClientBase = require('./ConfigClientBase');

/**
* Closes all connections and cleans up the whole internal state.
*
* @returns {Promise} Returns a bluebird [Promise]{@link http://bluebirdjs.com/docs/api-reference.html}.
*/
dispose()
{
return Promise.resolve(this._dispose()).catch(e => { this.logger.error(e.message); throw e; });
}
/**
* Gets the full qualified name for a key including the prefixed [serviceName]{@link serviceName}.

@@ -49,0 +59,0 @@ * @param {string} key - Key to check.

@@ -71,2 +71,18 @@ const EventEmitter = require('events');

async _dispose()
{
this.config = null;
this.logger = null;
this.cache = null;
for(const k in this.watches)
this.watches[k].end();
this.watches = { };
this.secret = null;
this.consul = null;
this.initialized = false;
}
async _connect({ host, port, retryCount, retryTimeout })

@@ -73,0 +89,0 @@ {

8

package.json
{
"name": "@opuscapita/config",
"version": "3.0.4",
"version": "3.0.5",
"description": "Configuration API connector module for OpusCapita Business Network Portal.",

@@ -40,8 +40,8 @@ "main": "index.js",

"devDependencies": {
"coveralls": "^2.13.3",
"coveralls": "^3.0.1",
"jsdoc-to-markdown": "^4.0.1",
"mocha": "^3.5.3",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.17.0",
"nyc": "^10.3.2"
"nyc": "^13.0.0"
}
}
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