@opuscapita/config
Advanced tools
Comparing version 3.1.3 to 3.1.4
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39334
1