@microsoft/applicationinsights-web-basic 2.8.9-nightly.2210-03 → 2.8.9-nightly.2210-04

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.9-nightly.2210-04",
4
+ "ext": {
5
+ "@js": {
6
+ "file": "aib.2.8.9-nightly.2210-04.js",
7
+ "type": "text/javascript; charset=utf-8",
8
+ "integrity": "sha256-OqniiN8qF0ovpYWsNSIT9HFMREqZ0iITVSaoDKv7J/c= sha384-iNY+oHD0cR8PmNFKOhHchi4vYT49IrgbaF73CVO0DD2i+Dm7cv0va6Z4EZhC3TuS sha512-gUMygDl3CIWxQFFBI6yWwh/zhJiqsH0/7YbRwl9HYcmMBs31k3Sy2xp9l9YuLVnloshizADaRS9Yc4/EsNg6rg==",
9
+ "hashes": {
10
+ "sha256": "OqniiN8qF0ovpYWsNSIT9HFMREqZ0iITVSaoDKv7J/c=",
11
+ "sha384": "iNY+oHD0cR8PmNFKOhHchi4vYT49IrgbaF73CVO0DD2i+Dm7cv0va6Z4EZhC3TuS",
12
+ "sha512": "gUMygDl3CIWxQFFBI6yWwh/zhJiqsH0/7YbRwl9HYcmMBs31k3Sy2xp9l9YuLVnloshizADaRS9Yc4/EsNg6rg=="
13
+ }
14
+ },
15
+ "@min.js": {
16
+ "file": "aib.2.8.9-nightly.2210-04.min.js",
17
+ "type": "text/javascript; charset=utf-8",
18
+ "integrity": "sha256-/Q2TwzY5jAS0PkDUydlZGMWNKOcBPkXUdP90Roojygc= sha384-6nMjJTDhMXuexStHB2+0gE1pjVRMuZHAk2urMt1gzy3k/+2uS1v5ldMf8Ai2/uLR sha512-ZHMKZKguICRzYzg+PcALtLcOpxRZGsYc2rtDiv92i0P+2S4X90w/UIxBw9qonG9YPX714tv/6DWp+chh0pgrHQ==",
19
+ "hashes": {
20
+ "sha256": "/Q2TwzY5jAS0PkDUydlZGMWNKOcBPkXUdP90Roojygc=",
21
+ "sha384": "6nMjJTDhMXuexStHB2+0gE1pjVRMuZHAk2urMt1gzy3k/+2uS1v5ldMf8Ai2/uLR",
22
+ "sha512": "ZHMKZKguICRzYzg+PcALtLcOpxRZGsYc2rtDiv92i0P+2S4X90w/UIxBw9qonG9YPX714tv/6DWp+chh0pgrHQ=="
23
+ }
24
+ }
25
+ }
26
+ }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript Web SDK - Basic, 2.8.9-nightly.2210-03
2
+ * Application Insights JavaScript Web SDK - Basic, 2.8.9-nightly.2210-04
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -9,9 +9,11 @@
9
9
  })(this, (function (exports) { 'use strict';
10
10
 
11
11
  /*!
12
- * Microsoft Dynamic Proto Utility, 1.1.6
12
+ * Microsoft Dynamic Proto Utility, 1.1.7
13
13
  * Copyright (c) Microsoft and contributors. All rights reserved.
14
14
  */
15
+ var _a$3;
16
+ var UNDEFINED = "undefined";
15
17
  var Constructor = 'constructor';
16
18
  var Prototype = 'prototype';
17
19
  var strFunction = 'function';
@@ -25,13 +27,37 @@
25
27
  var UnknownValue = '_unknown_';
26
28
  var str__Proto$1 = "__proto__";
27
29
  var DynProtoBaseProto = "_dyn" + str__Proto$1;
30
+ var DynProtoGlobalSettings = "__dynProto$Gbl";
28
31
  var DynProtoCurrent = "_dynInstProto";
29
32
  var strUseBaseInst = 'useBaseInst';
30
33
  var strSetInstFuncs = 'setInstFuncs';
31
34
  var Obj = Object;
32
35
  var _objGetPrototypeOf$1 = Obj["getPrototypeOf"];
33
36
  var _objGetOwnProps = Obj["getOwnPropertyNames"];
34
- var _dynamicNames = 0;
37
+ function _getGlobal() {
38
+ var result;
39
+ if (typeof globalThis !== UNDEFINED) {
40
+ result = globalThis;
41
+ }
42
+ if (!result && typeof self !== UNDEFINED) {
43
+ result = self;
44
+ }
45
+ if (!result && typeof window !== UNDEFINED) {
46
+ result = window;
47
+ }
48
+ if (!result && typeof global !== UNDEFINED) {
49
+ result = global;
50
+ }
51
+ return result || {};
52
+ }
53
+ var _gbl = _getGlobal();
54
+ var _gblInst = _gbl[DynProtoGlobalSettings] || (_gbl[DynProtoGlobalSettings] = {
55
+ o: (_a$3 = {},
56
+ _a$3[strSetInstFuncs] = true,
57
+ _a$3[strUseBaseInst] = true,
58
+ _a$3),
59
+ n: 1000
60
+ });
35
61
  function _hasOwnProperty(obj, prop) {
36
62
  return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
37
63
  }
@@ -225,15 +251,15 @@
225
251
  }
226
252
  var classProto = theClass[Prototype];
227
253
  if (!_checkPrototype(classProto, target)) {
228
- _throwTypeError("[" + _getObjName(theClass) + "] is not in class hierarchy of [" + _getObjName(target) + "]");
254
+ _throwTypeError("[" + _getObjName(theClass) + "] not in hierarchy of [" + _getObjName(target) + "]");
229
255
  }
230
256
  var className = null;
231
257
  if (_hasOwnProperty(classProto, DynClassName)) {
232
258
  className = classProto[DynClassName];
233
259
  }
234
260
  else {
235
- className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _dynamicNames;
236
- _dynamicNames++;
261
+ className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _gblInst.n;
262
+ _gblInst.n++;
237
263
  classProto[DynClassName] = className;
238
264
  }
239
265
  var perfOptions = dynamicProto[DynProtoDefaultOptions];
@@ -250,11 +276,7 @@
250
276
  }
251
277
  _populatePrototype(classProto, className, target, instFuncs, setInstanceFunc !== false);
252
278
  }
