@microsoft/applicationinsights-dependencies-js 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,25 +1,25 @@
1
1
  {
2
2
  "name": "applicationinsights-dependencies-js",
3
- "version": "2.8.17-nightly.2312-06",
3
+ "version": "2.8.17-nightly.2402-05",
4
4
  "ext": {
5
5
  "@js": {
6
6
  "file": "applicationinsights-dependencies-js.js",
7
7
  "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-F/4r7ck/h8SzGF09Ii+VSy9d9IjJMUKQNVONOA/Daw4= sha384-nEfdF7SPf2MHRxCV67LLITJgvByhHplDNUodtuXYpmhkYBjhxjIF1NPcLNVhaAfM sha512-72Kkv0D0yanQNyDy4mwfYGAMzqbU25rAEHYEG+Gx2KkJMD9yin6BYEYCMWc2Ul+dvszqcKyN3+ZUzsfGkhn7kw==",
8
+ "integrity": "sha256-1V04U7XbwsSi0Tg2+P+oXx2V674g8W2U+4h0j79FQGo= sha384-h9bhlt5O54/+kz2FEAKnb1v9nez9z31XucBh6rnnxeVvnc7X7c3VxBlRUIBHKXcg sha512-fLFr38Rrlw/tHPl2mlkkGKU+I82QPXOTzs4N/3q7SLD7hzfMIl85kkLk+BDIAyWNC3bVP7ZKSewi8xfyL22IWw==",
9
9
  "hashes": {
10
- "sha256": "F/4r7ck/h8SzGF09Ii+VSy9d9IjJMUKQNVONOA/Daw4=",
11
- "sha384": "nEfdF7SPf2MHRxCV67LLITJgvByhHplDNUodtuXYpmhkYBjhxjIF1NPcLNVhaAfM",
12
- "sha512": "72Kkv0D0yanQNyDy4mwfYGAMzqbU25rAEHYEG+Gx2KkJMD9yin6BYEYCMWc2Ul+dvszqcKyN3+ZUzsfGkhn7kw=="
10
+ "sha256": "1V04U7XbwsSi0Tg2+P+oXx2V674g8W2U+4h0j79FQGo=",
11
+ "sha384": "h9bhlt5O54/+kz2FEAKnb1v9nez9z31XucBh6rnnxeVvnc7X7c3VxBlRUIBHKXcg",
12
+ "sha512": "fLFr38Rrlw/tHPl2mlkkGKU+I82QPXOTzs4N/3q7SLD7hzfMIl85kkLk+BDIAyWNC3bVP7ZKSewi8xfyL22IWw=="
13
13
  }
14
14
  },
15
15
  "@min.js": {
16
16
  "file": "applicationinsights-dependencies-js.min.js",
17
17
  "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-0qfH0QMYoQUpuhP1lHTxgapQkoSKp/rvr4yn6bm3UA4= sha384-zIyctgCnMW68ESeb/irqYNDdDcXqA5Y0IOYaV6BqE6i4Zv9nOFyVjHo2DEe/OCrs sha512-wt2mDffB9EQZInzL2ctZIm5mrz/v909nIgqkWqN5QUHomTx2CFqPs2FuqsQRXOtcQNLRQhd5K1qPjQViUa/L/w==",
18
+ "integrity": "sha256-69ToMxd5SJ9HHAJSihOiHUmnFESr1zddjMs2QNxt/vY= sha384-NLrtOOPud3cUz+l24d1ADp5PWUDTcm9zrwcofRiiQizhz1i2zuHKOc77guRabNji sha512-tiVc4/kwL3XCcQjrGCYssrHZZy2ZaUzsPE5a3btU3BvEVNdK/cRiF7QzJlcluWShuPxxB062RGPT+ph39MMEUA==",
19
19
  "hashes": {
20
- "sha256": "0qfH0QMYoQUpuhP1lHTxgapQkoSKp/rvr4yn6bm3UA4=",
21
- "sha384": "zIyctgCnMW68ESeb/irqYNDdDcXqA5Y0IOYaV6BqE6i4Zv9nOFyVjHo2DEe/OCrs",
22
- "sha512": "wt2mDffB9EQZInzL2ctZIm5mrz/v909nIgqkWqN5QUHomTx2CFqPs2FuqsQRXOtcQNLRQhd5K1qPjQViUa/L/w=="
20
+ "sha256": "69ToMxd5SJ9HHAJSihOiHUmnFESr1zddjMs2QNxt/vY=",
21
+ "sha384": "NLrtOOPud3cUz+l24d1ADp5PWUDTcm9zrwcofRiiQizhz1i2zuHKOc77guRabNji",
22
+ "sha512": "tiVc4/kwL3XCcQjrGCYssrHZZy2ZaUzsPE5a3btU3BvEVNdK/cRiF7QzJlcluWShuPxxB062RGPT+ph39MMEUA=="
23
23
  }
24
24
  }
25
25
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.17-nightly.2312-06
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.17-nightly.2402-05
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -126,7 +126,7 @@ function __extendsFn(d, b) {
126
126
  }
127
127
 
128
128
  /*!
129
- * Microsoft Dynamic Proto Utility, 1.1.9
129
+ * Microsoft Dynamic Proto Utility, 1.1.11
130
130
  * Copyright (c) Microsoft and contributors. All rights reserved.
131
131
  */
132
132
  var _a$1;
@@ -219,13 +219,16 @@ function _forEachProp(target, func) {
219
219
  }
220
220
  }
221
221
  function _isDynamicCandidate(target, funcName, skipOwn) {
222
- return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)));
222
+ return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)) && funcName !== str__Proto$1 && funcName !== Prototype);
223
223
  }
