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
124
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.16.0 to 0.16.1-alpha.11

2

build/src/index.js

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

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -28,0 +28,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -87,5 +87,7 @@ import { Context, ContextManager } from '@opentelemetry/context-base';

* @param fn Callback function
* @param thisArg optional receiver to be used for calling fn
* @param args optional arguments forwarded to fn
*/
with<T extends (...args: unknown[]) => ReturnType<T>>(context: Context | null, fn: () => ReturnType<T>): ReturnType<T>;
with<A extends unknown[], F extends (...args: A) => ReturnType<F>>(context: Context | null, fn: F, thisArg?: ThisParameterType<F>, ...args: A): ReturnType<F>;
}
//# sourceMappingURL=ZoneContextManager.d.ts.map

@@ -204,7 +204,9 @@ "use strict";

* @param fn Callback function
* @param thisArg optional receiver to be used for calling fn
* @param args optional arguments forwarded to fn
*/
with(context, fn) {
with(context, fn, thisArg, ...args) {
const zoneName = this._createZoneName();
const newZone = this._createZone(zoneName, context);
return newZone.run(fn, context);
return newZone.run(fn, thisArg, args);
}

@@ -211,0 +213,0 @@ }

{
"name": "@opentelemetry/context-zone-peer-dep",
"version": "0.16.0",
"version": "0.16.1-alpha.11+70a128ff",
"description": "OpenTelemetry Context Zone with peer dependency for zone.js",

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

"codecov": "3.8.1",
"gts": "2.0.2",
"gts": "3.1.0",
"istanbul-instrumenter-loader": "3.0.1",

@@ -68,3 +68,3 @@ "karma": "5.2.3",

"ts-node": "9.1.1",
"typescript": "3.9.7",
"typescript": "4.1.3",
"webpack": "4.46.0",

@@ -75,3 +75,3 @@ "webpack-cli": "4.3.1",

"dependencies": {
"@opentelemetry/context-base": "^0.16.0"
"@opentelemetry/context-base": "^0.16.1-alpha.11+70a128ff"
},

@@ -82,3 +82,3 @@ "peerDependencies": {

"sideEffects": false,
"gitHead": "e68863f8e63854b08ad13fb54677294ac6d6b681"
"gitHead": "70a128ff5dca16060ca7c2cff943369ae9999c34"
}

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