@microsoft/applicationinsights-properties-js 2.7.2-nightly.2111-08 → 2.7.2-nightly.2111-09
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.
- package/Tests/Unit/src/SessionManager.Tests.ts +375 -0
- package/Tests/Unit/src/prop.tests.ts +11 -0
- package/Tests/Unit/src/properties.tests.ts +697 -0
- package/Tests/Unit/src/propertiesSize.tests.ts +59 -0
- package/Tests/UnitTests.html +53 -0
- package/Tests/tsconfig.json +13 -0
- package/api-extractor.json +361 -0
- package/applicationinsights-properties-js.build.error.log +18 -0
- package/applicationinsights-properties-js.build.log +365 -0
- package/browser/applicationinsights-properties-js.integrity.json +9 -9
- package/browser/applicationinsights-properties-js.js +2 -2
- package/browser/applicationinsights-properties-js.js.map +1 -1
- package/browser/applicationinsights-properties-js.min.js +2 -2
- package/browser/applicationinsights-properties-js.min.js.map +1 -1
- package/dist/applicationinsights-properties-js.api.json +1 -1
- package/dist/applicationinsights-properties-js.d.ts +1 -1
- package/dist/applicationinsights-properties-js.js +2 -2
- package/dist/applicationinsights-properties-js.js.map +1 -1
- package/dist/applicationinsights-properties-js.min.js +2 -2
- package/dist/applicationinsights-properties-js.min.js.map +1 -1
- package/dist/applicationinsights-properties-js.rollup.d.ts +1 -1
- package/dist-esm/Context/Application.js +1 -1
- package/dist-esm/Context/Device.js +1 -1
- package/dist-esm/Context/Internal.js +2 -2
- package/dist-esm/Context/Internal.js.map +1 -1
- package/dist-esm/Context/Location.js +1 -1
- package/dist-esm/Context/Session.js +1 -1
- package/dist-esm/Context/TelemetryTrace.js +1 -1
- package/dist-esm/Context/User.js +1 -1
- package/dist-esm/Interfaces/IPropTelemetryContext.js +1 -1
- package/dist-esm/Interfaces/ITelemetryConfig.js +1 -1
- package/dist-esm/PropertiesPlugin.js +1 -1
- package/dist-esm/TelemetryContext.js +1 -1
- package/dist-esm/applicationinsights-properties-js.js +1 -1
- package/package.json +3 -3
- package/rollup.config.js +139 -0
- package/src/Context/Internal.ts +1 -1
- package/temp/applicationinsights-properties-js.api.md +180 -0
- package/tslint.json +8 -0
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
Unable to calculate incremental build state: Error: Cannot read property 'readFile' of undefined
|
|
2
|
+
Error loading config file: D:\a\1\s\extensions\applicationinsights-properties-js\config\rig.json
|
|
3
|
+
|
|
4
|
+
Rush will proceed without incremental build, caching, and change detection.
|
|
5
|
+
|
|
6
|
+
Invoking: npm run build
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
> @microsoft/applicationinsights-properties-js@2.7.2-nightly.2111-09 build D:\a\1\s\extensions\applicationinsights-properties-js
|
|
10
|
+
> npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
> @microsoft/applicationinsights-properties-js@2.7.2-nightly.2111-09 build:esm D:\a\1\s\extensions\applicationinsights-properties-js
|
|
14
|
+
> grunt properties
|
|
15
|
+
|
|
16
|
+
(node:1600) ExperimentalWarning: The fs.promises API is experimental
|
|
17
|
+
Running "eslint-ts:properties-lint-fix" (eslint-ts) task
|
|
18
|
+
grunt-eslint-typescript options: [object Object]{
|
|
19
|
+
"format": "codeframe",
|
|
20
|
+
"fix": true
|
|
21
|
+
}
|
|
22
|
+
>> The rootDir specified in your project file [./extensions/applicationinsights-properties-js/tsconfig.json] is invalid as it assumes the current working directory.
|
|
23
|
+
>> - [extensions/applicationinsights-properties-js/src] resolves to [D:\a\1\s\extensions\applicationinsights-properties-js\extensions\applicationinsights-properties-js\src]
|
|
24
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-properties-js\src]
|
|
25
|
+
>> -- Update or remove to fix this warning
|
|
26
|
+
>> The declarationDir specified in your project file [./extensions/applicationinsights-properties-js/tsconfig.json] is invalid as it assumes the current working directory.
|
|
27
|
+
>> - [extensions/applicationinsights-properties-js/types] resolves to [D:\a\1\s\extensions\applicationinsights-properties-js\src\extensions\applicationinsights-properties-js\types]
|
|
28
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-properties-js\types]
|
|
29
|
+
>> -- Update or remove to fix this warning
|
|
30
|
+
Using tsconfig: ./extensions/applicationinsights-properties-js/tsconfig.json
|
|
31
|
+
Found eslint-plugin-security -- automatically adding, to avoid this specify a null or empty parser option in your grunt config.
|
|
32
|
+
Module Path: D:/a/1/s/node_modules/@nevware21/grunt-eslint-ts
|
|
33
|
+
Using ESLint from : D:\a\1\s\node_modules\eslint\lib\api.js via grunt-eslint-ts v0.2.2
|
|
34
|
+
Using EsLint Options: [object Object]{
|
|
35
|
+
"baseConfig": {
|
|
36
|
+
"parserOptions": {
|
|
37
|
+
"project": "./extensions/applicationinsights-properties-js/tsconfig.json"
|
|
38
|
+
},
|
|
39
|
+
"plugins": [
|
|
40
|
+
"@typescript-eslint",
|
|
41
|
+
"security"
|
|
42
|
+
],
|
|
43
|
+
"extends": [
|
|
44
|
+
"eslint:recommended",
|
|
45
|
+
"plugin:@typescript-eslint/recommended",
|
|
46
|
+
"plugin:security/recommended"
|
|
47
|
+
],
|
|
48
|
+
"parser": "@typescript-eslint/parser",
|
|
49
|
+
"rules": {}
|
|
50
|
+
},
|
|
51
|
+
"fix": true
|
|
52
|
+
}
|
|
53
|
+
Linting 1 files...
|
|
54
|
+
- ./extensions/applicationinsights-properties-js/./src/**/*.ts
|
|
55
|
+
|
|
56
|
+
12 Linting Results
|
|
57
|
+
No lint fixes identified...
|
|
58
|
+
warning: 'DiagnosticLogger' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\Context\Session.ts:7:61:
|
|
59
|
+
5 | import { ISession, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage } from "@microsoft/applicationinsights-common";
|
|
60
|
+
6 | import {
|
|
61
|
+
> 7 | IDiagnosticLogger, _InternalMessageId, LoggingSeverity, DiagnosticLogger, IAppInsightsCore, ICookieMgr, safeGetCookieMgr, isFunction,
|
|
62
|
+
| ^
|
|
63
|
+
8 | newId, dumpObj, getExceptionName, dateNow, safeGetLogger
|
|
64
|
+
9 | } from "@microsoft/applicationinsights-core-js";
|
|
65
|
+
10 |
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
warning: 'CtxTagKeys' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\Context\User.ts:6:42:
|
|
69
|
+
4 | import dynamicProto from "@microsoft/dynamicproto-js";
|
|
70
|
+
5 | import { ITelemetryConfig } from "../Interfaces/ITelemetryConfig";
|
|
71
|
+
> 6 | import { utlRemoveStorage, IUserContext, CtxTagKeys } from "@microsoft/applicationinsights-common";
|
|
72
|
+
| ^
|
|
73
|
+
7 | import { _InternalMessageId, LoggingSeverity, IAppInsightsCore, ICookieMgr, safeGetCookieMgr, safeGetLogger, newId, toISOString } from "@microsoft/applicationinsights-core-js";
|
|
74
|
+
8 |
|
|
75
|
+
9 |
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
warning: 'IDiagnosticLogger' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:7:70:
|
|
79
|
+
5 |
|
|
80
|
+
6 | import dynamicProto from "@microsoft/dynamicproto-js";
|
|
81
|
+
> 7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
82
|
+
| ^
|
|
83
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
84
|
+
9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
85
|
+
10 | import { Application } from "./Context/Application";
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
warning: 'isObject' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:7:163:
|
|
89
|
+
5 |
|
|
90
|
+
6 | import dynamicProto from "@microsoft/dynamicproto-js";
|
|
91
|
+
> 7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
92
|
+
| ^
|
|
93
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
94
|
+
9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
95
|
+
10 | import { Application } from "./Context/Application";
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
warning: 'isArray' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:7:173:
|
|
99
|
+
5 |
|
|
100
|
+
6 | import dynamicProto from "@microsoft/dynamicproto-js";
|
|
101
|
+
> 7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
102
|
+
| ^
|
|
103
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
104
|
+
9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
105
|
+
10 | import { Application } from "./Context/Application";
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
warning: 'ITelemetryContext' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:9:22:
|
|
109
|
+
7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
110
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
111
|
+
> 9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
112
|
+
| ^
|
|
113
|
+
10 | import { Application } from "./Context/Application";
|
|
114
|
+
11 | import { Device } from "./Context/Device";
|
|
115
|
+
12 | import { Internal } from "./Context/Internal";
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
warning: 'SampleRate' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:9:82:
|
|
119
|
+
7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
120
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
121
|
+
> 9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
122
|
+
| ^
|
|
123
|
+
10 | import { Application } from "./Context/Application";
|
|
124
|
+
11 | import { Device } from "./Context/Device";
|
|
125
|
+
12 | import { Internal } from "./Context/Internal";
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
warning: 'IUser' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:9:150:
|
|
129
|
+
7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
130
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
131
|
+
> 9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
132
|
+
| ^
|
|
133
|
+
10 | import { Application } from "./Context/Application";
|
|
134
|
+
11 | import { Device } from "./Context/Device";
|
|
135
|
+
12 | import { Internal } from "./Context/Internal";
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
8 warnings found.
|
|
139
|
+
|
|
140
|
+
Running "ts:properties" (ts) task
|
|
141
|
+
Module Path: D:/a/1/s/node_modules/@nevware21/grunt-ts-plugin
|
|
142
|
+
Using tsc version: 4.4.4 via grunt-ts-plugin v0.4.3
|
|
143
|
+
>> The rootDir specified in your project file [./extensions/applicationinsights-properties-js/tsconfig.json] is invalid as it assumes the current working directory.
|
|
144
|
+
>> - [extensions/applicationinsights-properties-js/src] resolves to [D:\a\1\s\extensions\applicationinsights-properties-js\extensions\applicationinsights-properties-js\src]
|
|
145
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-properties-js\src]
|
|
146
|
+
>> -- Update or remove to fix this warning
|
|
147
|
+
>> The declarationDir specified in your project file [./extensions/applicationinsights-properties-js/tsconfig.json] is invalid as it assumes the current working directory.
|
|
148
|
+
>> - [extensions/applicationinsights-properties-js/types] resolves to [D:\a\1\s\extensions\applicationinsights-properties-js\src\extensions\applicationinsights-properties-js\types]
|
|
149
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-properties-js\types]
|
|
150
|
+
>> -- Update or remove to fix this warning
|
|
151
|
+
Ts-Plugin...
|
|
152
|
+
rootDir from [cwd:D:\a\1\s]
|
|
153
|
+
- TSConfig: D:\a\1\s\extensions\applicationinsights-properties-js
|
|
154
|
+
- Project : <assuming tsconfig location>
|
|
155
|
+
- Actual : D:\a\1\s\extensions\applicationinsights-properties-js\src
|
|
156
|
+
Ts-Plugin Invoking: D:\a\1\s\node_modules\typescript\bin\tsc @tscommand-80a1469b.tmp
|
|
157
|
+
Contents...
|
|
158
|
+
--declarationDir extensions/applicationinsights-properties-js/types
|
|
159
|
+
--rootDir extensions/applicationinsights-properties-js/src
|
|
160
|
+
--project ./extensions/applicationinsights-properties-js/tsconfig.json
|
|
161
|
+
|
|
162
|
+
TypeScript compiliation completed: 2.41s
|
|
163
|
+
|
|
164
|
+
Running "eslint-ts:properties-lint" (eslint-ts) task
|
|
165
|
+
grunt-eslint-typescript options: [object Object]{
|
|
166
|
+
"format": "codeframe"
|
|
167
|
+
}
|
|
168
|
+
>> The rootDir specified in your project file [./extensions/applicationinsights-properties-js/tsconfig.json] is invalid as it assumes the current working directory.
|
|
169
|
+
>> - [extensions/applicationinsights-properties-js/src] resolves to [D:\a\1\s\extensions\applicationinsights-properties-js\extensions\applicationinsights-properties-js\src]
|
|
170
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-properties-js\src]
|
|
171
|
+
>> -- Update or remove to fix this warning
|
|
172
|
+
>> The declarationDir specified in your project file [./extensions/applicationinsights-properties-js/tsconfig.json] is invalid as it assumes the current working directory.
|
|
173
|
+
>> - [extensions/applicationinsights-properties-js/types] resolves to [D:\a\1\s\extensions\applicationinsights-properties-js\src\extensions\applicationinsights-properties-js\types]
|
|
174
|
+
>> - Overridding to use: [D:\a\1\s\extensions\applicationinsights-properties-js\types]
|
|
175
|
+
>> -- Update or remove to fix this warning
|
|
176
|
+
Using tsconfig: ./extensions/applicationinsights-properties-js/tsconfig.json
|
|
177
|
+
Found eslint-plugin-security -- automatically adding, to avoid this specify a null or empty parser option in your grunt config.
|
|
178
|
+
Module Path: D:/a/1/s/node_modules/@nevware21/grunt-eslint-ts
|
|
179
|
+
Using ESLint from : D:\a\1\s\node_modules\eslint\lib\api.js via grunt-eslint-ts v0.2.2
|
|
180
|
+
Using EsLint Options: [object Object]{
|
|
181
|
+
"baseConfig": {
|
|
182
|
+
"parserOptions": {
|
|
183
|
+
"project": "./extensions/applicationinsights-properties-js/tsconfig.json"
|
|
184
|
+
},
|
|
185
|
+
"plugins": [
|
|
186
|
+
"@typescript-eslint",
|
|
187
|
+
"security"
|
|
188
|
+
],
|
|
189
|
+
"extends": [
|
|
190
|
+
"eslint:recommended",
|
|
191
|
+
"plugin:@typescript-eslint/recommended",
|
|
192
|
+
"plugin:security/recommended"
|
|
193
|
+
],
|
|
194
|
+
"parser": "@typescript-eslint/parser",
|
|
195
|
+
"rules": {}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
Linting 1 files...
|
|
199
|
+
- ./extensions/applicationinsights-properties-js/./src/**/*.ts
|
|
200
|
+
|
|
201
|
+
12 Linting Results
|
|
202
|
+
No lint fixes identified...
|
|
203
|
+
warning: 'DiagnosticLogger' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\Context\Session.ts:7:61:
|
|
204
|
+
5 | import { ISession, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage } from "@microsoft/applicationinsights-common";
|
|
205
|
+
6 | import {
|
|
206
|
+
> 7 | IDiagnosticLogger, _InternalMessageId, LoggingSeverity, DiagnosticLogger, IAppInsightsCore, ICookieMgr, safeGetCookieMgr, isFunction,
|
|
207
|
+
| ^
|
|
208
|
+
8 | newId, dumpObj, getExceptionName, dateNow, safeGetLogger
|
|
209
|
+
9 | } from "@microsoft/applicationinsights-core-js";
|
|
210
|
+
10 |
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
warning: 'CtxTagKeys' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\Context\User.ts:6:42:
|
|
214
|
+
4 | import dynamicProto from "@microsoft/dynamicproto-js";
|
|
215
|
+
5 | import { ITelemetryConfig } from "../Interfaces/ITelemetryConfig";
|
|
216
|
+
> 6 | import { utlRemoveStorage, IUserContext, CtxTagKeys } from "@microsoft/applicationinsights-common";
|
|
217
|
+
| ^
|
|
218
|
+
7 | import { _InternalMessageId, LoggingSeverity, IAppInsightsCore, ICookieMgr, safeGetCookieMgr, safeGetLogger, newId, toISOString } from "@microsoft/applicationinsights-core-js";
|
|
219
|
+
8 |
|
|
220
|
+
9 |
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
warning: 'IDiagnosticLogger' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:7:70:
|
|
224
|
+
5 |
|
|
225
|
+
6 | import dynamicProto from "@microsoft/dynamicproto-js";
|
|
226
|
+
> 7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
227
|
+
| ^
|
|
228
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
229
|
+
9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
230
|
+
10 | import { Application } from "./Context/Application";
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
warning: 'isObject' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:7:163:
|
|
234
|
+
5 |
|
|
235
|
+
6 | import dynamicProto from "@microsoft/dynamicproto-js";
|
|
236
|
+
> 7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
237
|
+
| ^
|
|
238
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
239
|
+
9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
240
|
+
10 | import { Application } from "./Context/Application";
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
warning: 'isArray' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:7:173:
|
|
244
|
+
5 |
|
|
245
|
+
6 | import dynamicProto from "@microsoft/dynamicproto-js";
|
|
246
|
+
> 7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
247
|
+
| ^
|
|
248
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
249
|
+
9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
250
|
+
10 | import { Application } from "./Context/Application";
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
warning: 'ITelemetryContext' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:9:22:
|
|
254
|
+
7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
255
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
256
|
+
> 9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
257
|
+
| ^
|
|
258
|
+
10 | import { Application } from "./Context/Application";
|
|
259
|
+
11 | import { Device } from "./Context/Device";
|
|
260
|
+
12 | import { Internal } from "./Context/Internal";
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
warning: 'SampleRate' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:9:82:
|
|
264
|
+
7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
265
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
266
|
+
> 9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
267
|
+
| ^
|
|
268
|
+
10 | import { Application } from "./Context/Application";
|
|
269
|
+
11 | import { Device } from "./Context/Device";
|
|
270
|
+
12 | import { Internal } from "./Context/Internal";
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
warning: 'IUser' is defined but never used (@typescript-eslint/no-unused-vars) at extensions\applicationinsights-properties-js\src\TelemetryContext.ts:9:150:
|
|
274
|
+
7 | import { ITelemetryItem, IProcessTelemetryContext, IAppInsightsCore, IDiagnosticLogger, isString, objKeys, hasWindow, _InternalLogMessage, setValue, getSetValue, isObject, isArray } from "@microsoft/applicationinsights-core-js";
|
|
275
|
+
8 | import { Session, _SessionManager } from "./Context/Session";
|
|
276
|
+
> 9 | import { Extensions, ITelemetryContext, IOperatingSystem, ITelemetryTrace, IWeb, SampleRate, CtxTagKeys, PageView, IApplication, IDevice, ILocation, IUser, IUserContext, IInternal, ISession } from "@microsoft/applicationinsights-common";
|
|
277
|
+
| ^
|
|
278
|
+
10 | import { Application } from "./Context/Application";
|
|
279
|
+
11 | import { Device } from "./Context/Device";
|
|
280
|
+
12 | import { Internal } from "./Context/Internal";
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
8 warnings found.
|
|
284
|
+
|
|
285
|
+
Done.
|
|
286
|
+
|
|
287
|
+
> @microsoft/applicationinsights-properties-js@2.7.2-nightly.2111-09 build:browser D:\a\1\s\extensions\applicationinsights-properties-js
|
|
288
|
+
> rollup -c
|
|
289
|
+
|
|
290
|
+
Loading - ./dist-esm/applicationinsights-properties-js.js
|
|
291
|
+
Rewriting Map file - ./dist-esm/applicationinsights-properties-js.js.map
|
|
292
|
+
Loading - ./dist-esm/PropertiesPlugin.js
|
|
293
|
+
Prototypes removed...
|
|
294
|
+
Line Changed: PropertiesPlugin.prototype.initialize = function (config, core, extensions, pluginChain) {
|
|
295
|
+
Detected Removed lines 107 to 116
|
|
296
|
+
Replacing [import { __extends } from "tslib";] with [import { __extendsFn as __extends } from "@microsoft/applicationinsights-shims";]
|
|
297
|
+
Rewriting Map file - ./dist-esm/PropertiesPlugin.js.map
|
|
298
|
+
Loading - ./dist-esm/TelemetryContext.js
|
|
299
|
+
Prototypes removed...
|
|
300
|
+
Line Changed: TelemetryContext.prototype.applySessionContext = function (evt, itemCtx) {
|
|
301
|
+
Detected Removed lines 137 to 166
|
|
302
|
+
Rewriting Map file - ./dist-esm/TelemetryContext.js.map
|
|
303
|
+
Loading - ./dist-esm/Context/Application.js
|
|
304
|
+
Rewriting Map file - ./dist-esm/Context/Application.js.map
|
|
305
|
+
Loading - ./dist-esm/Context/Device.js
|
|
306
|
+
Rewriting Map file - ./dist-esm/Context/Device.js.map
|
|
307
|
+
Loading - ./dist-esm/Context/Internal.js
|
|
308
|
+
Rewriting Map file - ./dist-esm/Context/Internal.js.map
|
|
309
|
+
Loading - ./dist-esm/Context/Location.js
|
|
310
|
+
Rewriting Map file - ./dist-esm/Context/Location.js.map
|
|
311
|
+
Loading - ./dist-esm/Context/Session.js
|
|
312
|
+
Prototypes removed...
|
|
313
|
+
Line Changed: _SessionManager.prototype.update = function () {
|
|
314
|
+
Detected Removed lines 176 to 186
|
|
315
|
+
Rewriting Map file - ./dist-esm/Context/Session.js.map
|
|
316
|
+
Loading - ./dist-esm/Context/TelemetryTrace.js
|
|
317
|
+
Rewriting Map file - ./dist-esm/Context/TelemetryTrace.js.map
|
|
318
|
+
Loading - ./dist-esm/Context/User.js
|
|
319
|
+
Prototypes removed...
|
|
320
|
+
Line Changed: /**
|
|
321
|
+
Detected Removed lines 131 to 155
|
|
322
|
+
Rewriting Map file - ./dist-esm/Context/User.js.map
|
|
323
|
+
Loading - ./dist-esm/Interfaces/IPropTelemetryContext.js
|
|
324
|
+
Rewriting Map file - ./dist-esm/Interfaces/IPropTelemetryContext.js.map
|
|
325
|
+
Loading - ./dist-esm/Interfaces/ITelemetryConfig.js
|
|
326
|
+
Rewriting Map file - ./dist-esm/Interfaces/ITelemetryConfig.js.map
|
|
327
|
+
|
|
328
|
+
dist-esm/applicationinsights-properties-js.js → browser/applicationinsights-properties-js.min.js...
|
|
329
|
+
created browser/applicationinsights-properties-js.min.js in 3.8s
|
|
330
|
+
|
|
331
|
+
dist-esm/applicationinsights-properties-js.js → browser/applicationinsights-properties-js.js...
|
|
332
|
+
created browser/applicationinsights-properties-js.js in 1.1s
|
|
333
|
+
|
|
334
|
+
dist-esm/applicationinsights-properties-js.js → dist/applicationinsights-properties-js.min.js...
|
|
335
|
+
created dist/applicationinsights-properties-js.min.js in 3s
|
|
336
|
+
|
|
337
|
+
dist-esm/applicationinsights-properties-js.js → dist/applicationinsights-properties-js.js...
|
|
338
|
+
created dist/applicationinsights-properties-js.js in 1s
|
|
339
|
+
|
|
340
|
+
> @microsoft/applicationinsights-properties-js@2.7.2-nightly.2111-09 sri D:\a\1\s\extensions\applicationinsights-properties-js
|
|
341
|
+
> node ../../tools/subResourceIntegrity/generateIntegrityFile.js
|
|
342
|
+
|
|
343
|
+
Loading - ./browser/applicationinsights-properties-js.js (Extension) => (["./browser/applicationinsights-properties-js.js","./browser/applicationinsights-properties-js","2.7.2-nightly.2111-09","js"])
|
|
344
|
+
Loading - ./browser/applicationinsights-properties-js.min.js (Extension) => (["./browser/applicationinsights-properties-js.min.js","./browser/applicationinsights-properties-js","2.7.2-nightly.2111-09","min.js"])
|
|
345
|
+
Writing - ./browser/applicationinsights-properties-js.integrity.json
|
|
346
|
+
|
|
347
|
+
> @microsoft/applicationinsights-properties-js@2.7.2-nightly.2111-09 dtsgen D:\a\1\s\extensions\applicationinsights-properties-js
|
|
348
|
+
> api-extractor run --local && node ../../scripts/dtsgen.js "Microsoft Application Insights properties plugin"
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
api-extractor 7.18.19 - https://api-extractor.com/
|
|
352
|
+
|
|
353
|
+
Using configuration from ./api-extractor.json
|
|
354
|
+
Analysis will use the bundled TypeScript version 4.4.4
|
|
355
|
+
Warning: The API report file was missing, so a new file was created. Please add this file to Git:
|
|
356
|
+
D:\a\1\s\extensions\applicationinsights-properties-js\dist\applicationinsights-properties-js.api.md
|
|
357
|
+
Warning: types/PropertiesPlugin.d.ts:18:8 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
358
|
+
Warning: D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/IConfig.d.ts:6:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration
|
|
359
|
+
Warning: D:/a/1/s/shared/AppInsightsCommon/types/Interfaces/IConfig.d.ts:7:4 - (tsdoc-undefined-tag) The TSDoc tag "@interface" is not defined in this configuration
|
|
360
|
+
|
|
361
|
+
API Extractor completed successfully
|
|
362
|
+
Using Package: D:\a\1\s\extensions\applicationinsights-properties-js\package.json, current path cwd D:\a\1\s\extensions\applicationinsights-properties-js
|
|
363
|
+
Transforming: D:\a\1\s\extensions\applicationinsights-properties-js\dist\applicationinsights-properties-js.d.ts
|
|
364
|
+
File...
|
|
365
|
+
Lines: 151
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applicationinsights-properties-js",
|
|
3
|
-
"version": "2.7.2-nightly.2111-
|
|
3
|
+
"version": "2.7.2-nightly.2111-09",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@js": {
|
|
6
6
|
"file": "applicationinsights-properties-js.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-E3lGMWgKOtLXUFGXytcRCyzFIpNsGGY6pb2tsM7NOU4= sha384-7Rwy94PBN3wP6mzXgGwu3tppYlq7GX6Mi/jaahBS47pS62ZduFjwfZroXUzSqJBK sha512-t0YyiQReXV6yyqsLog6Db3TG+MUmehRFbVL2JZM+L2wTzd5twCMwgBO68g5WJsilgcu9AoSz6sOjHomsD6Y1Hg==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "E3lGMWgKOtLXUFGXytcRCyzFIpNsGGY6pb2tsM7NOU4=",
|
|
11
|
+
"sha384": "7Rwy94PBN3wP6mzXgGwu3tppYlq7GX6Mi/jaahBS47pS62ZduFjwfZroXUzSqJBK",
|
|
12
|
+
"sha512": "t0YyiQReXV6yyqsLog6Db3TG+MUmehRFbVL2JZM+L2wTzd5twCMwgBO68g5WJsilgcu9AoSz6sOjHomsD6Y1Hg=="
|
|
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-
|
|
18
|
+
"integrity": "sha256-x+4tBOvGIAYTGljAdfb6xiPaNXLJnmcd4SiYXai4qbY= sha384-Y+t7xVTtnNcEMkSYjuJfPyRC6ZnJA5V5OH900L6TEEGT2gqHHMS7fkRDyyVpVGF6 sha512-yPi0k64n8ho++3Z99o3sqVOp4plJWgGiYUYmGH8MXHAmtXYOrmpFL/M2i8GX2nWzrWkcLZTF5ATIQblmPdZmbg==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "x+4tBOvGIAYTGljAdfb6xiPaNXLJnmcd4SiYXai4qbY=",
|
|
21
|
+
"sha384": "Y+t7xVTtnNcEMkSYjuJfPyRC6ZnJA5V5OH900L6TEEGT2gqHHMS7fkRDyyVpVGF6",
|
|
22
|
+
"sha512": "yPi0k64n8ho++3Z99o3sqVOp4plJWgGiYUYmGH8MXHAmtXYOrmpFL/M2i8GX2nWzrWkcLZTF5ATIQblmPdZmbg=="
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Properties Plugin, 2.7.2-nightly.2111-
|
|
2
|
+
* Application Insights JavaScript SDK - Properties Plugin, 2.7.2-nightly.2111-09
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -2046,7 +2046,7 @@
|
|
|
2046
2046
|
return Device;
|
|
2047
2047
|
}());
|
|
2048
2048
|
|
|
2049
|
-
var Version = "2.7.2-nightly.2111-
|
|
2049
|
+
var Version = "2.7.2-nightly.2111-09";
|
|
2050
2050
|
var Internal = /** @class */ (function () {
|
|
2051
2051
|
function Internal(config) {
|
|
2052
2052
|
this.sdkVersion = (config.sdkExtension && config.sdkExtension() ? config.sdkExtension() + "_" : "") + "javascript:" + Version;
|