New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

google-auth-library

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-auth-library - npm Package Compare versions

Comparing version

to
5.3.0

4

build/src/auth/jwtclient.js

@@ -129,3 +129,5 @@ "use strict";

const gtoken = this.createGToken();
const token = await gtoken.getToken();
const token = await gtoken.getToken({
forceRefresh: this.isTokenExpiring(),
});
const tokens = {

@@ -132,0 +134,0 @@ access_token: token.access_token,

@@ -7,2 +7,9 @@ # Changelog

## [5.3.0](https://www.github.com/googleapis/google-auth-library-nodejs/compare/v5.2.2...v5.3.0) (2019-09-27)
### Features
* if token expires soon, force refresh ([#794](https://www.github.com/googleapis/google-auth-library-nodejs/issues/794)) ([fecd4f4](https://www.github.com/googleapis/google-auth-library-nodejs/commit/fecd4f4))
### [5.2.2](https://www.github.com/googleapis/google-auth-library-nodejs/compare/v5.2.1...v5.2.2) (2019-09-17)

@@ -9,0 +16,0 @@

{
"name": "google-auth-library",
"version": "5.2.2",
"version": "5.3.0",
"author": "Google Inc.",

@@ -25,3 +25,3 @@ "description": "Google APIs Authentication Client Library for Node.js",

"gcp-metadata": "^3.0.0",
"gtoken": "^4.0.0",
"gtoken": "^4.1.0",
"jws": "^3.1.5",

@@ -28,0 +28,0 @@ "lru-cache": "^5.0.0"