@dargmuesli/nuxt-vio 13.2.4 → 13.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +22 -22
  2. package/plugins/dayjs.ts +7 -14
package/package.json CHANGED
@@ -1,63 +1,63 @@
1
1
  {
2
2
  "dependencies": {
3
- "@dargmuesli/nuxt-cookie-control": "8.4.7",
3
+ "@dargmuesli/nuxt-cookie-control": "8.4.8",
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",
8
+ "@nuxt/devtools": "1.3.14",
9
+ "@nuxt/eslint": "0.5.2",
10
10
  "@nuxt/image": "1.7.0",
11
- "@nuxtjs/color-mode": "3.4.2",
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",
16
+ "@pinia/nuxt": "0.5.4",
17
17
  "@tailwindcss/forms": "0.5.7",
18
18
  "@tailwindcss/typography": "0.5.14",
19
19
  "@types/lodash-es": "4.17.12",
20
- "@urql/core": "5.0.5",
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.8.0",
25
+ "eslint": "9.9.0",
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",
31
+ "jose": "5.7.0",
32
32
  "nuxt-gtag": "2.1.0",
33
33
  "nuxt-security": "2.0.0-rc.9",
34
34
  "sweetalert2": "11.12.4",
35
35
  "vue-tsc": "2.0.29"
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
- "@urql/vue": "1.4.0",
41
+ "@urql/vue": "1.4.1",
42
42
  "consola": "3.2.3",
43
43
  "cookie-es": "1.2.2",
44
44
  "defu": "6.1.4",
45
45
  "h3": "1.12.0",
46
46
  "jiti": "1.21.6",
47
47
  "lodash-es": "4.17.21",
48
- "nuxt": "3.12.4",
49
- "pinia": "2.2.1",
48
+ "nuxt": "3.13.0",
49
+ "pinia": "2.2.2",
50
50
  "prettier": "3.3.3",
51
- "prettier-plugin-tailwindcss": "0.6.5",
51
+ "prettier-plugin-tailwindcss": "0.6.6",
52
52
  "serve": "14.2.3",
53
- "sharp": "0.33.4",
54
- "stylelint": "16.8.1",
53
+ "sharp": "0.33.5",
54
+ "stylelint": "16.8.2",
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
- "tailwindcss": "3.4.8",
59
- "unhead": "1.9.16",
60
- "vue": "3.4.36",
58
+ "tailwindcss": "3.4.10",
59
+ "unhead": "1.10.0",
60
+ "vue": "3.4.38",
61
61
  "vue-router": "4.4.3"
62
62
  },
63
63
  "engines": {
@@ -86,8 +86,8 @@
86
86
  "main": "nuxt.config.ts",
87
87
  "name": "@dargmuesli/nuxt-vio",
88
88
  "peerDependencies": {
89
- "nuxt": "3.12.4",
90
- "vue": "3.4.36",
89
+ "nuxt": "3.13.0",
90
+ "vue": "3.4.38",
91
91
  "vue-router": "4.4.3"
92
92
  },
93
93
  "publishConfig": {
@@ -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.4"
119
+ "version": "13.2.6"
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
+ }