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

@bugsnag/browser-performance

Package Overview
Dependencies
Maintainers
9
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bugsnag/browser-performance - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

13

dist/auto-instrumentation/full-page-load-plugin.js

@@ -28,3 +28,14 @@ import { getPermittedAttributes } from '../send-page-attributes.js';

}
const span = this.spanFactory.startSpan('[FullPageLoad]', { startTime: 0, parentContext: null });
let parentContext = null;
const traceparentMetaTag = document.querySelector('meta[name="traceparent"]');
if (traceparentMetaTag !== null && traceparentMetaTag.getAttribute('content')) {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const traceparent = traceparentMetaTag.getAttribute('content');
const [, traceId, parentSpanId] = traceparent.split('-');
parentContext = {
traceId,
id: parentSpanId
};
}
const span = this.spanFactory.startSpan('[FullPageLoad]', { startTime: 0, parentContext });
const permittedAttributes = getPermittedAttributes(configuration.sendPageAttributes);

@@ -31,0 +42,0 @@ const url = new URL(this.location.href);

2

dist/resource-attributes-source.js

@@ -8,3 +8,3 @@ import cuid from '@bugsnag/cuid';

return function resourceAttributesSource(config) {
const attributes = new ResourceAttributes(config.releaseStage, config.appVersion, 'bugsnag.performance.browser', '2.5.0');
const attributes = new ResourceAttributes(config.releaseStage, config.appVersion, 'bugsnag.performance.browser', '2.6.0');
attributes.set('browser.user_agent', navigator.userAgent);

@@ -11,0 +11,0 @@ // chromium only

{
"name": "@bugsnag/browser-performance",
"version": "2.5.0",
"version": "2.6.0",
"description": "BugSnag performance monitoring for browsers",

@@ -24,6 +24,6 @@ "homepage": "https://www.bugsnag.com/",

"dependencies": {
"@bugsnag/core-performance": "^2.5.0",
"@bugsnag/core-performance": "^2.6.0",
"@bugsnag/cuid": "^3.1.1",
"@bugsnag/delivery-fetch-performance": "^2.5.0",
"@bugsnag/request-tracker-performance": "^2.5.0"
"@bugsnag/delivery-fetch-performance": "^2.6.0",
"@bugsnag/request-tracker-performance": "^2.6.0"
},

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

],
"gitHead": "e4097fdd6ade57d9643b4b1967f096697f8f2bb3"
"gitHead": "3cd099840baa1acfc9df9c6b1a7dc58891e8b650"
}

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