@microsoft/applicationinsights-dependencies-js 2.8.9-nightly.2210-03 → 2.8.9-nightly.2210-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,8 +1,8 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.32.0",
5
- "schemaVersion": 1009,
4
+ "toolVersion": "7.33.4",
5
+ "schemaVersion": 1010,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
8
8
  "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
@@ -218,6 +218,7 @@
218
218
  "text": " "
219
219
  }
220
220
  ],
221
+ "fileUrlPath": "types/ajax.d.ts",
221
222
  "releaseTag": "Public",
222
223
  "name": "AjaxPlugin",
223
224
  "preserveMemberOrder": false,
@@ -944,6 +945,7 @@
944
945
  "text": "export declare class ajaxRecord "
945
946
  }
946
947
  ],
948
+ "fileUrlPath": "types/ajaxRecord.d.ts",
947
949
  "releaseTag": "Public",
948
950
  "name": "ajaxRecord",
949
951
  "preserveMemberOrder": false,
@@ -2080,6 +2082,7 @@
2080
2082
  "text": ";"
2081
2083
  }
2082
2084
  ],
2085
+ "fileUrlPath": "types/DependencyInitializer.d.ts",
2083
2086
  "releaseTag": "Public",
2084
2087
  "name": "DependencyInitializerFunction",
2085
2088
  "typeTokenRange": {
@@ -2114,6 +2117,7 @@
2114
2117
  "text": ";"
2115
2118
  }
2116
2119
  ],
2120
+ "fileUrlPath": "types/DependencyListener.d.ts",
2117
2121
  "releaseTag": "Public",
2118
2122
  "name": "DependencyListenerFunction",
2119
2123
  "typeTokenRange": {
@@ -2135,6 +2139,7 @@
2135
2139
  "text": "string[]"
2136
2140
  }
2137
2141
  ],
2142
+ "fileUrlPath": "types/ajax.d.ts",
2138
2143
  "isReadonly": true,
2139
2144
  "releaseTag": "Public",
2140
2145
  "name": "DfltAjaxCorrelationHeaderExDomains",
@@ -2162,6 +2167,7 @@
2162
2167
  "text": " "
2163
2168
  }
2164
2169
  ],
2170
+ "fileUrlPath": "types/ajax.d.ts",
2165
2171
  "releaseTag": "Public",
2166
2172
  "name": "IDependenciesPlugin",
2167
2173
  "preserveMemberOrder": false,
@@ -2230,6 +2236,7 @@
2230
2236
  "text": "export interface IDependencyHandler "
2231
2237
  }
2232
2238
  ],
2239
+ "fileUrlPath": "types/DependencyListener.d.ts",
2233
2240
  "releaseTag": "Public",
2234
2241
  "name": "IDependencyHandler",
2235
2242
  "preserveMemberOrder": false,
@@ -2275,6 +2282,7 @@
2275
2282
  "text": "export interface IDependencyInitializerDetails "
2276
2283
  }
2277
2284
  ],
2285
+ "fileUrlPath": "types/DependencyInitializer.d.ts",
2278
2286
  "releaseTag": "Public",
2279
2287
  "name": "IDependencyInitializerDetails",
2280
2288
  "preserveMemberOrder": false,
@@ -2410,6 +2418,7 @@
2410
2418
  "text": " "
2411
2419
  }
2412
2420
  ],
2421
+ "fileUrlPath": "types/DependencyInitializer.d.ts",
2413
2422
  "releaseTag": "Public",
2414
2423
  "name": "IDependencyInitializerHandler",
2415
2424
  "preserveMemberOrder": false,
@@ -2431,6 +2440,7 @@
2431
2440
  "text": "export interface IDependencyListenerDetails "
2432
2441
  }
2433
2442
  ],
2443
+ "fileUrlPath": "types/DependencyListener.d.ts",
2434
2444
  "releaseTag": "Public",
