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.0 to 2.7.1

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

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

@@ -1,6 +0,6 @@

import { type BackgroundingListener, type InternalConfiguration, type Plugin, type SpanFactory } from '@bugsnag/core-performance';
import { type BrowserConfiguration } from '../config';
import { type OnSettle } from '../on-settle';
import { type PerformanceWithTiming } from '../on-settle/load-event-end-settler';
import { type WebVitals } from '../web-vitals';
import type { BackgroundingListener, InternalConfiguration, Plugin, SpanFactory } from '@bugsnag/core-performance';
import type { BrowserConfiguration } from '../config';
import type { OnSettle } from '../on-settle';
import type { PerformanceWithTiming } from '../on-settle/load-event-end-settler';
import type { WebVitals } from '../web-vitals';
export declare class FullPageLoadPlugin implements Plugin<BrowserConfiguration> {

@@ -7,0 +7,0 @@ private readonly spanFactory;

import type { InternalConfiguration, Plugin, SpanContextStorage, SpanFactory } from '@bugsnag/core-performance';
import { type NetworkRequestInfo, type RequestTracker } from '@bugsnag/request-tracker-performance';
import { type BrowserConfiguration } from '../config';
import type { NetworkRequestInfo, RequestTracker } from '@bugsnag/request-tracker-performance';
import type { BrowserConfiguration } from '../config';
export interface BrowserNetworkRequestInfo extends NetworkRequestInfo {

@@ -5,0 +5,0 @@ readonly type: PerformanceResourceTiming['initiatorType'];

import type { SpanContext, SpanFactory } from '@bugsnag/core-performance';
import { type BrowserConfiguration } from '../config';
import { type PerformanceWithTiming } from '../on-settle/load-event-end-settler';
import type { BrowserConfiguration } from '../config';
import type { PerformanceWithTiming } from '../on-settle/load-event-end-settler';
export declare const instrumentPageLoadPhaseSpans: (spanFactory: SpanFactory<BrowserConfiguration>, performance: PerformanceWithTiming, route: string, parentContext: SpanContext) => void;
//# sourceMappingURL=page-load-phase-spans.d.ts.map

@@ -1,3 +0,3 @@

import { type SpanContextStorage, type InternalConfiguration, type Plugin, type SpanFactory } from '@bugsnag/core-performance';
import { type BrowserConfiguration } from '../config';
import type { SpanContextStorage, InternalConfiguration, Plugin, SpanFactory } from '@bugsnag/core-performance';
import type { BrowserConfiguration } from '../config';
export declare function getHttpVersion(protocol: string): string | undefined;

@@ -4,0 +4,0 @@ export declare class ResourceLoadPlugin implements Plugin<BrowserConfiguration> {

@@ -1,3 +0,3 @@

import { type InternalConfiguration, type Plugin, type SpanFactory } from '@bugsnag/core-performance';
import { type BrowserConfiguration } from '../config';
import type { InternalConfiguration, Plugin, SpanFactory } from '@bugsnag/core-performance';
import type { BrowserConfiguration } from '../config';
export declare class RouteChangePlugin implements Plugin<BrowserConfiguration> {

@@ -4,0 +4,0 @@ private readonly spanFactory;

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

import { type BackgroundingListener } from '@bugsnag/core-performance';
import type { BackgroundingListener } from '@bugsnag/core-performance';
interface DocumentForVisibilityState {

@@ -3,0 +3,0 @@ addEventListener: (event: string, callback: () => void) => void;

@@ -1,5 +0,5 @@

import { type Client } from '@bugsnag/core-performance';
import { type BrowserConfiguration } from './config';
import type { Client } from '@bugsnag/core-performance';
import type { BrowserConfiguration } from './config';
import { createDefaultRoutingProvider } from './default-routing-provider';
import { type OnSettlePlugin } from './on-settle';
import type { OnSettlePlugin } from './on-settle';
export declare let onSettle: OnSettlePlugin;

@@ -6,0 +6,0 @@ export declare let DefaultRoutingProvider: ReturnType<typeof createDefaultRoutingProvider>;

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

import { type BackgroundingListener, type Clock } from '@bugsnag/core-performance';
import type { BackgroundingListener, Clock } from '@bugsnag/core-performance';
interface PerformanceTiming {

@@ -3,0 +3,0 @@ navigationStart: number;

@@ -1,6 +0,6 @@

import { type ConfigOption, type Configuration, type CoreSchema } from '@bugsnag/core-performance';
import { type NetworkRequestCallback } from '@bugsnag/request-tracker-performance';
import type { ConfigOption, Configuration, CoreSchema } from '@bugsnag/core-performance';
import type { NetworkRequestCallback } from '@bugsnag/request-tracker-performance';
import type { BrowserNetworkRequestInfo } from './auto-instrumentation';
import { type RoutingProvider } from './routing-provider';
import { type SendPageAttributes } from './send-page-attributes';
import type { RoutingProvider } from './routing-provider';
import type { SendPageAttributes } from './send-page-attributes';
export interface BrowserSchema extends CoreSchema {

@@ -7,0 +7,0 @@ autoInstrumentFullPageLoads: ConfigOption<boolean>;

@@ -1,3 +0,3 @@

import { type OnSettle } from './on-settle';
import { type RouteResolver, type StartRouteChangeCallback } from './routing-provider';
import type { OnSettle } from './on-settle';
import type { RouteResolver, StartRouteChangeCallback } from './routing-provider';
export declare const defaultRouteResolver: RouteResolver;

@@ -4,0 +4,0 @@ export declare const createNoopRoutingProvider: () => {

export { DefaultRoutingProvider, default, onSettle } from './browser';
export { type BrowserConfiguration } from './config';
export type { BrowserConfiguration } from './config';
export type { RouteResolver, RoutingProvider, StartRouteChangeCallback, RouteChangeSpanEndOptions, RouteChangeSpan } from './routing-provider';
export { type SpanOptions, type Time } from '@bugsnag/core-performance';
export type { SpanOptions, Time } from '@bugsnag/core-performance';
//# sourceMappingURL=index.d.ts.map

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

import { type Clock } from '@bugsnag/core-performance';
import type { Clock } from '@bugsnag/core-performance';
import { Settler } from './settler';

@@ -3,0 +3,0 @@ declare class DomMutationSettler extends Settler {

@@ -1,5 +0,5 @@

import { type PerformanceWithTiming } from './load-event-end-settler';
import { type BrowserConfiguration } from '../config';
import { type RequestTracker } from '@bugsnag/request-tracker-performance';
import { type Clock, type Plugin } from '@bugsnag/core-performance';
import type { PerformanceWithTiming } from './load-event-end-settler';
import type { BrowserConfiguration } from '../config';
import type { RequestTracker } from '@bugsnag/request-tracker-performance';
import type { Clock, Plugin } from '@bugsnag/core-performance';
export type OnSettle = (callback: OnSettleCallback) => void;

@@ -6,0 +6,0 @@ export type OnSettleCallback = (settledTime: number) => void;

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

import { type Clock } from '@bugsnag/core-performance';
import type { Clock } from '@bugsnag/core-performance';
import { Settler } from './settler';

@@ -3,0 +3,0 @@ type AddEventListener = (event: string, callback: () => void) => void;

@@ -1,4 +0,4 @@

import { type Clock } from '@bugsnag/core-performance';
import type { Clock } from '@bugsnag/core-performance';
import { Settler } from './settler';
import { type RequestTracker } from '@bugsnag/request-tracker-performance';
import type { RequestTracker } from '@bugsnag/request-tracker-performance';
declare class RequestSettler extends Settler {

@@ -5,0 +5,0 @@ private timeout;

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

import { type Clock } from '@bugsnag/core-performance';
import type { Clock } from '@bugsnag/core-performance';
import { Settler } from './settler';

@@ -3,0 +3,0 @@ /**

@@ -1,3 +0,3 @@

import { type Clock } from '@bugsnag/core-performance';
import { type OnSettleCallback } from '.';
import type { Clock } from '@bugsnag/core-performance';
import type { OnSettleCallback } from '.';
export declare abstract class Settler {

@@ -4,0 +4,0 @@ protected clock: Clock;

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

import { type Persistence } from '@bugsnag/core-performance';
import type { Persistence } from '@bugsnag/core-performance';
interface LocalStorage {

@@ -3,0 +3,0 @@ setItem: (key: string, value: string) => void;

@@ -1,5 +0,5 @@

import { type Persistence, type ResourceAttributeSource } from '@bugsnag/core-performance';
import { type BrowserConfiguration } from './config';
import type { Persistence, ResourceAttributeSource } from '@bugsnag/core-performance';
import type { BrowserConfiguration } from './config';
declare function createResourceAttributesSource(navigator: Navigator, persistence: Persistence): ResourceAttributeSource<BrowserConfiguration>;
export default createResourceAttributesSource;
//# sourceMappingURL=resource-attributes-source.d.ts.map

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

import { type Time, type Span, type SpanOptions } from '@bugsnag/core-performance';
import type { Time, Span, SpanOptions } from '@bugsnag/core-performance';
export type RouteChangeSpanOptions = Omit<SpanOptions, 'isFirstClass'>;

@@ -3,0 +3,0 @@ export type StartRouteChangeCallback = (url: URL | string, trigger: string, options?: RouteChangeSpanOptions) => RouteChangeSpan;

import type { SpanAttributesSource } from '@bugsnag/core-performance';
import { type BrowserConfiguration } from './config';
import type { BrowserConfiguration } from './config';
export declare const createSpanAttributesSource: (document: Document) => SpanAttributesSource<BrowserConfiguration>;
export default createSpanAttributesSource;
//# sourceMappingURL=span-attributes-source.d.ts.map

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

import { type Clock, type SpanInternal } from '@bugsnag/core-performance';
import type { Clock, SpanInternal } from '@bugsnag/core-performance';
interface PerformanceWithNavigationTiming {

@@ -3,0 +3,0 @@ getEntriesByName: typeof performance.getEntriesByName;

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

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

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

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

],
"gitHead": "cf7a8a4b6a1e60bfd6702a12359c48ee31fb634a"
"gitHead": "1358bf6082aa354fd49249c700ca9e486cad3681"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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