Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/logging

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/logging - npm Package Compare versions

Comparing version 9.5.6 to 9.5.7

22

build/src/utils/metadata.js

@@ -188,12 +188,6 @@ "use strict";

return getCloudFunctionDescriptor().catch(() => getGlobalDescriptor());
case google_auth_library_1.GCPEnv.CLOUD_RUN:
return getCloudRunDescriptor().catch(() => getGlobalDescriptor());
case google_auth_library_1.GCPEnv.COMPUTE_ENGINE:
// Note: GCPEnv.COMPUTE_ENGINE returns `true` for Google Cloud Run
if (process.env.K_CONFIGURATION) {
return getCloudRunDescriptor().catch(() => getGlobalDescriptor());
}
else {
// Test for compute engine should be done after all the rest -
// everything runs on top of compute engine.
return getGCEDescriptor().catch(() => getGlobalDescriptor());
}
return getGCEDescriptor().catch(() => getGlobalDescriptor());
default:

@@ -230,9 +224,7 @@ return getGlobalDescriptor();

};
case google_auth_library_1.GCPEnv.CLOUD_RUN:
return {
service: process.env.K_SERVICE,
};
case google_auth_library_1.GCPEnv.COMPUTE_ENGINE:
// Google Cloud Run
if (process.env.K_CONFIGURATION) {
return {
service: process.env.K_SERVICE,
};
}
return null;

@@ -239,0 +231,0 @@ default:

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

### [9.5.7](https://www.github.com/googleapis/nodejs-logging/compare/v9.5.6...v9.5.7) (2021-09-02)
### Bug Fixes
* Fix detecting Cloud Run logic ([#1145](https://www.github.com/googleapis/nodejs-logging/issues/1145)) ([99c276c](https://www.github.com/googleapis/nodejs-logging/commit/99c276cf0c394200836f3289ff21a4880523a7b5)), closes [#1127](https://www.github.com/googleapis/nodejs-logging/issues/1127)
### [9.5.6](https://www.github.com/googleapis/nodejs-logging/compare/v9.5.5...v9.5.6) (2021-09-01)

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

{
"name": "@google-cloud/logging",
"version": "9.5.6",
"version": "9.5.7",
"description": "Stackdriver Logging Client Library for Node.js",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc