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

@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.0 to 1.1.1

7

CHANGELOG.md

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

### [1.1.1](https://github.com/nuxt/telemetry/compare/v1.1.0...v1.1.1) (2020-06-26)
### Bug Fixes
* **module:** handle entry errors ([f8051d0](https://github.com/nuxt/telemetry/commit/f8051d047c0bd5f2128cce19b3a967e10e82005a))
## [1.1.0](https://github.com/nuxt/telemetry/compare/v1.0.1...v1.1.0) (2020-06-19)

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

26

dist/module.js

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

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

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

async function telemetryModule() {
async function _telemetryModule(nuxt) {
const toptions = {
endpoint: destr(process.env.NUXT_TELEMETRY_ENDPOINT) || 'https://telemetry.nuxtjs.com',
debug: destr(process.env.NUXT_TELEMETRY_DEBUG),
...this.options.telemetry
...nuxt.options.telemetry
};

@@ -504,3 +504,3 @@

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

@@ -518,7 +518,7 @@ return;

const t = new Telemetry(this.nuxt, toptions);
const t = new Telemetry(nuxt, toptions);
if (this.options._start) {
if (nuxt.options._start) {
// nuxt start
this.nuxt.hook('listen', () => {
nuxt.hook('listen', () => {
t.createEvent('project');

@@ -531,3 +531,3 @@ t.createEvent('session');

this.nuxt.hook('build:before', () => {
nuxt.hook('build:before', () => {
t.createEvent('project');

@@ -538,5 +538,13 @@ t.createEvent('session');

});
profile(this.nuxt, t);
profile(nuxt, t);
}
async function telemetryModule() {
try {
await _telemetryModule(this.nuxt);
} catch (err) {
log.error(err);
}
}
function profile(nuxt, t) {

@@ -543,0 +551,0 @@ const startT = {};

{
"name": "@nuxt/telemetry",
"version": "1.1.0",
"version": "1.1.1",
"repository": "nuxt/telemetry",

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

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