Socket
Socket
Sign inDemoInstall

@sentry/integrations

Package Overview
Dependencies
Maintainers
9
Versions
385
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/integrations - npm Package Compare versions

Comparing version 5.0.6 to 5.0.7

build/captureconsole.js

8

build/angular.js

@@ -72,2 +72,7 @@ (function (__window) {

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -87,3 +92,2 @@ *

*/
// tslint:disable:strict-type-predicates
function getGlobalObject() {

@@ -101,3 +105,3 @@ return (isNodeEnv()

var global = getGlobalObject();
var levels = ['debug', 'info', 'warn', 'error', 'log'];
var levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];
if (!('console' in global)) {

@@ -104,0 +108,0 @@ return callback();

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

!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};var i=function(){return(i=Object.assign||function(n){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}).apply(this,arguments)};!function(n){function t(t){var r=this.constructor,i=n.call(this,t)||this;return i.message=t,i.name=r.prototype.constructor.name,Object.setPrototypeOf(i,r.prototype),i}(function(n,t){function i(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)})(t,n)}(Error);var o={};function e(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function u(n){var t=e();if(!("console"in t))return n();var r=t.console,i={};["debug","info","warn","error","log"].forEach(function(n){n in t.console&&r[n].i&&(i[n]=r[n].o,r[n]=r[n].u)});var o=n();return Object.keys(i).forEach(function(n){r[n]=i[n]}),o}var c=e(),f="Sentry Logger ",a=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){c.console.log(f+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){c.console.warn(f+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){c.console.error(f+"[Error]: "+n.join(" "))})},n}();c.v=c.v||{};var s;c.v.logger||(c.v.logger=new a);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(s||(s={}));var v=/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.*?)\n?(\S+)$/,h=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this.h=t.angular||e().angular}return n.prototype.setupOnce=function(t,r){var i=this;this.h?(this.l=r,this.h.module(n.moduleName,[]).config(["$provide",function(n){n.decorator("$exceptionHandler",["$delegate",i.g.bind(i)])}])):console.error("AngularIntegration is missing an Angular instance")},n.prototype.g=function(t){var r=this;return function(o,e){var u=r.l&&r.l();u&&u.getIntegration(n)&&u.withScope(function(n){e&&n.setExtra("cause",e),n.addEventProcessor(function(n){var t=n.exception&&n.exception.values&&n.exception.values[0];if(t){var r=v.exec(t.value||"");r&&(t.type=r[1],t.value=r[2],n.message=t.type+": "+t.value,n.extra=i({},n.extra,{angularDocs:r[3].substr(0,250)}))}return n}),u.captureException(o)}),t(o,e)}},n.id="AngularJS",n.moduleName="ngSentry",n}();t.Angular=h,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};var i=function(){return(i=Object.assign||function(n){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n}).apply(this,arguments)};!function(n){function t(t){var r=this.constructor,i=n.call(this,t)||this;return i.message=t,i.name=r.prototype.constructor.name,Object.setPrototypeOf(i,r.prototype),i}(function(n,t){function i(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)})(t,n)}(Error);var o={};function e(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function u(n){var t=e();if(!("console"in t))return n();var r=t.console,i={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&r[n].i&&(i[n]=r[n].o,r[n]=r[n].u)});var o=n();return Object.keys(i).forEach(function(n){r[n]=i[n]}),o}var c=e(),f="Sentry Logger ",a=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){c.console.log(f+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){c.console.warn(f+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){c.console.error(f+"[Error]: "+n.join(" "))})},n}();c.v=c.v||{};var s;c.v.logger||(c.v.logger=new a);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(s||(s={}));var v=/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.*?)\n?(\S+)$/,h=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this.h=t.angular||e().angular}return n.prototype.setupOnce=function(t,r){var i=this;this.h?(this.l=r,this.h.module(n.moduleName,[]).config(["$provide",function(n){n.decorator("$exceptionHandler",["$delegate",i.g.bind(i)])}])):console.error("AngularIntegration is missing an Angular instance")},n.prototype.g=function(t){var r=this;return function(o,e){var u=r.l&&r.l();u&&u.getIntegration(n)&&u.withScope(function(n){e&&n.setExtra("cause",e),n.addEventProcessor(function(n){var t=n.exception&&n.exception.values&&n.exception.values[0];if(t){var r=v.exec(t.value||"");r&&(t.type=r[1],t.value=r[2],n.message=t.type+": "+t.value,n.extra=i({},n.extra,{angularDocs:r[3].substr(0,250)}))}return n}),u.captureException(o)}),t(o,e)}},n.id="AngularJS",n.moduleName="ngSentry",n}();t.Angular=h,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
//# sourceMappingURL=angular.min.js.map

