Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-usage-statistics

Package Overview
Dependencies
Maintainers
15
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-usage-statistics - npm Package Compare versions

Comparing version 2.0.7 to 2.0.8

7

check.js
var fs = require('fs');
const disabledForMachine = process.env.npm_package_config_disabled;
const greetingLogged = process.env.npm_package_config_greeting_logged;
const optoutLogged = process.env.npm_package_config_optout_logged;
let disabledForProject = false;

@@ -18,3 +15,3 @@

if (disabledForMachine) {
!optoutLogged && console.log(`
console.log(`
You have disabled Vaadin development time usage statistics collection. To re-enable, run:

@@ -32,3 +29,3 @@ npm explore @vaadin/vaadin-usage-statistics -- npm run enable

} else {
!greetingLogged && console.log(`
console.log(`
Vaadin collects development time usage statistics to improve this product. To opt-out, either run:

@@ -35,0 +32,0 @@ npm explore @vaadin/vaadin-usage-statistics -- npm run disable

@@ -6,3 +6,3 @@ {

"name": "@vaadin/vaadin-usage-statistics",
"version": "2.0.7",
"version": "2.0.8",
"directories": {

@@ -31,5 +31,5 @@ "test": "test"

"scripts": {
"postinstall": "node check.js && npm config set @vaadin/vaadin-usage-statistics:greeting-logged true",
"disable": "npm config set @vaadin/vaadin-usage-statistics:disabled true && npm run postinstall && npm config set @vaadin/vaadin-usage-statistics:optout-logged true",
"enable": "npm config set @vaadin/vaadin-usage-statistics:disabled false && npm config set @vaadin/vaadin-usage-statistics:greeting-logged false && npm config set @vaadin/vaadin-usage-statistics:optout-logged false && npm run postinstall"
"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"
},

@@ -36,0 +36,0 @@ "bugs": {

@@ -462,3 +462,3 @@ /* This file is autogenerated from src/vaadin-usage-statistics.tpl.html */

get: function get$1() {
return '2.0.7';
return '2.0.8';
}

@@ -465,0 +465,0 @@ }, {

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