Socket
Socket
Sign inDemoInstall

nuxt-umami

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-umami - npm Package Compare versions

Comparing version 2.0.0-beta.2 to 2.0.0-beta.3

10

internal/debug.ts

@@ -21,8 +21,14 @@ import type { PreflightResult } from './types';

function helloDebugger(id: ErrorId, raw?: any) {
function screamer(id: ErrorId, raw?: any) {
const { level, text } = warnings[id];
// eslint-disable-next-line no-console
console[level](`[UMAMI]: ${text}`, '\n', raw);
console[level](`[UMAMI]: ${text}`, '\n');
// eslint-disable-next-line no-console
raw && (console[level](raw));
}
function silencio(id: ErrorId, raw?: any) {}
const helloDebugger = process.env.NODE_ENV === 'production' ? silencio : screamer;
export { helloDebugger };

2

package.json
{
"name": "nuxt-umami",
"type": "module",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"main": "./nuxt.config.ts",

@@ -6,0 +6,0 @@ "description": "Integrate Umami Analytics into Nuxt",

@@ -5,3 +5,3 @@ # Nuxt Umami <sup>@next<sup>

[![Downloads](https://img.shields.io/npm/dt/nuxt-umami.svg?style=flat-square)](https://www.npmjs.com/package/nuxt-umami)
[![License](https://img.shields.io/npm/l/nuxt-umami/?style=flat-square)](/LICENSE)
[![License](https://img.shields.io/npm/l/nuxt-umami?style=flat-square)](/LICENSE)

@@ -8,0 +8,0 @@ Deeply integrate [**Umami Analytics**](https://umami.is/) into your Nuxt websites / applications.

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