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

@opentelemetry/instrumentation-express

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-express - npm Package Compare versions

Comparing version 0.31.1 to 0.31.2

7

build/src/instrumentation.js

@@ -182,9 +182,6 @@ "use strict";

}
const startTime = core_1.hrTime();
let spanHasEnded = false;
// If we found anything that isnt a middleware, there no point of measuring
// their time since they dont have callback.
if (metadata.attributes[AttributeNames_1.AttributeNames.EXPRESS_TYPE] !==
ExpressLayerType_1.ExpressLayerType.MIDDLEWARE) {
span.end(startTime);
span.end();
spanHasEnded = true;

@@ -196,3 +193,3 @@ }

spanHasEnded = true;
span.end(startTime);
span.end();
}

@@ -199,0 +196,0 @@ };

import { kLayerPatched } from './';
import { Request } from 'express';
import type { Request } from 'express';
import { Span, SpanAttributes } from '@opentelemetry/api';

@@ -4,0 +4,0 @@ import { InstrumentationConfig } from '@opentelemetry/instrumentation';

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

export declare const VERSION = "0.31.1";
export declare const VERSION = "0.31.2";
//# sourceMappingURL=version.d.ts.map

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

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

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

"engines": {
"node": ">=8.12.0"
"node": ">=14"
},

@@ -76,3 +76,3 @@ "files": [

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-express#readme",
"gitHead": "6c754877fd0ad0af3acf13cf10b62066357a75d3"
"gitHead": "35226602b92a7587f16a1eb959e4f3b3948f6e9d"
}

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