@microsoft/applicationinsights-dependencies-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,8 +1,8 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.19.4",
5
- "schemaVersion": 1004,
4
+ "toolVersion": "7.23.0",
5
+ "schemaVersion": 1005,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
8
8
  "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
@@ -156,7 +156,8 @@
156
156
  "@betaDocumentation": true,
157
157
  "@internalRemarks": true,
158
158
  "@preapproved": true
159
- }
159
+ },
160
+ "reportUnsupportedHtmlElements": false
160
161
  }
161
162
  },
162
163
  "kind": "Package",
@@ -413,28 +414,32 @@
413
414
  "parameterTypeTokenRange": {
414
415
  "startIndex": 1,
415
416
  "endIndex": 2
416
- }
417
+ },
418
+ "isOptional": false
417
419
  },
418
420
  {
419
421
  "parameterName": "input",
420
422
  "parameterTypeTokenRange": {
421
423
  "startIndex": 3,
422
424
  "endIndex": 5
423
- }
425
+ },
426
+ "isOptional": true
424
427
  },
425
428
  {
426
429
  "parameterName": "init",
427
430
  "parameterTypeTokenRange": {
428
431
  "startIndex": 6,
429
432
  "endIndex": 7
430
- }
433
+ },
434
+ "isOptional": true
431
435
  },
432
436
  {
433
437
  "parameterName": "xhr",
434
438
  "parameterTypeTokenRange": {
435
439
  "startIndex": 8,
436
440
  "endIndex": 9
437
- }
441
+ },
442
+ "isOptional": true
438
443
  }
439
444
  ],
440
445
  "name": "includeCorrelationHeaders"
@@ -520,28 +525,32 @@
520
525
  "parameterTypeTokenRange": {
521
526
  "startIndex": 1,
522
527
  "endIndex": 4
523
- }
528
+ },
529
+ "isOptional": false
524
530
  },
525
531
  {
526
532
  "parameterName": "core",
527
533
  "parameterTypeTokenRange": {
528
534
  "startIndex": 5,
529
535
  "endIndex": 6
530
- }
536
+ },
537
+ "isOptional": false
531
538
  },
532
539
  {
533
540
  "parameterName": "extensions",
534
541
  "parameterTypeTokenRange": {
535
542
  "startIndex": 7,
536
543
  "endIndex": 9
537
- }
544
+ },
545
+ "isOptional": false
538
546
  },
539
547
  {
540
548
  "parameterName": "pluginChain",
541
549
  "parameterTypeTokenRange": {
542
550
  "startIndex": 10,
543
551
  "endIndex": 11
544
- }
552
+ },
553
+ "isOptional": true
545
554
  }
546
555
  ],
547
556
  "name": "initialize"
@@ -623,14 +632,16 @@
623
632
  "parameterTypeTokenRange": {
624
633
  "startIndex": 1,
625
634
  "endIndex": 2
626
- }
635
+ },
636
+ "isOptional": false
627
637
  },
628
638
  {
629
639
  "parameterName": "itemCtx",
630
640
  "parameterTypeTokenRange": {
631
641
  "startIndex": 3,
632
642
  "endIndex": 4
633
- }
643
+ },
644
+ "isOptional": true
634
645
  }
635
646
  ],
636
647
  "name": "processTelemetry"
@@ -713,14 +724,16 @@
713
724
  "parameterTypeTokenRange": {
714
725
  "startIndex": 1,
715
726
  "endIndex": 2
716
- }
727
+ },
728
+ "isOptional": false
717
729
  },
718
730
  {
719
731
  "parameterName": "properties",
720
732
  "parameterTypeTokenRange": {
721
733
  "startIndex": 3,
722
734
  "endIndex": 4
723
- }
735
+ },
736
+ "isOptional": true
724
737
  }
725
738
  ],
726
739
  "name": "trackDependencyData"
@@ -782,21 +795,24 @@
782
795
  "parameterTypeTokenRange": {
783
796
  "startIndex": 1,
784
797
  "endIndex": 2
785
- }
798
+ },
799
+ "isOptional": false
786
800
  },
