@microsoft/applicationinsights-dependencies-js 2.8.10-nightly.2212-03 → 2.8.10-nightly.2301-13

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,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 2.8.10-nightly.2212-03
2
+ * Microsoft Application Insights XHR dependencies plugin, 2.8.10-nightly.2301-13
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.10-nightly.2212-03
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2301-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2212-03
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2301-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2212-03
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2301-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2212-03
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2301-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/dist-esm/ajax.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2212-03
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2301-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2212-03
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2301-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2212-03
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2301-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2212-03
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 2.8.10-nightly.2301-13
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/applicationinsights-dependencies-js",
3
- "version": "2.8.10-nightly.2212-03",
3
+ "version": "2.8.10-nightly.2301-13",
4
4
  "description": "Microsoft Application Insights XHR dependencies plugin",
5
5
  "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
6
  "author": "Microsoft Application Insights Team",
@@ -30,11 +30,11 @@
30
30
  "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
31
31
  "@microsoft/applicationinsights-rollup-es3": "1.1.3",
32
32
  "@microsoft/api-extractor": "^7.18.1",
33
- "typescript": "^4.3.4",
33
+ "typescript": "^4.9.3",
34
34
  "tslib": "^2.0.0",
35
35
  "grunt": "^1.5.3",
36
36
  "grunt-cli": "^1.4.3",
37
- "grunt-contrib-qunit": "^5.0.1",
37
+ "grunt-contrib-qunit": "^6.2.1",
38
38
  "@nevware21/grunt-ts-plugin": "^0.4.3",
39
39
  "@nevware21/grunt-eslint-ts": "^0.2.2",
40
40
  "globby": "^11.0.0",
@@ -53,8 +53,8 @@
53
53
  "dependencies": {
54
54
  "@microsoft/dynamicproto-js": "^1.1.7",
55
55
  "@microsoft/applicationinsights-shims": "2.0.2",
56
- "@microsoft/applicationinsights-core-js": "2.8.10-nightly.2212-03",
57
- "@microsoft/applicationinsights-common": "2.8.10-nightly.2212-03"
56
+ "@microsoft/applicationinsights-core-js": "2.8.10-nightly.2301-13",
57
+ "@microsoft/applicationinsights-common": "2.8.10-nightly.2301-13"
58
58
  },
59
59
  "license": "MIT",
