@sentry/browser 6.14.0 → 6.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- /*! @sentry/browser 6.14.0 (574741b) | https://github.com/getsentry/sentry-javascript */
1
+ /*! @sentry/browser 6.14.1 (687b6c4) | https://github.com/getsentry/sentry-javascript */
2
2
  var Sentry = (function (exports) {
3
3
  /** Console logging verbosity for the SDK. */
4
4
  var LogLevel;
@@ -465,8 +465,7 @@ var Sentry = (function (exports) {
465
465
  // eslint-disable-next-line @typescript-eslint/ban-types
466
466
  function mixinProperties(obj, proto) {
467
467
  for (const prop in proto) {
468
- // eslint-disable-next-line no-prototype-builtins
469
- if (!obj.hasOwnProperty(prop)) {
468
+ if (!Object.prototype.hasOwnProperty.call(obj, prop)) {
470
469
  // @ts-ignore typescript complains about indexing so we remove
471
470
  obj[prop] = proto[prop];
472
471
  }
@@ -4362,7 +4361,7 @@ var Sentry = (function (exports) {
4362
4361
  hub.bindClient(client);
4363
4362
  }
4364
4363
 
4365
- const SDK_VERSION = '6.14.0';
4364
+ const SDK_VERSION = '6.14.1';
4366
4365
 
4367
4366
  let originalFunctionToString;
4368
4367
  /** Patch toString calls to return proper name for wrapped functions */
@@ -5410,7 +5409,7 @@ var Sentry = (function (exports) {
5410
5409
  };
5411
5410
  request.open('POST', sentryRequest.url);
5412
5411
  for (const header in this.options.headers) {
5413
- if (this.options.headers.hasOwnProperty(header)) {
5412
+ if (Object.prototype.hasOwnProperty.call(this.options.headers, header)) {
5414
5413
  request.setRequestHeader(header, this.options.headers[header]);
5415
5414
  }
5416
5415
  }
@@ -5930,7 +5929,7 @@ var Sentry = (function (exports) {
5930
5929
  const global = getGlobalObject();
5931
5930
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
5932
5931
  const proto = global[target] && global[target].prototype;
5933
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
5932
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins
5934
5933
  if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {
5935
5934
  return;
5936
5935
  }