787
801
  {
788
802
  "parameterName": "properties",
789
803
  "parameterTypeTokenRange": {
790
804
  "startIndex": 3,
791
805
  "endIndex": 4
792
- }
806
+ },
807
+ "isOptional": true
793
808
  },
794
809
  {
795
810
  "parameterName": "systemProperties",
796
811
  "parameterTypeTokenRange": {
797
812
  "startIndex": 5,
798
813
  "endIndex": 6
799
- }
814
+ },
815
+ "isOptional": true
800
816
  }
801
817
  ],
802
818
  "name": "trackDependencyDataInternal"
@@ -804,7 +820,7 @@
804
820
  ],
805
821
  "extendsTokenRange": {
806
822
  "startIndex": 1,
807
- "endIndex": 3
823
+ "endIndex": 2
808
824
  },
809
825
  "implementsTokenRanges": [
810
826
  {
@@ -813,7 +829,7 @@
813
829
  },
814
830
  {
815
831
  "startIndex": 6,
816
- "endIndex": 8
832
+ "endIndex": 7
817
833
  }
818
834
  ]
819
835
  },
@@ -873,21 +889,24 @@
873
889
  "parameterTypeTokenRange": {
874
890
  "startIndex": 1,
875
891
  "endIndex": 2
876
- }
892
+ },
893
+ "isOptional": false
877
894
  },
878
895
  {
879
896
  "parameterName": "spanID",
880
897
  "parameterTypeTokenRange": {
881
898
  "startIndex": 3,
882
899
  "endIndex": 4
883
- }
900
+ },
901
+ "isOptional": false
884
902
  },
885
903
  {
886
904
  "parameterName": "logger",
887
905
  "parameterTypeTokenRange": {
888
906
  "startIndex": 5,
889
907
  "endIndex": 6
890
- }
908
+ },
909
+ "isOptional": false
891
910
  }
892
911
  ]
893
912
  },
@@ -1142,21 +1161,24 @@
1142
1161
  "parameterTypeTokenRange": {
1143
1162
  "startIndex": 1,
1144
1163
  "endIndex": 2
1145
- }
1164
+ },
1165
+ "isOptional": false
1146
1166
  },
1147
1167
  {
1148
1168
  "parameterName": "enableRequestHeaderTracking",
1149
1169
  "parameterTypeTokenRange": {
1150
1170
  "startIndex": 3,
1151
1171
  "endIndex": 4
1152
- }
1172
+ },
1173
+ "isOptional": false
1153
1174
  },
1154
1175
  {
1155
1176
  "parameterName": "getResponse",
1156
1177
  "parameterTypeTokenRange": {
1157
1178
  "startIndex": 5,
1158
1179
  "endIndex": 7
1159
- }
1180
+ },
1181
+ "isOptional": false
1160
1182
  }
1161
1183
  ],
1162
1184
  "name": "CreateTrackItem"
@@ -1791,7 +1813,8 @@
1791
1813
  "parameterTypeTokenRange": {
1792
1814
  "startIndex": 1,
1793
1815
  "endIndex": 2
1794
- }
1816
+ },
1817
+ "isOptional": false
1795
1818
  }
1796
1819
  ],
1797
1820
  "name": "trackDependencyData"
@@ -1887,7 +1910,7 @@
1887
1910
  "extendsTokenRanges": [
1888
1911
  {
1889
1912
  "startIndex": 1,
1890
- "endIndex": 3
1913
+ "endIndex": 2
1891
1914
  }
1892
1915
  ]
1893
1916
  },
@@ -1944,7 +1967,7 @@
1944
1967
  "extendsTokenRanges": [
1945
1968
  {
1946
1969
  "startIndex": 1,
1947
- "endIndex": 3
1970
+ "endIndex": 2
1948
1971
  }
1949
1972
  ]
1950
1973
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 2.7.5-nightly.2203-02
2
+ * Microsoft Application Insights XHR dependencies plugin, 2.7.5-nightly.2204-23
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 - Dependencies Plugin, 2.7.5-nightly.2203-02
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.7.5-nightly.2204-23
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -95,7 +95,7 @@
95
95
  }
96
96
 
