nuxt-umami
Advanced tools
Comparing version 2.6.2 to 2.6.3
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
25289
466
0