@microsoft/applicationinsights-properties-js 2.7.5-nightly.2203-02 → 2.7.5-nightly.2204-23

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-properties-js",
3
- "version": "2.7.5-nightly.2203-02",
3
+ "version": "2.7.5-nightly.2204-23",
4
4
  "ext": {
5
5
  "@js": {
6
6
  "file": "applicationinsights-properties-js.js",
7
7
  "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-Ml/36R6C16G6Z/9xNpCZmhQ4iFRtOmu4AnRzqaKyHh0= sha384-gg2ySAFe/KuvV1ztz/At7TM0+YdR7xUFTHCHuXq9XAIiUaHTtTpYUVYAnSQoK9Pw sha512-DyXATQMByLA4JvgB0Fq7UzIMBsoAd1JDKC1CygCc+winkbOF+0rFFggeFDWkuHTQiXGg2KBjA0tOO3AQQEOEIg==",
8
+ "integrity": "sha256-PxPEWbdbazizuMMF9KjfvSw82ArcC3Qt8LfX02aoGJw= sha384-dgPFz8QIMr7rOIlOxGbkywfOglldUtRxs5EzVjGjkR0fUNK6gKwe2yTXCR8NjKj8 sha512-U/MHMr2Sd9F+ZLoVk5uBQ1m3nUgALoAhUzTF4fLjjK2OWWTxi3f6lfds7THxG30W56xGv3J8ntJNsrOzYY+iUA==",
9
9
  "hashes": {
10
- "sha256": "Ml/36R6C16G6Z/9xNpCZmhQ4iFRtOmu4AnRzqaKyHh0=",
11
- "sha384": "gg2ySAFe/KuvV1ztz/At7TM0+YdR7xUFTHCHuXq9XAIiUaHTtTpYUVYAnSQoK9Pw",
12
- "sha512": "DyXATQMByLA4JvgB0Fq7UzIMBsoAd1JDKC1CygCc+winkbOF+0rFFggeFDWkuHTQiXGg2KBjA0tOO3AQQEOEIg=="
10
+ "sha256": "PxPEWbdbazizuMMF9KjfvSw82ArcC3Qt8LfX02aoGJw=",
11
+ "sha384": "dgPFz8QIMr7rOIlOxGbkywfOglldUtRxs5EzVjGjkR0fUNK6gKwe2yTXCR8NjKj8",
12
+ "sha512": "U/MHMr2Sd9F+ZLoVk5uBQ1m3nUgALoAhUzTF4fLjjK2OWWTxi3f6lfds7THxG30W56xGv3J8ntJNsrOzYY+iUA=="
13
13
  }
14
14
  },
15
15
  "@min.js": {
16
16
  "file": "applicationinsights-properties-js.min.js",
17
17
  "type": "text/javascript; charset=utf-8",
18
- "integrity": "sha256-KoBKr6uuJpysFdrkivZSWN7t2hVE/hFXeJTP043okg0= sha384-ArnxLo1GYAXe3dXp+7OKb3h+AsdDfkZRffOx1Wn3pyUpXMQX5alxctAX0H0UcD0H sha512-HnajrFoRTG5kuACUCAHT7IGMxD0fEA51yY5Ihq7ael6TGICOGD5TTOqd7V/RkQbAAkx+5c6O0FnYwpGj2TRZuw==",
18
+ "integrity": "sha256-d/cz4CE22aF0SaqU+A6UTDRAmLosInh/7ryN+kOeFNQ= sha384-QR4/4S1ycVp2m0+2zZ0XqD5N3chZC7DSLGBkhIEfKh7nOgku93mCJuUtRyUVIbsI sha512-afd4TxLlr4aPxRJJGc0zIV0QhG/AOp38GJnfzsK12drW/XuEhrhyywg3rlVkI7M0e00CpklR87hhWKF1DWZfkw==",
19
19
  "hashes": {
20
- "sha256": "KoBKr6uuJpysFdrkivZSWN7t2hVE/hFXeJTP043okg0=",
21
- "sha384": "ArnxLo1GYAXe3dXp+7OKb3h+AsdDfkZRffOx1Wn3pyUpXMQX5alxctAX0H0UcD0H",
22
- "sha512": "HnajrFoRTG5kuACUCAHT7IGMxD0fEA51yY5Ihq7ael6TGICOGD5TTOqd7V/RkQbAAkx+5c6O0FnYwpGj2TRZuw=="
20
+ "sha256": "d/cz4CE22aF0SaqU+A6UTDRAmLosInh/7ryN+kOeFNQ=",
21
+ "sha384": "QR4/4S1ycVp2m0+2zZ0XqD5N3chZC7DSLGBkhIEfKh7nOgku93mCJuUtRyUVIbsI",
22
+ "sha512": "afd4TxLlr4aPxRJJGc0zIV0QhG/AOp38GJnfzsK12drW/XuEhrhyywg3rlVkI7M0e00CpklR87hhWKF1DWZfkw=="
23
23
  }
24
24
  }
25
25
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Properties Plugin, 2.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Properties Plugin, 2.7.5-nightly.2204-23
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -82,7 +82,7 @@
82
82
  }
