Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-bunyan

Package Overview
Dependencies
Maintainers
3
Versions
32
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.37.0 to 0.38.0

5

build/src/instrumentation.d.ts
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
import { BunyanInstrumentationConfig } from './types';
import type * as BunyanLogger from 'bunyan';
export declare class BunyanInstrumentation extends InstrumentationBase<typeof BunyanLogger> {
export declare class BunyanInstrumentation extends InstrumentationBase {
constructor(config?: BunyanInstrumentationConfig);
protected init(): InstrumentationNodeModuleDefinition<typeof BunyanLogger>[];
protected init(): InstrumentationNodeModuleDefinition[];
getConfig(): BunyanInstrumentationConfig;

@@ -8,0 +7,0 @@ setConfig(config: BunyanInstrumentationConfig): void;

3

build/src/instrumentation.js

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

return [
new instrumentation_1.InstrumentationNodeModuleDefinition('bunyan', ['<2.0'], (module, moduleVersion) => {
this._diag.debug(`Applying patch for bunyan@${moduleVersion}`);
new instrumentation_1.InstrumentationNodeModuleDefinition('bunyan', ['<2.0'], (module) => {
const instrumentation = this;

@@ -39,0 +38,0 @@ const Logger = module[Symbol.toStringTag] === 'Module'

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

export declare const VERSION = "0.37.0";
export declare const VERSION = "0.38.0";
//# sourceMappingURL=version.d.ts.map

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

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

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

"@opentelemetry/resources": "^1.8.0",
"@opentelemetry/sdk-logs": "^0.50.0",
"@opentelemetry/sdk-logs": "^0.51.0",
"@opentelemetry/sdk-trace-base": "^1.8.0",

@@ -67,8 +67,8 @@ "@opentelemetry/sdk-trace-node": "^1.8.0",

"dependencies": {
"@opentelemetry/api-logs": "^0.50.0",
"@opentelemetry/instrumentation": "^0.50.0",
"@opentelemetry/api-logs": "^0.51.0",
"@opentelemetry/instrumentation": "^0.51.0",
"@types/bunyan": "1.8.9"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-bunyan#readme",
"gitHead": "17a0bc1da3baa472ba9b867eee3c60730cc130fb"
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973"
}

Sorry, the diff of this file is not supported yet

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