Socket
Socket
Sign inDemoInstall

@opentelemetry/context-base

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/context-base - npm Package Compare versions

Comparing version 0.12.1-alpha.54 to 0.13.0

4

build/src/NoopContextManager.d.ts
import * as types from './types';
export declare class NoopContextManager implements types.ContextManager {
active(): types.Context;
with<T extends (...args: unknown[]) => ReturnType<T>>(context: types.Context, fn: T): ReturnType<T>;
bind<T>(target: T, context?: types.Context): T;
with<T extends (...args: unknown[]) => ReturnType<T>>(_context: types.Context, fn: T): ReturnType<T>;
bind<T>(target: T, _context?: types.Context): T;
enable(): this;

@@ -7,0 +7,0 @@ disable(): this;

@@ -26,6 +26,6 @@ "use strict";

};
NoopContextManager.prototype.with = function (context, fn) {
NoopContextManager.prototype.with = function (_context, fn) {
return fn();
};
NoopContextManager.prototype.bind = function (target, context) {
NoopContextManager.prototype.bind = function (target, _context) {
return target;

@@ -32,0 +32,0 @@ };

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

export declare const VERSION = "0.12.1-alpha.54+3f72613a";
export declare const VERSION = "0.13.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.12.1-alpha.54+3f72613a';
exports.VERSION = '0.13.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/context-base",
"version": "0.12.1-alpha.54+3f72613a",
"version": "0.13.0",
"description": "OpenTelemetry Base Context Manager",

@@ -47,5 +47,5 @@ "main": "build/src/index.js",

"devDependencies": {
"@types/mocha": "8.0.2",
"@types/node": "14.0.27",
"codecov": "3.7.2",
"@types/mocha": "8.0.4",
"@types/node": "14.14.10",
"codecov": "3.8.1",
"gts": "2.0.2",

@@ -55,7 +55,7 @@ "mocha": "7.2.0",

"rimraf": "3.0.2",
"ts-mocha": "7.0.0",
"ts-mocha": "8.0.0",
"ts-node": "9.0.0",
"typescript": "3.9.7"
},
"gitHead": "3f72613a36b6f97555a0fa7481755cf8b6cce1a7"
"gitHead": "86cbd6798f9318c5920f9d9055f289a1c3f26500"
}

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