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.1.1 to 4.2.0

4

dist/index.d.ts

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

Vue: typeof BrowserIntegrations.Vue;
getIntegrationsToSetup(options: import("@sentry/core/dist/interfaces").Options): import("@sentry/types").Integration[];
setupIntegration(integration: import("@sentry/types").Integration, options: import("@sentry/core/dist/interfaces").Options): void;
setupIntegrations<O extends import("@sentry/core/dist/interfaces").Options>(options: O): CoreIntegrations.IntegrationIndex;
Dedupe: typeof CoreIntegrations.Dedupe;

@@ -26,3 +29,4 @@ FunctionToString: typeof CoreIntegrations.FunctionToString;

RewriteFrames: typeof CoreIntegrations.RewriteFrames;
installedIntegrations: string[];
};
export { INTEGRATIONS as Integrations, Transports };

15

dist/integrations/breadcrumbs.d.ts

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

import { Integration } from '@sentry/types';
import { BrowserOptions } from '../backend';
import { Breadcrumb, Integration, SentryBreadcrumbHint } from '@sentry/types';
/** JSDoc */

@@ -28,2 +27,6 @@ export interface SentryWrappedXMLHttpRequest extends XMLHttpRequest {

name: string;
/**
* @inheritDoc
*/
static id: string;
/** JSDoc */

@@ -48,2 +51,8 @@ private readonly options;

/**
* Helper that checks if integration is enabled on the client.
* @param breadcrumb Breadcrumb
* @param hint SentryBreadcrumbHint
*/
static addBreadcrumb(breadcrumb: Breadcrumb, hint?: SentryBreadcrumbHint): void;
/**
* Instrument browser built-ins w/ breadcrumb capturing

@@ -56,4 +65,4 @@ * - Console API

*/
install(options?: BrowserOptions): void;
setupOnce(): void;
}
export {};

@@ -13,2 +13,6 @@ import { Integration } from '@sentry/types';

name: string;
/**
* @inheritDoc
*/
static id: string;
/** JSDoc */

@@ -21,3 +25,3 @@ private readonly options;

*/
install(): void;
setupOnce(): void;
/** JSDoc */

@@ -24,0 +28,0 @@ private eventFromGlobalHandler;

@@ -17,2 +17,6 @@ import { Integration, SentryEvent, SentryEventHint, SentryException } from '@sentry/types';

*/
static id: string;
/**
* @inheritDoc
*/
private readonly key;

@@ -33,3 +37,3 @@ /**

*/
install(): void;
setupOnce(): void;
/**

@@ -36,0 +40,0 @@ * @inheritDoc

@@ -11,2 +11,6 @@ import { Integration } from '@sentry/types';

*/
static id: string;
/**
* @inheritDoc
*/
private readonly Ember;

@@ -22,3 +26,3 @@ /**

*/
install(): void;
setupOnce(): void;
/**

@@ -25,0 +29,0 @@ * Appends SDK integrations

@@ -11,2 +11,6 @@ import { Integration } from '@sentry/types';

*/
static id: string;
/**
* @inheritDoc
*/
private readonly Vue;

@@ -24,3 +28,3 @@ /**

*/
install(): void;
setupOnce(): void;
}

@@ -55,2 +55,6 @@ import { Integration } from '@sentry/types';

*/
static id: string;
/**
* @inheritDoc
*/
constructor(options?: {

@@ -62,3 +66,3 @@ types?: ReportTypes[];

*/
install(): void;
setupOnce(): void;
/**

@@ -65,0 +69,0 @@ * @inheritDoc

@@ -10,2 +10,6 @@ import { Integration } from '@sentry/types';

name: string;
/**
* @inheritDoc
*/
static id: string;
/** JSDoc */

@@ -21,3 +25,3 @@ private wrapTimeFunction;

*/
install(): void;
setupOnce(): void;
}

@@ -11,3 +11,7 @@ import { Integration } from '@sentry/types';

*/
install(): void;
static id: string;
/**
* @inheritDoc
*/
setupOnce(): void;
}

@@ -49,3 +49,3 @@ import { Integrations as CoreIntegrations } from '@sentry/core';

*/
export declare function init(options: BrowserOptions): void;
export declare function init(options?: BrowserOptions): void;
/**

@@ -52,0 +52,0 @@ * Present the user with a report dialog.

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

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

"dependencies": {
"@sentry/core": "4.1.1",
"@sentry/types": "4.1.0",
"@sentry/utils": "4.1.1"
"@sentry/core": "4.2.0",
"@sentry/types": "4.2.0",
"@sentry/utils": "4.2.0"
},

@@ -46,2 +46,3 @@ "devDependencies": {

"rollup-plugin-npm": "^2.0.0",
"rollup-plugin-shim": "^1.0.0",
"rollup-plugin-typescript2": "^0.13.0",

@@ -48,0 +49,0 @@ "rollup-plugin-uglify": "^3.0.0",

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