@microsoft/applicationinsights-channel-js 2.8.17-nightly.2309-05 → 2.8.17-nightly.2401-12

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.1",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights JavaScript SDK Channel, 2.8.17-nightly.2309-05
2
+ * Microsoft Application Insights JavaScript SDK Channel, 2.8.17-nightly.2401-12
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 SDK - Channel, 2.8.17-nightly.2309-05
2
+ * Application Insights JavaScript SDK - Channel, 2.8.17-nightly.2401-12
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -101,7 +101,7 @@
101
101
  }
102
102
 
103
103
  /*!
104
- * Microsoft Dynamic Proto Utility, 1.1.9
104
+ * Microsoft Dynamic Proto Utility, 1.1.11
105
105
  * Copyright (c) Microsoft and contributors. All rights reserved.
106
106
  */
107
107
  var _a$2;
@@ -194,13 +194,16 @@
194
194
  }
195
195
  }
196
196
  function _isDynamicCandidate(target, funcName, skipOwn) {
197
- return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)));
197
+ return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)) && funcName !== str__Proto$1 && funcName !== Prototype);
198
198
  }
199
199
  function _throwTypeError(message) {
200
200
  throw new TypeError("DynamicProto: " + message);
201
201
  }
202
+ function _newObject() {
203
+ 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) : {};
204
+ }
202
205
  function _getInstanceFuncs(thisTarget) {
203
- var instFuncs = {};
206
+ var instFuncs = _newObject();
204
207
  _forEachProp(thisTarget, function (name) {
205
208
  if (!instFuncs[name] && _isDynamicCandidate(thisTarget, name, false)) {
206
209
  instFuncs[name] = thisTarget[name];
@@ -229,7 +232,7 @@
229
232
  return theFunc.apply(target, arguments);
230
233
  };
231
234
  }
232
- var baseFuncs = {};
235
+ var baseFuncs = _newObject();
233
236
  _forEachProp(instFuncs, function (name) {
234
237
  baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
235
238
  });
@@ -249,8 +252,8 @@
249
252
  function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
250
253
  var instFunc = null;
251
254
  if (target && _hasOwnProperty(proto, DynClassName)) {
252
- var instFuncTable = target[DynInstFuncTable] || {};
253
- instFunc = (instFuncTable[proto[DynClassName]] || {})[funcName];
255
+ var instFuncTable = target[DynInstFuncTable] || _newObject();
256
+ instFunc = (instFuncTable[proto[DynClassName]] || _newObject())[funcName];
254
257
  if (!instFunc) {
255
258
  _throwTypeError("Missing [" + funcName + "] " + strFunction);
256
259
  }
@@ -300,20 +303,24 @@
300
303
  return dynProtoProxy;
301
304
  }
302
305
  if (!_isObjectOrArrayPrototype(proto)) {
303
- var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || {};
304
- var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || {});
305
- if (instFuncTable[DynAllowInstChkTag] !== false) {
306
- instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
307
- }
308
- _forEachProp(target, function (name) {
309
- if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
310
- instFuncs_1[name] = target[name];
311
- delete target[name];
312
- if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
313
- proto[name] = _createDynamicPrototype(proto, name);
314
- }
306
+ var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || _newObject();
307
+ if (!_isObjectOrArrayPrototype(instFuncTable)) {
308
+ var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || _newObject());
309
+ if (instFuncTable[DynAllowInstChkTag] !== false) {
310
+ instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
311
+ }
312
+ if (!_isObjectOrArrayPrototype(instFuncs_1)) {
313
+ _forEachProp(target, function (name) {
314
+ if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
315
+ instFuncs_1[name] = target[name];
316
+ delete target[name];
317
+ if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
318
+ proto[name] = _createDynamicPrototype(proto, name);
319
+ }
320
+ }
321
+ });
315
322
  }
316
- });
323
+ }
317
324
  }
318
325
  }
319
326
  function _checkPrototype(classProto, thisTarget) {
@@ -1355,7 +1362,7 @@
1355
1362
  }
1356
1363
 
1357
1364
  var _objDefineProperty = ObjDefineProperty;
1358
- var version = "2.8.17-nightly.2309-05";
1365
+ var version = "2.8.17-nightly.2401-12";
1359
1366
  var instanceName = "." + newId(6);
1360
1367
  var _dataUid = 0;
1361
1368
  function _createAccessor(target, prop, value) {
@@ -3454,7 +3461,7 @@
3454
3461
  }
3455
3462
  }
3456
3463
  var EnvelopeCreator = {
3457
- Version: "2.8.17-nightly.2309-05"
3464
+ Version: "2.8.17-nightly.2401-12"
3458
3465
  };
3459
3466
  function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
3460
3467
  EnvelopeCreatorInit(logger, telemetryItem);