Socket
Socket
Sign inDemoInstall

@sentry/integrations

Package Overview
Dependencies
Maintainers
12
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.10.0-rc.0 to 5.10.0

25

build/captureconsole.js

@@ -285,3 +285,3 @@ (function (__window) {

default:
return wat instanceof Error;
return isInstanceOf(wat, Error);
}

@@ -328,3 +328,3 @@ }

// tslint:disable-next-line:strict-type-predicates
return typeof Event !== 'undefined' && wat instanceof Event;
return typeof Event !== 'undefined' && isInstanceOf(wat, Event);
}

@@ -340,3 +340,3 @@ /**

// tslint:disable-next-line:strict-type-predicates
return typeof Element !== 'undefined' && wat instanceof Element;
return typeof Element !== 'undefined' && isInstanceOf(wat, Element);
}

@@ -354,2 +354,19 @@ /**

}
/**
* Checks whether given value's type is an instance of provided constructor.
* {@link isInstanceOf}.
*
* @param wat A value to be checked.
* @param base A constructor to be used in a check.
* @returns A boolean representing the result.
*/
function isInstanceOf(wat, base) {
try {
// tslint:disable-next-line:no-unsafe-any
return wat instanceof base;
}
catch (_e) {
return false;
}
}

@@ -723,3 +740,3 @@ /**

// tslint:disable-next-line:strict-type-predicates
if (typeof CustomEvent !== 'undefined' && value instanceof CustomEvent) {
if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {
source.detail = event_1.detail;

@@ -726,0 +743,0 @@ }

2

build/captureconsole.min.js

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

!function(e){var n,t,r,o,i={};Object.defineProperty(i,"__esModule",{value:!0}),function(e){e[e.None=0]="None",e[e.Error=1]="Error",e[e.Debug=2]="Debug",e[e.Verbose=3]="Verbose"}(n||(n={})),function(e){e.Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical"}(t||(t={})),function(e){e.fromString=function(n){switch(n){case"debug":return e.Debug;case"info":return e.Info;case"warn":case"warning":return e.Warning;case"error":return e.Error;case"fatal":return e.Fatal;case"critical":return e.Critical;case"log":default:return e.Log}}}(t||(t={})),function(e){e.Ok="ok",e.DealineExceeded="deadline_exceeded",e.Unauthenticated="unauthenticated",e.PermissionDenied="permission_denied",e.NotFound="not_found",e.ResourceExhausted="resource_exhausted",e.InvalidArgument="invalid_argument",e.Unimplemented="unimplemented",e.Unavailable="unavailable",e.InternalError="internal_error",e.UnknownError="unknown_error",e.Cancelled="cancelled",e.AlreadyExists="already_exists",e.FailedPrecondition="failed_precondition",e.Aborted="aborted",e.OutOfRange="out_of_range",e.DataLoss="data_loss"}(r||(r={})),function(e){e.fromHttpCode=function(n){if(n<400)return e.Ok;if(n>=400&&n<500)switch(n){case 401:return e.Unauthenticated;case 403:return e.PermissionDenied;case 404:return e.NotFound;case 409:return e.AlreadyExists;case 413:return e.FailedPrecondition;case 429:return e.ResourceExhausted;default:return e.InvalidArgument}if(n>=500&&n<600)switch(n){case 501:return e.Unimplemented;case 503:return e.Unavailable;case 504:return e.DealineExceeded;default:return e.InternalError}return e.UnknownError}}(r||(r={})),function(e){e.Unknown="unknown",e.Skipped="skipped",e.Success="success",e.RateLimit="rate_limit",e.Invalid="invalid",e.Failed="failed"}(o||(o={})),function(e){e.fromHttpCode=function(n){return n>=200&&n<300?e.Success:429===n?e.RateLimit:n>=400&&n<500?e.Invalid:n>=500?e.Failed:e.Unknown}}(o||(o={}));var a=function(e,n){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(e,n)};var c=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,n){return e.__proto__=n,e}:function(e,n){for(var t in n)e.hasOwnProperty(t)||(e[t]=n[t]);return e});!function(e){function n(n){var t=this.constructor,r=e.call(this,n)||this;return r.message=n,r.name=t.prototype.constructor.name,c(r,t.prototype),r}(function(e,n){function t(){this.constructor=e}a(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)})(n,e)}(Error);function u(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function s(e){return"undefined"!=typeof Element&&e instanceof Element}function l(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}var f={};function p(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:f}function d(e){var n=p();if(!("console"in n))return e();var t=n.console,r={};["debug","info","warn","error","log","assert"].forEach(function(e){e in n.console&&t[e].__sentry__&&(r[e]=t[e].__sentry_wrapped__,t[e]=t[e].__sentry_original__)});var o=e();return Object.keys(r).forEach(function(e){t[e]=r[e]}),o}function _(e){try{for(var n=e,t=[],r=0,o=0,i=" > ".length,a=void 0;n&&r++<5&&!("html"===(a=y(n))||r>1&&o+t.length*i+a.length>=80);)t.push(a),o+=a.length,n=n.parentNode;return t.reverse().join(" > ")}catch(e){return"<unknown>"}}function y(e){var n,t,r,o,i,a,c=e,u=[];if(!c||!c.tagName)return"";if(u.push(c.tagName.toLowerCase()),c.id&&u.push("#"+c.id),(n=c.className)&&(a=n,"[object String]"===Object.prototype.toString.call(a)))for(t=n.split(/\s+/),i=0;i<t.length;i++)u.push("."+t[i]);var s=["type","name","title","alt"];for(i=0;i<s.length;i++)r=s[i],(o=c.getAttribute(r))&&u.push("["+r+'="'+o+'"]');return u.join("")}var g="<anonymous>";var h=p(),v="Sentry Logger ",b=function(){function e(){this._enabled=!1}return e.prototype.disable=function(){this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},e.prototype.log=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._enabled&&d(function(){h.console.log(v+"[Log]: "+e.join(" "))})},e.prototype.warn=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._enabled&&d(function(){h.console.warn(v+"[Warn]: "+e.join(" "))})},e.prototype.error=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._enabled&&d(function(){h.console.error(v+"[Error]: "+e.join(" "))})},e}();h.__SENTRY__=h.__SENTRY__||{};h.__SENTRY__.logger||(h.__SENTRY__.logger=new b);var m,E=function(){function e(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return e.prototype.memoize=function(e){if(this._hasWeakSet)return!!this._inner.has(e)||(this._inner.add(e),!1);for(var n=0;n<this._inner.length;n++){if(this._inner[n]===e)return!0}return this._inner.push(e),!1},e.prototype.unmemoize=function(e){if(this._hasWeakSet)this._inner.delete(e);else for(var n=0;n<this._inner.length;n++)if(this._inner[n]===e){this._inner.splice(n,1);break}},e}();function w(e,n){if(!Array.isArray(e))return"";for(var t=[],r=0;r<e.length;r++){var o=e[r];try{t.push(String(o))}catch(e){t.push("[value cannot be serialized]")}}return t.join(n)}function O(e){if(function(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}(e)){var n=e,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}if(a=e,"undefined"!=typeof Event&&a instanceof Event){var o=e,i={};i.type=o.type;try{i.target=s(o.target)?_(o.target):Object.prototype.toString.call(o.target)}catch(e){i.target="<unknown>"}try{i.currentTarget=s(o.currentTarget)?_(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(e){i.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&e instanceof CustomEvent&&(i.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,r)&&(i[r]=o);return i}var a;return e}function S(e,n){return"domain"===n&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&e===global?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":l(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+function(e){try{return e&&"function"==typeof e&&e.name||g}catch(e){return g}}(e)+"]":e}function j(e,n,t,r){if(void 0===t&&(t=1/0),void 0===r&&(r=new E),0===t)return function(e){var n=Object.prototype.toString.call(e);if("string"==typeof e)return e;if("[object Object]"===n)return"[Object]";if("[object Array]"===n)return"[Array]";var t=S(e);return u(t)?t:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var o=S(n,e);if(u(o))return o;var i=O(n),a=Array.isArray(n)?[]:{};if(r.memoize(n))return"[Circular ~]";for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(a[c]=j(c,i[c],t-1,r));return r.unmemoize(n),a}function k(e,n){try{return JSON.parse(JSON.stringify(e,function(e,t){return j(e,t,n)}))}catch(e){return"**non-serializable**"}}!function(e){e.PENDING="PENDING",e.RESOLVED="RESOLVED",e.REJECTED="REJECTED"}(m||(m={}));p();var N=p(),D=function(){function e(n){void 0===n&&(n={}),this.name=e.id,this._levels=["log","info","warn","error","debug","assert"],n.levels&&(this._levels=n.levels)}return e.prototype.setupOnce=function(n,r){"console"in N&&this._levels.forEach(function(n){n in N.console&&function(e,n,t){if(n in e){var r=e[n],o=t(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})}catch(e){}e[n]=o}}(N.console,n,function(o){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var c=r();c.getIntegration(e)&&c.withScope(function(e){e.setLevel(t.fromString(n)),e.setExtra("arguments",k(i,3)),e.addEventProcessor(function(e){return e.logger="console",e});var r=w(i," ");"assert"===n?!1===i[0]&&(r="Assertion failed: "+(w(i.slice(1)," ")||"console.assert"),e.setExtra("arguments",k(i.slice(1),3)),c.captureMessage(r)):c.captureMessage(r)}),o&&Function.prototype.apply.call(o,N.console,i)}})})},e.id="CaptureConsole",e}();for(var P in i.CaptureConsole=D,e.Sentry=e.Sentry||{},e.Sentry.Integrations=e.Sentry.Integrations||{},i)Object.prototype.hasOwnProperty.call(i,P)&&(e.Sentry.Integrations[P]=i[P])}(window);
!function(e){var t,n,r,o,i={};Object.defineProperty(i,"__esModule",{value:!0}),function(e){e[e.None=0]="None",e[e.Error=1]="Error",e[e.Debug=2]="Debug",e[e.Verbose=3]="Verbose"}(t||(t={})),function(e){e.Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical"}(n||(n={})),function(e){e.fromString=function(t){switch(t){case"debug":return e.Debug;case"info":return e.Info;case"warn":case"warning":return e.Warning;case"error":return e.Error;case"fatal":return e.Fatal;case"critical":return e.Critical;case"log":default:return e.Log}}}(n||(n={})),function(e){e.Ok="ok",e.DealineExceeded="deadline_exceeded",e.Unauthenticated="unauthenticated",e.PermissionDenied="permission_denied",e.NotFound="not_found",e.ResourceExhausted="resource_exhausted",e.InvalidArgument="invalid_argument",e.Unimplemented="unimplemented",e.Unavailable="unavailable",e.InternalError="internal_error",e.UnknownError="unknown_error",e.Cancelled="cancelled",e.AlreadyExists="already_exists",e.FailedPrecondition="failed_precondition",e.Aborted="aborted",e.OutOfRange="out_of_range",e.DataLoss="data_loss"}(r||(r={})),function(e){e.fromHttpCode=function(t){if(t<400)return e.Ok;if(t>=400&&t<500)switch(t){case 401:return e.Unauthenticated;case 403:return e.PermissionDenied;case 404:return e.NotFound;case 409:return e.AlreadyExists;case 413:return e.FailedPrecondition;case 429:return e.ResourceExhausted;default:return e.InvalidArgument}if(t>=500&&t<600)switch(t){case 501:return e.Unimplemented;case 503:return e.Unavailable;case 504:return e.DealineExceeded;default:return e.InternalError}return e.UnknownError}}(r||(r={})),function(e){e.Unknown="unknown",e.Skipped="skipped",e.Success="success",e.RateLimit="rate_limit",e.Invalid="invalid",e.Failed="failed"}(o||(o={})),function(e){e.fromHttpCode=function(t){return t>=200&&t<300?e.Success:429===t?e.RateLimit:t>=400&&t<500?e.Invalid:t>=500?e.Failed:e.Unknown}}(o||(o={}));var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var u=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){return e.__proto__=t,e}:function(e,t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n]);return e});!function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return r.message=t,r.name=n.prototype.constructor.name,u(r,n.prototype),r}(function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)})(t,e)}(Error);function c(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function s(e){return"undefined"!=typeof Element&&f(e,Element)}function l(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function f(e,t){try{return e instanceof t}catch(e){return!1}}var p={};function d(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:p}function _(e){var t=d();if(!("console"in t))return e();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach(function(e){e in t.console&&n[e].__sentry__&&(r[e]=n[e].__sentry_wrapped__,n[e]=n[e].__sentry_original__)});var o=e();return Object.keys(r).forEach(function(e){n[e]=r[e]}),o}function y(e){try{for(var t=e,n=[],r=0,o=0,i=" > ".length,a=void 0;t&&r++<5&&!("html"===(a=g(t))||r>1&&o+n.length*i+a.length>=80);)n.push(a),o+=a.length,t=t.parentNode;return n.reverse().join(" > ")}catch(e){return"<unknown>"}}function g(e){var t,n,r,o,i,a,u=e,c=[];if(!u||!u.tagName)return"";if(c.push(u.tagName.toLowerCase()),u.id&&c.push("#"+u.id),(t=u.className)&&(a=t,"[object String]"===Object.prototype.toString.call(a)))for(n=t.split(/\s+/),i=0;i<n.length;i++)c.push("."+n[i]);var s=["type","name","title","alt"];for(i=0;i<s.length;i++)r=s[i],(o=u.getAttribute(r))&&c.push("["+r+'="'+o+'"]');return c.join("")}var h="<anonymous>";var v=d(),b="Sentry Logger ",m=function(){function e(){this._enabled=!1}return e.prototype.disable=function(){this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&_(function(){v.console.log(b+"[Log]: "+e.join(" "))})},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&_(function(){v.console.warn(b+"[Warn]: "+e.join(" "))})},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&_(function(){v.console.error(b+"[Error]: "+e.join(" "))})},e}();v.__SENTRY__=v.__SENTRY__||{};v.__SENTRY__.logger||(v.__SENTRY__.logger=new m);var E,w=function(){function e(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return e.prototype.memoize=function(e){if(this._hasWeakSet)return!!this._inner.has(e)||(this._inner.add(e),!1);for(var t=0;t<this._inner.length;t++){if(this._inner[t]===e)return!0}return this._inner.push(e),!1},e.prototype.unmemoize=function(e){if(this._hasWeakSet)this._inner.delete(e);else for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e){this._inner.splice(t,1);break}},e}();function O(e,t){if(!Array.isArray(e))return"";for(var n=[],r=0;r<e.length;r++){var o=e[r];try{n.push(String(o))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function S(e){if(function(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return f(e,Error)}}(e)){var t=e,n={message:t.message,name:t.name,stack:t.stack};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}if(a=e,"undefined"!=typeof Event&&f(a,Event)){var o=e,i={};i.type=o.type;try{i.target=s(o.target)?y(o.target):Object.prototype.toString.call(o.target)}catch(e){i.target="<unknown>"}try{i.currentTarget=s(o.currentTarget)?y(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(e){i.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&f(e,CustomEvent)&&(i.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,r)&&(i[r]=o);return i}var a;return e}function j(e,t){return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":"undefined"!=typeof global&&e===global?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":l(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+function(e){try{return e&&"function"==typeof e&&e.name||h}catch(e){return h}}(e)+"]":e}function k(e,t,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new w),0===n)return function(e){var t=Object.prototype.toString.call(e);if("string"==typeof e)return e;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var n=j(e);return c(n)?n:t}(t);if(null!=t&&"function"==typeof t.toJSON)return t.toJSON();var o=j(t,e);if(c(o))return o;var i=S(t),a=Array.isArray(t)?[]:{};if(r.memoize(t))return"[Circular ~]";for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(a[u]=k(u,i[u],n-1,r));return r.unmemoize(t),a}function N(e,t){try{return JSON.parse(JSON.stringify(e,function(e,n){return k(e,n,t)}))}catch(e){return"**non-serializable**"}}!function(e){e.PENDING="PENDING",e.RESOLVED="RESOLVED",e.REJECTED="REJECTED"}(E||(E={}));d();var D=d(),P=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._levels=["log","info","warn","error","debug","assert"],t.levels&&(this._levels=t.levels)}return e.prototype.setupOnce=function(t,r){"console"in D&&this._levels.forEach(function(t){t in D.console&&function(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})}catch(e){}e[t]=o}}(D.console,t,function(o){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var u=r();u.getIntegration(e)&&u.withScope(function(e){e.setLevel(n.fromString(t)),e.setExtra("arguments",N(i,3)),e.addEventProcessor(function(e){return e.logger="console",e});var r=O(i," ");"assert"===t?!1===i[0]&&(r="Assertion failed: "+(O(i.slice(1)," ")||"console.assert"),e.setExtra("arguments",N(i.slice(1),3)),u.captureMessage(r)):u.captureMessage(r)}),o&&Function.prototype.apply.call(o,D.console,i)}})})},e.id="CaptureConsole",e}();for(var A in i.CaptureConsole=P,e.Sentry=e.Sentry||{},e.Sentry.Integrations=e.Sentry.Integrations||{},i)Object.prototype.hasOwnProperty.call(i,A)&&(e.Sentry.Integrations[A]=i[A])}(window);
//# sourceMappingURL=captureconsole.min.js.map

@@ -84,2 +84,19 @@ (function (__window) {

*/
/**
* Checks whether given value's type is an instance of provided constructor.
* {@link isInstanceOf}.
*
* @param wat A value to be checked.
* @param base A constructor to be used in a check.
* @returns A boolean representing the result.
*/
function isInstanceOf(wat, base) {
try {
// tslint:disable-next-line:no-unsafe-any
return wat instanceof base;
}
catch (_e) {
return false;
}
}

