@microsoft/applicationinsights-web-basic 2.8.1 → 2.8.2

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.
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "aib",
3
+ "version": "2.8.2",
4
+ "ext": {
5
+ "@js": {
6
+ "file": "aib.2.8.2.js",
7
+ "type": "text/javascript; charset=utf-8",
8
+ "integrity": "sha256-Ym5CM9Fiyu/uDfx+ZuH3//nkRA8h+znRAEkoatKJ91k= sha384-EQPfa2SB0te5aBx+kUfWHp5K08kc0bMdEHRodUIAd6S7pJzt0IRDlrbmxQiZZk+d sha512-CsBWz+R5qn2yvm969tq9/7aD9TZfuhF5IOubZnXuFsb43gA+d2+KaQ8Nys2NjAzorzyCkRmeuRMrSWlXhm68yw==",
9
+ "hashes": {
10
+ "sha256": "Ym5CM9Fiyu/uDfx+ZuH3//nkRA8h+znRAEkoatKJ91k=",
11
+ "sha384": "EQPfa2SB0te5aBx+kUfWHp5K08kc0bMdEHRodUIAd6S7pJzt0IRDlrbmxQiZZk+d",
12
+ "sha512": "CsBWz+R5qn2yvm969tq9/7aD9TZfuhF5IOubZnXuFsb43gA+d2+KaQ8Nys2NjAzorzyCkRmeuRMrSWlXhm68yw=="
13
+ }
14
+ },
15
+ "@min.js": {
16
+ "file": "aib.2.8.2.min.js",
17
+ "type": "text/javascript; charset=utf-8",
18
+ "integrity": "sha256-ckEnDGhSJCphpCNbGTjPlTfU0ew3xd/0D+75m9aePMY= sha384-85fjvWGOge5SXRp2qQlHjnC/aZ3SRA+IpSJdFrWluHY25rK7MRRqhcyWD52UjVFC sha512-6StAy3XH3zJh8hIQ1gma6pB5x4vZ3sWAqLoOvXYbwTWclXaghAr5kAEfd4DZNaGQDzI54V9128p10eyQi2WZPQ==",
19
+ "hashes": {
20
+ "sha256": "ckEnDGhSJCphpCNbGTjPlTfU0ew3xd/0D+75m9aePMY=",
21
+ "sha384": "85fjvWGOge5SXRp2qQlHjnC/aZ3SRA+IpSJdFrWluHY25rK7MRRqhcyWD52UjVFC",
22
+ "sha512": "6StAy3XH3zJh8hIQ1gma6pB5x4vZ3sWAqLoOvXYbwTWclXaghAr5kAEfd4DZNaGQDzI54V9128p10eyQi2WZPQ=="
23
+ }
24
+ }
25
+ }
26
+ }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript Web SDK - Basic, 2.8.1
2
+ * Application Insights JavaScript Web SDK - Basic, 2.8.2
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -9,7 +9,7 @@
9
9
  })(this, (function (exports) { 'use strict';
10
10
 
11
11
  /*!
12
- * Microsoft Dynamic Proto Utility, 1.1.4
12
+ * Microsoft Dynamic Proto Utility, 1.1.5
13
13
  * Copyright (c) Microsoft and contributors. All rights reserved.
14
14
  */
15
15
  var Constructor = 'constructor';
@@ -22,6 +22,7 @@
22
22
  var DynInstChkTag = '_dynInstChk';
23
23
  var DynAllowInstChkTag = DynInstChkTag;
24
24
  var DynProtoDefaultOptions = '_dfOpts';
25
+ var DynProtoPolyProto = "_dynProto";
25
26
  var UnknownValue = '_unknown_';
26
27
  var str__Proto$1 = "__proto__";
27
28
  var strUseBaseInst = 'useBaseInst';
@@ -43,8 +44,11 @@
43
44
  if (_objGetPrototypeOf$1) {
44
45
  return _objGetPrototypeOf$1(target);
45
46
  }
46
- var newProto = target[str__Proto$1] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
47
+ var newProto = target[DynProtoPolyProto] || target[str__Proto$1] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
47
48
  if (newProto) {
49
+ if (!target[DynProtoPolyProto]) {
50
+ target[DynProtoPolyProto] = newProto;
51
+ }
48
52
  return newProto;
49
53
  }
50
54
  }
@@ -203,8 +207,9 @@
203
207
  visited.push(thisProto);
204
208
  thisProto = _getObjProto$1(thisProto);
205
209
  }
210
+ return false;
206
211
  }
