@react-native-windows/telemetry
Advanced tools
Comparing version 0.63.2 to 0.63.3
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Tue, 10 Nov 2020 16:49:51 GMT", | ||
"date": "Mon, 16 Nov 2020 15:06:18 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.63.3", | ||
"version": "0.63.3", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Disable telemetry in other CI systems", | ||
"author": "asklar@microsoft.com", | ||
"commit": "a2f05ca82e62bfa517f79cf309b7134066fe9b30", | ||
"package": "@react-native-windows/telemetry" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 10 Nov 2020 16:50:27 GMT", | ||
"tag": "@react-native-windows/telemetry_v0.63.2", | ||
@@ -8,0 +23,0 @@ "version": "0.63.2", |
# Change Log - @react-native-windows/telemetry | ||
This log was last generated on Tue, 10 Nov 2020 16:49:51 GMT and should not be manually modified. | ||
This log was last generated on Mon, 16 Nov 2020 15:06:18 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.63.3 | ||
Mon, 16 Nov 2020 15:06:18 GMT | ||
### Patches | ||
- Disable telemetry in other CI systems (asklar@microsoft.com) | ||
## 0.63.2 | ||
Tue, 10 Nov 2020 16:49:51 GMT | ||
Tue, 10 Nov 2020 16:50:27 GMT | ||
@@ -11,0 +19,0 @@ ### Patches |
@@ -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; |
{ | ||
"name": "@react-native-windows/telemetry", | ||
"version": "0.63.2", | ||
"version": "0.63.3", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35005
460
16