Socket
Socket
Sign inDemoInstall

@react-native-windows/telemetry

Package Overview
Dependencies
Maintainers
2
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-windows/telemetry - npm Package Compare versions

Comparing version 0.0.0-canary.6 to 0.0.0-canary.7

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Wed, 11 Nov 2020 05:04:57 GMT",
"date": "Thu, 12 Nov 2020 05:05:19 GMT",
"tag": "@react-native-windows/telemetry_v0.0.0-canary.7",
"version": "0.0.0-canary.7",
"comments": {
"prerelease": [
{
"comment": "Disable telemetry in other CI systems",
"author": "asklar@microsoft.com",
"commit": "bcda5759d5d1bed770e7a8524e5cc3f94cbc0c6a",
"package": "@react-native-windows/telemetry"
}
]
}
},
{
"date": "Wed, 11 Nov 2020 05:05:29 GMT",
"tag": "@react-native-windows/telemetry_v0.0.0-canary.6",

@@ -8,0 +23,0 @@ "version": "0.0.0-canary.6",

# Change Log - @react-native-windows/telemetry
This log was last generated on Wed, 11 Nov 2020 05:04:57 GMT and should not be manually modified.
This log was last generated on Thu, 12 Nov 2020 05:05:19 GMT and should not be manually modified.
<!-- Start content -->
## 0.0.0-canary.7
Thu, 12 Nov 2020 05:05:19 GMT
### Changes
- Disable telemetry in other CI systems (asklar@microsoft.com)
## 0.0.0-canary.6
Wed, 11 Nov 2020 05:04:57 GMT
Wed, 11 Nov 2020 05:05:29 GMT

@@ -11,0 +19,0 @@ ### Changes

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

static setup(): void;
static isCI(): boolean;
static shouldDisable: boolean;

@@ -13,0 +14,0 @@ }

@@ -21,2 +21,9 @@ "use strict";

static setup() {
if (Telemetry.isCI()) {
this.disable();
return;
}
if (Telemetry.client) {
return;
}
if (!process.env.RNW_CLI_TEST) {

@@ -38,2 +45,9 @@ appInsights.Configuration.setInternalLogging(false, false);

}
static isCI() {
return (process.env.AGENT_NAME !== undefined || // Azure DevOps
process.env.CIRCLECI === 'true' || // CircleCI
process.env.TRAVIS === 'true' || // Travis
process.env.CI === 'true' // other CIs
);
}
}

@@ -40,0 +54,0 @@ exports.Telemetry = Telemetry;

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

const path_1 = require("path");
delete process.env.AGENT_NAME; // allow this test to run in Azure DevOps / GHA
telemetry_1.Telemetry.setup();

@@ -13,0 +14,0 @@ telemetry_1.Telemetry.client.config.disableAppInsights = true;

2

package.json
{
"name": "@react-native-windows/telemetry",
"version": "0.0.0-canary.6",
"version": "0.0.0-canary.7",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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