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.6.2 to 2.6.3

6

internal/debug.ts

@@ -0,1 +1,2 @@

/* eslint-disable no-console */
import type { PreflightResult } from './types';

@@ -27,8 +28,7 @@

const { level, text } = warnings[id];
// eslint-disable-next-line no-console
console[level](`[UMAMI]: ${text}`, '\n');
// eslint-disable-next-line no-console
raw && (console[level](raw));
if (raw)
console[level](raw);
}
export { debug };

@@ -21,5 +21,6 @@ import type { Directive } from 'vue';

if (typeof value === 'string')
if (typeof value === 'string') {
name = value;
else
}
else {
try {

@@ -35,5 +36,6 @@ if (typeof value !== 'object' || value === null || Array.isArray(value))

}
catch (err) {
catch {
helloDebugger.value('err-directive', `Provided ${typeof value}: ${value}`);
}
}

@@ -51,3 +53,3 @@ const attr = el.dataset;

}
catch (error) {}
catch {}

@@ -54,0 +56,0 @@ return { name, data };

@@ -21,3 +21,3 @@ import type {

}
catch (error) {
catch {
return false;

@@ -24,0 +24,0 @@ }

export default defineNuxtConfig({
compatibilityDate: '2024-07-19',
appConfig: {

@@ -3,0 +4,0 @@ umami: {

{
"name": "nuxt-umami",
"type": "module",
"version": "2.6.2",
"version": "2.6.3",
"description": "Integrate Umami Analytics into Nuxt",

@@ -12,3 +12,6 @@ "author": "ML <me.mlaure@gmail.com>",

},
"repository": "https://github.com/ijkml/nuxt-umami/",
"repository": {
"type": "git",
"url": "git+https://github.com/ijkml/nuxt-umami.git"
},
"keywords": [

@@ -41,13 +44,13 @@ "nuxt",

"lint:fix": "eslint . --fix",
"release": "./release.sh",
"release": "bumpp --commit --push --tag && npm publish --access public",
"release:beta": "bumpp prerelease --commit --push --no-tag && npm publish --access public --tag beta"
},
"devDependencies": {
"@antfu/eslint-config": "~2.16.0",
"@types/node": "^20.12.7",
"bumpp": "^9.4.0",
"eslint": "^9.1.1",
"nuxt": "^3.11.2",
"typescript": "^5.4.5"
"@antfu/eslint-config": "^2.23.0",
"@types/node": "^20.14.11",
"bumpp": "^9.4.1",
"eslint": "^9.7.0",
"nuxt": "^3.12.4",
"typescript": "^5.5.3"
}
}
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