@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,25 +1,25 @@
1
1
  {
2
2
  "name": "applicationinsights-channel-js",
3
- "version": "2.8.17-nightly.2309-05",
3
+ "version": "2.8.17-nightly.2401-12",
4
4
  "ext": {
5
5
  "@js": {
6
6
  "file": "applicationinsights-channel-js.js",
7
7
  "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-Cky/WZdN9yZEG9n2gpfSsRK7Pr3+s5TG4rcSaozMd64= sha384-bn6EklZvgvfH/+s3QYNiET8LL735XdOXab573S4Vd6vVMTK6aP5iHwuNwoyL5Bfc sha512-Ayoi7qP7k7eqfMcymgzNLakC4gFuIEi9e4/hU50JMGCu7mfM9pKkm7jjLRn5LklXCRiFfIhWIcbt6uUXLEsM6g==",
8
+ "integrity": "sha256-jJiUbXDO09in490ZqRsXzMLqHsVMSfD2hBbSJW+cdlI= sha384-PFdEpBE1mT05FaQEG02YiozXakvmzE/M6Aua0f3HJHfchW1srSxSLLvwYV2dg89p sha512-Yf2ZK2JX+BgPZN6xatKUx4Rm4GXBmvNG8fLQBMsDVRqg5/7Zz/g1b8fC9okm3QcWxoI9IIzaw2HNWAgTpd8+mQ==",
9
9
  "hashes": {
10
- "sha256": "Cky/WZdN9yZEG9n2gpfSsRK7Pr3+s5TG4rcSaozMd64=",
11
- "sha384": "bn6EklZvgvfH/+s3QYNiET8LL735XdOXab573S4Vd6vVMTK6aP5iHwuNwoyL5Bfc",
12
- "sha512": "Ayoi7qP7k7eqfMcymgzNLakC4gFuIEi9e4/hU50JMGCu7mfM9pKkm7jjLRn5LklXCRiFfIhWIcbt6uUXLEsM6g=="
10
+ "sha256": "jJiUbXDO09in490ZqRsXzMLqHsVMSfD2hBbSJW+cdlI=",
11
+ "sha384": "PFdEpBE1mT05FaQEG02YiozXakvmzE/M6Aua0f3HJHfchW1srSxSLLvwYV2dg89p",
12
+ "sha512": "Yf2ZK2JX+BgPZN6xatKUx4Rm4GXBmvNG8fLQBMsDVRqg5/7Zz/g1b8fC9okm3QcWxoI9IIzaw2HNWAgTpd8+mQ=="
13
13
  }
14
14
  },
15
15
  "@min.js": {
16
16
  "file": "applicationinsights-channel-js.min.js",
17
17
  "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-Ie8S4Tuw/5m/A9ErjnBCzjHK07a6tI1QYbJf23dzRW0= sha384-aBmrk8kK5Vo/WB5z0yV80oU+v0cyvIwPZNtwtP/MiGKrrvRWIDuBzk5viQ86xnlL sha512-Pkx0uY9YLVZa4pIQdIYC85nqjWpdiyTz7XtvIGY0CKK7Q8optpQWLerHyKtKWzxKlpXnzkJBDaBh5xM0rQYhHg==",
18
+ "integrity": "sha256-P2FKIRsUNC6eWD/bpvfHvtSZLEeS5xnoQPKbaszujb0= sha384-9aiihTluArcKzJuK9tXknXYP5I/ptPRDlen7OEoFN/zMaioPpnAfj/KEJTiBp7SP sha512-ww5mwoNOQ6ffSRGm8zkuUGOLrwcMXct1wkypsPrg7ljk8IegzjjlcYWVzjf/WRqq8vu5gygQP1eRj5M8iNt08A==",
19
19
  "hashes": {
20
- "sha256": "Ie8S4Tuw/5m/A9ErjnBCzjHK07a6tI1QYbJf23dzRW0=",
21
- "sha384": "aBmrk8kK5Vo/WB5z0yV80oU+v0cyvIwPZNtwtP/MiGKrrvRWIDuBzk5viQ86xnlL",
22
- "sha512": "Pkx0uY9YLVZa4pIQdIYC85nqjWpdiyTz7XtvIGY0CKK7Q8optpQWLerHyKtKWzxKlpXnzkJBDaBh5xM0rQYhHg=="
20
+ "sha256": "P2FKIRsUNC6eWD/bpvfHvtSZLEeS5xnoQPKbaszujb0=",
21
+ "sha384": "9aiihTluArcKzJuK9tXknXYP5I/ptPRDlen7OEoFN/zMaioPpnAfj/KEJTiBp7SP",
22
+ "sha512": "ww5mwoNOQ6ffSRGm8zkuUGOLrwcMXct1wkypsPrg7ljk8IegzjjlcYWVzjf/WRqq8vu5gygQP1eRj5M8iNt08A=="
23
23
  }
24
24
  }
25
25
  }
@@ -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) {
@@ -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$2;
@@ -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;
336
+ }
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
+ });
340
347
  }
341
- });
348
+ }
342
349
  }
343
350
  }
344
351
  function _checkPrototype(classProto, thisTarget) {
@@ -1380,7 +1387,7 @@ function newId(maxLength) {
1380
1387
  }
1381
1388
 
1382
1389
  var _objDefineProperty = ObjDefineProperty;
1383
- var version = "2.8.17-nightly.2309-05";
1390
+ var version = "2.8.17-nightly.2401-12";
1384
1391
  var instanceName = "." + newId(6);
1385
1392
  var _dataUid = 0;
1386
1393
  function _createAccessor(target, prop, value) {
@@ -3479,7 +3486,7 @@ function EnvelopeCreatorInit(logger, telemetryItem) {
3479
3486
  }
3480
3487
  }
3481
3488
  var EnvelopeCreator = {
3482
- Version: "2.8.17-nightly.2309-05"
3489
+ Version: "2.8.17-nightly.2401-12"
3483
3490
  };
3484
3491
  function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
3485
3492
  EnvelopeCreatorInit(logger, telemetryItem);