@dargmuesli/nuxt-vio 13.1.5 → 13.1.7
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +19 -21
- package/server/utils/timezone.ts +2 -0
package/package.json
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
"dependencies": {
|
3
3
|
"@dargmuesli/nuxt-cookie-control": "8.4.2",
|
4
4
|
"@eslint/compat": "1.1.0",
|
5
|
-
"@heroicons/vue": "2.1.
|
5
|
+
"@heroicons/vue": "2.1.4",
|
6
6
|
"@http-util/status-i18n": "0.8.1",
|
7
7
|
"@intlify/eslint-plugin-vue-i18n": "3.0.0",
|
8
|
-
"@nuxt/devtools": "1.3.
|
8
|
+
"@nuxt/devtools": "1.3.7",
|
9
9
|
"@nuxt/eslint": "0.3.13",
|
10
10
|
"@nuxt/image": "1.7.0",
|
11
|
-
"@nuxtjs/color-mode": "3.4.
|
11
|
+
"@nuxtjs/color-mode": "3.4.2",
|
12
12
|
"@nuxtjs/html-validator": "1.8.2",
|
13
13
|
"@nuxtjs/i18n": "8.3.0",
|
14
|
-
"@nuxtjs/seo": "2.0.0-rc.
|
14
|
+
"@nuxtjs/seo": "2.0.0-rc.11",
|
15
15
|
"@nuxtjs/tailwindcss": "6.12.0",
|
16
16
|
"@pinia/nuxt": "0.5.1",
|
17
17
|
"@tailwindcss/forms": "0.5.7",
|
@@ -27,40 +27,38 @@
|
|
27
27
|
"eslint-plugin-compat": "5.0.0",
|
28
28
|
"eslint-plugin-prettier": "5.1.3",
|
29
29
|
"eslint-plugin-yml": "1.14.0",
|
30
|
-
"globals": "15.
|
31
|
-
"jose": "5.
|
30
|
+
"globals": "15.6.0",
|
31
|
+
"jose": "5.6.2",
|
32
32
|
"nuxt-gtag": "2.0.6",
|
33
33
|
"nuxt-security": "1.4.3",
|
34
|
-
"sweetalert2": "11.
|
35
|
-
"vue-tsc": "2.0.
|
34
|
+
"sweetalert2": "11.12.0",
|
35
|
+
"vue-tsc": "2.0.22"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
38
|
-
"@unhead/vue": "1.9.
|
38
|
+
"@unhead/vue": "1.9.14",
|
39
39
|
"@urql/devtools": "2.0.3",
|
40
40
|
"@urql/exchange-graphcache": "7.1.1",
|
41
|
-
"@urql/vue": "1.2
|
41
|
+
"@urql/vue": "1.3.2",
|
42
42
|
"consola": "3.2.3",
|
43
43
|
"cookie-es": "1.1.0",
|
44
|
-
"cross-env": "7.0.3",
|
45
44
|
"defu": "6.1.4",
|
46
|
-
"h3": "1.
|
45
|
+
"h3": "1.12.0",
|
47
46
|
"jiti": "1.21.6",
|
48
|
-
"lint-staged": "15.2.7",
|
49
47
|
"lodash-es": "4.17.21",
|
50
48
|
"nuxt": "3.12.2",
|
51
49
|
"pinia": "2.1.7",
|
52
50
|
"prettier": "3.3.2",
|
53
|
-
"prettier-plugin-tailwindcss": "0.6.
|
51
|
+
"prettier-plugin-tailwindcss": "0.6.5",
|
54
52
|
"serve": "14.2.3",
|
55
53
|
"sharp": "0.33.4",
|
56
54
|
"stylelint": "16.6.1",
|
57
55
|
"stylelint-config-recommended-vue": "1.5.0",
|
58
|
-
"stylelint-config-standard": "36.0.
|
56
|
+
"stylelint-config-standard": "36.0.1",
|
59
57
|
"stylelint-no-unsupported-browser-features": "8.0.1",
|
60
58
|
"tailwindcss": "3.4.4",
|
61
|
-
"unhead": "1.9.
|
62
|
-
"vue": "3.4.
|
63
|
-
"vue-router": "4.
|
59
|
+
"unhead": "1.9.14",
|
60
|
+
"vue": "3.4.30",
|
61
|
+
"vue-router": "4.4.0"
|
64
62
|
},
|
65
63
|
"engines": {
|
66
64
|
"node": "20"
|
@@ -89,8 +87,8 @@
|
|
89
87
|
"name": "@dargmuesli/nuxt-vio",
|
90
88
|
"peerDependencies": {
|
91
89
|
"nuxt": "3.12.2",
|
92
|
-
"vue": "3.4.
|
93
|
-
"vue-router": "4.
|
90
|
+
"vue": "3.4.30",
|
91
|
+
"vue-router": "4.4.0"
|
94
92
|
},
|
95
93
|
"publishConfig": {
|
96
94
|
"access": "public"
|
@@ -118,5 +116,5 @@
|
|
118
116
|
"start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
|
119
117
|
},
|
120
118
|
"type": "module",
|
121
|
-
"version": "13.1.
|
119
|
+
"version": "13.1.7"
|
122
120
|
}
|
package/server/utils/timezone.ts
CHANGED
@@ -14,6 +14,8 @@ export const getTimezoneServer = async (event: H3Event) => {
|
|
14
14
|
|
15
15
|
const ip = event.node.req.headers['x-real-ip']
|
16
16
|
|
17
|
+
console.log(`X-Real-IP: ${ip}`) // TODO: remove once traefik setup is clear
|
18
|
+
|
17
19
|
if (ip && !Array.isArray(ip)) {
|
18
20
|
const timezoneByIpApi = await getTimezoneByIpApi(ip)
|
19
21
|
|