@@ -255,3 +272,3 @@ /**

getCurrentHub().withScope(function (scope) {
if (reason instanceof Error) {
if (isInstanceOf(reason, Error)) {
scope.setExtra('context', 'Unhandled Promise error detected');

@@ -258,0 +275,0 @@ getCurrentHub().captureException(reason, { originalException: reason });

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

!function(n){var e={};Object.defineProperty(e,"__esModule",{value:!0});var r=function(n,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r])})(n,e)};var t=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,e){return n.__proto__=e,n}:function(n,e){for(var r in e)n.hasOwnProperty(r)||(n[r]=e[r]);return n});!function(n){function e(e){var r=this.constructor,o=n.call(this,e)||this;return o.message=e,o.name=r.prototype.constructor.name,t(o,r.prototype),o}(function(n,e){function t(){this.constructor=n}r(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)})(e,n)}(Error);var o={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function c(n){var e=i();if(!("console"in e))return n();var r=e.console,t={};["debug","info","warn","error","log","assert"].forEach(function(n){n in e.console&&r[n].__sentry__&&(t[n]=r[n].__sentry_wrapped__,r[n]=r[n].__sentry_original__)});var o=n();return Object.keys(t).forEach(function(n){r[n]=t[n]}),o}var a=i(),s="Sentry Logger ",_=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&c(function(){a.console.log(s+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&c(function(){a.console.warn(s+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this._enabled&&c(function(){a.console.error(s+"[Error]: "+n.join(" "))})},n}();a.__SENTRY__=a.__SENTRY__||{};var f,u=a.__SENTRY__.logger||(a.__SENTRY__.logger=new _);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(f||(f={}));i();var p=function(){function n(e){void 0===e&&(e={}),this.name=n.id,this._Ember=e.Ember||i().Ember}return n.prototype.setupOnce=function(e,r){var t=this;if(this._Ember){var o=this._Ember.onerror;this._Ember.onerror=function(e){if(r().getIntegration(n)&&r().captureException(e,{originalException:e}),"function"==typeof o)o.call(t._Ember,e);else if(t._Ember.testing)throw e},this._Ember.RSVP.on("error",function(e){r().getIntegration(n)&&r().withScope(function(n){e instanceof Error?(n.setExtra("context","Unhandled Promise error detected"),r().captureException(e,{originalException:e})):(n.setExtra("reason",e),r().captureMessage("Unhandled Promise error detected"))})})}else u.error("EmberIntegration is missing an Ember instance")},n.id="Ember",n}();for(var l in e.Ember=p,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},e)Object.prototype.hasOwnProperty.call(e,l)&&(n.Sentry.Integrations[l]=e[l])}(window);
!function(n){var r={};Object.defineProperty(r,"__esModule",{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)};var e=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,r){return n.__proto__=r,n}:function(n,r){for(var t in r)n.hasOwnProperty(t)||(n[t]=r[t]);return n});!function(n){function r(r){var t=this.constructor,o=n.call(this,r)||this;return o.message=r,o.name=t.prototype.constructor.name,e(o,t.prototype),o}(function(n,r){function e(){this.constructor=n}t(n,r),n.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)})(r,n)}(Error);var o={};function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function c(n){var r=i();if(!("console"in r))return n();var t=r.console,e={};["debug","info","warn","error","log","assert"].forEach(function(n){n in r.console&&t[n].__sentry__&&(e[n]=t[n].__sentry_wrapped__,t[n]=t[n].__sentry_original__)});var o=n();return Object.keys(e).forEach(function(n){t[n]=e[n]}),o}var a=i(),s="Sentry Logger ",f=function(){function n(){this._enabled=!1}return n.prototype.disable=function(){this._enabled=!1},n.prototype.enable=function(){this._enabled=!0},n.prototype.log=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this._enabled&&c(function(){a.console.log(s+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this._enabled&&c(function(){a.console.warn(s+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this._enabled&&c(function(){a.console.error(s+"[Error]: "+n.join(" "))})},n}();a.__SENTRY__=a.__SENTRY__||{};var _,u=a.__SENTRY__.logger||(a.__SENTRY__.logger=new f);!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(_||(_={}));i();var p=function(){function n(r){void 0===r&&(r={}),this.name=n.id,this._Ember=r.Ember||i().Ember}return n.prototype.setupOnce=function(r,t){var e=this;if(this._Ember){var o=this._Ember.onerror;this._Ember.onerror=function(r){if(t().getIntegration(n)&&t().captureException(r,{originalException:r}),"function"==typeof o)o.call(e._Ember,r);else if(e._Ember.testing)throw r},this._Ember.RSVP.on("error",function(r){t().getIntegration(n)&&t().withScope(function(n){!function(n,r){try{return n instanceof r}catch(n){return!1}}(r,Error)?(n.setExtra("reason",r),t().captureMessage("Unhandled Promise error detected")):(n.setExtra("context","Unhandled Promise error detected"),t().captureException(r,{originalException:r}))})})}else u.error("EmberIntegration is missing an Ember instance")},n.id="Ember",n}();for(var l in r.Ember=p,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},r)Object.prototype.hasOwnProperty.call(r,l)&&(n.Sentry.Integrations[l]=r[l])}(window);
//# sourceMappingURL=ember.min.js.map

@@ -115,3 +115,3 @@ (function (__window) {

default:
return wat instanceof Error;
return isInstanceOf(wat, Error);
}

@@ -158,3 +158,3 @@ }

// tslint:disable-next-line:strict-type-predicates
return typeof Event !== 'undefined' && wat instanceof Event;
return typeof Event !== 'undefined' && isInstanceOf(wat, Event);
}

@@ -170,3 +170,3 @@ /**

// tslint:disable-next-line:strict-type-predicates
return typeof Element !== 'undefined' && wat instanceof Element;
return typeof Element !== 'undefined' && isInstanceOf(wat, Element);
}

@@ -184,2 +184,19 @@ /**

}
/**
* Checks whether given value's type is an instance of provided constructor.
* {@link isInstanceOf}.
*
* @param wat A value to be checked.
* @param base A constructor to be used in a check.
* @returns A boolean representing the result.
*/
function isInstanceOf(wat, base) {
try {
// tslint:disable-next-line:no-unsafe-any
return wat instanceof base;
}
catch (_e) {
return false;
}
}

