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.3.0 to 2.3.1

app.config.ts

76

nuxt.config.ts

@@ -21,77 +21,1 @@ export default defineNuxtConfig({

});
declare module '@nuxt/schema' {
interface AppConfigInput {
umami: {
/**
* Your umami endpoint. This is where you would
* normally load the script from.
* @required true
* @example 'https://ijkml.xyz/'
*/
host?: string
/**
* Unique identifier provided by Umami
*
* @required true
* @example `3c255b6d-678a-42dd-8074-272ee5b78484`
*/
id?: string
/**
* Configure the tracker to only run on specific domains.
* Provide an array or comma delimited list of domains (without 'http').
* Leave as `undefined` to run on all domains.
*
* @example `mywebsite.com, mywebsite2.com`
* @example ['mywebsite.com', 'mywebsite2.com']
* @default undefined
*/
domains?: string | string[]
/**
* Whether to ignore browsers' Do Not Track setting.
*
* Setting this to `false` will totally disable tracking
* on browsers that have the DoNotTrack setting turned on.
* @default true
*/
ignoreDnt?: boolean
/**
* Option to automatically track page views.
*
* @default true
*/
autoTrack?: boolean
/**
* Whether or not to track during development (localhost).
*
* @default false
*/
ignoreLocalhost?: boolean
/**
* Version of Umami used, either `1.x.x` or `2.x.x`
*
* @default 1
*/
version?: 1 | 2
/**
* Self-hosted Umami lets you set a COLLECT_API_ENDPOINT, which is:
* - `/api/collect` by default in Umami v1
* - `/api/send` by default in Umami v2. See Umami [Docs](https://umami.is/docs/environment-variables).
*/
customEndpoint?: `/${string}`
}
}
interface AppConfig {
umami: {
host: string
id: string
autoTrack?: boolean
domains?: string | string[]
ignoreDnt?: boolean
ignoreLocalhost?: boolean
version?: 1 | 2
customEndpoint?: `/${string}`
}
}
}

7

package.json
{
"name": "nuxt-umami",
"type": "module",
"version": "2.3.0",
"version": "2.3.1",
"description": "Integrate Umami Analytics into Nuxt",

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

"middleware/",
"plugins/",
"internal/",

@@ -44,9 +45,9 @@ "app.config.ts",

"@antfu/eslint-config": "^0.38.5",
"@types/node": "^18.16.0",
"@types/node": "^18.16.3",
"bumpp": "^9.1.0",
"eslint": "^8.39.0",
"eslint-plugin-vue": "^9.11.0",
"nuxt": "^3.4.2",
"nuxt": "^3.4.3",
"typescript": "^5.0.4"
}
}
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