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

nuxt-umami

Package Overview
Dependencies
Maintainers
1
Versions
70
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.4.2 to 2.4.3

8

internal/utils.ts

@@ -74,6 +74,8 @@ import { useTitle } from '@vueuse/core';

const { host, customEndpoint, version } = umConfig.value;
const root = new URL(host);
const branch = customEndpoint || (version === 2 ? '/api/send' : '/api/collect');
return `${root.protocol}//${root.host}${branch}`;
const { host: urlHost, protocol } = new URL(host);
const _v = urlHost === 'analytics.umami.is' ? 2 : version;
const branch = customEndpoint || (_v === 2 ? '/api/send' : '/api/collect');
return `${protocol}//${urlHost}${branch}`;
});

@@ -80,0 +82,0 @@

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

@@ -43,10 +43,10 @@ "author": "ML <me.mlaure@gmail.com>",

"devDependencies": {
"@antfu/eslint-config": "^0.38.6",
"@types/node": "^18.16.5",
"bumpp": "^9.1.0",
"eslint": "^8.40.0",
"eslint-plugin-vue": "^9.11.0",
"nuxt": "^3.4.3",
"typescript": "^5.0.4"
"@antfu/eslint-config": "^0.39.5",
"@types/node": "^20.3.0",
"bumpp": "^9.1.1",
"eslint": "^8.42.0",
"eslint-plugin-vue": "^9.14.1",
"nuxt": "^3.5.3",
"typescript": "^5.1.3"
}
}

@@ -20,3 +20,3 @@ # Nuxt Umami

- 💯 Simplified usage, feature complete, extensive config
- ✅ Better Typescript, JSDocs, auto completion
- ✅ Typescript, JSDocs, auto completion
- ✅ Error handling + debugging

@@ -23,0 +23,0 @@ - ✅ Nuxt utils + auto import

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