You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

google-auth-library

Package Overview
Dependencies
Maintainers
1
Versions
169
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
10.2.1
to
10.3.0
+1
-0
build/src/auth/envDetect.d.ts

@@ -7,2 +7,3 @@ export declare enum GCPEnv {

CLOUD_RUN = "CLOUD_RUN",
CLOUD_RUN_JOBS = "CLOUD_RUN_JOBS",
NONE = "NONE"

@@ -9,0 +10,0 @@ }

@@ -27,2 +27,3 @@ "use strict";

GCPEnv["CLOUD_RUN"] = "CLOUD_RUN";
GCPEnv["CLOUD_RUN_JOBS"] = "CLOUD_RUN_JOBS";
GCPEnv["NONE"] = "NONE";

@@ -56,2 +57,5 @@ })(GCPEnv || (exports.GCPEnv = GCPEnv = {}));

}
else if (isCloudRunJob()) {
env = GCPEnv.CLOUD_RUN_JOBS;
}
else {

@@ -80,2 +84,5 @@ env = GCPEnv.COMPUTE_ENGINE;

}
function isCloudRunJob() {
return !!process.env.CLOUD_RUN_JOB;
}
async function isKubernetesEngine() {

@@ -82,0 +89,0 @@ try {

+2
-2
{
"name": "google-auth-library",
"version": "10.2.1",
"version": "10.3.0",
"author": "Google Inc.",

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

"ncp": "^2.0.0",
"nock": "14.0.5",
"nock": "^14.0.5",
"null-loader": "^4.0.0",

@@ -59,0 +59,0 @@ "puppeteer": "^24.0.0",