google-auth-library
Advanced tools
Comparing version
@@ -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 @@ |
{ | ||
"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", |
219275
0.19%4175
0.05%+ Added
- Removed
Updated