207
- return false;
212
+ return true;
208
213
  }
209
214
  function _getObjName(target, unknownValue) {
210
215
  if (_hasOwnProperty(target, Prototype)) {
@@ -1149,7 +1154,7 @@
1149
1154
  if (isUserAct === void 0) { isUserAct = false; }
1150
1155
  var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
1151
1156
  if (_self.enableDebugExceptions()) {
1152
- throw message;
1157
+ throw dumpObj(message);
1153
1158
  }
1154
1159
  else {
1155
1160
  var logFunc = severity === 1 ? strErrorToConsole : strWarnToConsole;
@@ -1475,7 +1480,7 @@
1475
1480
  }
1476
1481
 
1477
1482
  var _objDefineProperty = ObjDefineProperty;
1478
- var version = "2.8.1";
1483
+ var version = "2.8.2";
1479
1484
  var instanceName = "." + newId(6);
1480
1485
  var _dataUid = 0;
1481
1486
  function _createAccessor(target, prop, value) {
@@ -2922,11 +2927,11 @@
2922
2927
  var allExtensions = theExtensions.all;
2923
2928
  _channelQueue = objFreeze(createChannelQueues(_channelConfig, allExtensions, config, _self));
2924
2929
  if (_channelControl) {
2925
- var idx = allExtensions.indexOf(_channelControl);
2930
+ var idx = arrIndexOf(allExtensions, _channelControl);
2926
2931
  if (idx !== -1) {
2927
2932
  allExtensions.splice(idx, 1);
2928
2933
  }
2929
- idx = _coreExtensions.indexOf(_channelControl);
2934
+ idx = arrIndexOf(_coreExtensions, _channelControl);
2930
2935
  if (idx !== -1) {
2931
2936
  _coreExtensions.splice(idx, 1);
2932
2937
  }
@@ -2991,7 +2996,7 @@
2991
2996
  function _getPluginChain() {
2992
2997
  if (!_pluginChain) {
2993
2998
  var extensions = (_coreExtensions || []).slice();
2994
- if (extensions.indexOf(_telemetryInitializerPlugin) === -1) {
2999
+ if (arrIndexOf(extensions, _telemetryInitializerPlugin) === -1) {
2995
3000
  extensions.push(_telemetryInitializerPlugin);
2996
3001
  }
2997
3002
  _pluginChain = createTelemetryProxyChain(sortPlugins(extensions), _self.config, _self);
@@ -3856,7 +3861,7 @@
3856
3861
  "https://dc-int.services.visualstudio.com/v2/track"
3857
3862
  ];
3858
3863
  function isInternalApplicationInsightsEndpoint(endpointUrl) {
3859
- return _internalEndpoints.indexOf(endpointUrl.toLowerCase()) !== -1;
3864
+ return arrIndexOf(_internalEndpoints, endpointUrl.toLowerCase()) !== -1;
3860
3865
  }
3861
3866
  function AjaxHelperParseDependencyPath(logger, absoluteUrl, method, commandName) {
3862
3867
  var target, name = commandName, data = commandName;
@@ -4941,7 +4946,7 @@
4941
4946
  }
4942
4947
  }
4943
4948
  var EnvelopeCreator = {
4944
- Version: "2.8.1"
4949
+ Version: "2.8.2"
4945
4950
  };
4946
4951
  function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
4947
4952
  EnvelopeCreatorInit(logger, telemetryItem);
@@ -6156,4 +6161,4 @@
6156
6161
  (function(obj, prop, descriptor) { /* ai_es3_polyfil defineProperty */ var func = Object["defineProperty"]; if (func) { try { return func(obj, prop, descriptor); } catch(e) { /* IE8 defines defineProperty, but will throw */ } } if (descriptor && typeof descriptor.value !== undefined) { obj[prop] = descriptor.value; } return obj; })(exports, '__esModule', { value: true });
6157
6162
 
6158
6163
  }));
6159
- //# sourceMappingURL=aib.2.8.1.js.map
6164
+ //# sourceMappingURL=aib.2.8.2.js.map