253
- var perfDefaults = {
254
- setInstFuncs: true,
255
- useBaseInst: true
256
- };
257
- dynamicProto[DynProtoDefaultOptions] = perfDefaults;
279
+ dynamicProto[DynProtoDefaultOptions] = _gblInst.o;
258
280
 
259
281
  var strShimFunction = "function";
260
282
  var strShimObject = "object";
@@ -271,21 +293,23 @@
271
293
  var _cachedGlobal = null;
272
294
  function getGlobal(useCached) {
273
295
  if (useCached === void 0) { useCached = true; }
274
- if (!_cachedGlobal || !useCached) {
275
- if (typeof globalThis !== strShimUndefined && globalThis) {
276
- _cachedGlobal = globalThis;
296
+ var result = useCached === false ? null : _cachedGlobal;
297
+ if (!result) {
298
+ if (typeof globalThis !== strShimUndefined) {
299
+ result = globalThis;
277
300
  }
278
- if (typeof self !== strShimUndefined && self) {
279
- _cachedGlobal = self;
301
+ if (!result && typeof self !== strShimUndefined) {
302
+ result = self;
280
303
  }
281
- if (typeof window !== strShimUndefined && window) {
282
- _cachedGlobal = window;
304
+ if (!result && typeof window !== strShimUndefined) {
305
+ result = window;
283
306
  }
284
- if (typeof global !== strShimUndefined && global) {
285
- _cachedGlobal = global;
307
+ if (!result && typeof global !== strShimUndefined) {
308
+ result = global;
286
309
  }
310
+ _cachedGlobal = result;
287
311
  }
288
- return _cachedGlobal;
312
+ return result;
289
313
  }
290
314
  function throwTypeError(message) {
291
315
  throw new TypeError(message);
@@ -1537,7 +1561,7 @@
1537
1561
  }
1538
1562
 
1539
1563
  var _objDefineProperty = ObjDefineProperty;
1540
- var version = "2.8.9-nightly.2210-03";
1564
+ var version = "2.8.9-nightly.2210-04";
1541
1565
  var instanceName = "." + newId(6);
1542
1566
  var _dataUid = 0;
1543
1567
  function _createAccessor(target, prop, value) {
@@ -5080,7 +5104,7 @@
5080
5104
  }
5081
5105
  }
5082
5106
  var EnvelopeCreator = {
5083
- Version: "2.8.9-nightly.2210-03"
5107
+ Version: "2.8.9-nightly.2210-04"
5084
5108
  };
5085
5109
  function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
5086
5110
  EnvelopeCreatorInit(logger, telemetryItem);
@@ -6484,4 +6508,4 @@
6484
6508
  (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 });
6485
6509
 
6486
6510
  }));
6487
- //# sourceMappingURL=aib.2.8.9-nightly.2210-03.js.map
6511
+ //# sourceMappingURL=aib.2.8.9-nightly.2210-04.js.map