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

node-vault-client

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-vault-client - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

6

package.json
{
"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;

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