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

@opentelemetry/instrumentation

Package Overview
Dependencies
Maintainers
4
Versions
128
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.11.1-alpha.44 to 0.11.1-alpha.53

9

build/src/types.d.ts

@@ -43,2 +43,11 @@ import { Logger, MeterProvider, TracerProvider } from '@opentelemetry/api';

}
/**
* This interface defines the params that are be added to the wrapped function
* using the "shimmer.wrap"
*/
export interface ShimWrapped {
__wrapped: boolean;
__unwrap: Function;
__original: Function;
}
//# sourceMappingURL=types.d.ts.map

@@ -7,2 +7,7 @@ /**

export declare function safeExecuteInTheMiddle<T>(execute: () => T, onFinish: (e: Error | undefined, result: T | undefined) => void): T;
/**
* Checks if certain function has been already wrapped
* @param func
*/
export declare function isWrapped(func: any): boolean;
//# sourceMappingURL=utils.d.ts.map

13

build/src/utils.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.safeExecuteInTheMiddle = void 0;
exports.isWrapped = exports.safeExecuteInTheMiddle = void 0;
/**

@@ -45,2 +45,13 @@ * function to execute patched function and being able to catch errors

exports.safeExecuteInTheMiddle = safeExecuteInTheMiddle;
/**
* Checks if certain function has been already wrapped
* @param func
*/
function isWrapped(func) {
return (typeof func === 'function' &&
typeof func.__original === 'function' &&
typeof func.__unwrap === 'function' &&
func.__wrapped === true);
}
exports.isWrapped = isWrapped;
//# sourceMappingURL=utils.js.map

2

build/src/version.d.ts

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

export declare const VERSION = "0.11.1-alpha.44+240f852c";
export declare const VERSION = "0.11.1-alpha.53+00a8ce7f";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.11.1-alpha.44+240f852c';
exports.VERSION = '0.11.1-alpha.53+00a8ce7f';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation",
"version": "0.11.1-alpha.44+240f852c",
"version": "0.11.1-alpha.53+00a8ce7f",
"description": "Base class for node which OpenTelemetry instrumentation modules extend",

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

"dependencies": {
"@opentelemetry/api": "^0.11.1-alpha.44+240f852c",
"@opentelemetry/api": "^0.11.1-alpha.53+00a8ce7f",
"require-in-the-middle": "^5.0.3",

@@ -96,3 +96,3 @@ "semver": "^7.3.2",

},
"gitHead": "240f852cc41707c751f28811b7ce3d243382e3dd"
"gitHead": "00a8ce7f982ea24bcd4bc398477112894078ab29"
}

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