New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/logging-winston

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 5.2.0 to 5.2.1

6

build/src/common.d.ts

@@ -31,5 +31,7 @@ import { protos, ServiceContext } from '@google-cloud/logging';

/**
* Default library version to be used if version retrieval fails
* Default library version to be used
* Using release-please annotations to update DEFAULT_INSTRUMENTATION_VERSION with latest version.
* See https://github.com/googleapis/release-please/blob/main/docs/customizing.md#updating-arbitrary-files
*/
export declare const NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION = "5.2.0";
export declare const NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION = "5.2.1";
/*!

@@ -36,0 +38,0 @@ * Gets the current fully qualified trace ID when available from the

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

const mapValues = require("lodash.mapvalues");
const path = require("path");
// Map of npm output levels to Cloud Logging levels.

@@ -56,7 +55,7 @@ const NPM_LEVEL_NAME_TO_CODE = {

/**
* Default library version to be used if version retrieval fails
* Default library version to be used
* Using release-please annotations to update DEFAULT_INSTRUMENTATION_VERSION with latest version.
* See https://github.com/googleapis/release-please/blob/main/docs/customizing.md#updating-arbitrary-files
*/
exports.NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION = '5.2.0'; // {x-release-please-version}
// The variable to hold cached library version
let libraryVersion;
exports.NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION = '5.2.1'; // {x-release-please-version}
/*!

@@ -270,14 +269,5 @@ * Gets the current fully qualified trace ID when available from the

function getNodejsLibraryVersion() {
if (libraryVersion) {
return libraryVersion;
}
try {
libraryVersion = require(path.resolve(__dirname, '../../', 'package.json')).version;
}
catch (err) {
libraryVersion = exports.NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION;
}
return libraryVersion;
return exports.NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION;
}
exports.getNodejsLibraryVersion = getNodejsLibraryVersion;
//# sourceMappingURL=common.js.map

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

## [5.2.1](https://github.com/googleapis/nodejs-logging-winston/compare/v5.2.0...v5.2.1) (2022-11-07)
### Bug Fixes
* Switch instrumentation code to return version stored in NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION ([#764](https://github.com/googleapis/nodejs-logging-winston/issues/764)) ([3e23e5a](https://github.com/googleapis/nodejs-logging-winston/commit/3e23e5aeef1ad8c1084e68d04fc2cf7b457fde34))
## [5.2.0](https://github.com/googleapis/nodejs-logging-winston/compare/v5.1.8...v5.2.0) (2022-11-04)

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

{
"name": "@google-cloud/logging-winston",
"description": "Cloud Logging transport for Winston",
"version": "5.2.0",
"version": "5.2.1",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "author": "Google Inc.",

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