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

@bugsnag/request-tracker-performance

Package Overview
Dependencies
Maintainers
9
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bugsnag/request-tracker-performance - npm Package Compare versions

Comparing version 2.3.0-alpha.0 to 2.4.0

12

dist/request-tracker.js

@@ -17,8 +17,14 @@ class RequestTracker {

onRequestEnd: (endContext) => {
var _a;
for (const result of results) {
(_a = result === null || result === void 0 ? void 0 : result.onRequestEnd) === null || _a === void 0 ? void 0 : _a.call(result, endContext);
if (result && result.onRequestEnd) {
result.onRequestEnd(endContext);
}
}
},
extraRequestHeaders: results.map(result => result === null || result === void 0 ? void 0 : result.extraRequestHeaders).filter(isDefined)
extraRequestHeaders: results.map((result) => {
if (result && result.extraRequestHeaders) {
return result.extraRequestHeaders;
}
return undefined;
}).filter(isDefined)
};

@@ -25,0 +31,0 @@ }

export interface NetworkRequestInfo {
url: string | null;
/**
* Experimental. Whether to propagate trace context by adding a `traceparent` header to the request.
*/
propagateTraceContext?: boolean;

@@ -4,0 +7,0 @@ }

{
"name": "@bugsnag/request-tracker-performance",
"version": "2.3.0-alpha.0",
"version": "2.4.0",
"description": "BugSnag performance request tracker for monitoring XHR and fetch requests",

@@ -23,3 +23,3 @@ "homepage": "https://www.bugsnag.com/",

"dependencies": {
"@bugsnag/core-performance": "^2.3.0-alpha.0"
"@bugsnag/core-performance": "^2.4.0"
},

@@ -32,3 +32,3 @@ "type": "module",

],
"gitHead": "fde1316da0f448bedbdad6a22f9732d14c07ce61"
"gitHead": "145aaab33c80c3efb898cf657cf3369557bcb468"
}

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