97
97
  /*!
98
- * Microsoft Dynamic Proto Utility, 1.1.4
98
+ * Microsoft Dynamic Proto Utility, 1.1.5
99
99
  * Copyright (c) Microsoft and contributors. All rights reserved.
100
100
  */
101
101
  var Constructor = 'constructor';
@@ -108,6 +108,7 @@
108
108
  var DynInstChkTag = '_dynInstChk';
109
109
  var DynAllowInstChkTag = DynInstChkTag;
110
110
  var DynProtoDefaultOptions = '_dfOpts';
111
+ var DynProtoPolyProto = "_dynProto";
111
112
  var UnknownValue = '_unknown_';
112
113
  var str__Proto$1 = "__proto__";
113
114
  var strUseBaseInst = 'useBaseInst';
@@ -129,8 +130,11 @@
129
130
  if (_objGetPrototypeOf$1) {
130
131
  return _objGetPrototypeOf$1(target);
131
132
  }
132
- var newProto = target[str__Proto$1] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
133
+ var newProto = target[DynProtoPolyProto] || target[str__Proto$1] || target[Prototype] || (target[Constructor] ? target[Constructor][Prototype] : null);
133
134
  if (newProto) {
135
+ if (!target[DynProtoPolyProto]) {
136
+ target[DynProtoPolyProto] = newProto;
137
+ }
134
138
  return newProto;
135
139
  }
136
140
  }
@@ -289,8 +293,9 @@
289
293
  visited.push(thisProto);
290
294
  thisProto = _getObjProto$1(thisProto);
291
295
  }
296
+ return false;
292
297
  }
293
- return false;
298
+ return true;
294
299
  }
295
300
  function _getObjName(target, unknownValue) {
296
301
  if (_hasOwnProperty(target, Prototype)) {
@@ -429,6 +434,7 @@
429
434
  var strAttachEvent = "attachEvent";
430
435
  var strAddEventHelper = "addEventListener";
431
436
  var strToISOString = "toISOString";
437
+ var strIndexOf = "indexOf";
432
438
  var cStrTrim = "trim";
433
439
  var strToString = "toString";
434
440
  var str__Proto = "__proto__";
@@ -569,6 +575,25 @@
569
575
  catch (e) {
570
576
  }
571
577
  }
578
+ function arrIndexOf(arr, searchElement, fromIndex) {
579
+ if (arr) {
580
+ if (arr[strIndexOf]) {
581
+ return arr[strIndexOf](searchElement, fromIndex);
582
+ }
583
+ var len = arr.length;
584
+ var from = fromIndex || 0;
585
+ try {
586
+ for (var lp = Math.max(from >= 0 ? from : len - Math.abs(from), 0); lp < len; lp++) {
587
+ if (lp in arr && arr[lp] === searchElement) {
588
+ return lp;
589
+ }
590
+ }
591
+ }
592
+ catch (e) {
593
+ }
594
+ }
595
+ return -1;
596
+ }
572
597
  function strTrim(str) {
573
598
  if (str) {
574
599
  str = (_strTrim && str[cStrTrim]) ? str[cStrTrim]() : (str.replace ? str.replace(/^\s+|\s+$/g, "") : str);
@@ -857,7 +882,7 @@
857
882
  if (isUserAct === void 0) { isUserAct = false; }
858
883
  var message = new _InternalLogMessage(msgId, msg, isUserAct, properties);
859
884
  if (_self.enableDebugExceptions()) {
860
- throw message;
885
+ throw dumpObj(message);
861
886
  }
862
887
  else {
863
888
  var logFunc = severity === LoggingSeverity.CRITICAL ? strErrorToConsole : strWarnToConsole;
@@ -1723,7 +1748,7 @@
1723
1748
  "https://dc-int.services.visualstudio.com/v2/track"
1724
1749
  ];
1725
1750
  function isInternalApplicationInsightsEndpoint(endpointUrl) {
1726
- return _internalEndpoints.indexOf(endpointUrl.toLowerCase()) !== -1;
1751
+ return arrIndexOf(_internalEndpoints, endpointUrl.toLowerCase()) !== -1;
1727
1752
  }
1728
1753
  var CorrelationIdHelper = {
1729
1754
  correlationIdPrefix: "cid-v1:",