@sentry/utils
Advanced tools
Comparing version 5.4.2 to 5.5.0
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var polyfill_1 = require("./polyfill"); | ||
/** An error emitted by Sentry SDKs and related utilities. */ | ||
@@ -12,3 +13,3 @@ var SentryError = /** @class */ (function (_super) { | ||
_this.name = _newTarget.prototype.constructor.name; | ||
Object.setPrototypeOf(_this, _newTarget.prototype); | ||
polyfill_1.setPrototypeOf(_this, _newTarget.prototype); | ||
return _this; | ||
@@ -15,0 +16,0 @@ } |
@@ -1,4 +0,12 @@ | ||
import { Event, Mechanism } from '@sentry/types'; | ||
import { Event, Integration, Mechanism } from '@sentry/types'; | ||
/** Internal */ | ||
interface SentryGlobal { | ||
Sentry?: { | ||
Integrations?: Integration[]; | ||
}; | ||
SENTRY_ENVIRONMENT?: string; | ||
SENTRY_DSN?: string; | ||
SENTRY_RELEASE?: { | ||
id?: string; | ||
}; | ||
__SENTRY__: { | ||
@@ -5,0 +13,0 @@ globalEventProcessors: any; |
import * as tslib_1 from "tslib"; | ||
import { setPrototypeOf } from './polyfill'; | ||
/** An error emitted by Sentry SDKs and related utilities. */ | ||
@@ -11,3 +12,3 @@ var SentryError = /** @class */ (function (_super) { | ||
_this.name = _newTarget.prototype.constructor.name; | ||
Object.setPrototypeOf(_this, _newTarget.prototype); | ||
setPrototypeOf(_this, _newTarget.prototype); | ||
return _this; | ||
@@ -14,0 +15,0 @@ } |
@@ -1,4 +0,12 @@ | ||
import { Event, Mechanism } from '@sentry/types'; | ||
import { Event, Integration, Mechanism } from '@sentry/types'; | ||
/** Internal */ | ||
interface SentryGlobal { | ||
Sentry?: { | ||
Integrations?: Integration[]; | ||
}; | ||
SENTRY_ENVIRONMENT?: string; | ||
SENTRY_DSN?: string; | ||
SENTRY_RELEASE?: { | ||
id?: string; | ||
}; | ||
__SENTRY__: { | ||
@@ -5,0 +13,0 @@ globalEventProcessors: any; |
{ | ||
"name": "@sentry/utils", | ||
"version": "5.4.2", | ||
"version": "5.5.0", | ||
"description": "Utilities for all Sentry JavaScript SDKs", | ||
@@ -19,3 +19,3 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/types": "5.4.2", | ||
"@sentry/types": "5.5.0", | ||
"tslib": "^1.9.3" | ||
@@ -22,0 +22,0 @@ }, |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
282047
101
3624
+ Added@sentry/types@5.5.0(transitive)
- Removed@sentry/types@5.4.2(transitive)
Updated@sentry/types@5.5.0