@@ -22,3 +22,17 @@ (function (__window) {

***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
function __extends(d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
var __assign = function() {

@@ -35,3 +49,166 @@ __assign = Object.assign || function __assign(t) {

/** An error emitted by Sentry SDKs and related utilities. */
var SentryError = /** @class */ (function (_super) {
__extends(SentryError, _super);
function SentryError(message) {
var _newTarget = this.constructor;
var _this = _super.call(this, message) || this;
_this.message = message;
// tslint:disable:no-unsafe-any
_this.name = _newTarget.prototype.constructor.name;
Object.setPrototypeOf(_this, _newTarget.prototype);
return _this;
}
return SentryError;
}(Error));
/**
* Checks whether given value's type is one of a few Error or Error-like
* {@link isError}.
*
* @param wat A value to be checked.
* @returns A boolean representing the result.
*/
/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment
*
* @returns Answer to given question
*/
function isNodeEnv() {
// tslint:disable:strict-type-predicates
return Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';
}
var fallbackGlobalObject = {};
/**
* Safely get global scope object
*
* @returns Global scope object
*/
function getGlobalObject() {
return (isNodeEnv()
? global
: typeof window !== 'undefined'
? window
: typeof self !== 'undefined'
? self
: fallbackGlobalObject);
}
/** JSDoc */
function consoleSandbox(callback) {
var global = getGlobalObject();
var levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];
if (!('console' in global)) {
return callback();
}
var originalConsole = global.console;
var wrappedLevels = {};
// Restore all wrapped console methods
levels.forEach(function (level) {
if (level in global.console && originalConsole[level].__sentry__) {
wrappedLevels[level] = originalConsole[level].__sentry_wrapped__;
originalConsole[level] = originalConsole[level].__sentry_original__;
}
});
// Perform callback manipulations
var result = callback();
// Revert restoration to wrapped state
Object.keys(wrappedLevels).forEach(function (level) {
originalConsole[level] = wrappedLevels[level];
});
return result;
}
// TODO: Implement different loggers for different environments
var global$1 = getGlobalObject();
/** Prefix for logging strings */
var PREFIX = 'Sentry Logger ';
/** JSDoc */
var Logger = /** @class */ (function () {
/** JSDoc */
function Logger() {
this._enabled = false;
}
/** JSDoc */
Logger.prototype.disable = function () {
this._enabled = false;
};
/** JSDoc */
Logger.prototype.enable = function () {
this._enabled = true;
};
/** JSDoc */
Logger.prototype.log = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
if (!this._enabled) {
return;
}
consoleSandbox(function () {
global$1.console.log(PREFIX + "[Log]: " + args.join(' ')); // tslint:disable-line:no-console
});
};
/** JSDoc */
Logger.prototype.warn = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
if (!this._enabled) {
return;
}
consoleSandbox(function () {
global$1.console.warn(PREFIX + "[Warn]: " + args.join(' ')); // tslint:disable-line:no-console
});
};
/** JSDoc */
Logger.prototype.error = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
if (!this._enabled) {
return;
}
consoleSandbox(function () {
global$1.console.error(PREFIX + "[Error]: " + args.join(' ')); // tslint:disable-line:no-console
});
};
return Logger;
}());
// Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used
global$1.__SENTRY__ = global$1.__SENTRY__ || {};
var logger = global$1.__SENTRY__.logger || (global$1.__SENTRY__.logger = new Logger());
// tslint:disable:no-unsafe-any
// Slightly modified (no IE8 support, ES6) and transcribed to TypeScript
/**
* Truncates given string to the maximum characters count
*
* @param str An object that contains serializable values
* @param max Maximum number of characters in truncated string
* @returns string Encoded
*/
/** JSDoc */
var States;
(function (States) {
/** JSDoc */
States["PENDING"] = "PENDING";
/** JSDoc */
States["RESOLVED"] = "RESOLVED";
/** JSDoc */
States["REJECTED"] = "REJECTED";
})(States || (States = {}));
/** JSDoc */
var Debug = /** @class */ (function () {

@@ -60,14 +237,16 @@ /**

}
if (self._options.stringify) {
console.log(JSON.stringify(event, null, 2));
if (hint) {
console.log(JSON.stringify(hint, null, 2));
consoleSandbox(function () {
if (self._options.stringify) {
console.log(JSON.stringify(event, null, 2));
if (hint) {
console.log(JSON.stringify(hint, null, 2));
}
}
}
else {
console.log(event);
if (hint) {
console.log(hint);
else {
console.log(event);
if (hint) {
console.log(hint);
}
}
}
});
}

@@ -74,0 +253,0 @@ return event;

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

!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var e=function(){return(e=Object.assign||function(n){for(var t,e=1,o=arguments.length;e<o;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}).apply(this,arguments)},o=function(){function n(t){this.name=n.id,this.o=e({debugger:!1,stringify:!1},t)}return n.prototype.setupOnce=function(t,e){t(function(t,o){var r=e().getIntegration(n);return r&&(r.o.debugger,r.o.stringify?(console.log(JSON.stringify(t,null,2)),o&&console.log(JSON.stringify(o,null,2))):(console.log(t),o&&console.log(o))),t})},n.id="Debug",n}();t.Debug=o,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var o=function(n,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o])})(n,t)};var r=function(){return(r=Object.assign||function(n){for(var t,o=1,r=arguments.length;o<r;o++)for(var i in t=arguments[o])Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}).apply(this,arguments)};!function(n){function t(t){var o=this.constructor,r=n.call(this,t)||this;return r.message=t,r.name=o.prototype.constructor.name,Object.setPrototypeOf(r,o.prototype),r}(function(n,t){function r(){this.constructor=n}o(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)})(t,n)}(Error);var i={};function e(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function u(n){var t=e();if(!("console"in t))return n();var o=t.console,r={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&o[n].o&&(r[n]=o[n].i,o[n]=o[n].u)});var i=n();return Object.keys(r).forEach(function(n){o[n]=r[n]}),i}var c=e(),f="Sentry Logger ",s=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){c.console.log(f+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){c.console.warn(f+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){c.console.error(f+"[Error]: "+n.join(" "))})},n}();c.v=c.v||{};var a;c.v.logger||(c.v.logger=new s);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(a||(a={}));var v=function(){function n(t){this.name=n.id,this.l=r({debugger:!1,stringify:!1},t)}return n.prototype.setupOnce=function(t,o){t(function(t,r){var i=o().getIntegration(n);return i&&(i.l.debugger,u(function(){i.l.stringify?(console.log(JSON.stringify(t,null,2)),r&&console.log(JSON.stringify(r,null,2))):(console.log(t),r&&console.log(r))})),t})},n.id="Debug",n}();t.Debug=v,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
//# sourceMappingURL=debug.min.js.map

@@ -95,2 +95,7 @@ (function (__window) {

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -110,3 +115,2 @@ *

*/
// tslint:disable:strict-type-predicates
function getGlobalObject() {

@@ -124,3 +128,3 @@ return (isNodeEnv()

var global = getGlobalObject();
var levels = ['debug', 'info', 'warn', 'error', 'log'];
var levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];
if (!('console' in global)) {

@@ -127,0 +131,0 @@ return callback();

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

!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};var o=function(){return(o=Object.assign||function(n){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}).apply(this,arguments)};function i(n,t){var r="function"==typeof Symbol&&n[Symbol.iterator];if(!r)return n;var o,i,e=r.call(n),f=[];try{for(;(void 0===t||t-- >0)&&!(o=e.next()).done;)f.push(o.value)}catch(n){i={error:n}}finally{try{o&&!o.done&&(r=e.return)&&r.call(e)}finally{if(i)throw i.error}}return f}function e(){for(var n=[],t=0;t<arguments.length;t++)n=n.concat(i(arguments[t]));return n}!function(n){function t(t){var r=this.constructor,o=n.call(this,t)||this;return o.message=t,o.name=r.prototype.constructor.name,Object.setPrototypeOf(o,r.prototype),o}(function(n,t){function o(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)})(t,n)}(Error);var f={};function c(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:f}function u(n){var t=c();if(!("console"in t))return n();var r=t.console,o={};["debug","info","warn","error","log"].forEach(function(n){n in t.console&&r[n].o&&(o[n]=r[n].i,r[n]=r[n].u)});var i=n();return Object.keys(o).forEach(function(n){r[n]=o[n]}),i}var s=c(),a="Sentry Logger ",v=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){s.console.log(a+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){s.console.warn(a+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){s.console.error(a+"[Error]: "+n.join(" "))})},n}();s.v=s.v||{};var h;s.v.logger||(s.v.logger=new v);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(h||(h={}));var d=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this.h=t.Ember||c().Ember}return n.prototype.setupOnce=function(t,r){var o=this;if(this.h){var i=this.h.onerror;this.h.onerror=function(t){if(r().getIntegration(n)&&r().withScope(function(n){o.l(n),r().captureException(t)}),"function"==typeof i)i.call(o.h,t);else if(o.h.testing)throw t},this.h.RSVP.on("error",function(t){r().getIntegration(n)&&r().withScope(function(n){t instanceof Error?(n.setExtra("context","Unhandled Promise error detected"),o.l(n),r().captureException(t)):(n.setExtra("reason",t),o.l(n),r().captureMessage("Unhandled Promise error detected"))})})}else console.error("EmberIntegration is missing an Ember instance")},n.prototype.l=function(n){n.addEventProcessor(function(n){if(n.sdk){var t=n.sdk.integrations||[];n.sdk=o({},n.sdk,{integrations:e(t,["ember"])})}return n})},n.id="Ember",n}();t.Ember=d,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};var o=function(){return(o=Object.assign||function(n){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}).apply(this,arguments)};function i(n,t){var r="function"==typeof Symbol&&n[Symbol.iterator];if(!r)return n;var o,i,e=r.call(n),f=[];try{for(;(void 0===t||t-- >0)&&!(o=e.next()).done;)f.push(o.value)}catch(n){i={error:n}}finally{try{o&&!o.done&&(r=e.return)&&r.call(e)}finally{if(i)throw i.error}}return f}function e(){for(var n=[],t=0;t<arguments.length;t++)n=n.concat(i(arguments[t]));return n}!function(n){function t(t){var r=this.constructor,o=n.call(this,t)||this;return o.message=t,o.name=r.prototype.constructor.name,Object.setPrototypeOf(o,r.prototype),o}(function(n,t){function o(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)})(t,n)}(Error);var f={};function c(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:f}function u(n){var t=c();if(!("console"in t))return n();var r=t.console,o={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&r[n].o&&(o[n]=r[n].i,r[n]=r[n].u)});var i=n();return Object.keys(o).forEach(function(n){r[n]=o[n]}),i}var s=c(),a="Sentry Logger ",v=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){s.console.log(a+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){s.console.warn(a+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&u(function(){s.console.error(a+"[Error]: "+n.join(" "))})},n}();s.v=s.v||{};var h;s.v.logger||(s.v.logger=new v);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(h||(h={}));var d=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this.h=t.Ember||c().Ember}return n.prototype.setupOnce=function(t,r){var o=this;if(this.h){var i=this.h.onerror;this.h.onerror=function(t){if(r().getIntegration(n)&&r().withScope(function(n){o.l(n),r().captureException(t)}),"function"==typeof i)i.call(o.h,t);else if(o.h.testing)throw t},this.h.RSVP.on("error",function(t){r().getIntegration(n)&&r().withScope(function(n){t instanceof Error?(n.setExtra("context","Unhandled Promise error detected"),o.l(n),r().captureException(t)):(n.setExtra("reason",t),o.l(n),r().captureMessage("Unhandled Promise error detected"))})})}else console.error("EmberIntegration is missing an Ember instance")},n.prototype.l=function(n){n.addEventProcessor(function(n){if(n.sdk){var t=n.sdk.integrations||[];n.sdk=o({},n.sdk,{integrations:e(t,["ember"])})}return n})},n.id="Ember",n}();t.Ember=d,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
//# sourceMappingURL=ember.min.js.map