224
224
  function _throwTypeError(message) {
225
225
  throw new TypeError("DynamicProto: " + message);
226
226
  }
227
+ function _newObject() {
228
+ 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) : {};
229
+ }
227
230
  function _getInstanceFuncs(thisTarget) {
228
- var instFuncs = {};
231
+ var instFuncs = _newObject();
229
232
  _forEachProp(thisTarget, function (name) {
230
233
  if (!instFuncs[name] && _isDynamicCandidate(thisTarget, name, false)) {
231
234
  instFuncs[name] = thisTarget[name];
@@ -254,7 +257,7 @@ function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
254
257
  return theFunc.apply(target, arguments);
255
258
  };
256
259
  }
257
- var baseFuncs = {};
260
+ var baseFuncs = _newObject();
258
261
  _forEachProp(instFuncs, function (name) {
259
262
  baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
260
263
  });
@@ -274,8 +277,8 @@ function _getBaseFuncs(classProto, thisTarget, instFuncs, useBaseInst) {
274
277
  function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
275
278
  var instFunc = null;
276
279
  if (target && _hasOwnProperty(proto, DynClassName)) {
277
- var instFuncTable = target[DynInstFuncTable] || {};
278
- instFunc = (instFuncTable[proto[DynClassName]] || {})[funcName];
280
+ var instFuncTable = target[DynInstFuncTable] || _newObject();
281
+ instFunc = (instFuncTable[proto[DynClassName]] || _newObject())[funcName];
279
282
  if (!instFunc) {
280
283
  _throwTypeError("Missing [" + funcName + "] " + strFunction);
281
284
  }
@@ -325,20 +328,24 @@ function _populatePrototype(proto, className, target, baseInstFuncs, setInstance
325
328
  return dynProtoProxy;
326
329
  }
327
330
  if (!_isObjectOrArrayPrototype(proto)) {
328
- var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || {};
329
- var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || {});
330
- if (instFuncTable[DynAllowInstChkTag] !== false) {
331
- instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
332
- }
333
- _forEachProp(target, function (name) {
334
- if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
335
- instFuncs_1[name] = target[name];
336
- delete target[name];
337
- if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
338
- proto[name] = _createDynamicPrototype(proto, name);
339
- }
331
+ var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || _newObject();
332
+ if (!_isObjectOrArrayPrototype(instFuncTable)) {
333
+ var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || _newObject());
334
+ if (instFuncTable[DynAllowInstChkTag] !== false) {
335
+ instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
340
336
  }
341
- });
337
+ if (!_isObjectOrArrayPrototype(instFuncs_1)) {
338
+ _forEachProp(target, function (name) {
339
+ if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
340
+ instFuncs_1[name] = target[name];
341
+ delete target[name];
342
+ if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
343
+ proto[name] = _createDynamicPrototype(proto, name);
344
+ }
345
+ }
346
+ });
347
+ }
348
+ }
342
349
  }
343
350
  }
344
351
  function _checkPrototype(classProto, thisTarget) {
@@ -1305,7 +1312,7 @@ function newId(maxLength) {
1305
1312
  }
1306
1313
 
1307
1314
  var _objDefineProperty = ObjDefineProperty;
1308
- var version = "2.8.17-nightly.2312-06";
1315
+ var version = "2.8.17-nightly.2402-05";
1309
1316
  var instanceName = "." + newId(6);
1310
1317
  var _dataUid = 0;
1311
1318
  function _createAccessor(target, prop, value) {