Socket
Socket
Sign inDemoInstall

@vscode/extension-telemetry

Package Overview
Dependencies
Maintainers
7
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vscode/extension-telemetry - npm Package Compare versions

Comparing version 0.8.4 to 0.8.5

3

dist/browser/browser/telemetryReporter.js

@@ -41,3 +41,2 @@ /*---------------------------------------------------------

dispose: async () => {
appInsightsClient?.flush(true);
const unloadPromise = new Promise((resolve) => {

@@ -47,3 +46,3 @@ appInsightsClient?.unload(true, () => {

appInsightsClient = undefined;
});
}, 1000);
});

@@ -50,0 +49,0 @@ return unloadPromise;

@@ -95,3 +95,2 @@ /*---------------------------------------------------------------------------------------------

dispose: async () => {
await flushOneDS();
const disposePromise = new Promise((resolve) => {

@@ -102,7 +101,7 @@ if (!appInsightsCore) {

}
appInsightsCore.unload(true, () => {
appInsightsCore.unload(false, () => {
resolve();
appInsightsCore = undefined;
return;
});
}, 1000);
});

@@ -109,0 +108,0 @@ return disposePromise;

@@ -64,3 +64,2 @@ /*---------------------------------------------------------

async dispose() {
await this.flush();
if (this._telemetryClient) {

@@ -67,0 +66,0 @@ await this._telemetryClient.dispose();

@@ -53,3 +53,3 @@ /*---------------------------------------------------------

// Do not change this string as it gets found and replaced upon packaging
"common.telemetryclientversion": "0.8.4"
"common.telemetryclientversion": "0.8.5"
};

@@ -56,0 +56,0 @@ }

@@ -121,3 +121,2 @@ "use strict";

dispose: async () => {
await flushOneDS();
const disposePromise = new Promise((resolve) => {

@@ -128,7 +127,7 @@ if (!appInsightsCore) {

}
appInsightsCore.unload(true, () => {
appInsightsCore.unload(false, () => {
resolve();
appInsightsCore = undefined;
return;
});
}, 1000);
});

@@ -135,0 +134,0 @@ return disposePromise;

@@ -67,3 +67,2 @@ "use strict";

async dispose() {
await this.flush();
if (this._telemetryClient) {

@@ -70,0 +69,0 @@ await this._telemetryClient.dispose();

@@ -56,3 +56,3 @@ "use strict";

// Do not change this string as it gets found and replaced upon packaging
"common.telemetryclientversion": "0.8.4"
"common.telemetryclientversion": "0.8.5"
};

@@ -59,0 +59,0 @@ }

@@ -106,3 +106,3 @@ "use strict";

dispose: async () => {
appInsightsClient?.flush();
appInsightsClient?.flush({ isAppCrashing: true });
appInsightsClient = undefined;

@@ -109,0 +109,0 @@ }

{
"name": "@vscode/extension-telemetry",
"description": "A module for Visual Studio Code extensions to report consistent telemetry.",
"version": "0.8.4",
"version": "0.8.5",
"author": {

@@ -6,0 +6,0 @@ "name": "Microsoft Corporation"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc