Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-connect

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-connect - npm Package Compare versions

Comparing version 0.35.0 to 0.36.0

4

build/src/instrumentation.d.ts

@@ -7,5 +7,5 @@ import { Span } from '@opentelemetry/api';

/** Connect instrumentation for OpenTelemetry */
export declare class ConnectInstrumentation extends InstrumentationBase<Server> {
export declare class ConnectInstrumentation extends InstrumentationBase {
constructor(config?: InstrumentationConfig);
init(): InstrumentationNodeModuleDefinition<any>[];
init(): InstrumentationNodeModuleDefinition[];
private _patchApp;

@@ -12,0 +12,0 @@ private _patchConstructor;

@@ -34,7 +34,4 @@ "use strict";

return [
new instrumentation_1.InstrumentationNodeModuleDefinition('connect', ['^3.0.0'], (moduleExports, moduleVersion) => {
api_1.diag.debug(`Applying patch for connect@${moduleVersion}`);
new instrumentation_1.InstrumentationNodeModuleDefinition('connect', ['^3.0.0'], moduleExports => {
return this._patchConstructor(moduleExports);
}, (moduleExports, moduleVersion) => {
api_1.diag.debug(`Removing patch for connect@${moduleVersion}`);
}),

@@ -41,0 +38,0 @@ ];

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

export declare const VERSION = "0.35.0";
export declare const VERSION = "0.36.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.35.0';
exports.VERSION = '0.36.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-connect",
"version": "0.35.0",
"version": "0.36.0",
"description": "OpenTelemetry connect automatic instrumentation package.",

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

"@opentelemetry/core": "^1.8.0",
"@opentelemetry/instrumentation": "^0.50.0",
"@opentelemetry/instrumentation": "^0.51.0",
"@opentelemetry/semantic-conventions": "^1.0.0",

@@ -65,3 +65,3 @@ "@types/connect": "3.4.36"

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-connect#readme",
"gitHead": "17a0bc1da3baa472ba9b867eee3c60730cc130fb"
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973"
}

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