Socket
Socket
Sign inDemoInstall

@nuxt/telemetry

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/telemetry - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [1.2.0](https://github.com/nuxt/telemetry/compare/v1.1.1...v1.2.0) (2020-06-26)
### Features
* **module:** support `telemetry: true` ([4010c07](https://github.com/nuxt/telemetry/commit/4010c072c38fbc4ac7804d98673b1de963b94be7))
### [1.1.1](https://github.com/nuxt/telemetry/compare/v1.1.0...v1.1.1) (2020-06-26)

@@ -7,0 +14,0 @@

10

dist/module.js

@@ -27,3 +27,3 @@ 'use strict';

var name = "@nuxt/telemetry";
var version = "1.1.1";
var version = "1.2.0";

@@ -503,5 +503,7 @@ function updateUserNuxtRc(key, val) {

if (toptions.enabled === false || nuxt.options.telemetry === false || !(await ensureUserconsent(toptions))) {
log.info('Telemetry disabled');
return;
if (nuxt.options.telemetry !== true) {
if (toptions.enabled === false || nuxt.options.telemetry === false || !(await ensureUserconsent(toptions))) {
log.info('Telemetry disabled');
return;
}
}

@@ -508,0 +510,0 @@

2

package.json
{
"name": "@nuxt/telemetry",
"version": "1.1.1",
"version": "1.2.0",
"repository": "nuxt/telemetry",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -62,9 +62,11 @@ # Nuxt Telemetry Module

1. Using `npx nuxt telemetry disable`
1. Setting `telemetry: false` in your `nuxt.config`:
```bash
npx nuxt telemetry [status|enable|disable] [-g,--global] [dir]
```js
export default {
telemetry: false
}
```
2. Using an environment variable
2. Using an environment variable:

@@ -75,7 +77,15 @@ ```bash

3. Setting `telemetry: false` in your `nuxt.config.js`:
3. Using `npx nuxt telemetry disable`
```bash
npx nuxt telemetry [status|enable|disable] [-g,--global] [dir]
```
## Skip Prompt
If you encounter problems with consent prompt, and want to participate without asking this question, you can set `telemetry: true` from `nuxt.config`:
```js
export default {
telemetry: false
telemetry: true
}

@@ -82,0 +92,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