@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.
package/build/bundle.js CHANGED
@@ -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
  /*! *****************************************************************************
4
4
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -549,8 +549,7 @@ var Sentry = (function (exports) {
549
549
  // eslint-disable-next-line @typescript-eslint/ban-types
550
550
  function mixinProperties(obj, proto) {
551
551
  for (var prop in proto) {
552
- // eslint-disable-next-line no-prototype-builtins
553
- if (!obj.hasOwnProperty(prop)) {
552
+ if (!Object.prototype.hasOwnProperty.call(obj, prop)) {
554
553
  // @ts-ignore typescript complains about indexing so we remove
555
554
  obj[prop] = proto[prop];
556
555
  }
@@ -4559,7 +4558,7 @@ var Sentry = (function (exports) {
4559
4558
  hub.bindClient(client);
4560
4559
  }
4561
4560
 
4562
- var SDK_VERSION = '6.14.0';
4561
+ var SDK_VERSION = '6.14.1';
4563
4562
 
4564
4563
  var originalFunctionToString;
4565
4564
  /** Patch toString calls to return proper name for wrapped functions */
@@ -5640,7 +5639,7 @@ var Sentry = (function (exports) {
5640
5639
  };
5641
5640
  request.open('POST', sentryRequest.url);
5642
5641
  for (var header in _this.options.headers) {
5643
- if (_this.options.headers.hasOwnProperty(header)) {
5642
+ if (Object.prototype.hasOwnProperty.call(_this.options.headers, header)) {
5644
5643
  request.setRequestHeader(header, _this.options.headers[header]);
5645
5644
  }
5646
5645
  }
@@ -6176,7 +6175,7 @@ var Sentry = (function (exports) {
6176
6175
  var global = getGlobalObject();
6177
6176
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
6178
6177
  var proto = global[target] && global[target].prototype;
6179
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
6178
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins
6180
6179
  if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {
6181
6180
  return;
6182
6181
  }