@dargmuesli/nuxt-cookie-control 9.0.7 → 9.0.9

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/dist/module.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-cookie-control",
3
- "version": "9.0.7",
3
+ "version": "9.0.9",
4
4
  "configKey": "cookieControl",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.0.0"
7
7
  },
8
8
  "builder": {
9
- "@nuxt/module-builder": "1.0.1",
9
+ "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "unknown"
11
11
  }
12
12
  }
package/dist/module.mjs CHANGED
@@ -104,7 +104,7 @@ const DEFAULTS = {
104
104
  };
105
105
 
106
106
  const name = "@dargmuesli/nuxt-cookie-control";
107
- const version = "9.0.7";
107
+ const version = "9.0.9";
108
108
 
109
109
  const resolver = createResolver(import.meta.url);
110
110
  const runtimeDir = resolver.resolve("./runtime");
@@ -125,7 +125,8 @@ const module = defineNuxtModule({
125
125
  }
126
126
  },
127
127
  async setup(moduleOptions, nuxt) {
128
- moduleOptions._isPrerendered = nuxt.options._generate;
128
+ moduleOptions._isPrerendered = nuxt.options.nitro.static || // eslint-disable-next-line @typescript-eslint/no-explicit-any
129
+ nuxt.options._generate;
129
130
  nuxt.options.alias["#cookie-control/set-vars"] = moduleOptions.isCssPonyfillEnabled ? resolver.resolve(runtimeDir, "set-vars/ponyfill") : resolver.resolve(runtimeDir, "set-vars/native");
130
131
  nuxt.options.alias["#cookie-control"] = runtimeDir;
131
132
  nuxt.options.build.transpile.push("#cookie-control");
@@ -4,7 +4,7 @@ type __VLS_Slots = {} & {
4
4
  } & {
5
5
  default?: (props: typeof __VLS_9) => any;
6
6
  };
7
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
8
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
9
9
  export default _default;
10
10
  type __VLS_WithSlots<T, S> = T & {
@@ -208,9 +208,7 @@ import {
208
208
  resolveTranslatable
209
209
  } from "#cookie-control/methods";
210
210
  import setCssVariables from "#cookie-control/set-vars";
211
- import {
212
- CookieType
213
- } from "#cookie-control/types";
211
+ import { CookieType } from "#cookie-control/types";
214
212
  import { useCookieControl, useCookie, useNuxtApp } from "#imports";
215
213
  const { locale = "en" } = defineProps({
216
214
  locale: { type: String, required: false }
@@ -1,4 +1,4 @@
1
- import { type Locale } from '#cookie-control/types';
1
+ import type { Locale } from '#cookie-control/types';
2
2
  type __VLS_Props = {
3
3
  locale?: Locale;
4
4
  };
@@ -2,7 +2,7 @@ declare var __VLS_6: {};
2
2
  type __VLS_Slots = {} & {
3
3
  iframe?: (props: typeof __VLS_6) => any;
4
4
  };
5
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
6
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
7
  export default _default;
8
8
  type __VLS_WithSlots<T, S> = T & {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "Dario Ferderber <dario.ferderber@broj42.com>"
5
5
  ],
6
6
  "dependencies": {
7
- "@nuxt/kit": "^3.8.0",
7
+ "@nuxt/kit": "^4.0.0",
8
8
  "css-vars-ponyfill": "^2.4.8",
9
9
  "defu": "^6.1.4",
10
10
  "string-replace-loader": "^3.1.0"
@@ -14,27 +14,27 @@
14
14
  "@commitlint/cli": "19.8.1",
15
15
  "@commitlint/config-conventional": "19.8.1",
16
16
  "@dargmuesli/nuxt-cookie-control": "link:",
17
- "@nuxt/eslint-config": "1.4.1",
18
- "@nuxt/module-builder": "1.0.1",
19
- "@nuxt/schema": "3.17.5",
17
+ "@nuxt/eslint-config": "1.7.1",
18
+ "@nuxt/module-builder": "1.0.2",
19
+ "@nuxt/schema": "4.0.2",
20
20
  "@semantic-release/changelog": "6.0.3",
21
21
  "@semantic-release/commit-analyzer": "13.0.1",
22
22
  "@semantic-release/git": "10.0.1",
23
23
  "@semantic-release/github": "11.0.3",
24
24
  "@semantic-release/npm": "12.0.2",
25
25
  "@semantic-release/release-notes-generator": "14.0.3",
26
- "eslint": "9.30.0",
27
- "eslint-config-prettier": "10.1.5",
28
- "eslint-plugin-prettier": "5.5.1",
26
+ "eslint": "9.32.0",
27
+ "eslint-config-prettier": "10.1.8",
28
+ "eslint-plugin-prettier": "5.5.3",
29
29
  "husky": "9.1.7",
30
30
  "lint-staged": "16.1.2",
31
- "nuxt": "3.17.5",
31
+ "nuxt": "4.0.2",
32
32
  "prettier": "3.6.2",
33
- "semantic-release": "24.2.6",
34
- "vite": "7.0.0",
35
- "vue": "3.5.17",
36
- "vue-tsc": "3.0.0",
37
- "webpack": "5.99.9"
33
+ "semantic-release": "24.2.7",
34
+ "vite": "7.0.6",
35
+ "vue": "3.5.18",
36
+ "vue-tsc": "3.0.4",
37
+ "webpack": "5.101.0"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=16"
@@ -63,7 +63,7 @@
63
63
  "Jonas Thelemann"
64
64
  ],
65
65
  "name": "@dargmuesli/nuxt-cookie-control",
66
- "packageManager": "pnpm@10.12.4",
66
+ "packageManager": "pnpm@10.13.1",
67
67
  "pnpm": {
68
68
  "ignoredBuiltDependencies": [
69
69
  "@parcel/watcher",
@@ -71,7 +71,7 @@
71
71
  "unrs-resolver"
72
72
  ],
73
73
  "overrides": {
74
- "@types/eslint": "npm:eslint@9.30.0"
74
+ "@types/eslint": "npm:eslint@9.32.0"
75
75
  }
76
76
  },
77
77
  "publishConfig": {
@@ -79,7 +79,7 @@
79
79
  },
80
80
  "repository": "https://github.com/dargmuesli/nuxt-cookie-control",
81
81
  "resolutions": {
82
- "@nuxt/kit": "3.17.5"
82
+ "@nuxt/kit": "^4.0.0"
83
83
  },
84
84
  "scripts": {
85
85
  "build": "nuxt-module-build build",
@@ -99,5 +99,5 @@
99
99
  ]
100
100
  }
101
101
  },
102
- "version": "9.0.7"
102
+ "version": "9.0.9"
103
103
  }