60
60
  "publishConfig": {
@@ -1,69 +1,69 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
- // @skip-file-minify
4
-
5
- // ##############################################################
6
- // AUTO GENERATED FILE: This file is Auto Generated during build.
7
- // ##############################################################
8
-
9
- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- // Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!
11
- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
-
13
- export const _DYN_REQUEST_URL = "requestUrl"; // Count: 12
14
- export const _DYN_INST = "inst"; // Count: 5
15
- export const _DYN_LENGTH = "length"; // Count: 10
16
- export const _DYN_TRACE_ID = "traceID"; // Count: 9
17
- export const _DYN_SPAN_ID = "spanID"; // Count: 8
18
- export const _DYN_TRACE_FLAGS = "traceFlags"; // Count: 13
19
- export const _DYN_CONTEXT = "context"; // Count: 7
20
- export const _DYN_TRACE_ID0 = "traceId"; // Count: 5
21
- export const _DYN_SPAN_ID1 = "spanId"; // Count: 5
22
- export const _DYN_CORE = "core"; // Count: 8
23
- export const _DYN_INCLUDE_CORRELATION_2 = "includeCorrelationHeaders"; // Count: 4
24
- export const _DYN_CAN_INCLUDE_CORRELAT3 = "canIncludeCorrelationHeader"; // Count: 2
25
- export const _DYN_GET_ABSOLUTE_URL = "getAbsoluteUrl"; // Count: 3
26
- export const _DYN_HEADERS = "headers"; // Count: 6
27
- export const _DYN_REQUEST_HEADERS = "requestHeaders"; // Count: 13
28
- export const _DYN_APP_ID = "appId"; // Count: 5
29
- export const _DYN_SET_REQUEST_HEADER = "setRequestHeader"; // Count: 3
30
- export const _DYN_TRACK_DEPENDENCY_DAT4 = "trackDependencyDataInternal"; // Count: 2
31
- export const _DYN_DISTRIBUTED_TRACING_5 = "distributedTracingMode"; // Count: 3
32
- export const _DYN_START_TIME = "startTime"; // Count: 6
33
- export const _DYN_TO_LOWER_CASE = "toLowerCase"; // Count: 6
34
- export const _DYN_ENABLE_REQUEST_HEADE6 = "enableRequestHeaderTracking"; // Count: 2
35
- export const _DYN_ENABLE_AJAX_ERROR_ST7 = "enableAjaxErrorStatusText"; // Count: 2
36
- export const _DYN_ENABLE_AJAX_PERF_TRA8 = "enableAjaxPerfTracking"; // Count: 2
37
- export const _DYN_MAX_AJAX_CALLS_PER_V9 = "maxAjaxCallsPerView"; // Count: 2
38
- export const _DYN_ENABLE_RESPONSE_HEAD10 = "enableResponseHeaderTracking"; // Count: 2
39
- export const _DYN_EXCLUDE_REQUEST_FROM11 = "excludeRequestFromAutoTrackingPatterns"; // Count: 2
40
- export const _DYN_ADD_REQUEST_CONTEXT = "addRequestContext"; // Count: 2
41
- export const _DYN_DISABLE_AJAX_TRACKIN12 = "disableAjaxTracking"; // Count: 2
42
- export const _DYN_DISABLE_FETCH_TRACKI13 = "disableFetchTracking"; // Count: 2
43
- export const _DYN_STATUS = "status"; // Count: 10
44
- export const _DYN_STATUS_TEXT = "statusText"; // Count: 8
45
- export const _DYN_HEADER_MAP = "headerMap"; // Count: 8
46
- export const _DYN_OPEN_DONE = "openDone"; // Count: 3
47
- export const _DYN_SEND_DONE = "sendDone"; // Count: 3
48
- export const _DYN_REQUEST_SENT_TIME = "requestSentTime"; // Count: 9
49
- export const _DYN_ABORT_DONE = "abortDone"; // Count: 3
50
- export const _DYN_GET_TRACE_ID = "getTraceId"; // Count: 3
51
- export const _DYN_GET_TRACE_FLAGS = "getTraceFlags"; // Count: 3
52
- export const _DYN_METHOD = "method"; // Count: 10
53
- export const _DYN_ERROR_STATUS_TEXT = "errorStatusText"; // Count: 3
54
- export const _DYN_STATE_CHANGE_ATTACHE14 = "stateChangeAttached"; // Count: 2
55
- export const _DYN_RESPONSE_TEXT = "responseText"; // Count: 5
56
- export const _DYN_RESPONSE_FINISHED_TI15 = "responseFinishedTime"; // Count: 7
57
- export const _DYN__CREATE_TRACK_ITEM = "CreateTrackItem"; // Count: 3
58
- export const _DYN_RESPONSE = "response"; // Count: 4
59
- export const _DYN_GET_ALL_RESPONSE_HEA16 = "getAllResponseHeaders"; // Count: 2
60
- export const _DYN_GET_PART_APROPS = "getPartAProps"; // Count: 3
61
- export const _DYN_GET_CORRELATION_CONT17 = "getCorrelationContext"; // Count: 2
62
- export const _DYN_PERF_MARK = "perfMark"; // Count: 4
63
- export const _DYN_AJAX_PERF_LOOKUP_DEL18 = "ajaxPerfLookupDelay"; // Count: 2
64
- export const _DYN_NAME = "name"; // Count: 6
65
- export const _DYN_PERF_TIMING = "perfTiming"; // Count: 3
66
- export const _DYN_AJAX_DIAGNOSTICS_MES19 = "ajaxDiagnosticsMessage"; // Count: 3
67
- export const _DYN_CORRELATION_CONTEXT = "correlationContext"; // Count: 3
68
- export const _DYN_AJAX_TOTAL_DURATION = "ajaxTotalDuration"; // Count: 3
69
- export const _DYN_EVENT_TRACE_CTX = "eventTraceCtx"; // Count: 3
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+ // @skip-file-minify
4
+
5
+ // ##############################################################
6
+ // AUTO GENERATED FILE: This file is Auto Generated during build.
7
+ // ##############################################################
8
+
9
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
+ // Note: DON'T Export these const from the package as we are still targeting ES3 this will export a mutable variables that someone could change!!!
11
+ // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
+
13
+ export const _DYN_REQUEST_URL = "requestUrl"; // Count: 12
14
+ export const _DYN_INST = "inst"; // Count: 5
15
+ export const _DYN_LENGTH = "length"; // Count: 10
16
+ export const _DYN_TRACE_ID = "traceID"; // Count: 9
17
+ export const _DYN_SPAN_ID = "spanID"; // Count: 8
18
+ export const _DYN_TRACE_FLAGS = "traceFlags"; // Count: 13
19
+ export const _DYN_CONTEXT = "context"; // Count: 7
20
+ export const _DYN_TRACE_ID0 = "traceId"; // Count: 5
21
+ export const _DYN_SPAN_ID1 = "spanId"; // Count: 5
22
+ export const _DYN_CORE = "core"; // Count: 8
23
+ export const _DYN_INCLUDE_CORRELATION_2 = "includeCorrelationHeaders"; // Count: 4
24
+ export const _DYN_CAN_INCLUDE_CORRELAT3 = "canIncludeCorrelationHeader"; // Count: 2
25
+ export const _DYN_GET_ABSOLUTE_URL = "getAbsoluteUrl"; // Count: 3
26
+ export const _DYN_HEADERS = "headers"; // Count: 6
27
+ export const _DYN_REQUEST_HEADERS = "requestHeaders"; // Count: 13
28
+ export const _DYN_APP_ID = "appId"; // Count: 5
29
+ export const _DYN_SET_REQUEST_HEADER = "setRequestHeader"; // Count: 3
30
+ export const _DYN_TRACK_DEPENDENCY_DAT4 = "trackDependencyDataInternal"; // Count: 2
31
+ export const _DYN_DISTRIBUTED_TRACING_5 = "distributedTracingMode"; // Count: 3
32
+ export const _DYN_START_TIME = "startTime"; // Count: 6
33
+ export const _DYN_TO_LOWER_CASE = "toLowerCase"; // Count: 6
34
+ export const _DYN_ENABLE_REQUEST_HEADE6 = "enableRequestHeaderTracking"; // Count: 2
35
+ export const _DYN_ENABLE_AJAX_ERROR_ST7 = "enableAjaxErrorStatusText"; // Count: 2
36
+ export const _DYN_ENABLE_AJAX_PERF_TRA8 = "enableAjaxPerfTracking"; // Count: 2
37
+ export const _DYN_MAX_AJAX_CALLS_PER_V9 = "maxAjaxCallsPerView"; // Count: 2
38
+ export const _DYN_ENABLE_RESPONSE_HEAD10 = "enableResponseHeaderTracking"; // Count: 2
39
+ export const _DYN_EXCLUDE_REQUEST_FROM11 = "excludeRequestFromAutoTrackingPatterns"; // Count: 2
40
+ export const _DYN_ADD_REQUEST_CONTEXT = "addRequestContext"; // Count: 2
41
+ export const _DYN_DISABLE_AJAX_TRACKIN12 = "disableAjaxTracking"; // Count: 2
42
+ export const _DYN_DISABLE_FETCH_TRACKI13 = "disableFetchTracking"; // Count: 2
43
+ export const _DYN_STATUS = "status"; // Count: 10
44
+ export const _DYN_STATUS_TEXT = "statusText"; // Count: 8
45
+ export const _DYN_HEADER_MAP = "headerMap"; // Count: 8
46
+ export const _DYN_OPEN_DONE = "openDone"; // Count: 3
47
+ export const _DYN_SEND_DONE = "sendDone"; // Count: 3
48
+ export const _DYN_REQUEST_SENT_TIME = "requestSentTime"; // Count: 9
49
+ export const _DYN_ABORT_DONE = "abortDone"; // Count: 3
50
+ export const _DYN_GET_TRACE_ID = "getTraceId"; // Count: 3
51
+ export const _DYN_GET_TRACE_FLAGS = "getTraceFlags"; // Count: 3
52
+ export const _DYN_METHOD = "method"; // Count: 10
53
+ export const _DYN_ERROR_STATUS_TEXT = "errorStatusText"; // Count: 3
54
+ export const _DYN_STATE_CHANGE_ATTACHE14 = "stateChangeAttached"; // Count: 2
55
+ export const _DYN_RESPONSE_TEXT = "responseText"; // Count: 5
56
+ export const _DYN_RESPONSE_FINISHED_TI15 = "responseFinishedTime"; // Count: 7
57
+ export const _DYN__CREATE_TRACK_ITEM = "CreateTrackItem"; // Count: 3
58
+ export const _DYN_RESPONSE = "response"; // Count: 4
59
+ export const _DYN_GET_ALL_RESPONSE_HEA16 = "getAllResponseHeaders"; // Count: 2
60
+ export const _DYN_GET_PART_APROPS = "getPartAProps"; // Count: 3
61
+ export const _DYN_GET_CORRELATION_CONT17 = "getCorrelationContext"; // Count: 2
62
+ export const _DYN_PERF_MARK = "perfMark"; // Count: 4
63
+ export const _DYN_AJAX_PERF_LOOKUP_DEL18 = "ajaxPerfLookupDelay"; // Count: 2
64
+ export const _DYN_NAME = "name"; // Count: 6
65
+ export const _DYN_PERF_TIMING = "perfTiming"; // Count: 3
66
+ export const _DYN_AJAX_DIAGNOSTICS_MES19 = "ajaxDiagnosticsMessage"; // Count: 3
67
+ export const _DYN_CORRELATION_CONTEXT = "correlationContext"; // Count: 3
68
+ export const _DYN_AJAX_TOTAL_DURATION = "ajaxTotalDuration"; // Count: 3
69
+ export const _DYN_EVENT_TRACE_CTX = "eventTraceCtx"; // Count: 3
package/src/ajax.ts CHANGED
@@ -1,25 +1,25 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import dynamicProto from "@microsoft/dynamicproto-js";
5
- import {
6
- CorrelationIdHelper, DisabledPropertyName, IConfig, ICorrelationConfig, IDependencyTelemetry, IRequestContext, ITelemetryContext,
7
- PropertiesPluginIdentifier, RemoteDependencyData, RequestHeaders, createDistributedTraceContextFromTrace, createTelemetryItem,
8
- createTraceParent, dateTimeUtilsNow, eDistributedTracingModes, eRequestHeaders, formatTraceParent, isInternalApplicationInsightsEndpoint
9
- } from "@microsoft/applicationinsights-common";
10
- import {
11
- BaseTelemetryPlugin, IAppInsightsCore, IConfiguration, ICustomProperties, IDistributedTraceContext, IInstrumentCallDetails,
12
- IInstrumentHooksCallbacks, IPlugin, IProcessTelemetryContext, ITelemetryItem, ITelemetryPluginChain, InstrumentFunc, InstrumentProto,
13
- _eInternalMessageId, _throwInternal, arrForEach, createProcessTelemetryContext, createUniqueNamespace, deepFreeze, dumpObj,
14
- eLoggingSeverity, eventOn, generateW3CId, getExceptionName, getGlobal, getIEVersion, getLocation, getPerformance, isFunction,
15
- isNullOrUndefined, isString, isXhrSupported, mergeEvtNamespace, objForEachKey, strPrototype, strTrim
16
- } from "@microsoft/applicationinsights-core-js";
17
- import { DependencyInitializerFunction, IDependencyInitializerDetails, IDependencyInitializerHandler } from "./DependencyInitializer";
18
- import {
19
- DependencyListenerFunction, IDependencyHandler, IDependencyListenerContainer, IDependencyListenerDetails, IDependencyListenerHandler
20
- } from "./DependencyListener";
21
- import { IAjaxRecordResponse, ajaxRecord } from "./ajaxRecord";
22
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import dynamicProto from "@microsoft/dynamicproto-js";
5
+ import {
6
+ CorrelationIdHelper, DisabledPropertyName, IConfig, ICorrelationConfig, IDependencyTelemetry, IRequestContext, ITelemetryContext,
7
+ PropertiesPluginIdentifier, RemoteDependencyData, RequestHeaders, createDistributedTraceContextFromTrace, createTelemetryItem,
8
+ createTraceParent, dateTimeUtilsNow, eDistributedTracingModes, eRequestHeaders, formatTraceParent, isInternalApplicationInsightsEndpoint
9
+ } from "@microsoft/applicationinsights-common";
10
+ import {
11
+ BaseTelemetryPlugin, IAppInsightsCore, IConfiguration, ICustomProperties, IDistributedTraceContext, IInstrumentCallDetails,
12
+ IInstrumentHooksCallbacks, IPlugin, IProcessTelemetryContext, ITelemetryItem, ITelemetryPluginChain, InstrumentFunc, InstrumentProto,
13
+ _eInternalMessageId, _throwInternal, arrForEach, createProcessTelemetryContext, createUniqueNamespace, deepFreeze, dumpObj,
14
+ eLoggingSeverity, eventOn, generateW3CId, getExceptionName, getGlobal, getIEVersion, getLocation, getPerformance, isFunction,
15
+ isNullOrUndefined, isString, isXhrSupported, mergeEvtNamespace, objForEachKey, strPrototype, strTrim
16
+ } from "@microsoft/applicationinsights-core-js";
17
+ import { DependencyInitializerFunction, IDependencyInitializerDetails, IDependencyInitializerHandler } from "./DependencyInitializer";
18
+ import {
19
+ DependencyListenerFunction, IDependencyHandler, IDependencyListenerContainer, IDependencyListenerDetails, IDependencyListenerHandler
20
+ } from "./DependencyListener";
21
+ import { IAjaxRecordResponse, ajaxRecord } from "./ajaxRecord";
22
+
23
23
  const AJAX_MONITOR_PREFIX = "ai.ajxmn.";
24
24
  const strDiagLog = "diagLog";
25
25
  const strAjaxData = "ajaxData";
@@ -1274,4 +1274,4 @@ export class AjaxMonitor extends BaseTelemetryPlugin implements IDependenciesPlu
1274
1274
  protected trackDependencyDataInternal(dependency: IDependencyTelemetry, properties?: { [key: string]: any }, systemProperties?: { [key: string]: any }) {
1275
1275
  // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging
1276
1276
  }
1277
- }
1277
+ }
package/src/ajaxRecord.ts CHANGED
@@ -1,15 +1,15 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import dynamicProto from "@microsoft/dynamicproto-js";
5
- import {
6
- Extensions, IDependencyTelemetry, dataSanitizeUrl, dateTimeUtilsDuration, msToTimeSpan, urlGetAbsoluteUrl, urlGetCompleteUrl
7
- } from "@microsoft/applicationinsights-common";
8
- import {
9
- IDiagnosticLogger, IDistributedTraceContext, arrForEach, isNullOrUndefined, isNumber, isString, normalizeJsName, objForEachKey, objKeys
10
- } from "@microsoft/applicationinsights-core-js";
11
- import { STR_DURATION, STR_PROPERTIES } from "./InternalConstants";
12
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import dynamicProto from "@microsoft/dynamicproto-js";
5
+ import {
6
+ Extensions, IDependencyTelemetry, dataSanitizeUrl, dateTimeUtilsDuration, msToTimeSpan, urlGetAbsoluteUrl, urlGetCompleteUrl
7
+ } from "@microsoft/applicationinsights-common";
8
+ import {
9
+ IDiagnosticLogger, IDistributedTraceContext, arrForEach, isNullOrUndefined, isNumber, isString, normalizeJsName, objForEachKey, objKeys
10
+ } from "@microsoft/applicationinsights-core-js";
11
+ import { STR_DURATION, STR_PROPERTIES } from "./InternalConstants";
12
+
13
13
  export interface IAjaxRecordResponse {
14
14
  statusText: string,
15
15
  headerMap: Object,
@@ -428,4 +428,4 @@ export class ajaxRecord {
428
428
  // @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging
429
429
  return null;
430
430
  }
431
- }
431
+ }
package/src/ajaxUtils.ts CHANGED
@@ -1,8 +1,8 @@
1
- // Copyright (c) Microsoft Corporation. All rights reserved.
2
- // Licensed under the MIT License.
3
-
4
- import { isNullOrUndefined } from "@microsoft/applicationinsights-core-js";
5
-
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ import { isNullOrUndefined } from "@microsoft/applicationinsights-core-js";
5
+
6
6
  export class stringUtils {
7
7
  public static GetLength(strObject: any) {
8
8
  let res = 0;
@@ -20,4 +20,4 @@ export class stringUtils {
20
20
 
21
21
  return res;
22
22
  }
23
- }
23
+ }