@dargmuesli/nuxt-vio 18.3.3 → 18.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import Swal from 'sweetalert2'
3
3
  import type { Ref } from 'vue'
4
4
 
5
5
  export const useFireError = () => {
6
- const { t } = useI18n()
6
+ const { t } = useI18n({ useScope: 'global' })
7
7
 
8
8
  return ({ error }: { error: Error }, api?: Ref<{ errors: Error[] }>) => {
9
9
  Swal.fire({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "@dargmuesli/nuxt-cookie-control": "9.0.7",
3
+ "@dargmuesli/nuxt-cookie-control": "9.0.8",
4
4
  "@eslint/compat": "1.3.1",
5
5
  "@heroicons/vue": "2.2.0",
6
6
  "@http-util/status-i18n": "0.9.0",
@@ -10,7 +10,7 @@
10
10
  "@nuxt/image": "1.10.0",
11
11
  "@nuxtjs/color-mode": "3.5.2",
12
12
  "@nuxtjs/html-validator": "2.1.0",
13
- "@nuxtjs/i18n": "9.5.6",
13
+ "@nuxtjs/i18n": "v10.0.0-rc.3",
14
14
  "@nuxtjs/seo": "3.1.0",
15
15
  "@pinia/nuxt": "0.11.1",
16
16
  "@tailwindcss/forms": "0.5.10",
@@ -23,28 +23,28 @@
23
23
  "@vuelidate/validators": "2.0.4",
24
24
  "clipboardy": "4.0.0",
25
25
  "dayjs": "2.0.0-alpha.4",
26
- "eslint": "9.30.1",
26
+ "eslint": "9.31.0",
27
27
  "eslint-config-prettier": "10.1.5",
28
28
  "eslint-plugin-compat": "6.0.2",
29
29
  "eslint-plugin-prettier": "5.5.1",
30
30
  "eslint-plugin-yml": "1.18.0",
31
31
  "globals": "16.3.0",
32
32
  "jiti": "2.4.2",
33
- "jose": "6.0.11",
33
+ "jose": "6.0.12",
34
34
  "nuxt-gtag": "3.0.3",
35
35
  "nuxt-security": "2.2.0",
36
36
  "sweetalert2": "11.22.2",
37
37
  "vue-tsc": "3.0.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@types/node": "22.16.3",
40
+ "@types/node": "22.16.4",
41
41
  "@urql/devtools": "2.0.3",
42
42
  "@urql/exchange-graphcache": "7.2.4",
43
43
  "consola": "3.4.2",
44
44
  "defu": "6.1.4",
45
45
  "h3": "1.15.3",
46
46
  "lodash-es": "4.17.21",
47
- "nuxt": "3.17.6",
47
+ "nuxt": "4.0.0",
48
48
  "pinia": "3.0.3",
49
49
  "prettier": "3.6.2",
50
50
  "prettier-plugin-tailwindcss": "0.6.14",
@@ -74,7 +74,7 @@
74
74
  "main": "nuxt.config.ts",
75
75
  "name": "@dargmuesli/nuxt-vio",
76
76
  "peerDependencies": {
77
- "nuxt": "3.17.6",
77
+ "nuxt": "4.0.0",
78
78
  "vue": "3.5.17",
79
79
  "vue-router": "4.5.1"
80
80
  },
@@ -106,5 +106,5 @@
106
106
  "start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
107
107
  },
108
108
  "type": "module",
109
- "version": "18.3.3"
109
+ "version": "18.3.5"
110
110
  }
@@ -138,7 +138,6 @@ export const VIO_GET_CSP = ({ siteUrl }: { siteUrl: URL }) =>
138
138
  )
139
139
  export const GTAG_COOKIE_ID = 'ga'
140
140
  export const I18N_MODULE_CONFIG = {
141
- lazy: true,
142
141
  locales: [
143
142
  {
144
143
  code: 'en' as const,