@google-cloud/common
Advanced tools
Comparing version 0.13.2 to 0.13.3
{ | ||
"name": "@google-cloud/common", | ||
"version": "0.13.2", | ||
"version": "0.13.3", | ||
"author": "Google Inc.", | ||
@@ -5,0 +5,0 @@ "description": "Common components for Cloud APIs Node.js Client Libraries", |
@@ -65,2 +65,13 @@ /*! | ||
this.Promise = options.promise || Promise; | ||
var isCloudFunctionEnv = !!process.env.FUNCTION_NAME; | ||
if (isCloudFunctionEnv) { | ||
this.interceptors.push({ | ||
request: function(reqOpts) { | ||
reqOpts.forever = false; | ||
return reqOpts; | ||
} | ||
}); | ||
} | ||
} | ||
@@ -67,0 +78,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68315
1632
4
1