Socket
Socket
Sign inDemoInstall

@sentry/core

Package Overview
Dependencies
Maintainers
9
Versions
526
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/core - npm Package Compare versions

Comparing version 4.6.5 to 4.6.6

7

dist/baseclient.d.ts
import { Scope } from '@sentry/hub';
import { Breadcrumb, Integration, IntegrationClass, SentryBreadcrumbHint, SentryEvent, SentryEventHint, SentryResponse, Severity } from '@sentry/types';
import { Breadcrumb, Integration, IntegrationClass, SdkInfo, SentryBreadcrumbHint, SentryEvent, SentryEventHint, SentryResponse, Severity } from '@sentry/types';
import { BackendClass } from './basebackend';

@@ -118,2 +118,7 @@ import { Dsn } from './dsn';

/**
* This function adds all used integrations to the SDK info in the event.
* @param sdkInfo The sdkInfo of the event that will be filled with all integrations.
*/
protected _addIntegrations(sdkInfo?: SdkInfo): void;
/**
* Processes an event (either error or message) and sends it to Sentry.

@@ -120,0 +125,0 @@ *

@@ -246,2 +246,3 @@ "use strict";

}
this._addIntegrations(prepared.sdk);
// This should be the last thing called, since we want that

@@ -257,2 +258,12 @@ // {@link Hub.addEventProcessor} gets the finished prepared event.

/**
* This function adds all used integrations to the SDK info in the event.
* @param sdkInfo The sdkInfo of the event that will be filled with all integrations.
*/
BaseClient.prototype._addIntegrations = function (sdkInfo) {
var integrationsArray = Object.keys(this.integrations);
if (sdkInfo && integrationsArray.length > 0) {
sdkInfo.integrations = integrationsArray;
}
};
/**
* Processes an event (either error or message) and sends it to Sentry.

@@ -259,0 +270,0 @@ *

2

dist/integrations/extraerrordata.js

@@ -73,3 +73,3 @@ "use strict";

if (is_1.isError(value)) {
value = value.name || value.constructor.name;
value = value.toString();
}

@@ -76,0 +76,0 @@ extraErrorInfo[key] = value;

import { Scope } from '@sentry/hub/esm';
import { Breadcrumb, Integration, IntegrationClass, SentryBreadcrumbHint, SentryEvent, SentryEventHint, SentryResponse, Severity } from '@sentry/types/esm';
import { Breadcrumb, Integration, IntegrationClass, SdkInfo, SentryBreadcrumbHint, SentryEvent, SentryEventHint, SentryResponse, Severity } from '@sentry/types/esm';
import { BackendClass } from './basebackend';

@@ -118,2 +118,7 @@ import { Dsn } from './dsn';

/**
* This function adds all used integrations to the SDK info in the event.
* @param sdkInfo The sdkInfo of the event that will be filled with all integrations.
*/
protected _addIntegrations(sdkInfo?: SdkInfo): void;
/**
* Processes an event (either error or message) and sends it to Sentry.

@@ -120,0 +125,0 @@ *

@@ -197,2 +197,3 @@ import { Status, } from '@sentry/types/esm';

}
this._addIntegrations(prepared.sdk);
// This should be the last thing called, since we want that

@@ -206,2 +207,12 @@ // {@link Hub.addEventProcessor} gets the finished prepared event.

/**
* This function adds all used integrations to the SDK info in the event.
* @param sdkInfo The sdkInfo of the event that will be filled with all integrations.
*/
_addIntegrations(sdkInfo) {
const integrationsArray = Object.keys(this.integrations);
if (sdkInfo && integrationsArray.length > 0) {
sdkInfo.integrations = integrationsArray;
}
}
/**
* Processes an event (either error or message) and sends it to Sentry.

@@ -208,0 +219,0 @@ *

@@ -70,3 +70,3 @@ import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub/esm';

if (isError(value)) {
value = value.name || value.constructor.name;
value = value.toString();
}

@@ -73,0 +73,0 @@ extraErrorInfo[key] = value;

{
"name": "@sentry/core",
"version": "4.6.5",
"version": "4.6.6",
"description": "Base implementation for all Sentry JavaScript SDKs",

@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

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