Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation

Package Overview
Dependencies
Maintainers
4
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0

1

build/src/platform/node/instrumentation.js

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

if (typeof module.patch === 'function') {
module.moduleExports = exports;
return module.patch(exports);

@@ -64,0 +65,0 @@ }

4

build/src/platform/node/instrumentationNodeModuleDefinition.d.ts

@@ -6,6 +6,6 @@ import { InstrumentationModuleDefinition, InstrumentationModuleFile } from './types';

patch?: ((exports: T) => T) | undefined;
unpatch?: (() => void) | undefined;
unpatch?: ((exports: T) => void) | undefined;
files: InstrumentationModuleFile<T>[];
constructor(name: string, supportedVersions: string[], patch?: ((exports: T) => T) | undefined, unpatch?: (() => void) | undefined, files?: InstrumentationModuleFile<T>[]);
constructor(name: string, supportedVersions: string[], patch?: ((exports: T) => T) | undefined, unpatch?: ((exports: T) => void) | undefined, files?: InstrumentationModuleFile<T>[]);
}
//# sourceMappingURL=instrumentationNodeModuleDefinition.d.ts.map

@@ -6,3 +6,3 @@ /**

*/
export declare function safeExecuteInTheMiddle<T>(execute: () => T, onFinish: (e: Error | undefined, result: T | undefined) => void): T;
export declare function safeExecuteInTheMiddle<T>(execute: () => T, onFinish: (e: Error | undefined, result: T | undefined) => void, preventThrowingError?: boolean): T;
/**

@@ -9,0 +9,0 @@ * Checks if certain function has been already wrapped

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

*/
function safeExecuteInTheMiddle(execute, onFinish) {
function safeExecuteInTheMiddle(execute, onFinish, preventThrowingError) {
let error;

@@ -36,3 +36,3 @@ let result;

onFinish(error, result);
if (error) {
if (error && !preventThrowingError) {
// eslint-disable-next-line no-unsafe-finally

@@ -39,0 +39,0 @@ throw error;

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

export declare const VERSION = "0.13.0";
export declare const VERSION = "0.14.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.13.0';
exports.VERSION = '0.14.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation",
"version": "0.13.0",
"version": "0.14.0",
"description": "Base class for node which OpenTelemetry instrumentation modules extend",

@@ -59,3 +59,3 @@ "author": "OpenTelemetry Authors",

"dependencies": {
"@opentelemetry/api": "^0.13.0",
"@opentelemetry/api": "^0.14.0",
"require-in-the-middle": "^5.0.3",

@@ -66,5 +66,5 @@ "semver": "^7.3.2",

"devDependencies": {
"@babel/core": "7.12.9",
"@types/mocha": "8.0.4",
"@types/node": "14.14.10",
"@babel/core": "7.12.10",
"@types/mocha": "8.2.0",
"@types/node": "14.14.12",
"@types/semver": "7.3.4",

@@ -88,12 +88,12 @@ "@types/shimmer": "1.0.1",

"rimraf": "3.0.2",
"sinon": "9.2.1",
"ts-loader": "8.0.11",
"sinon": "9.2.2",
"ts-loader": "8.0.12",
"ts-mocha": "8.0.0",
"ts-node": "9.0.0",
"ts-node": "9.1.1",
"typescript": "3.9.7",
"webpack": "4.44.2",
"webpack-cli": "4.2.0",
"webpack-merge": "5.4.0"
"webpack-merge": "5.6.1"
},
"gitHead": "86cbd6798f9318c5920f9d9055f289a1c3f26500"
"gitHead": "27a8d4530c56257c191468b073669909bf8892a1"
}

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