Socket
Socket
Sign inDemoInstall

@opuscapita/config

Package Overview
Dependencies
Maintainers
30
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.1.3 to 3.1.4

12

lib/ConfigClient.js

@@ -153,3 +153,3 @@ const ConfigClientBase = require('./ConfigClientBase');

if(silent)
return task().catch(e => this.logger.error(e));
return task().catch(e => this.logger.warn(e));
else

@@ -200,3 +200,3 @@ return task();

if(silent)
return task().catch(e => this.logger.error(e));
return task().catch(e => this.logger.warn(e));
else

@@ -231,6 +231,6 @@ return task();

if(silent)
return task().catch(e => this.logger.error(e));
return task().catch(e => this.logger.warn(e));
else
return retry(task, { max_tries: this.config.retryCount, interval: this.config.retryTimeout })
.catch(e => { this.logger.error(e); throw e; });
.catch(e => { this.logger.warn(e); throw e; });
}

@@ -258,6 +258,6 @@

if(silent)
return task().catch(e => { this.logger.error(e); return [ ]; });
return task().catch(e => { this.logger.warn(e); return [ ]; });
else
return retry(task, { max_tries: this.config.retryCount, interval: this.config.retryTimeout })
.catch(e => { this.logger.error(e); throw e; });
.catch(e => { this.logger.warn(e); throw e; });
}

@@ -264,0 +264,0 @@

{
"name": "@opuscapita/config",
"version": "3.1.3",
"version": "3.1.4",
"description": "Configuration API connector module for OpusCapita Business Network Portal.",

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

"start": "npm run test",
"test": "npm run setupConsul ; npx nyc mocha --exit --timeout 30000 -R mocha-junit-reporter --reporter-options mochaFile=results/integration-test-results.xml,outputs=true",
"test": "npm run setupConsul ; npx nyc mocha --exit --timeout 30000 -R mocha-junit-reporter --reporter-options mochaFile=junit/integration-test-results.xml,outputs=true",
"test-raw": "npm run setupConsul ; npx nyc mocha --exit --timeout 30000",
"setupConsul": "sh ./setup-consul.sh",
"test-coverage": "npm run setupConsul ; npx nyc --reporter=lcov mocha --exit --timeout 20000 && sed -i 's/\\/home\\/node/\\/Users\\/work\\/Documents\\/workspace/g' coverage/lcov.info",
"test-coverage": "npm run setupConsul ; npx nyc --reporter=lcov mocha --exit --timeout 20000",
"upload-coverage": "cat ./coverage/lcov.info | npx coveralls",

@@ -14,0 +14,0 @@ "api-doc": "npx jsdoc2md --files ./lib/* > wiki/Home.md",

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