2435
2445
  "name": "IDependencyListenerDetails",
2436
2446
  "preserveMemberOrder": false,
@@ -2681,6 +2691,7 @@
2681
2691
  "text": " "
2682
2692
  }
2683
2693
  ],
2694
+ "fileUrlPath": "types/DependencyListener.d.ts",
2684
2695
  "releaseTag": "Public",
2685
2696
  "name": "IDependencyListenerHandler",
2686
2697
  "preserveMemberOrder": false,
@@ -2711,6 +2722,7 @@
2711
2722
  "text": " "
2712
2723
  }
2713
2724
  ],
2725
+ "fileUrlPath": "types/ajax.d.ts",
2714
2726
  "releaseTag": "Public",
2715
2727
  "name": "IInstrumentationRequirements",
2716
2728
  "preserveMemberOrder": false,
@@ -2727,7 +2739,7 @@
2727
2739
  {
2728
2740
  "kind": "Reference",
2729
2741
  "text": "_DYN_INCLUDE_CORRELATION_2",
2730
- "canonicalReference": "@microsoft/applicationinsights-dependencies-js!~_DYN_INCLUDE_CORRELATION_2"
2742
+ "canonicalReference": "@microsoft/applicationinsights-dependencies-js!~_DYN_INCLUDE_CORRELATION_2:var"
2731
2743
  },
2732
2744
  {
2733
2745
  "kind": "Content",
@@ -2814,6 +2826,7 @@
2814
2826
  "text": " "
2815
2827
  }
2816
2828
  ],
2829
+ "fileUrlPath": "types/ajax.d.ts",
2817
2830
  "releaseTag": "Public",
2818
2831
  "name": "XMLHttpRequestInstrumented",
2819
2832
  "preserveMemberOrder": false,
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 2.8.9-nightly.2210-03
2
+ * Microsoft Application Insights XHR dependencies plugin, 2.8.9-nightly.2210-05
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.8.9-nightly.2210-03
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.9-nightly.2210-05
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -23,21 +23,23 @@
23
23
  var _cachedGlobal = null;
