Socket
Socket
Sign inDemoInstall

@google-cloud/logging-bunyan

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/logging-bunyan - npm Package Compare versions

Comparing version 4.1.4 to 4.1.5

4

build/src/index.d.ts

@@ -43,2 +43,6 @@ /*!

/**
* Default library version to be used if version retrieval fails
*/
export declare const NODEJS_BUNYAN_DEFAULT_LIBRARY_VERSION = "unknown";
/**
* Gets the current fully qualified trace ID when available from the

@@ -45,0 +49,0 @@ * @google-cloud/trace-agent library in the LogEntry.trace field format of:

@@ -18,3 +18,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.LoggingBunyan = exports.getCurrentTraceFromAgent = exports.LOGGING_SAMPLED_KEY = exports.LOGGING_SPAN_KEY = exports.LOGGING_TRACE_KEY = exports.express = void 0;
exports.LoggingBunyan = exports.getCurrentTraceFromAgent = exports.NODEJS_BUNYAN_DEFAULT_LIBRARY_VERSION = exports.LOGGING_SAMPLED_KEY = exports.LOGGING_SPAN_KEY = exports.LOGGING_TRACE_KEY = exports.express = void 0;
const stream_1 = require("stream");

@@ -53,2 +53,6 @@ const express = require("./middleware/express");

exports.LOGGING_SAMPLED_KEY = 'logging.googleapis.com/trace_sampled';
/**
* Default library version to be used if version retrieval fails
*/
exports.NODEJS_BUNYAN_DEFAULT_LIBRARY_VERSION = 'unknown';
// The variable to hold cached library version

@@ -384,3 +388,8 @@ let libraryVersion;

}
libraryVersion = require(path.resolve(__dirname, '../../', 'package.json')).version;
try {
libraryVersion = require(path.resolve(__dirname, '../../', 'package.json')).version;
}
catch (err) {
libraryVersion = exports.NODEJS_BUNYAN_DEFAULT_LIBRARY_VERSION;
}
return libraryVersion;

@@ -387,0 +396,0 @@ }

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

## [4.1.5](https://github.com/googleapis/nodejs-logging-bunyan/compare/v4.1.4...v4.1.5) (2022-11-01)
### Bug Fixes
* Prevent instrumentation crash and fix the system test ([#666](https://github.com/googleapis/nodejs-logging-bunyan/issues/666)) ([4e12496](https://github.com/googleapis/nodejs-logging-bunyan/commit/4e12496589123995ebf8e1c54a613c1d2ed565c5))
## [4.1.4](https://github.com/googleapis/nodejs-logging-bunyan/compare/v4.1.3...v4.1.4) (2022-10-12)

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

6

package.json
{
"name": "@google-cloud/logging-bunyan",
"description": "Cloud Logging stream for Bunyan",
"version": "4.1.4",
"version": "4.1.5",
"license": "Apache-2.0",

@@ -54,3 +54,3 @@ "author": "Google Inc.",

"dependencies": {
"@google-cloud/logging": "^10.1.11",
"@google-cloud/logging": "^10.2.2",
"google-auth-library": "^8.0.2"

@@ -63,3 +63,3 @@ },

"@types/mocha": "^9.0.0",
"@types/node": "^16.0.0",
"@types/node": "^18.0.0",
"@types/proxyquire": "^1.3.28",

@@ -66,0 +66,0 @@ "@types/uuid": "^8.0.0",

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