@@ -487,3 +504,3 @@ /**

// tslint:disable-next-line:strict-type-predicates
if (typeof CustomEvent !== 'undefined' && value instanceof CustomEvent) {
if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {
source.detail = event_1.detail;

@@ -490,0 +507,0 @@ }

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

!function(t){var n={};Object.defineProperty(n,"__esModule",{value:!0});var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};var r=function(){return(r=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)};var o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,n){return t.__proto__=n,t}:function(t,n){for(var e in n)t.hasOwnProperty(e)||(t[e]=n[e]);return t});!function(t){function n(n){var e=this.constructor,r=t.call(this,n)||this;return r.message=n,r.name=e.prototype.constructor.name,o(r,e.prototype),r}(function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)})(n,t)}(Error);function i(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function a(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}function u(t){return"undefined"!=typeof Element&&t instanceof Element}var f={};function s(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:f}function p(t){var n=s();if(!("console"in n))return t();var e=n.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in n.console&&e[t].__sentry__&&(r[t]=e[t].__sentry_wrapped__,e[t]=e[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){e[t]=r[t]}),o}function l(t){try{for(var n=t,e=[],r=0,o=0,i=" > ".length,a=void 0;n&&r++<5&&!("html"===(a=y(n))||r>1&&o+e.length*i+a.length>=80);)e.push(a),o+=a.length,n=n.parentNode;return e.reverse().join(" > ")}catch(t){return"<unknown>"}}function y(t){var n,e,r,o,i,a,c=t,u=[];if(!c||!c.tagName)return"";if(u.push(c.tagName.toLowerCase()),c.id&&u.push("#"+c.id),(n=c.className)&&(a=n,"[object String]"===Object.prototype.toString.call(a)))for(e=n.split(/\s+/),i=0;i<e.length;i++)u.push("."+e[i]);var f=["type","name","title","alt"];for(i=0;i<f.length;i++)r=f[i],(o=c.getAttribute(r))&&u.push("["+r+'="'+o+'"]');return u.join("")}var h="<anonymous>";var _=s(),g="Sentry Logger ",v=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&p(function(){_.console.log(g+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&p(function(){_.console.warn(g+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&p(function(){_.console.error(g+"[Error]: "+t.join(" "))})},t}();_.__SENTRY__=_.__SENTRY__||{};var d,b=_.__SENTRY__.logger||(_.__SENTRY__.logger=new v),m=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var n=0;n<this._inner.length;n++){if(this._inner[n]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var n=0;n<this._inner.length;n++)if(this._inner[n]===t){this._inner.splice(n,1);break}},t}();function E(t){if(i(t)){var n=t,e={message:n.message,name:n.name,stack:n.stack};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}if(c=t,"undefined"!=typeof Event&&c instanceof Event){var o=t,a={};a.type=o.type;try{a.target=u(o.target)?l(o.target):Object.prototype.toString.call(o.target)}catch(t){a.target="<unknown>"}try{a.currentTarget=u(o.currentTarget)?l(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(t){a.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&t instanceof CustomEvent&&(a.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,r)&&(a[r]=o);return a}var c;return t}function O(t,n){return"domain"===n&&t&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":c(e=t)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+function(t){try{return t&&"function"==typeof t&&t.name||h}catch(t){return h}}(t)+"]":t;var e}function j(t,n,e,r){if(void 0===e&&(e=1/0),void 0===r&&(r=new m),0===e)return function(t){var n=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===n)return"[Object]";if("[object Array]"===n)return"[Array]";var e=O(t);return a(e)?e:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var o=O(n,t);if(a(o))return o;var i=E(n),c=Array.isArray(n)?[]:{};if(r.memoize(n))return"[Circular ~]";for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(c[u]=j(u,i[u],e-1,r));return r.unmemoize(n),c}!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(d||(d={}));s();var S=function(){function t(n){void 0===n&&(n={depth:3}),this._options=n,this.name=t.id}return t.prototype.setupOnce=function(n,e){n(function(n,r){var o=e().getIntegration(t);return o?o.enhanceEventWithErrorData(n,r):n})},t.prototype.enhanceEventWithErrorData=function(t,n){var e;if(!n||!n.originalException||!i(n.originalException))return t;var o=n.originalException.name||n.originalException.constructor.name,a=this._extractErrorData(n.originalException);if(a){var u=r({},t.contexts),f=function(t,n){try{return JSON.parse(JSON.stringify(t,function(t,e){return j(t,e,n)}))}catch(t){return"**non-serializable**"}}(a,this._options.depth);return c(f)&&(u=r({},t.contexts,((e={})[o]=r({},f),e))),r({},t,{contexts:u})}return t},t.prototype._extractErrorData=function(t){var n,e,r=null;try{var o=["name","message","stack","line","column","fileName","lineNumber","columnNumber"],a=Object.getOwnPropertyNames(t).filter(function(t){return-1===o.indexOf(t)});if(a.length){var c={};try{for(var u=function(t){var n="function"==typeof Symbol&&t[Symbol.iterator],e=0;return n?n.call(t):{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}}}(a),f=u.next();!f.done;f=u.next()){var s=f.value,p=t[s];i(p)&&(p=p.toString()),c[s]=p}}catch(t){n={error:t}}finally{try{f&&!f.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}r=c}}catch(t){b.error("Unable to extract extra data from the Error object:",t)}return r},t.id="ExtraErrorData",t}();for(var w in n.ExtraErrorData=S,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},n)Object.prototype.hasOwnProperty.call(n,w)&&(t.Sentry.Integrations[w]=n[w])}(window);
!function(t){var n={};Object.defineProperty(n,"__esModule",{value:!0});var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)};var r=function(){return(r=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)};var o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,n){return t.__proto__=n,t}:function(t,n){for(var e in n)t.hasOwnProperty(e)||(t[e]=n[e]);return t});!function(t){function n(n){var e=this.constructor,r=t.call(this,n)||this;return r.message=n,r.name=e.prototype.constructor.name,o(r,e.prototype),r}(function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)})(n,t)}(Error);function i(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return f(t,Error)}}function a(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}function u(t){return"undefined"!=typeof Element&&f(t,Element)}function f(t,n){try{return t instanceof n}catch(t){return!1}}var p={};function s(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:p}function l(t){var n=s();if(!("console"in n))return t();var e=n.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in n.console&&e[t].__sentry__&&(r[t]=e[t].__sentry_wrapped__,e[t]=e[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){e[t]=r[t]}),o}function y(t){try{for(var n=t,e=[],r=0,o=0,i=" > ".length,a=void 0;n&&r++<5&&!("html"===(a=h(n))||r>1&&o+e.length*i+a.length>=80);)e.push(a),o+=a.length,n=n.parentNode;return e.reverse().join(" > ")}catch(t){return"<unknown>"}}function h(t){var n,e,r,o,i,a,c=t,u=[];if(!c||!c.tagName)return"";if(u.push(c.tagName.toLowerCase()),c.id&&u.push("#"+c.id),(n=c.className)&&(a=n,"[object String]"===Object.prototype.toString.call(a)))for(e=n.split(/\s+/),i=0;i<e.length;i++)u.push("."+e[i]);var f=["type","name","title","alt"];for(i=0;i<f.length;i++)r=f[i],(o=c.getAttribute(r))&&u.push("["+r+'="'+o+'"]');return u.join("")}var _="<anonymous>";var g=s(),v="Sentry Logger ",d=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&l(function(){g.console.log(v+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&l(function(){g.console.warn(v+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._enabled&&l(function(){g.console.error(v+"[Error]: "+t.join(" "))})},t}();g.__SENTRY__=g.__SENTRY__||{};var b,m=g.__SENTRY__.logger||(g.__SENTRY__.logger=new d),E=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var n=0;n<this._inner.length;n++){if(this._inner[n]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var n=0;n<this._inner.length;n++)if(this._inner[n]===t){this._inner.splice(n,1);break}},t}();function O(t){if(i(t)){var n=t,e={message:n.message,name:n.name,stack:n.stack};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}if(c=t,"undefined"!=typeof Event&&f(c,Event)){var o=t,a={};a.type=o.type;try{a.target=u(o.target)?y(o.target):Object.prototype.toString.call(o.target)}catch(t){a.target="<unknown>"}try{a.currentTarget=u(o.currentTarget)?y(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(t){a.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&f(t,CustomEvent)&&(a.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,r)&&(a[r]=o);return a}var c;return t}function j(t,n){return"domain"===n&&t&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":c(e=t)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+function(t){try{return t&&"function"==typeof t&&t.name||_}catch(t){return _}}(t)+"]":t;var e}function S(t,n,e,r){if(void 0===e&&(e=1/0),void 0===r&&(r=new E),0===e)return function(t){var n=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===n)return"[Object]";if("[object Array]"===n)return"[Array]";var e=j(t);return a(e)?e:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var o=j(n,t);if(a(o))return o;var i=O(n),c=Array.isArray(n)?[]:{};if(r.memoize(n))return"[Circular ~]";for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(c[u]=S(u,i[u],e-1,r));return r.unmemoize(n),c}!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(b||(b={}));s();var w=function(){function t(n){void 0===n&&(n={depth:3}),this._options=n,this.name=t.id}return t.prototype.setupOnce=function(n,e){n(function(n,r){var o=e().getIntegration(t);return o?o.enhanceEventWithErrorData(n,r):n})},t.prototype.enhanceEventWithErrorData=function(t,n){var e;if(!n||!n.originalException||!i(n.originalException))return t;var o=n.originalException.name||n.originalException.constructor.name,a=this._extractErrorData(n.originalException);if(a){var u=r({},t.contexts),f=function(t,n){try{return JSON.parse(JSON.stringify(t,function(t,e){return S(t,e,n)}))}catch(t){return"**non-serializable**"}}(a,this._options.depth);return c(f)&&(u=r({},t.contexts,((e={})[o]=r({},f),e))),r({},t,{contexts:u})}return t},t.prototype._extractErrorData=function(t){var n,e,r=null;try{var o=["name","message","stack","line","column","fileName","lineNumber","columnNumber"],a=Object.getOwnPropertyNames(t).filter(function(t){return-1===o.indexOf(t)});if(a.length){var c={};try{for(var u=function(t){var n="function"==typeof Symbol&&t[Symbol.iterator],e=0;return n?n.call(t):{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}}}(a),f=u.next();!f.done;f=u.next()){var p=f.value,s=t[p];i(s)&&(s=s.toString()),c[p]=s}}catch(t){n={error:t}}finally{try{f&&!f.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}r=c}}catch(t){m.error("Unable to extract extra data from the Error object:",t)}return r},t.id="ExtraErrorData",t}();for(var N in n.ExtraErrorData=w,t.Sentry=t.Sentry||{},t.Sentry.Integrations=t.Sentry.Integrations||{},n)Object.prototype.hasOwnProperty.call(n,N)&&(t.Sentry.Integrations[N]=n[N])}(window);
//# sourceMappingURL=extraerrordata.min.js.map

@@ -42,3 +42,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

getCurrentHub().withScope(function (scope) {
if (reason instanceof Error) {
if (utils_1.isInstanceOf(reason, Error)) {
scope.setExtra('context', 'Unhandled Promise error detected');

@@ -45,0 +45,0 @@ getCurrentHub().captureException(reason, { originalException: reason });

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

import { getGlobalObject, logger } from '@sentry/utils';
import { getGlobalObject, isInstanceOf, logger } from '@sentry/utils';
/** JSDoc */

@@ -41,3 +41,3 @@ var Ember = /** @class */ (function () {

getCurrentHub().withScope(function (scope) {
if (reason instanceof Error) {
if (isInstanceOf(reason, Error)) {
scope.setExtra('context', 'Unhandled Promise error detected');

@@ -44,0 +44,0 @@ getCurrentHub().captureException(reason, { originalException: reason });

{
"name": "@sentry/integrations",
"version": "5.10.0-rc.0",
"version": "5.10.0",
"description": "Pluggable integrations that can be used to enchance JS SDKs",

@@ -19,4 +19,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/types": "5.10.0-rc.0",
"@sentry/utils": "5.10.0-rc.0",
"@sentry/types": "5.10.0",
"@sentry/utils": "5.10.0",
"tslib": "^1.9.3"

@@ -23,0 +23,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

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