google-auth-library
Advanced tools
Comparing version 9.4.0 to 9.4.1
@@ -31,3 +31,2 @@ "use strict"; | ||
const fs = require("fs"); | ||
const gaxios_1 = require("gaxios"); | ||
const gcpMetadata = require("gcp-metadata"); | ||
@@ -774,2 +773,3 @@ const os = require("os"); | ||
_GoogleAuth_universeDomain = new WeakMap(), _GoogleAuth_instances = new WeakSet(), _GoogleAuth_getUniverseFromMetadataServer = async function _GoogleAuth_getUniverseFromMetadataServer() { | ||
var _a; | ||
if (!(await this._checkIsGCE())) | ||
@@ -783,3 +783,3 @@ return; | ||
catch (e) { | ||
if (e instanceof gaxios_1.GaxiosError && e.status === 404) { | ||
if (e && ((_a = e === null || e === void 0 ? void 0 : e.response) === null || _a === void 0 ? void 0 : _a.status) === 404) { | ||
universeDomain = authclient_1.DEFAULT_UNIVERSE; | ||
@@ -786,0 +786,0 @@ } |
{ | ||
"name": "google-auth-library", | ||
"version": "9.4.0", | ||
"version": "9.4.1", | ||
"author": "Google Inc.", | ||
@@ -22,3 +22,3 @@ "description": "Google APIs Authentication Client Library for Node.js", | ||
"ecdsa-sig-formatter": "^1.0.11", | ||
"gaxios": "^6.0.0", | ||
"gaxios": "^6.1.1", | ||
"gcp-metadata": "^6.1.0", | ||
@@ -25,0 +25,0 @@ "gtoken": "^7.0.0", |
Sorry, the diff of this file is too big to display
543321
2
- Removedagent-base@7.1.1(transitive)
- Removeddebug@4.3.4(transitive)
- Removedextend@3.0.2(transitive)
- Removedhttps-proxy-agent@7.0.4(transitive)
- Removedis-stream@2.0.1(transitive)
- Removedms@2.1.2(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removeduuid@9.0.1(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
Updatedgaxios@^6.1.1