@dargmuesli/nuxt-vio 13.2.5 → 13.2.7

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.
package/nuxt.config.ts CHANGED
@@ -182,7 +182,6 @@ export default defineNuxtConfig(
182
182
  config: {
183
183
  cookie_flags: 'samesite=strict',
184
184
  },
185
- enabled: false,
186
185
  initCommands: [
187
186
  [
188
187
  'consent',
@@ -196,6 +195,7 @@ export default defineNuxtConfig(
196
195
  },
197
196
  ],
198
197
  ],
198
+ initMode: 'manual',
199
199
  },
200
200
  htmlValidator: {
201
201
  // failOnError: true, // TODO: enable once headers match requirements (https://github.com/unjs/unhead/issues/199#issuecomment-1815728703)
package/package.json CHANGED
@@ -1,41 +1,41 @@
1
1
  {
2
2
  "dependencies": {
3
- "@dargmuesli/nuxt-cookie-control": "8.4.8",
3
+ "@dargmuesli/nuxt-cookie-control": "8.4.9",
4
4
  "@eslint/compat": "1.1.1",
5
5
  "@heroicons/vue": "2.1.5",
6
6
  "@http-util/status-i18n": "0.8.1",
7
7
  "@intlify/eslint-plugin-vue-i18n": "3.0.0",
8
- "@nuxt/devtools": "1.3.9",
9
- "@nuxt/eslint": "0.5.0",
10
- "@nuxt/image": "1.7.0",
8
+ "@nuxt/devtools": "1.4.1",
9
+ "@nuxt/eslint": "0.5.4",
10
+ "@nuxt/image": "1.8.0",
11
11
  "@nuxtjs/color-mode": "3.4.4",
12
12
  "@nuxtjs/html-validator": "1.8.2",
13
13
  "@nuxtjs/i18n": "8.3.0",
14
- "@nuxtjs/seo": "2.0.0-rc.18",
14
+ "@nuxtjs/seo": "2.0.0-rc.19",
15
15
  "@nuxtjs/tailwindcss": "6.12.1",
16
- "@pinia/nuxt": "0.5.3",
17
- "@tailwindcss/forms": "0.5.7",
18
- "@tailwindcss/typography": "0.5.14",
16
+ "@pinia/nuxt": "0.5.4",
17
+ "@tailwindcss/forms": "0.5.8",
18
+ "@tailwindcss/typography": "0.5.15",
19
19
  "@types/lodash-es": "4.17.12",
20
20
  "@urql/core": "5.0.6",
21
21
  "@vuelidate/core": "2.0.3",
22
22
  "@vuelidate/validators": "2.0.4",
23
23
  "clipboardy": "4.0.0",
24
24
  "dayjs": "2.0.0-alpha.4",
25
- "eslint": "9.9.0",
25
+ "eslint": "9.9.1",
26
26
  "eslint-config-prettier": "9.1.0",
27
27
  "eslint-plugin-compat": "6.0.0",
28
28
  "eslint-plugin-prettier": "5.2.1",
29
29
  "eslint-plugin-yml": "1.14.0",
30
30
  "globals": "15.9.0",
31
- "jose": "5.6.3",
32
- "nuxt-gtag": "2.1.0",
31
+ "jose": "5.8.0",
32
+ "nuxt-gtag": "3.0.1",
33
33
  "nuxt-security": "2.0.0-rc.9",
34
34
  "sweetalert2": "11.12.4",
35
- "vue-tsc": "2.0.29"
35
+ "vue-tsc": "2.1.2"
36
36
  },
37
37
  "devDependencies": {
38
- "@unhead/vue": "1.9.16",
38
+ "@unhead/vue": "1.10.0",
39
39
  "@urql/devtools": "2.0.3",
40
40
  "@urql/exchange-graphcache": "7.1.2",
41
41
  "@urql/vue": "1.4.1",
@@ -45,18 +45,18 @@
45
45
  "h3": "1.12.0",
46
46
  "jiti": "1.21.6",
47
47
  "lodash-es": "4.17.21",
48
- "nuxt": "3.12.4",
48
+ "nuxt": "3.13.0",
49
49
  "pinia": "2.2.2",
50
50
  "prettier": "3.3.3",
51
51
  "prettier-plugin-tailwindcss": "0.6.6",
52
52
  "serve": "14.2.3",
53
53
  "sharp": "0.33.5",
54
- "stylelint": "16.8.2",
54
+ "stylelint": "16.9.0",
55
55
  "stylelint-config-recommended-vue": "1.5.0",
56
56
  "stylelint-config-standard": "36.0.1",
57
57
  "stylelint-no-unsupported-browser-features": "8.0.1",
58
58
  "tailwindcss": "3.4.10",
59
- "unhead": "1.9.16",
59
+ "unhead": "1.10.0",
60
60
  "vue": "3.4.38",
61
61
  "vue-router": "4.4.3"
62
62
  },
@@ -86,7 +86,7 @@
86
86
  "main": "nuxt.config.ts",
87
87
  "name": "@dargmuesli/nuxt-vio",
88
88
  "peerDependencies": {
89
- "nuxt": "3.12.4",
89
+ "nuxt": "3.13.0",
90
90
  "vue": "3.4.38",
91
91
  "vue-router": "4.4.3"
92
92
  },
@@ -116,5 +116,5 @@
116
116
  "start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
117
117
  },
118
118
  "type": "module",
119
- "version": "13.2.5"
119
+ "version": "13.2.7"
120
120
  }
package/plugins/dayjs.ts CHANGED
@@ -1,8 +1,6 @@
1
- import dayjs from 'dayjs'
1
+ import dayjs, { type DayjsFn } from 'dayjs'
2
2
 
3
- // workaround for [1]
4
- import de from 'dayjs/locale/de'
5
- // import 'dayjs/locale/de' does not make locale available
3
+ import 'dayjs/locale/de'
6
4
 
7
5
  import isSameOrBefore from 'dayjs/plugin/isSameOrBefore'
8
6
  import localizedFormat from 'dayjs/plugin/localizedFormat'
@@ -17,10 +15,6 @@ export default defineNuxtPlugin((_nuxtApp) => {
17
15
  dayjs.extend(timezone)
18
16
  dayjs.extend(utc)
19
17
 
20
- // workaround for [1]
21
- dayjs.locale(de)
22
- // dayjs.locale(en) makes `format` error
23
-
24
18
  return {
25
19
  provide: {
26
20
  dayjs,
@@ -28,9 +22,8 @@ export default defineNuxtPlugin((_nuxtApp) => {
28
22
  }
29
23
  })
30
24
 
31
- /*
32
- [1]
33
- https://github.com/nuxt/framework/issues/7534#issuecomment-1248596609
34
- https://github.com/nuxt/framework/issues/7206
35
- https://github.com/maevsi/maevsi/issues/956
36
- */
25
+ declare module '#app' {
26
+ interface NuxtApp {
27
+ $dayjs: DayjsFn
28
+ }
29
+ }