@vaadin/vaadin-usage-statistics
Advanced tools
Comparing version 2.0.11 to 2.1.0
@@ -6,3 +6,3 @@ { | ||
"name": "@vaadin/vaadin-usage-statistics", | ||
"version": "2.0.11", | ||
"version": "2.1.0", | ||
"directories": { | ||
@@ -9,0 +9,0 @@ "test": "test" |
# Gathers usage statistics for components used during application development | ||
To be able to understand and focus development more efficiently, Vaadin gathers product usage statistics from developers. **No statistics or other data is collected from the users of the applications based on any Vaadin technologies.** | ||
To be able to understand and focus development more efficiently, Vaadin gathers product usage statistics during development time and ties this to users who are logged in to their Vaadin account. **No statistics or other data is collected from the users of the applications based on any Vaadin technologies.** | ||
Periodical random sampling is used to ensure only statistical data is collected. **We do not track individual users.** | ||
Statistics are only gathered when the application is in [development mode](https://github.com/vaadin/vaadin-development-mode-detector). Statistics are automatically disabled and the statistics gathering code is automatically excluded from production builds. | ||
@@ -15,3 +13,3 @@ | ||
* The first time statistics were gathered | ||
* Whether you are a registered vaadin.com user or not (true/false) | ||
* Your Vaadin user account | ||
* Whether you are a Vaadin Pro user or not (true/false) | ||
@@ -18,0 +16,0 @@ * Browser user-agent string |
@@ -173,2 +173,6 @@ /* This file is autogenerated from src/vaadin-usage-statistics.tpl.html */ | ||
var elementClasses = void 0; | ||
// NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow. | ||
// Check all locations calling the method getEntries() in | ||
// https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106 | ||
// Currently it is only used by BootstrapHandler. | ||
if (version && version.indexOf('2') === 0) { | ||
@@ -405,3 +409,3 @@ // Polymer 2: components classes are stored in window.Vaadin | ||
value: function lottery() { | ||
return Math.random() <= 0.05; | ||
return true; | ||
} | ||
@@ -464,3 +468,3 @@ }, { | ||
get: function get$1() { | ||
return '2.0.10'; | ||
return '2.1.0'; | ||
} | ||
@@ -467,0 +471,0 @@ }, { |
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
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
32354
506
55