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.9.1 to 0.9.2

6

dist/browser/common/1dsClientFactory.js

@@ -42,7 +42,9 @@ /*---------------------------------------------------------------------------------------------

appInsightsCore.addTelemetryInitializer((envelope) => {
// Only add this flag when `telemetry.internalTesting` is enabled
envelope["ext"] = envelope["ext"] ?? {};
envelope["ext"]["web"] = envelope["ext"]["web"] ?? {};
envelope["ext"]["web"]["consentDetails"] = '{"GPC_DataSharingOptIn":false}';
// Only add the remaining flags when `telemetry.internalTesting` is enabled
if (!internalTesting) {
return;
}
envelope["ext"] = envelope["ext"] ?? {};
envelope["ext"]["utc"] = envelope["ext"]["utc"] ?? {};

@@ -49,0 +51,0 @@ // Sets it to be internal only based on Windows UTC flagging

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

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

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

@@ -68,7 +68,9 @@ "use strict";

appInsightsCore.addTelemetryInitializer((envelope) => {
// Only add this flag when `telemetry.internalTesting` is enabled
envelope["ext"] = envelope["ext"] ?? {};
envelope["ext"]["web"] = envelope["ext"]["web"] ?? {};
envelope["ext"]["web"]["consentDetails"] = '{"GPC_DataSharingOptIn":false}';
// Only add the remaining flags when `telemetry.internalTesting` is enabled
if (!internalTesting) {
return;
}
envelope["ext"] = envelope["ext"] ?? {};
envelope["ext"]["utc"] = envelope["ext"]["utc"] ?? {};

@@ -75,0 +77,0 @@ // Sets it to be internal only based on Windows UTC flagging

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

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

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

{
"name": "@vscode/extension-telemetry",
"description": "A module for Visual Studio Code extensions to report consistent telemetry.",
"version": "0.9.1",
"version": "0.9.2",
"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