@vaadin/vaadin-usage-statistics
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"description": "Gathers usage statistics for components used during application development", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/vaadin/vaadin-usage-statistics.git" | ||
}, | ||
"repository": "vaadin/vaadin-usage-statistics", | ||
"homepage": "https://github.com/vaadin/vaadin-usage-statistics#readme", | ||
"name": "@vaadin/vaadin-usage-statistics", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"main": "vaadin-usage-statistics.js", | ||
"browserslist": [ | ||
@@ -31,7 +29,7 @@ "last 2 Chrome major versions", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"postinstall": "node check.js", | ||
"disable": "npm config set @vaadin/vaadin-usage-statistics:disabled true && npm run postinstall", | ||
"enable": "npm config set @vaadin/vaadin-usage-statistics:disabled false && npm run postinstall" | ||
}, | ||
"scripts": { | ||
"postinstall": "node check.js", | ||
"disable": "npm config set @vaadin/vaadin-usage-statistics:disabled true && npm run postinstall", | ||
"enable": "npm config set @vaadin/vaadin-usage-statistics:disabled false && npm run postinstall" | ||
}, | ||
"bugs": { | ||
@@ -46,3 +44,2 @@ "url": "https://github.com/vaadin/vaadin-usage-statistics/issues" | ||
}, | ||
"main": "vaadin-usage-statistics.js", | ||
"dependencies": { | ||
@@ -49,0 +46,0 @@ "@vaadin/vaadin-development-mode-detector": "^2.0.0" |
@@ -11,2 +11,7 @@ /* This file is autogenerated from src/vaadin-usage-statistics.tpl.html */ | ||
*/ | ||
/* | ||
FIXME(polymer-modulizer): the above comments were extracted | ||
from HTML and may be out of place here. Review them and | ||
then delete this comment! | ||
*/ | ||
import { runIfDevelopmentMode } from '@vaadin/vaadin-development-mode-detector/vaadin-development-mode-detector.js'; | ||
@@ -469,4 +474,4 @@ | ||
window.Vaadin = window.Vaadin || {}; | ||
window.Vaadin.usageStatistics = window.Vaadin.usageStatistics || new UsageStatistics(); | ||
window.Vaadin.usageStatistics.maybeGatherAndSend(); | ||
window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics(); | ||
window.Vaadin.usageStatsChecker.maybeGatherAndSend(); | ||
} catch (e) { | ||
@@ -473,0 +478,0 @@ // Intentionally ignored as this is not a problem in the app being developed |
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
31310
6
500
0
3