Skip to content

Commit 423aa3b

Browse files
authored
Update telemetry API to latest version. (#3843)
1 parent 734ffcb commit 423aa3b

File tree

3 files changed

+94
-36
lines changed

3 files changed

+94
-36
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3772,7 +3772,7 @@
37723772
"string.prototype.matchall": "^4.0.10",
37733773
"tmp": "^0.2.1",
37743774
"vscode-cpptools": "^6.1.0",
3775-
"@vscode/extension-telemetry": "^0.6.2",
3775+
"@vscode/extension-telemetry": "^0.9.6",
37763776
"vscode-nls": "^5.0.0",
37773777
"vscode-tas-client": "^0.1.45",
37783778
"which": "~2.0.2",

src/telemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function activate(extensionContext: vscode.ExtensionContext): void {
6767
const packageInfo: IPackageInfo = getPackageInfo();
6868
if (packageInfo) {
6969
const targetPopulation: TargetPopulation = TargetPopulation.Public;
70-
experimentationTelemetry = new ExperimentationTelemetry(new TelemetryReporter(packageInfo.name, packageInfo.version, appInsightsKey));
70+
experimentationTelemetry = new ExperimentationTelemetry(new TelemetryReporter(appInsightsKey));
7171
initializationPromise = getExperimentationServiceAsync(packageInfo.name, packageInfo.version, targetPopulation, experimentationTelemetry, extensionContext.globalState);
7272
}
7373
}

yarn.lock

Lines changed: 92 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -125,41 +125,98 @@
125125
"@jridgewell/resolve-uri" "^3.0.3"
126126
"@jridgewell/sourcemap-codec" "^1.4.10"
127127

128-
"@microsoft/1ds-core-js@3.2.3", "@microsoft/1ds-core-js@^3.2.3":
129-
version "3.2.3"
130-
resolved "https://registry.npmjs.org/@microsoft/1ds-core-js/-/1ds-core-js-3.2.3.tgz"
131-
integrity sha512-796A8fd90oUKDRO7UXUT9BwZ3G+a9XzJj5v012FcCN/2qRhEsIV3x/0wkx2S08T4FiQEUPkB2uoYHpEjEneM7g==
128+
"@microsoft/1ds-core-js@4.2.2", "@microsoft/1ds-core-js@^4.1.2":
129+
version "4.2.2"
130+
resolved "https://registry.yarnpkg.com/@microsoft/1ds-core-js/-/1ds-core-js-4.2.2.tgz#7681f6a369e391abb2d72a96c4a60721b124b2de"
131+
integrity sha512-4c1AXzOj7ZyX7/97v8fEDYcQ8ymTTmj+j9HYYlcO0/cUbDzZGA7/xzb34chvvAbV60qDEbX0Ha/ea7wzgefORg==
132132
dependencies:
133-
"@microsoft/applicationinsights-core-js" "2.8.4"
134-
"@microsoft/applicationinsights-shims" "^2.0.1"
135-
"@microsoft/dynamicproto-js" "^1.1.6"
133+
"@microsoft/applicationinsights-core-js" "3.2.2"
134+
"@microsoft/applicationinsights-shims" "3.0.1"
135+
"@microsoft/dynamicproto-js" "^2.0.3"
136+
"@nevware21/ts-async" ">= 0.5.1 < 2.x"
137+
"@nevware21/ts-utils" ">= 0.11.1 < 2.x"
136138

137-
"@microsoft/1ds-post-js@^3.2.3":
138-
version "3.2.3"
139-
resolved "https://registry.npmjs.org/@microsoft/1ds-post-js/-/1ds-post-js-3.2.3.tgz"
140-
integrity sha512-tcGJQXXr2LYoBbIXPoUVe1KCF3OtBsuKDFL7BXfmNtuSGtWF0yejm6H83DrR8/cUIGMRMUP9lqNlqFGwDYiwAQ==
139+
"@microsoft/1ds-post-js@^4.1.2":
140+
version "4.2.2"
141+
resolved "https://registry.yarnpkg.com/@microsoft/1ds-post-js/-/1ds-post-js-4.2.2.tgz#8b5a96f9a8bbdc9fc92ee7da5152b205832f9804"
142+
integrity sha512-0k1aSxD03r3ugLaYhI8Y8AonI/whOzSQd66XBYURVTs6uheMMxDQdSnAk/4Dwn/TUK3TCEJZBIwZRVpUJtJX9w==
141143
dependencies:
142-
"@microsoft/1ds-core-js" "3.2.3"
143-
"@microsoft/applicationinsights-shims" "^2.0.1"
144-
"@microsoft/dynamicproto-js" "^1.1.6"
144+
"@microsoft/1ds-core-js" "4.2.2"
145+
"@microsoft/applicationinsights-shims" "3.0.1"
146+
"@microsoft/dynamicproto-js" "^2.0.3"
147+
"@nevware21/ts-async" ">= 0.5.1 < 2.x"
148+
"@nevware21/ts-utils" ">= 0.11.1 < 2.x"
145149

146-
"@microsoft/applicationinsights-core-js@2.8.4":
147-
version "2.8.4"
148-
resolved "https://registry.npmjs.org/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-2.8.4.tgz"
149-
integrity sha512-FoA0FNOsFbJnLyTyQlYs6+HR7HMEa6nAOE6WOm9WVejBHMHQ/Bdb+hfVFi6slxwCimr/ner90jchi4/sIYdnyQ==
150+
"@microsoft/applicationinsights-channel-js@3.2.2":
151+
version "3.2.2"
152+
resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-channel-js/-/applicationinsights-channel-js-3.2.2.tgz#68c58a2498158abc452ca153962547062b9c9cf7"
153+
integrity sha512-4ruoKxgZYYa+K8JJu8RMY0egKazS8xClbx70NQHa/rJ7JYFgN3OIEIBZtFoMcHR8Vg7MEsNE5/wV6o7WWJkVIA==
150154
dependencies:
151-
"@microsoft/applicationinsights-shims" "2.0.1"
152-
"@microsoft/dynamicproto-js" "^1.1.6"
155+
"@microsoft/applicationinsights-common" "3.2.2"
156+
"@microsoft/applicationinsights-core-js" "3.2.2"
157+
"@microsoft/applicationinsights-shims" "3.0.1"
158+
"@microsoft/dynamicproto-js" "^2.0.3"
159+
"@nevware21/ts-async" ">= 0.5.1 < 2.x"
160+
"@nevware21/ts-utils" ">= 0.11.1 < 2.x"
153161

154-
"@microsoft/[email protected]", "@microsoft/applicationinsights-shims@^2.0.1":
155-
version "2.0.1"
156-
resolved "https://registry.npmjs.org/@microsoft/applicationinsights-shims/-/applicationinsights-shims-2.0.1.tgz"
157-
integrity sha512-G0MXf6R6HndRbDy9BbEj0zrLeuhwt2nsXk2zKtF0TnYo39KgYqhYC2ayIzKPTm2KAE+xzD7rgyLdZnrcRvt9WQ==
162+
"@microsoft/[email protected]":
163+
version "3.2.2"
164+
resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-common/-/applicationinsights-common-3.2.2.tgz#86c353256fbac7297b3ba07e7c9cd56d4ebecccd"
165+
integrity sha512-e1C35gdkFSzWyUUR1S8FvisXW3nT3p6wWsLNs+vUKLOTQzsvW3XpNMVtNCq4MfHWiYDuz1lPSzo2eENaij1fVA==
166+
dependencies:
167+
"@microsoft/applicationinsights-core-js" "3.2.2"
168+
"@microsoft/applicationinsights-shims" "3.0.1"
169+
"@microsoft/dynamicproto-js" "^2.0.3"
170+
"@nevware21/ts-utils" ">= 0.11.1 < 2.x"
158171

159-
"@microsoft/dynamicproto-js@^1.1.6":
160-
version "1.1.6"
161-
resolved "https://registry.npmjs.org/@microsoft/dynamicproto-js/-/dynamicproto-js-1.1.6.tgz"
162-
integrity sha512-D1Oivw1A4bIXhzBIy3/BBPn3p2On+kpO2NiYt9shICDK7L/w+cR6FFBUsBZ05l6iqzTeL+Jm8lAYn0g6G7DmDg==
172+
"@microsoft/[email protected]":
173+
version "3.2.2"
174+
resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-3.2.2.tgz#28e22bb5d26a021160b65467efd5711fbd9f82bf"
175+
integrity sha512-dF6LZ4ahdhoHufw+N7OXRDzWT8QN193Dvpd8GLqEZdR/KtCTofPSI63yumu+ZkzKYadf1S3w2xg0OmbdyXexoQ==
176+
dependencies:
177+
"@microsoft/applicationinsights-shims" "3.0.1"
178+
"@microsoft/dynamicproto-js" "^2.0.3"
179+
"@nevware21/ts-async" ">= 0.5.1 < 2.x"
180+
"@nevware21/ts-utils" ">= 0.11.1 < 2.x"
181+
182+
"@microsoft/[email protected]":
183+
version "3.0.1"
184+
resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-shims/-/applicationinsights-shims-3.0.1.tgz#3865b73ace8405b9c4618cc5c571f2fe3876f06f"
185+
integrity sha512-DKwboF47H1nb33rSUfjqI6ryX29v+2QWcTrRvcQDA32AZr5Ilkr7whOOSsD1aBzwqX0RJEIP1Z81jfE3NBm/Lg==
186+
dependencies:
187+
"@nevware21/ts-utils" ">= 0.9.4 < 2.x"
188+
189+
"@microsoft/applicationinsights-web-basic@^3.1.2":
190+
version "3.2.2"
191+
resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-web-basic/-/applicationinsights-web-basic-3.2.2.tgz#d91bbf9002df4fac2ee543b481a0cbd58ed3975c"
192+
integrity sha512-4OdgTurRr/Awm2DcWuAhidFON2UFiirabeO9SSAeTefDCdtzv5fWzntq9zvdV47c+w6WzZkz8nX/bQTgNRb2+w==
193+
dependencies:
194+
"@microsoft/applicationinsights-channel-js" "3.2.2"
195+
"@microsoft/applicationinsights-common" "3.2.2"
196+
"@microsoft/applicationinsights-core-js" "3.2.2"
197+
"@microsoft/applicationinsights-shims" "3.0.1"
198+
"@microsoft/dynamicproto-js" "^2.0.3"
199+
"@nevware21/ts-async" ">= 0.5.1 < 2.x"
200+
"@nevware21/ts-utils" ">= 0.11.1 < 2.x"
201+
202+
"@microsoft/dynamicproto-js@^2.0.3":
203+
version "2.0.3"
204+
resolved "https://registry.yarnpkg.com/@microsoft/dynamicproto-js/-/dynamicproto-js-2.0.3.tgz#ae2b408061e3ff01a97078429fc768331e239256"
205+
integrity sha512-JTWTU80rMy3mdxOjjpaiDQsTLZ6YSGGqsjURsY6AUQtIj0udlF/jYmhdLZu8693ZIC0T1IwYnFa0+QeiMnziBA==
206+
dependencies:
207+
"@nevware21/ts-utils" ">= 0.10.4 < 2.x"
208+
209+
"@nevware21/ts-async@>= 0.5.1 < 2.x":
210+
version "0.5.1"
211+
resolved "https://registry.yarnpkg.com/@nevware21/ts-async/-/ts-async-0.5.1.tgz#3f55fa5222b0af5a5bb019f67092cdcd6a5f82e6"
212+
integrity sha512-O2kN8n2HpDWJ7Oji+oTMnhITrCndmrNvrHbGDwAIBydx+FWvLE/vrw4QwnRRMvSCa2AJrcP59Ryklxv30KfkWQ==
213+
dependencies:
214+
"@nevware21/ts-utils" ">= 0.11.2 < 2.x"
215+
216+
"@nevware21/ts-utils@>= 0.10.4 < 2.x", "@nevware21/ts-utils@>= 0.11.1 < 2.x", "@nevware21/ts-utils@>= 0.11.2 < 2.x", "@nevware21/ts-utils@>= 0.9.4 < 2.x":
217+
version "0.11.2"
218+
resolved "https://registry.yarnpkg.com/@nevware21/ts-utils/-/ts-utils-0.11.2.tgz#5836f338c091f47358298da1f77a67a88219a6a5"
219+
integrity sha512-80W8BkS09kkGuUHJX50Fqq+QqAslxUaOQytH+3JhRacXs1EpEt2JOOkYKytqFZAYir3SeH9fahniEaDzIBxlUw==
163220

164221
"@nodelib/[email protected]":
165222
version "2.1.5"
@@ -559,13 +616,14 @@
559616
resolved "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz"
560617
integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==
561618

562-
"@vscode/extension-telemetry@^0.6.2":
563-
version "0.6.2"
564-
resolved "https://registry.npmjs.org/@vscode/extension-telemetry/-/extension-telemetry-0.6.2.tgz"
565-
integrity sha512-yb/wxLuaaCRcBAZtDCjNYSisAXz3FWsSqAha5nhHcYxx2ZPdQdWuZqVXGKq0ZpHVndBWWtK6XqtpCN2/HB4S1w==
619+
"@vscode/extension-telemetry@^0.9.6":
620+
version "0.9.6"
621+
resolved "https://registry.yarnpkg.com/@vscode/extension-telemetry/-/extension-telemetry-0.9.6.tgz#97041986ddae1ae80d3dec577e4ae107e8122f3f"
622+
integrity sha512-qWK2GNw+b69QRYpjuNM9g3JKToMICoNIdc0rQMtvb4gIG9vKKCZCVCz+ZOx6XM/YlfWAyuPiyxcjIY0xyF+Djg==
566623
dependencies:
567-
"@microsoft/1ds-core-js" "^3.2.3"
568-
"@microsoft/1ds-post-js" "^3.2.3"
624+
"@microsoft/1ds-core-js" "^4.1.2"
625+
"@microsoft/1ds-post-js" "^4.1.2"
626+
"@microsoft/applicationinsights-web-basic" "^3.1.2"
569627

570628
"@vscode/test-electron@^2.3.8":
571629
version "2.3.8"

0 commit comments

Comments
 (0)