@@ -126,2 +126,7 @@ (function (__window) {

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -141,3 +146,2 @@ *

*/
// tslint:disable:strict-type-predicates
function getGlobalObject() {

@@ -155,3 +159,3 @@ return (isNodeEnv()

var global = getGlobalObject();
var levels = ['debug', 'info', 'warn', 'error', 'log'];
var levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];
if (!('console' in global)) {

@@ -158,0 +162,0 @@ return callback();

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

!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};var e=function(){return(e=Object.assign||function(n){for(var t,r=1,e=arguments.length;r<e;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}).apply(this,arguments)};!function(n){function t(t){var r=this.constructor,e=n.call(this,t)||this;return e.message=t,e.name=r.prototype.constructor.name,Object.setPrototypeOf(e,r.prototype),e}(function(n,t){function e(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)})(t,n)}(Error);function i(n){switch(Object.prototype.toString.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return n instanceof Error}}function o(n){return null===n||"object"!=typeof n&&"function"!=typeof n}function u(n){return"[object Object]"===Object.prototype.toString.call(n)}var f={};function c(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:f}function a(n){var t=c();if(!("console"in t))return n();var r=t.console,e={};["debug","info","warn","error","log"].forEach(function(n){n in t.console&&r[n].i&&(e[n]=r[n].o,r[n]=r[n].u)});var i=n();return Object.keys(e).forEach(function(n){r[n]=e[n]}),i}var s=c(),v="Sentry Logger ",b=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&a(function(){s.console.log(v+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&a(function(){s.console.warn(v+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&a(function(){s.console.error(v+"[Error]: "+n.join(" "))})},n}();s.v=s.v||{};s.v.logger||(s.v.logger=new b);var l,d=function(){function n(){this.l="function"==typeof WeakSet,this.h=this.l?new WeakSet:[]}return n.prototype.memoize=function(n){if(this.l)return!!this.h.has(n)||(this.h.add(n),!1);for(var t=0;t<this.h.length;t++){if(this.h[t]===n)return!0}return this.h.push(n),!1},n.prototype.unmemoize=function(n){if(this.l)this.h.delete(n);else for(var t=0;t<this.h.length;t++)if(this.h[t]===n){this.h.splice(t,1);break}},n}();function h(n,t){return"domain"===t&&"object"==typeof n&&n.j?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":"undefined"!=typeof global&&n===global?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":"undefined"!=typeof Event&&n instanceof Event?Object.getPrototypeOf(n)?n.constructor.name:"Event":u(r=n)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":Number.isNaN(n)?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+(n.name||"<unknown-function-name>")+"]":n;var r}function j(n,t,r,e){if(void 0===r&&(r=1/0),void 0===e&&(e=new d),0===r)return function(n){var t=Object.prototype.toString.call(n);if("string"==typeof n)return n;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var r=h(n);return o(r)?r:t}(t);if(null!=t&&"function"==typeof t.toJSON)return t.toJSON();var u=h(t,n);if(o(u))return u;var f=i(t)?function(n){var t={message:n.message,name:n.name,stack:n.stack};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t}(t):t,c=Array.isArray(t)?[]:{};if(e.memoize(t))return"[Circular ~]";for(var a in f)Object.prototype.hasOwnProperty.call(f,a)&&(c[a]=j(a,f[a],r-1,e));return e.unmemoize(t),c}!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(l||(l={}));var y=function(){function n(t){void 0===t&&(t={depth:3}),this.p=t,this.name=n.id}return n.prototype.setupOnce=function(t,r){t(function(t,e){var i=r().getIntegration(n);return i?i.enhanceEventWithErrorData(t,e):t})},n.prototype.enhanceEventWithErrorData=function(n,t){if(!t||!t.originalException||!i(t.originalException))return n;var r=this.m(t.originalException);if(r){var o=e({},n.extra),f=function(n,t){try{return JSON.parse(JSON.stringify(n,function(n,r){return j(n,r,t)}))}catch(n){return"**non-serializable**"}}(r,this.p.depth);return u(f)&&(o=e({},n.extra,f)),e({},n,{extra:o})}return n},n.prototype.m=function(n){var t,r,e,o=null;try{var u=["name","message","stack","line","column","fileName","lineNumber","columnNumber"],f=n.name||n.constructor.name,c=Object.getOwnPropertyNames(n).filter(function(n){return-1===u.indexOf(n)});if(c.length){var a={};try{for(var s=function(n){var t="function"==typeof Symbol&&n[Symbol.iterator],r=0;return t?t.call(n):{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}}}(c),v=s.next();!v.done;v=s.next()){var b=v.value,l=n[b];i(l)&&(l=l.toString()),a[b]=l}}catch(n){t={error:n}}finally{try{v&&!v.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}(e={})[f]=a,o=e}}catch(n){console.error("Unable to extract extra data from the Error object:",n)}return o},n.id="ExtraErrorData",n}();t.ExtraErrorData=y,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};var e=function(){return(e=Object.assign||function(n){for(var t,r=1,e=arguments.length;r<e;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}).apply(this,arguments)};!function(n){function t(t){var r=this.constructor,e=n.call(this,t)||this;return e.message=t,e.name=r.prototype.constructor.name,Object.setPrototypeOf(e,r.prototype),e}(function(n,t){function e(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)})(t,n)}(Error);function i(n){switch(Object.prototype.toString.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return n instanceof Error}}function o(n){return null===n||"object"!=typeof n&&"function"!=typeof n}function u(n){return"[object Object]"===Object.prototype.toString.call(n)}var f={};function c(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:f}function a(n){var t=c();if(!("console"in t))return n();var r=t.console,e={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&r[n].i&&(e[n]=r[n].o,r[n]=r[n].u)});var i=n();return Object.keys(e).forEach(function(n){r[n]=e[n]}),i}var s=c(),v="Sentry Logger ",b=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&a(function(){s.console.log(v+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&a(function(){s.console.warn(v+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&a(function(){s.console.error(v+"[Error]: "+n.join(" "))})},n}();s.v=s.v||{};s.v.logger||(s.v.logger=new b);var l,d=function(){function n(){this.l="function"==typeof WeakSet,this.h=this.l?new WeakSet:[]}return n.prototype.memoize=function(n){if(this.l)return!!this.h.has(n)||(this.h.add(n),!1);for(var t=0;t<this.h.length;t++){if(this.h[t]===n)return!0}return this.h.push(n),!1},n.prototype.unmemoize=function(n){if(this.l)this.h.delete(n);else for(var t=0;t<this.h.length;t++)if(this.h[t]===n){this.h.splice(t,1);break}},n}();function h(n,t){return"domain"===t&&"object"==typeof n&&n.j?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":"undefined"!=typeof global&&n===global?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":"undefined"!=typeof Event&&n instanceof Event?Object.getPrototypeOf(n)?n.constructor.name:"Event":u(r=n)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":Number.isNaN(n)?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+(n.name||"<unknown-function-name>")+"]":n;var r}function j(n,t,r,e){if(void 0===r&&(r=1/0),void 0===e&&(e=new d),0===r)return function(n){var t=Object.prototype.toString.call(n);if("string"==typeof n)return n;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var r=h(n);return o(r)?r:t}(t);if(null!=t&&"function"==typeof t.toJSON)return t.toJSON();var u=h(t,n);if(o(u))return u;var f=i(t)?function(n){var t={message:n.message,name:n.name,stack:n.stack};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t}(t):t,c=Array.isArray(t)?[]:{};if(e.memoize(t))return"[Circular ~]";for(var a in f)Object.prototype.hasOwnProperty.call(f,a)&&(c[a]=j(a,f[a],r-1,e));return e.unmemoize(t),c}!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(l||(l={}));var y=function(){function n(t){void 0===t&&(t={depth:3}),this.p=t,this.name=n.id}return n.prototype.setupOnce=function(t,r){t(function(t,e){var i=r().getIntegration(n);return i?i.enhanceEventWithErrorData(t,e):t})},n.prototype.enhanceEventWithErrorData=function(n,t){if(!t||!t.originalException||!i(t.originalException))return n;var r=this.m(t.originalException);if(r){var o=e({},n.extra),f=function(n,t){try{return JSON.parse(JSON.stringify(n,function(n,r){return j(n,r,t)}))}catch(n){return"**non-serializable**"}}(r,this.p.depth);return u(f)&&(o=e({},n.extra,f)),e({},n,{extra:o})}return n},n.prototype.m=function(n){var t,r,e,o=null;try{var u=["name","message","stack","line","column","fileName","lineNumber","columnNumber"],f=n.name||n.constructor.name,c=Object.getOwnPropertyNames(n).filter(function(n){return-1===u.indexOf(n)});if(c.length){var a={};try{for(var s=function(n){var t="function"==typeof Symbol&&n[Symbol.iterator],r=0;return t?t.call(n):{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}}}(c),v=s.next();!v.done;v=s.next()){var b=v.value,l=n[b];i(l)&&(l=l.toString()),a[b]=l}}catch(n){t={error:n}}finally{try{v&&!v.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}(e={})[f]=a,o=e}}catch(n){console.error("Unable to extract extra data from the Error object:",n)}return o},n.id="ExtraErrorData",n}();t.ExtraErrorData=y,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
//# sourceMappingURL=extraerrordata.min.js.map

@@ -72,2 +72,7 @@ (function (__window) {

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -87,3 +92,2 @@ *

*/
// tslint:disable:strict-type-predicates
function getGlobalObject() {

@@ -101,3 +105,3 @@ return (isNodeEnv()

var global = getGlobalObject();
var levels = ['debug', 'info', 'warn', 'error', 'log'];
var levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];
if (!('console' in global)) {

@@ -104,0 +108,0 @@ return callback();

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

!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};!function(n){function t(t){var r=this.constructor,i=n.call(this,t)||this;return i.message=t,i.name=r.prototype.constructor.name,Object.setPrototypeOf(i,r.prototype),i}(function(n,t){function i(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)})(t,n)}(Error);var i={};function o(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function e(n){var t=o();if(!("console"in t))return n();var r=t.console,i={};["debug","info","warn","error","log"].forEach(function(n){n in t.console&&r[n].i&&(i[n]=r[n].o,r[n]=r[n].u)});var e=n();return Object.keys(i).forEach(function(n){r[n]=i[n]}),e}var f=o(),u="Sentry Logger ",c=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&e(function(){f.console.log(u+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&e(function(){f.console.warn(u+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&e(function(){f.console.error(u+"[Error]: "+n.join(" "))})},n}();f.v=f.v||{};var s,a;f.v.logger||(f.v.logger=new c);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(s||(s={})),function(n){n.Crash="crash",n.Deprecation="deprecation",n.Intervention="intervention"}(a||(a={}));var v=function(){function n(t){void 0===t&&(t={types:[a.Crash,a.Deprecation,a.Intervention]}),this.l=t,this.name=n.id}return n.prototype.setupOnce=function(n,t){"ReportingObserver"in o()&&(this.h=t,new(o().ReportingObserver)(this.handler.bind(this),{buffered:!0,types:this.l.types}).observe())},n.prototype.handler=function(t){var r,i,o=this.h&&this.h();if(o&&o.getIntegration(n)){var e=function(n){o.withScope(function(t){t.setExtra("url",n.url);var r="ReportingObserver ["+n.type+"]",i="No details available";if(n.body){var e,f={};for(var u in n.body)f[u]=n.body[u];if(t.setExtra("body",f),n.type===a.Crash)i=[(e=n.body).crashId||"",e.reason||""].join(" ").trim()||i;else i=(e=n.body).message||i}o.captureMessage(r+": "+i)})};try{for(var f=function(n){var t="function"==typeof Symbol&&n[Symbol.iterator],r=0;return t?t.call(n):{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}}}(t),u=f.next();!u.done;u=f.next()){e(u.value)}}catch(n){r={error:n}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}},n.id="ReportingObserver",n}();t.ReportingObserver=v,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};!function(n){function t(t){var r=this.constructor,i=n.call(this,t)||this;return i.message=t,i.name=r.prototype.constructor.name,Object.setPrototypeOf(i,r.prototype),i}(function(n,t){function i(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)})(t,n)}(Error);var i={};function o(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function e(n){var t=o();if(!("console"in t))return n();var r=t.console,i={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&r[n].i&&(i[n]=r[n].o,r[n]=r[n].u)});var e=n();return Object.keys(i).forEach(function(n){r[n]=i[n]}),e}var f=o(),u="Sentry Logger ",c=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&e(function(){f.console.log(u+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&e(function(){f.console.warn(u+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&e(function(){f.console.error(u+"[Error]: "+n.join(" "))})},n}();f.v=f.v||{};var s,a;f.v.logger||(f.v.logger=new c);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(s||(s={})),function(n){n.Crash="crash",n.Deprecation="deprecation",n.Intervention="intervention"}(a||(a={}));var v=function(){function n(t){void 0===t&&(t={types:[a.Crash,a.Deprecation,a.Intervention]}),this.l=t,this.name=n.id}return n.prototype.setupOnce=function(n,t){"ReportingObserver"in o()&&(this.h=t,new(o().ReportingObserver)(this.handler.bind(this),{buffered:!0,types:this.l.types}).observe())},n.prototype.handler=function(t){var r,i,o=this.h&&this.h();if(o&&o.getIntegration(n)){var e=function(n){o.withScope(function(t){t.setExtra("url",n.url);var r="ReportingObserver ["+n.type+"]",i="No details available";if(n.body){var e,f={};for(var u in n.body)f[u]=n.body[u];if(t.setExtra("body",f),n.type===a.Crash)i=[(e=n.body).crashId||"",e.reason||""].join(" ").trim()||i;else i=(e=n.body).message||i}o.captureMessage(r+": "+i)})};try{for(var f=function(n){var t="function"==typeof Symbol&&n[Symbol.iterator],r=0;return t?t.call(n):{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}}}(t),u=f.next();!u.done;u=f.next()){e(u.value)}}catch(n){r={error:n}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}},n.id="ReportingObserver",n}();t.ReportingObserver=v,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
//# sourceMappingURL=reportingobserver.min.js.map

@@ -61,2 +61,7 @@ (function (__window) {

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -76,3 +81,2 @@ *

*/
// tslint:disable:strict-type-predicates
function getGlobalObject() {

@@ -90,3 +94,3 @@ return (isNodeEnv()

var global = getGlobalObject();
var levels = ['debug', 'info', 'warn', 'error', 'log'];
var levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];
if (!('console' in global)) {

@@ -93,0 +97,0 @@ return callback();

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

!function(n){"use strict";var r={};Object.defineProperty(r,"t",{value:!0});var t=function(n,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var t in r)r.hasOwnProperty(t)&&(n[t]=r[t])})(n,r)};!function(n){function r(r){var t=this.constructor,i=n.call(this,r)||this;return i.message=r,i.name=t.prototype.constructor.name,Object.setPrototypeOf(i,t.prototype),i}(function(n,r){function i(){this.constructor=n}t(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)})(r,n)}(Error);var i={};function o(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function f(n){var r=o();if(!("console"in r))return n();var t=r.console,i={};["debug","info","warn","error","log"].forEach(function(n){n in r.console&&t[n].i&&(i[n]=t[n].o,t[n]=t[n].u)});var f=n();return Object.keys(i).forEach(function(n){t[n]=i[n]}),f}var u=o(),e="Sentry Logger ",c=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this.s&&f(function(){u.console.log(e+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this.s&&f(function(){u.console.warn(e+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this.s&&f(function(){u.console.error(e+"[Error]: "+n.join(" "))})},n}();u.v=u.v||{};u.v.logger||(u.v.logger=new c);var a,s=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;function v(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var t="",i=!1,o=n.length-1;o>=-1&&!i;o--){var f=o>=0?n[o]:"/";f&&(t=f+"/"+t,i="/"===f.charAt(0))}return(i?"/":"")+(t=function(n,r){for(var t=0,i=n.length-1;i>=0;i--){var o=n[i];"."===o?n.splice(i,1):".."===o?(n.splice(i,1),t++):t&&(n.splice(i,1),t--)}if(r)for(;t--;t)n.unshift("..");return n}(t.split("/").filter(function(n){return!!n}),!i).join("/"))||"."}function h(n){for(var r=0;r<n.length&&""===n[r];r++);for(var t=n.length-1;t>=0&&""===n[t];t--);return r>t?[]:n.slice(r,t-r+1)}function d(n,r){var t,i,o=(t=n,i=s.exec(t),i?i.slice(1):[])[2];return r&&o.substr(-1*r.length)===r&&(o=o.substr(0,o.length-r.length)),o}!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(a||(a={}));var b=function(){function n(r){void 0===r&&(r={});var t=this;this.name=n.id,this.h=function(n){if(n.filename&&n.filename.startsWith("/")){var r=t.l?function(n,r){n=v(n).substr(1),r=v(r).substr(1);for(var t=h(n.split("/")),i=h(r.split("/")),o=Math.min(t.length,i.length),f=o,u=0;u<o;u++)if(t[u]!==i[u]){f=u;break}var e=[];for(u=f;u<t.length;u++)e.push("..");return(e=e.concat(i.slice(f))).join("/")}(t.l,n.filename):d(n.filename);n.filename="app:///"+r}return n},r.root&&(this.l=r.root),r.iteratee&&(this.h=r.iteratee)}return n.prototype.setupOnce=function(r,t){r(function(r){var i=t().getIntegration(n);return i?i.process(r):r})},n.prototype.process=function(n){var r=this.p(n);if(r)for(var t in r)r[t]=this.h(r[t]);return n},n.prototype.p=function(n){var r=n.exception;if(r)try{return r.values[0].stacktrace.frames}catch(n){return}else if(n.stacktrace)return n.stacktrace.frames},n.id="RewriteFrames",n}();r.RewriteFrames=b,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,r)}(window);
!function(n){"use strict";var r={};Object.defineProperty(r,"t",{value:!0});var t=function(n,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var t in r)r.hasOwnProperty(t)&&(n[t]=r[t])})(n,r)};!function(n){function r(r){var t=this.constructor,i=n.call(this,r)||this;return i.message=r,i.name=t.prototype.constructor.name,Object.setPrototypeOf(i,t.prototype),i}(function(n,r){function i(){this.constructor=n}t(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)})(r,n)}(Error);var i={};function o(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function f(n){var r=o();if(!("console"in r))return n();var t=r.console,i={};["debug","info","warn","error","log","assert"].forEach(function(n){n in r.console&&t[n].i&&(i[n]=t[n].o,t[n]=t[n].u)});var f=n();return Object.keys(i).forEach(function(n){t[n]=i[n]}),f}var u=o(),e="Sentry Logger ",c=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this.s&&f(function(){u.console.log(e+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this.s&&f(function(){u.console.warn(e+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this.s&&f(function(){u.console.error(e+"[Error]: "+n.join(" "))})},n}();u.v=u.v||{};u.v.logger||(u.v.logger=new c);var a,s=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;function v(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var t="",i=!1,o=n.length-1;o>=-1&&!i;o--){var f=o>=0?n[o]:"/";f&&(t=f+"/"+t,i="/"===f.charAt(0))}return(i?"/":"")+(t=function(n,r){for(var t=0,i=n.length-1;i>=0;i--){var o=n[i];"."===o?n.splice(i,1):".."===o?(n.splice(i,1),t++):t&&(n.splice(i,1),t--)}if(r)for(;t--;t)n.unshift("..");return n}(t.split("/").filter(function(n){return!!n}),!i).join("/"))||"."}function h(n){for(var r=0;r<n.length&&""===n[r];r++);for(var t=n.length-1;t>=0&&""===n[t];t--);return r>t?[]:n.slice(r,t-r+1)}function d(n,r){var t,i,o=(t=n,i=s.exec(t),i?i.slice(1):[])[2];return r&&o.substr(-1*r.length)===r&&(o=o.substr(0,o.length-r.length)),o}!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(a||(a={}));var b=function(){function n(r){void 0===r&&(r={});var t=this;this.name=n.id,this.h=function(n){if(n.filename&&n.filename.startsWith("/")){var r=t.l?function(n,r){n=v(n).substr(1),r=v(r).substr(1);for(var t=h(n.split("/")),i=h(r.split("/")),o=Math.min(t.length,i.length),f=o,u=0;u<o;u++)if(t[u]!==i[u]){f=u;break}var e=[];for(u=f;u<t.length;u++)e.push("..");return(e=e.concat(i.slice(f))).join("/")}(t.l,n.filename):d(n.filename);n.filename="app:///"+r}return n},r.root&&(this.l=r.root),r.iteratee&&(this.h=r.iteratee)}return n.prototype.setupOnce=function(r,t){r(function(r){var i=t().getIntegration(n);return i?i.process(r):r})},n.prototype.process=function(n){var r=this.p(n);if(r)for(var t in r)r[t]=this.h(r[t]);return n},n.prototype.p=function(n){var r=n.exception;if(r)try{return r.values[0].stacktrace.frames}catch(n){return}else if(n.stacktrace)return n.stacktrace.frames},n.id="RewriteFrames",n}();r.RewriteFrames=b,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,r)}(window);
//# sourceMappingURL=rewriteframes.min.js.map

@@ -105,2 +105,7 @@ (function (__window) {

/**
* Requires a module which is protected _against bundler minification.
*
* @param request The module path to resolve
*/
/**
* Checks whether we're in the Node.js or Browser environment

@@ -120,3 +125,2 @@ *

*/
// tslint:disable:strict-type-predicates
function getGlobalObject() {

@@ -134,3 +138,3 @@ return (isNodeEnv()

var global = getGlobalObject();
var levels = ['debug', 'info', 'warn', 'error', 'log'];
var levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];
if (!('console' in global)) {

@@ -137,0 +141,0 @@ return callback();

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

!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};var o=function(){return(o=Object.assign||function(n){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}).apply(this,arguments)};function i(n,t){var r="function"==typeof Symbol&&n[Symbol.iterator];if(!r)return n;var o,i,e=r.call(n),f=[];try{for(;(void 0===t||t-- >0)&&!(o=e.next()).done;)f.push(o.value)}catch(n){i={error:n}}finally{try{o&&!o.done&&(r=e.return)&&r.call(e)}finally{if(i)throw i.error}}return f}function e(){for(var n=[],t=0;t<arguments.length;t++)n=n.concat(i(arguments[t]));return n}!function(n){function t(t){var r=this.constructor,o=n.call(this,t)||this;return o.message=t,o.name=r.prototype.constructor.name,Object.setPrototypeOf(o,r.prototype),o}(function(n,t){function o(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)})(t,n)}(Error);var f={};function u(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:f}function c(n){var t=u();if(!("console"in t))return n();var r=t.console,o={};["debug","info","warn","error","log"].forEach(function(n){n in t.console&&r[n].o&&(o[n]=r[n].i,r[n]=r[n].u)});var i=n();return Object.keys(o).forEach(function(n){r[n]=o[n]}),i}var s=u(),a="Sentry Logger ",v=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&c(function(){s.console.log(a+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&c(function(){s.console.warn(a+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&c(function(){s.console.error(a+"[Error]: "+n.join(" "))})},n}();s.v=s.v||{};var h;s.v.logger||(s.v.logger=new v);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(h||(h={}));var b=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this.h=!0,this.l=t.Vue||u().Vue,!1===t.attachProps&&(this.h=!1)}return n.prototype.j=function(n){if(n.$root===n)return"root instance";var t=n.O?n.$options.name||n.$options.p:n.name;return(t?"component <"+t+">":"anonymous component")+(n.O&&n.$options.g?" at "+n.$options.g:"")},n.prototype.setupOnce=function(t,r){var i=this;if(this.l&&this.l.config){var f=this.l.config.errorHandler;this.l.config.errorHandler=function(t,u,c){var s,a={};s=u,"[object Object]"===Object.prototype.toString.call(s)&&(a.componentName=i.j(u),i.h&&(a.propsData=u.$options.propsData)),void 0!==c&&(a.lifecycleHook=c),r().getIntegration(n)&&r().withScope(function(n){Object.keys(a).forEach(function(t){n.setExtra(t,a[t])}),n.addEventProcessor(function(n){if(n.sdk){var t=n.sdk.integrations||[];n.sdk=o({},n.sdk,{integrations:e(t,["vue"])})}return n}),r().captureException(t)}),"function"==typeof f&&f.call(i.l,t,u,c)}}else console.error("VueIntegration is missing a Vue instance")},n.id="Vue",n}();t.Vue=b,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
!function(n){"use strict";var t={};Object.defineProperty(t,"t",{value:!0});var r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,t)};var o=function(){return(o=Object.assign||function(n){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}).apply(this,arguments)};function i(n,t){var r="function"==typeof Symbol&&n[Symbol.iterator];if(!r)return n;var o,i,e=r.call(n),f=[];try{for(;(void 0===t||t-- >0)&&!(o=e.next()).done;)f.push(o.value)}catch(n){i={error:n}}finally{try{o&&!o.done&&(r=e.return)&&r.call(e)}finally{if(i)throw i.error}}return f}function e(){for(var n=[],t=0;t<arguments.length;t++)n=n.concat(i(arguments[t]));return n}!function(n){function t(t){var r=this.constructor,o=n.call(this,t)||this;return o.message=t,o.name=r.prototype.constructor.name,Object.setPrototypeOf(o,r.prototype),o}(function(n,t){function o(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)})(t,n)}(Error);var f={};function u(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:f}function c(n){var t=u();if(!("console"in t))return n();var r=t.console,o={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&r[n].o&&(o[n]=r[n].i,r[n]=r[n].u)});var i=n();return Object.keys(o).forEach(function(n){r[n]=o[n]}),i}var s=u(),a="Sentry Logger ",v=function(){function n(){this.s=!1}return n.prototype.disable=function(){this.s=!1},n.prototype.enable=function(){this.s=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&c(function(){s.console.log(a+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&c(function(){s.console.warn(a+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.s&&c(function(){s.console.error(a+"[Error]: "+n.join(" "))})},n}();s.v=s.v||{};var h;s.v.logger||(s.v.logger=new v);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(h||(h={}));var b=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this.h=!0,this.l=t.Vue||u().Vue,!1===t.attachProps&&(this.h=!1)}return n.prototype.j=function(n){if(n.$root===n)return"root instance";var t=n.O?n.$options.name||n.$options.p:n.name;return(t?"component <"+t+">":"anonymous component")+(n.O&&n.$options.g?" at "+n.$options.g:"")},n.prototype.setupOnce=function(t,r){var i=this;if(this.l&&this.l.config){var f=this.l.config.errorHandler;this.l.config.errorHandler=function(t,u,c){var s,a={};s=u,"[object Object]"===Object.prototype.toString.call(s)&&(a.componentName=i.j(u),i.h&&(a.propsData=u.$options.propsData)),void 0!==c&&(a.lifecycleHook=c),r().getIntegration(n)&&r().withScope(function(n){Object.keys(a).forEach(function(t){n.setExtra(t,a[t])}),n.addEventProcessor(function(n){if(n.sdk){var t=n.sdk.integrations||[];n.sdk=o({},n.sdk,{integrations:e(t,["vue"])})}return n}),r().captureException(t)}),"function"==typeof f&&f.call(i.l,t,u,c)}}else console.error("VueIntegration is missing a Vue instance")},n.id="Vue",n}();t.Vue=b,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},Object.assign(n.Sentry.Integrations,t)}(window);
//# sourceMappingURL=vue.min.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var utils_1 = require("@sentry/utils");
/** JSDoc */

@@ -28,14 +29,16 @@ var Debug = /** @class */ (function () {

}
if (self._options.stringify) {
console.log(JSON.stringify(event, null, 2));
if (hint) {
console.log(JSON.stringify(hint, null, 2));
utils_1.consoleSandbox(function () {
if (self._options.stringify) {
console.log(JSON.stringify(event, null, 2));
if (hint) {
console.log(JSON.stringify(hint, null, 2));
}
}
}
else {
console.log(event);
if (hint) {
console.log(hint);
else {
console.log(event);
if (hint) {
console.log(hint);
}
}
}
});
}

@@ -42,0 +45,0 @@ return event;

export { Angular } from './angular';
export { CaptureConsole } from './captureconsole';
export { Debug } from './debug';

@@ -3,0 +4,0 @@ export { Dedupe } from './dedupe';

@@ -5,2 +5,4 @@ "use strict";

exports.Angular = angular_1.Angular;
var captureconsole_1 = require("./captureconsole");
exports.CaptureConsole = captureconsole_1.CaptureConsole;
var debug_1 = require("./debug");

@@ -7,0 +9,0 @@ exports.Debug = debug_1.Debug;

import * as tslib_1 from "tslib";
import { consoleSandbox } from '@sentry/utils';
/** JSDoc */

@@ -26,14 +27,16 @@ var Debug = /** @class */ (function () {

}
if (self._options.stringify) {
console.log(JSON.stringify(event, null, 2));
if (hint) {
console.log(JSON.stringify(hint, null, 2));
consoleSandbox(function () {
if (self._options.stringify) {
console.log(JSON.stringify(event, null, 2));
if (hint) {
console.log(JSON.stringify(hint, null, 2));
}
}
}
else {
console.log(event);
if (hint) {
console.log(hint);
else {
console.log(event);
if (hint) {
console.log(hint);
}
}
}
});
}

@@ -40,0 +43,0 @@ return event;

export { Angular } from './angular';
export { CaptureConsole } from './captureconsole';
export { Debug } from './debug';

@@ -3,0 +4,0 @@ export { Dedupe } from './dedupe';

export { Angular } from './angular';
export { CaptureConsole } from './captureconsole';
export { Debug } from './debug';

@@ -3,0 +4,0 @@ export { Dedupe } from './dedupe';

{
"name": "@sentry/integrations",
"version": "5.0.6",
"version": "5.0.7",
"description": "Pluggable integrations that can be used to enchance JS SDKs",

@@ -21,3 +21,3 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"@sentry/types": "5.0.6",
"@sentry/utils": "5.0.6"
"@sentry/utils": "5.0.7"
},

@@ -24,0 +24,0 @@ "devDependencies": {

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

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