@microsoft/applicationinsights-properties-js 3.0.0-beta.2210-06 → 3.0.0-beta.2210-08

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": "3.0.0-beta.2210-06",
3
+ "version": "3.0.0-beta.2210-08",
4
4
  "ext": {
5
5
  "@js": {
6
6
  "file": "applicationinsights-properties-js.js",
7
7
  "type": "text/javascript; charset=utf-8",
8
- "integrity": "sha256-2SoFgDFLFnNBOwaTD59H4glG78kJKfWmYOlKR5vPems= sha384-I3yG3u6agRexFhuDlwI7P/lVCWQ2YIfG6bbhjdqMsC2pawOqXKmMxuAV1QbqQy0S sha512-mERQO1f8gyDNRPwtXKMdKwbFh/NTQo6vbRMoPn/HL/p5be/PItIkieGJwl5MdMnV6E6+9xAiGWrGBcVoQoM2Fg==",
8
+ "integrity": "sha256-UEpcSm89zr8NfxVkKPbCJL7zhX/fasSqKRk5HcjfnXg= sha384-+IQWVuR8Uzk3aCZ11nIJo6cl4pW3rbjfGuoqnYfhPD9fCykHSfIYvULzwd68i4ck sha512-9sXAT9LLjh+TMZtGFbKbtAFaWKb9lV8rbdXuH90qgwN2n3marZI6VfvW/p1MViM3o05TjR5DwnVFx5ZV+aluAg==",
9
9
  "hashes": {
10
- "sha256": "2SoFgDFLFnNBOwaTD59H4glG78kJKfWmYOlKR5vPems=",
11
- "sha384": "I3yG3u6agRexFhuDlwI7P/lVCWQ2YIfG6bbhjdqMsC2pawOqXKmMxuAV1QbqQy0S",
12
- "sha512": "mERQO1f8gyDNRPwtXKMdKwbFh/NTQo6vbRMoPn/HL/p5be/PItIkieGJwl5MdMnV6E6+9xAiGWrGBcVoQoM2Fg=="
10
+ "sha256": "UEpcSm89zr8NfxVkKPbCJL7zhX/fasSqKRk5HcjfnXg=",
11
+ "sha384": "+IQWVuR8Uzk3aCZ11nIJo6cl4pW3rbjfGuoqnYfhPD9fCykHSfIYvULzwd68i4ck",
12
+ "sha512": "9sXAT9LLjh+TMZtGFbKbtAFaWKb9lV8rbdXuH90qgwN2n3marZI6VfvW/p1MViM3o05TjR5DwnVFx5ZV+aluAg=="
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-c+yk8UKk1yGEybrsPnSGFysKl/UseqMxYgTJV2ttPMU= sha384-tzNPxAusPAGn6CdZsbVfxBcyx8+2x/x7kMqV6+/duThQ/+pqASGYTcVeZzjb2bQt sha512-PlDBYGjhiBEM7BmsDJAdMirGbbjCXADuFSEFeXvtHDCoZX39VhdqINyHM0MtfgitjoB0d7J6kHsPw+1VzgW8TQ==",
18
+ "integrity": "sha256-IjomULvTR0PTjgGAA4LN8MsEleZX6JVpbDkvvK+gyIg= sha384-Z1ZRHvpnNAj9vqRPaAgy3CqdCYkc46hW+UScerqD+VDjG51BCuUtiAjYy+Us/9CR sha512-sqP+0Hih+6DJ0SP4cHOd9BTc9Du+0Qu6a4I8Llwrlb482P1k/oczp98Y/ZBG6SX9793P2pkh+aRLRuccx5Z4iw==",
19
19
  "hashes": {
20
- "sha256": "c+yk8UKk1yGEybrsPnSGFysKl/UseqMxYgTJV2ttPMU=",
21
- "sha384": "tzNPxAusPAGn6CdZsbVfxBcyx8+2x/x7kMqV6+/duThQ/+pqASGYTcVeZzjb2bQt",
22
- "sha512": "PlDBYGjhiBEM7BmsDJAdMirGbbjCXADuFSEFeXvtHDCoZX39VhdqINyHM0MtfgitjoB0d7J6kHsPw+1VzgW8TQ=="
20
+ "sha256": "IjomULvTR0PTjgGAA4LN8MsEleZX6JVpbDkvvK+gyIg=",
21
+ "sha384": "Z1ZRHvpnNAj9vqRPaAgy3CqdCYkc46hW+UScerqD+VDjG51BCuUtiAjYy+Us/9CR",
22
+ "sha512": "sqP+0Hih+6DJ0SP4cHOd9BTc9Du+0Qu6a4I8Llwrlb482P1k/oczp98Y/ZBG6SX9793P2pkh+aRLRuccx5Z4iw=="
23
23
  }
24
24
  }
25
25
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2210-06
2
+ * Application Insights JavaScript SDK - Properties Plugin, 3.0.0-beta.2210-08
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -20,21 +20,23 @@
20
20
  var _cachedGlobal$1 = null;
21
21
  function getGlobal$1(useCached) {
22
22
  if (useCached === void 0) { useCached = true; }
23
- if (!_cachedGlobal$1 || !useCached) {
24
- if (typeof globalThis !== strShimUndefined && globalThis) {
25
- _cachedGlobal$1 = globalThis;
23
+ var result = useCached === false ? null : _cachedGlobal$1;
24
+ if (!result) {
25
+ if (typeof globalThis !== strShimUndefined) {
26
+ result = globalThis;
26
27
  }
27
- if (typeof self !== strShimUndefined && self) {
28
- _cachedGlobal$1 = self;
28
+ if (!result && typeof self !== strShimUndefined) {
29
+ result = self;
29
30
  }
30
- if (typeof window !== strShimUndefined && window) {
31
- _cachedGlobal$1 = window;
31
+ if (!result && typeof window !== strShimUndefined) {
32
+ result = window;
32
33
  }
33
- if (typeof global !== strShimUndefined && global) {
34
- _cachedGlobal$1 = global;
34
+ if (!result && typeof global !== strShimUndefined) {
35
+ result = global;
35
36
  }
37
+ _cachedGlobal$1 = result;
36
38
  }
37
- return _cachedGlobal$1;
39
+ return result;
38
40
  }
39
41
  function throwTypeError$1(message) {
40
42
  throw new TypeError(message);
@@ -1108,7 +1110,7 @@
1108
1110
  }
1109
1111
 
1110
1112
  var _objDefineProperty = ObjDefineProperty;
1111
- var version = "3.0.0-beta.2210-06";
1113
+ var version = "3.0.0-beta.2210-08";
1112
1114
  var instanceName = "." + newId(6);
1113
1115
  var _dataUid = 0;
1114
1116
  function _createAccessor(target, prop, value) {
@@ -1184,16 +1186,15 @@
1184
1186
  var CFG_HANDLER_LINK = symbolFor("[[ai_dynCfg_1]]");
1185
1187
  function _cfgDeepCopy(source) {
1186
1188
  if (source) {
1189
+ var target_1;
1187
1190
  if (isArray(source)) {
1188
- var result_1 = [];
1189
- result_1[_DYN_LENGTH$2 ] = source[_DYN_LENGTH$2 ];
1190
- arrForEach(source, function (value, idx) {
1191
- result_1[idx] = _cfgDeepCopy(value);
1192
- });
1193
- return result_1;
1191
+ target_1 = [];
1192
+ target_1[_DYN_LENGTH$2 ] = source[_DYN_LENGTH$2 ];
1193
+ }
1194
+ else if (isPlainObject(source)) {
1195
+ target_1 = {};
1194
1196
  }
1195
- if (isPlainObject(source)) {
1196
- var target_1 = {};
1197
+ if (target_1) {
1197
1198
  objForEachKey$1(source, function (key, value) {
1198
1199
  target_1[key] = _cfgDeepCopy(value);
1199
1200
  });