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

@opentelemetry/instrumentation-bunyan

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-bunyan - npm Package Compare versions

Comparing version 0.32.2 to 0.33.0

8

build/src/instrumentation.js

@@ -28,3 +28,4 @@ "use strict";

return [
new instrumentation_1.InstrumentationNodeModuleDefinition('bunyan', ['<2.0'], logger => {
new instrumentation_1.InstrumentationNodeModuleDefinition('bunyan', ['<2.0'], (logger, moduleVersion) => {
this._diag.debug(`Applying patch for bunyan@${moduleVersion}`);
// eslint-disable-next-line @typescript-eslint/no-explicit-any

@@ -39,5 +40,6 @@ const proto = logger.prototype;

return logger;
}, logger => {
}, (logger, moduleVersion) => {
if (logger === undefined)
return;
this._diag.debug(`Removing patch for bunyan@${moduleVersion}`);
// eslint-disable-next-line @typescript-eslint/no-explicit-any

@@ -82,3 +84,3 @@ this._unwrap(logger.prototype, '_emit');

if (err) {
api_1.diag.error('bunyan instrumentation: error calling logHook', err);
this._diag.error('error calling logHook', err);
}

@@ -85,0 +87,0 @@ }, true);

@@ -1,2 +0,2 @@

export declare const VERSION = "0.32.2";
export declare const VERSION = "0.33.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.32.2';
exports.VERSION = '0.33.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-bunyan",
"version": "0.32.2",
"version": "0.33.0",
"description": "OpenTelemetry instrumentation for bunyan",

@@ -38,6 +38,3 @@ "main": "build/src/index.js",

"build/src/**/*.js.map",
"build/src/**/*.d.ts",
"doc",
"LICENSE",
"README.md"
"build/src/**/*.d.ts"
],

@@ -68,7 +65,7 @@ "publishConfig": {

"dependencies": {
"@opentelemetry/instrumentation": "^0.44.0",
"@opentelemetry/instrumentation": "^0.45.1",
"@types/bunyan": "1.8.9"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-bunyan#readme",
"gitHead": "a8c225d2febcac561a70ca586d3efd5a84f9f3fa"
"gitHead": "607d375595da3ab51b7f773ac360900121c4361b"
}

Sorry, the diff of this file is not supported yet

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