83
83
 
84
84
  /*!
85
- * Microsoft Dynamic Proto Utility, 1.1.4
85
+ * Microsoft Dynamic Proto Utility, 1.1.5
86
86
  * Copyright (c) Microsoft and contributors. All rights reserved.
87
87
  */
88
88
  var Constructor = 'constructor';
@@ -95,6 +95,7 @@
95
95
  var DynInstChkTag = '_dynInstChk';
96
96
  var DynAllowInstChkTag = DynInstChkTag;
97
97
  var DynProtoDefaultOptions = '_dfOpts';
98
+ var DynProtoPolyProto = "_dynProto";
98
99
  var UnknownValue = '_unknown_';
99
100
  var str__Proto = "__proto__";
100
101
  var strUseBaseInst = 'useBaseInst';
@@ -116,8 +117,11 @@
116
117
  if (_objGetPrototypeOf) {
117
118
  return _objGetPrototypeOf(target);
118
119
  }
119
- var newProto = target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
120
+ var newProto = target[DynProtoPolyProto] || target[str__Proto] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
120
121
  if (newProto) {
122
+ if (!target[DynProtoPolyProto]) {
123
+ target[DynProtoPolyProto] = newProto;
124
+ }
121
125
  return newProto;
122
126
  }
123
127
  }
@@ -276,8 +280,9 @@
276
280
  visited.push(thisProto);
277
281
  thisProto = _getObjProto(thisProto);
278
282
  }
283
+ return false;
279
284
  }
280
- return false;
285
+ return true;
281
286
  }
282
287
  function _getObjName(target, unknownValue) {
283
288
  if (_hasOwnProperty(target, Prototype)) {
@@ -818,7 +823,7 @@
818
823
  if (isUserAct === void 0) { isUserAct = false; }
819
824
  var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
820
825
  if (_self.enableDebugExceptions()) {
821
- throw message;
826
+ throw dumpObj(message);
822
827
  }
823
828
  else {
824
829
  var logFunc = severity === LoggingSeverity.CRITICAL ? strErrorToConsole : strWarnToConsole;
@@ -2100,7 +2105,7 @@
2100
2105
  return Device;
2101
2106
  }());
2102
2107
 
2103
- var Version = "2.7.5-nightly.2203-02";
2108
+ var Version = "2.7.5-nightly.2204-23";
2104
2109
  var Internal = /** @class */ (function () {
2105
2110
  function Internal(config) {
2106
2111
  this.sdkVersion = (config.sdkExtension && config.sdkExtension() ? config.sdkExtension() + "_" : "") + "javascript:" + Version;