@microsoft/applicationinsights-web-basic 2.8.17-nightly.2312-06 → 2.8.17-nightly.2402-05

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,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.37.0",
4
+ "toolVersion": "7.39.5",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft.ApplicationInsights, 2.8.17-nightly.2312-06
2
+ * Microsoft.ApplicationInsights, 2.8.17-nightly.2402-05
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript Web SDK - Basic, 2.8.17-nightly.2312-06
2
+ * Application Insights JavaScript Web SDK - Basic, 2.8.17-nightly.2402-05
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.9
12
+ * Microsoft Dynamic Proto Utility, 1.1.11
13
13
  * Copyright (c) Microsoft and contributors. All rights reserved.
14
14
  */
15
15
  var _a$3;
@@ -102,13 +102,16 @@
102
102
  }
103
103
  }
104
104
  function _isDynamicCandidate(target, funcName, skipOwn) {
105
- return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)));
105
+ return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)) && funcName !== str__Proto$1 && funcName !== Prototype);
106
106
  }
107
107
  function _throwTypeError(message) {
108
108
  throw new TypeError("DynamicProto: " + message);
109
109
  }
110
+ function _newObject() {
111
+ return Object.create ? (function(obj) { var func = Object["create"]; if (func) { return func(obj); } if (obj == null) { return {}; } var type = typeof obj; if (type !== 'object' && type !== 'function') { throw new TypeError('Object prototype may only be an Object:' + obj); } function tmpFunc() {} tmpFunc.prototype = obj; return new tmpFunc(); })(null) : {};
112
+ }
110
113
  function _getInstanceFuncs(thisTarget) {
111
- var instFuncs = {};
114
+ var instFuncs = _newObject();
112
115
  _forEachProp(thisTarget, function (name) {
113
116
  if (!instFuncs[name] && _isDynamicCandidate(thisTarget, name, false)) {
114
117
  instFuncs[name] = thisTarget[name];
@@ -137,7 +140,7 @@
137
140
  return theFunc.apply(target, arguments);
138
141
  };
139
142
  }
140
- var baseFuncs = {};
143
+ var baseFuncs = _newObject();
141
144
  _forEachProp(instFuncs, function (name) {
142
145
  baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
143
146
  });
@@ -157,8 +160,8 @@
157
160
  function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
158
161
  var instFunc = null;
159
162
  if (target && _hasOwnProperty(proto, DynClassName)) {
160
- var instFuncTable = target[DynInstFuncTable] || {};
161
- instFunc = (instFuncTable[proto[DynClassName]] || {})[funcName];
163
+ var instFuncTable = target[DynInstFuncTable] || _newObject();
164
+ instFunc = (instFuncTable[proto[DynClassName]] || _newObject())[funcName];
162
165
  if (!instFunc) {
163
166
  _throwTypeError("Missing [" + funcName + "] " + strFunction);
164
167
  }
@@ -208,20 +211,24 @@
208
211
  return dynProtoProxy;
209
212
  }
210
213
  if (!_isObjectOrArrayPrototype(proto)) {
211
- var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || {};
212
- var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || {});
213
- if (instFuncTable[DynAllowInstChkTag] !== false) {
214
- instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
215
- }
216
- _forEachProp(target, function (name) {
217
- if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
218
- instFuncs_1[name] = target[name];
219
- delete target[name];
220
- if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
221
- proto[name] = _createDynamicPrototype(proto, name);
222
- }
214
+ var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || _newObject();
215
+ if (!_isObjectOrArrayPrototype(instFuncTable)) {
216
+ var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || _newObject());
217
+ if (instFuncTable[DynAllowInstChkTag] !== false) {
218
+ instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
219
+ }
220
+ if (!_isObjectOrArrayPrototype(instFuncs_1)) {
221
+ _forEachProp(target, function (name) {
222
+ if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
223
+ instFuncs_1[name] = target[name];
224
+ delete target[name];
225
+ if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
226
+ proto[name] = _createDynamicPrototype(proto, name);
227
+ }
228
+ }
229
+ });
223
230
  }
224
- });
231
+ }
225
232
  }
226
233
  }
227
234
  function _checkPrototype(classProto, thisTarget) {
@@ -1561,7 +1568,7 @@
1561
1568
  }
1562
1569
 
1563
1570
  var _objDefineProperty = ObjDefineProperty;
1564
- var version = "2.8.17-nightly.2312-06";
1571
+ var version = "2.8.17-nightly.2402-05";
1565
1572
  var instanceName = "." + newId(6);
1566
1573
  var _dataUid = 0;
1567
1574
  function _createAccessor(target, prop, value) {
@@ -5166,7 +5173,7 @@
5166
5173
  }
5167
5174
  }
5168
5175
  var EnvelopeCreator = {
5169
- Version: "2.8.17-nightly.2312-06"
5176
+ Version: "2.8.17-nightly.2402-05"
5170
5177
  };
5171
5178
  function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
5172
5179
  EnvelopeCreatorInit(logger, telemetryItem);