node-vault-client
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "node-vault-client", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "", | ||
@@ -14,4 +14,3 @@ "engines": { | ||
"test": "mocha test/**/*.test.js", | ||
"test-ci": "npm install autochecker -q --no-progress && autochecker 5-wheezy 6-wheezy 7-wheezy", | ||
"preversion": "npm run test-ci", | ||
"test-ci": "MOCHA_FILE=./report/mocha.xml mocha test/**/*.test.js --reporter mocha-junit-reporter", | ||
"version": "git add -A ." | ||
@@ -43,2 +42,3 @@ }, | ||
"mocha": "^3.2.0", | ||
"mocha-junit-reporter": "^1.13.0", | ||
"sinon": "^2.3.4", | ||
@@ -45,0 +45,0 @@ "sinon-chai": "^2.11.0" |
@@ -35,3 +35,2 @@ 'use strict'; | ||
getAuthToken() { | ||
this._log.info('getting auth token (mount=%s)', this._mount); | ||
if (this.__authToken === null || (this.__authToken instanceof AuthToken && this.__authToken.isExpired() && this._reauthenticationAllowed())) { | ||
@@ -42,2 +41,4 @@ if (this.__authToken !== null && this.__authToken.isExpired() && !this._reauthenticationAllowed()) { | ||
this._log.info('getting auth token (mount=%s)', this._mount); | ||
const tokenPromise = this._authenticate().then(authToken => { | ||
@@ -44,0 +45,0 @@ this.__authToken = authToken; |
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
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
28169
0
9