@dargmuesli/nuxt-vio 3.2.5 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@
|
|
7
7
|
[
|
8
8
|
...(isPrimary
|
9
9
|
? [
|
10
|
-
'border-transparent bg-gray-800 text-text-bright hover:
|
10
|
+
'border-transparent bg-gray-800 text-text-bright hover:brightness-90 dark:bg-vio-primary-bg dark:text-vio-primary-text',
|
11
11
|
]
|
12
12
|
: [
|
13
13
|
'border-gray-300 text-text-dark hover:bg-black/5 dark:border-gray-600 dark:text-text-bright dark:hover:bg-black/30',
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dargmuesli/nuxt-vio",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.3.1",
|
4
4
|
"type": "module",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -61,7 +61,7 @@
|
|
61
61
|
"@nuxtjs/html-validator": "1.5.2",
|
62
62
|
"@nuxtjs/i18n": "8.0.0-rc.3",
|
63
63
|
"@nuxtjs/tailwindcss": "6.8.0",
|
64
|
-
"@nuxtseo/module": "2.0.0-beta.
|
64
|
+
"@nuxtseo/module": "2.0.0-beta.22",
|
65
65
|
"@pinia/nuxt": "0.4.11",
|
66
66
|
"@playwright/test": "1.37.1",
|
67
67
|
"@tailwindcss/forms": "0.5.6",
|
package/utils/networking.ts
CHANGED
@@ -74,7 +74,7 @@ export const getDomainTldPort = (host: string) => {
|
|
74
74
|
if (/^localhost(:[0-9]+)?$/.test(hostParts[hostParts.length - 1]))
|
75
75
|
return hostParts[hostParts.length - 1]
|
76
76
|
|
77
|
-
if (hostParts.length === 1)
|
77
|
+
if (hostParts.length === 1) return hostParts[0]
|
78
78
|
|
79
79
|
return `${hostParts[hostParts.length - 2]}.${hostParts[hostParts.length - 1]}`
|
80
80
|
}
|