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.2.2

10

build/src/auth/envDetect.js

@@ -40,7 +40,9 @@ "use strict";

}
else if (await isKubernetesEngine()) {
env = GCPEnv.KUBERNETES_ENGINE;
}
else if (await isComputeEngine()) {
env = GCPEnv.COMPUTE_ENGINE;
if (await isKubernetesEngine()) {
env = GCPEnv.KUBERNETES_ENGINE;
}
else {
env = GCPEnv.COMPUTE_ENGINE;
}
}

@@ -47,0 +49,0 @@ else {

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

### [5.2.2](https://www.github.com/googleapis/google-auth-library-nodejs/compare/v5.2.1...v5.2.2) (2019-09-17)
### Bug Fixes
* **deps:** update to gcp-metadata and address envDetect performance issues ([#787](https://www.github.com/googleapis/google-auth-library-nodejs/issues/787)) ([651b5d4](https://www.github.com/googleapis/google-auth-library-nodejs/commit/651b5d4))
### [5.2.1](https://www.github.com/googleapis/google-auth-library-nodejs/compare/v5.2.0...v5.2.1) (2019-09-06)

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

4

package.json
{
"name": "google-auth-library",
"version": "5.2.1",
"version": "5.2.2",
"author": "Google Inc.",

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

"gaxios": "^2.0.0",
"gcp-metadata": "^2.0.0",
"gcp-metadata": "^3.0.0",
"gtoken": "^4.0.0",

@@ -27,0 +27,0 @@ "jws": "^3.1.5",