Socket
Socket
Sign inDemoInstall

@sentry/browser

Package Overview
Dependencies
Maintainers
8
Versions
534
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/browser - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

dist/integrations/useragent.d.ts

5

dist/backend.d.ts

@@ -9,7 +9,2 @@ import { BaseBackend, Options } from '@sentry/core';

/**
* A pattern for error messages which should not be sent to Sentry. By
* default, all errors will be sent.
*/
ignoreErrors?: Array<string | RegExp>;
/**
* A pattern for error URLs which should not be sent to Sentry.

@@ -16,0 +11,0 @@ * To whitelist certain errors instead, use {@link Options.whitelistUrls}.

8

dist/client.d.ts

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

import { BaseClient } from '@sentry/core';
import { DsnLike } from '@sentry/types';
import { BaseClient, Scope } from '@sentry/core';
import { DsnLike, SentryEvent, SentryEventHint } from '@sentry/types';
import { BrowserBackend, BrowserOptions } from './backend';

@@ -17,2 +17,6 @@ /**

constructor(options: BrowserOptions);
/**
* @inheritDoc
*/
protected prepareEvent(event: SentryEvent, scope?: Scope, hint?: SentryEventHint): Promise<SentryEvent | null>;
/** JSDoc */

@@ -19,0 +23,0 @@ showReportDialog(options: {

@@ -12,14 +12,15 @@ export { Breadcrumb, Request, SdkInfo, SentryEvent, SentryException, SentryResponse, Severity, StackFrame, Stacktrace, Status, Thread, User, } from '@sentry/types';

GlobalHandlers: typeof BrowserIntegrations.GlobalHandlers;
Dedupe: typeof BrowserIntegrations.Dedupe;
FunctionToString: typeof BrowserIntegrations.FunctionToString;
TryCatch: typeof BrowserIntegrations.TryCatch;
Breadcrumbs: typeof BrowserIntegrations.Breadcrumbs;
LinkedErrors: typeof BrowserIntegrations.LinkedErrors;
SDKInformation: typeof BrowserIntegrations.SDKInformation;
InboundFilters: typeof BrowserIntegrations.InboundFilters;
ReportingObserver: typeof BrowserIntegrations.ReportingObserver;
UserAgent: typeof BrowserIntegrations.UserAgent;
Ember: typeof BrowserIntegrations.Ember;
Vue: typeof BrowserIntegrations.Vue;
Dedupe: typeof CoreIntegrations.Dedupe;
FunctionToString: typeof CoreIntegrations.FunctionToString;
SDKInformation: typeof CoreIntegrations.SDKInformation;
InboundFilters: typeof CoreIntegrations.InboundFilters;
Debug: typeof CoreIntegrations.Debug;
};
export { INTEGRATIONS as Integrations, Transports };
export { GlobalHandlers } from './globalhandlers';
export { Dedupe } from './dedupe';
export { FunctionToString } from './functiontostring';
export { TryCatch } from './trycatch';
export { Breadcrumbs } from './breadcrumbs';
export { LinkedErrors } from './linkederrors';
export { SDKInformation } from './sdkinformation';
export { InboundFilters } from './inboundfilters';
export { ReportingObserver } from './reportingobserver';
export { UserAgent } from './useragent';
export { Ember } from './pluggable/ember';
export { Vue } from './pluggable/vue';

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

import { Integrations as CoreIntegrations } from '@sentry/core';
import { DsnLike } from '@sentry/types';
import { BrowserOptions } from './backend';
import { Breadcrumbs, Dedupe, FunctionToString, GlobalHandlers, InboundFilters, LinkedErrors, ReportingObserver, SDKInformation, TryCatch } from './integrations';
export declare const defaultIntegrations: (Dedupe | FunctionToString | TryCatch | Breadcrumbs | GlobalHandlers | LinkedErrors | ReportingObserver | SDKInformation | InboundFilters)[];
import { Breadcrumbs, GlobalHandlers, LinkedErrors, ReportingObserver, TryCatch, UserAgent } from './integrations';
export declare const defaultIntegrations: (CoreIntegrations.Dedupe | CoreIntegrations.InboundFilters | CoreIntegrations.FunctionToString | CoreIntegrations.SDKInformation | TryCatch | Breadcrumbs | GlobalHandlers | ReportingObserver | LinkedErrors | UserAgent)[];
/**

@@ -6,0 +7,0 @@ * The Sentry Browser SDK Client.

export declare const SDK_NAME = "sentry.javascript.browser";
export declare const SDK_VERSION = "4.0.2";
export declare const SDK_VERSION = "4.0.3";
{
"name": "@sentry/browser",
"version": "4.0.2",
"version": "4.0.3",
"description": "Offical Sentry SDK for browsers",

@@ -18,3 +18,3 @@ "repository": "git://github.com/getsentry/raven-js.git",

"dependencies": {
"@sentry/core": "4.0.1",
"@sentry/core": "4.0.3",
"@sentry/types": "4.0.1",

@@ -21,0 +21,0 @@ "@sentry/utils": "4.0.1",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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