@dargmuesli/nuxt-vio 15.0.4 → 15.1.0

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.
Files changed (2) hide show
  1. package/package.json +10 -10
  2. package/utils/constants.ts +3 -0
package/package.json CHANGED
@@ -4,9 +4,9 @@
4
4
  "@eslint/compat": "1.2.4",
5
5
  "@heroicons/vue": "2.2.0",
6
6
  "@http-util/status-i18n": "0.8.1",
7
- "@intlify/eslint-plugin-vue-i18n": "4.0.0-next.0",
8
- "@nuxt/devtools": "1.6.4",
9
- "@nuxt/eslint": "0.7.3",
7
+ "@intlify/eslint-plugin-vue-i18n": "4.0.0-next.1",
8
+ "@nuxt/devtools": "1.7.0",
9
+ "@nuxt/eslint": "0.7.4",
10
10
  "@nuxt/image": "1.8.1",
11
11
  "@nuxtjs/color-mode": "3.5.2",
12
12
  "@nuxtjs/html-validator": "1.8.2",
@@ -28,24 +28,24 @@
28
28
  "eslint-plugin-compat": "6.0.2",
29
29
  "eslint-plugin-prettier": "5.2.1",
30
30
  "eslint-plugin-yml": "1.16.0",
31
- "globals": "15.13.0",
31
+ "globals": "15.14.0",
32
32
  "jiti": "2.4.2",
33
33
  "jose": "5.9.6",
34
34
  "nuxt-gtag": "3.0.2",
35
35
  "nuxt-security": "2.1.5",
36
- "sweetalert2": "11.15.2",
37
- "vue-tsc": "2.1.10"
36
+ "sweetalert2": "11.15.3",
37
+ "vue-tsc": "2.2.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@unhead/vue": "1.11.14",
41
41
  "@urql/devtools": "2.0.3",
42
42
  "@urql/exchange-graphcache": "7.2.1",
43
- "consola": "3.2.3",
43
+ "consola": "3.3.3",
44
44
  "cookie-es": "1.2.2",
45
45
  "defu": "6.1.4",
46
46
  "h3": "1.13.0",
47
47
  "lodash-es": "4.17.21",
48
- "nuxt": "3.14.1592",
48
+ "nuxt": "3.15.0",
49
49
  "pinia": "2.3.0",
50
50
  "prettier": "3.4.2",
51
51
  "prettier-plugin-tailwindcss": "0.6.9",
@@ -86,7 +86,7 @@
86
86
  "main": "nuxt.config.ts",
87
87
  "name": "@dargmuesli/nuxt-vio",
88
88
  "peerDependencies": {
89
- "nuxt": "3.14.1592",
89
+ "nuxt": "3.15.0",
90
90
  "vue": "3.5.13",
91
91
  "vue-router": "4.5.0"
92
92
  },
@@ -117,5 +117,5 @@
117
117
  "start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
118
118
  },
119
119
  "type": "module",
120
- "version": "15.0.4"
120
+ "version": "15.1.0"
121
121
  }
@@ -1,3 +1,4 @@
1
+ import { DEFAULTS } from '@dargmuesli/nuxt-cookie-control/runtime/types'
1
2
  import { helpers } from '@vuelidate/validators'
2
3
  import { defu } from 'defu'
3
4
 
@@ -8,6 +9,8 @@ export const SITE_URL =
8
9
  process.env.NUXT_PUBLIC_SITE_URL ||
9
10
  `https://${process.env.HOST || 'localhost'}:${process.env.PORT || '3000'}`
10
11
  export const CACHE_VERSION = 'bOXMwoKlJr'
12
+ export const COOKIE_CONTROL_CONSENT_COOKIE_NAME =
13
+ DEFAULTS.cookieNameIsConsentGiven
11
14
  export const COOKIE_PREFIX = SITE_NAME.toLocaleLowerCase()
12
15
  export const COOKIE_SEPARATOR = '_'
13
16
  export const FETCH_RETRY_AMOUNT = 3