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.7.1 to 2.8.0

6

dist/config.js

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

import { schema, isBoolean, isStringOrRegExpArray } from '@bugsnag/core-performance';
import { schema, isBoolean, isStringOrRegExpArray, isStringWithLength } from '@bugsnag/core-performance';
import { defaultNetworkRequestCallback, isNetworkRequestCallback } from '@bugsnag/request-tracker-performance';

@@ -39,2 +39,6 @@ import { isRoutingProvider } from './routing-provider.js';

validate: isSendPageAttributes
}, serviceName: {
defaultValue: 'unknown_service',
message: 'should be a string',
validate: isStringWithLength
} });

@@ -41,0 +45,0 @@ }

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.7.1');
const attributes = new ResourceAttributes(config.releaseStage, config.appVersion, config.serviceName, 'bugsnag.performance.browser', '2.8.0');
attributes.set('browser.user_agent', navigator.userAgent);

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

@@ -15,2 +15,3 @@ import type { ConfigOption, Configuration, CoreSchema } from '@bugsnag/core-performance';

sendPageAttributes: ConfigOption<SendPageAttributes>;
serviceName: ConfigOption<string>;
}

@@ -26,4 +27,5 @@ export interface BrowserConfiguration extends Configuration {

sendPageAttributes?: SendPageAttributes;
serviceName?: string;
}
export declare function createSchema(hostname: string, defaultRoutingProvider: RoutingProvider): BrowserSchema;
//# sourceMappingURL=config.d.ts.map
{
"name": "@bugsnag/browser-performance",
"version": "2.7.1",
"version": "2.8.0",
"description": "BugSnag performance monitoring for browsers",

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

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

@@ -39,3 +39,3 @@ "devDependencies": {

],
"gitHead": "1358bf6082aa354fd49249c700ca9e486cad3681"
"gitHead": "39754ecb88063ec84edb031202820545950725de"
}

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