24
24
  function getGlobal(useCached) {
25
25
  if (useCached === void 0) { useCached = true; }
26
- if (!_cachedGlobal || !useCached) {
27
- if (typeof globalThis !== strShimUndefined && globalThis) {
28
- _cachedGlobal = globalThis;
26
+ var result = useCached === false ? null : _cachedGlobal;
27
+ if (!result) {
28
+ if (typeof globalThis !== strShimUndefined) {
29
+ result = globalThis;
29
30
  }
30
- if (typeof self !== strShimUndefined && self) {
31
- _cachedGlobal = self;
31
+ if (!result && typeof self !== strShimUndefined) {
32
+ result = self;
32
33
  }
33
- if (typeof window !== strShimUndefined && window) {
34
- _cachedGlobal = window;
34
+ if (!result && typeof window !== strShimUndefined) {
35
+ result = window;
35
36
  }
36
- if (typeof global !== strShimUndefined && global) {
37
- _cachedGlobal = global;
37
+ if (!result && typeof global !== strShimUndefined) {
38
+ result = global;
38
39
  }
40
+ _cachedGlobal = result;
39
41
  }
40
- return _cachedGlobal;
42
+ return result;
41
43
  }
42
44
  function throwTypeError(message) {
43
45
  throw new TypeError(message);
@@ -99,9 +101,11 @@
99
101
  }
100
102
 
101
103
  /*!
102
- * Microsoft Dynamic Proto Utility, 1.1.6
104
+ * Microsoft Dynamic Proto Utility, 1.1.7
103
105
  * Copyright (c) Microsoft and contributors. All rights reserved.
104
106
  */
107
+ var _a$1;
108
+ var UNDEFINED = "undefined";
105
109
  var Constructor = 'constructor';
106
110
  var Prototype = 'prototype';
107
111
  var strFunction = 'function';
@@ -115,13 +119,37 @@
115
119
  var UnknownValue = '_unknown_';
116
120
  var str__Proto$1 = "__proto__";
117
121
  var DynProtoBaseProto = "_dyn" + str__Proto$1;
122
+ var DynProtoGlobalSettings = "__dynProto$Gbl";
118
123
  var DynProtoCurrent = "_dynInstProto";
119
124
  var strUseBaseInst = 'useBaseInst';
120
125
  var strSetInstFuncs = 'setInstFuncs';
121
126
  var Obj = Object;
122
127
  var _objGetPrototypeOf$1 = Obj["getPrototypeOf"];
123
128
  var _objGetOwnProps = Obj["getOwnPropertyNames"];
124
- var _dynamicNames = 0;
129
+ function _getGlobal() {
130
+ var result;
131
+ if (typeof globalThis !== UNDEFINED) {
132
+ result = globalThis;
133
+ }
134
+ if (!result && typeof self !== UNDEFINED) {
135
+ result = self;
136
+ }
137
+ if (!result && typeof window !== UNDEFINED) {
138
+ result = window;
139
+ }
140
+ if (!result && typeof global !== UNDEFINED) {
141
+ result = global;
142
+ }
143
+ return result || {};
144
+ }
145
+ var _gbl = _getGlobal();
146
+ var _gblInst = _gbl[DynProtoGlobalSettings] || (_gbl[DynProtoGlobalSettings] = {
147
+ o: (_a$1 = {},
148
+ _a$1[strSetInstFuncs] = true,
149
+ _a$1[strUseBaseInst] = true,
150
+ _a$1),
151
+ n: 1000
152
+ });
125
153
  function _hasOwnProperty(obj, prop) {
126
154
  return obj && Obj[Prototype].hasOwnProperty.call(obj, prop);
127
155
  }
@@ -315,15 +343,15 @@
315
343
  }
316
344
  var classProto = theClass[Prototype];
317
345
  if (!_checkPrototype(classProto, target)) {
318
- _throwTypeError("[" + _getObjName(theClass) + "] is not in class hierarchy of [" + _getObjName(target) + "]");
346
+ _throwTypeError("[" + _getObjName(theClass) + "] not in hierarchy of [" + _getObjName(target) + "]");
319
347
  }
320
348
  var className = null;
321
349
  if (_hasOwnProperty(classProto, DynClassName)) {
322
350
  className = classProto[DynClassName];
323
351
  }
324
352
  else {
325
- className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _dynamicNames;
326
- _dynamicNames++;
353
+ className = DynClassNamePrefix + _getObjName(theClass, "_") + "$" + _gblInst.n;
354
+ _gblInst.n++;
327
355
  classProto[DynClassName] = className;
328
356
  }
329
357
  var perfOptions = dynamicProto[DynProtoDefaultOptions];
@@ -340,11 +368,7 @@
340
368
  }
341
369
  _populatePrototype(classProto, className, target, instFuncs, setInstanceFunc !== false);
342
370
  }
343
- var perfDefaults = {
344
- setInstFuncs: true,
345
- useBaseInst: true
346
- };
347
- dynamicProto[DynProtoDefaultOptions] = perfDefaults;
371
+ dynamicProto[DynProtoDefaultOptions] = _gblInst.o;
348
372
 
349
373
  var _DYN_INITIALIZE = "initialize";
350
374
  var _DYN_NAME$2 = "name";
@@ -1256,7 +1280,7 @@
1256
1280
  }
1257
1281
 
1258
1282
  var _objDefineProperty = ObjDefineProperty;
1259
- var version = "2.8.9-nightly.2210-03";
1283
+ var version = "2.8.9-nightly.2210-05";
1260
1284
  var instanceName = "." + newId(6);
1261
1285
  var _dataUid = 0;
1262
1286
  function _createAccessor(target, prop, value) {