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

@opentelemetry/context-zone-peer-dep

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/context-zone-peer-dep - npm Package Compare versions

Comparing version 0.22.1-alpha.13 to 0.22.1-alpha.14

4

build/esm/ZoneContextManager.d.ts

@@ -27,9 +27,9 @@ import { Context, ContextManager } from '@opentelemetry/api';

/**
* @param context A context (span) to be executed within target function
* @param target Function to be executed within the context
* @param context A context (span) to be executed within target function
*/
private _bindFunction;
/**
* @param context A context (span) to be bind to target
* @param obj target object on which the listeners will be patched
* @param context A context (span) to be bind to target
*/

@@ -36,0 +36,0 @@ private _bindListener;

@@ -48,6 +48,6 @@ /*

/**
* @param context A context (span) to be executed within target function
* @param target Function to be executed within the context
* @param context A context (span) to be executed within target function
*/
ZoneContextManager.prototype._bindFunction = function (target, context) {
ZoneContextManager.prototype._bindFunction = function (context, target) {
var manager = this;

@@ -71,6 +71,6 @@ var contextWrapper = function () {

/**
* @param context A context (span) to be bind to target
* @param obj target object on which the listeners will be patched
* @param context A context (span) to be bind to target
*/
ZoneContextManager.prototype._bindListener = function (obj, context) {
ZoneContextManager.prototype._bindListener = function (context, obj) {
var target = obj;

@@ -183,6 +183,6 @@ if (target.__ot_listeners !== undefined) {

if (typeof target === 'function') {
return this._bindFunction(target, context);
return this._bindFunction(context, target);
}
else if (isListenerObject(target)) {
this._bindListener(target, context);
this._bindListener(context, target);
}

@@ -189,0 +189,0 @@ return target;

@@ -27,9 +27,9 @@ import { Context, ContextManager } from '@opentelemetry/api';

/**
* @param context A context (span) to be executed within target function
* @param target Function to be executed within the context
* @param context A context (span) to be executed within target function
*/
private _bindFunction;
/**
* @param context A context (span) to be bind to target
* @param obj target object on which the listeners will be patched
* @param context A context (span) to be bind to target
*/

@@ -36,0 +36,0 @@ private _bindListener;

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

/**
* @param context A context (span) to be executed within target function
* @param target Function to be executed within the context
* @param context A context (span) to be executed within target function
*/
_bindFunction(target, context) {
_bindFunction(context, target) {
const manager = this;

@@ -69,6 +69,6 @@ const contextWrapper = function (...args) {

/**
* @param context A context (span) to be bind to target
* @param obj target object on which the listeners will be patched
* @param context A context (span) to be bind to target
*/
_bindListener(obj, context) {
_bindListener(context, obj) {
const target = obj;

@@ -180,6 +180,6 @@ if (target.__ot_listeners !== undefined) {

if (typeof target === 'function') {
return this._bindFunction(target, context);
return this._bindFunction(context, target);
}
else if (util_1.isListenerObject(target)) {
this._bindListener(target, context);
this._bindListener(context, target);
}

@@ -186,0 +186,0 @@ return target;

{
"name": "@opentelemetry/context-zone-peer-dep",
"version": "0.22.1-alpha.13+01418978",
"version": "0.22.1-alpha.14+1998542d",
"description": "OpenTelemetry Context Zone with peer dependency for zone.js",

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

"sideEffects": false,
"gitHead": "01418978e5cc15b5ec4d5283ec48910799fe2f06"
"gitHead": "1998542d35a7e0d7f162a4c999ca4c223fa26420"
}

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