@dargmuesli/nuxt-cookie-control 7.1.1 → 7.1.3
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
package/dist/module.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { pathToFileURL } from 'node:url';
|
|
|
3
3
|
import { createResolver, defineNuxtModule, addPlugin, addImports, addTemplate, extendWebpackConfig, extendViteConfig, resolvePath } from '@nuxt/kit';
|
|
4
4
|
|
|
5
5
|
const name = "@dargmuesli/nuxt-cookie-control";
|
|
6
|
-
const version = "7.1.
|
|
6
|
+
const version = "7.1.3";
|
|
7
7
|
|
|
8
8
|
const en = {
|
|
9
9
|
accept: "Accept",
|
|
@@ -192,8 +192,6 @@
|
|
|
192
192
|
<script setup lang="ts">
|
|
193
193
|
import { ref, computed, onBeforeMount, watch } from 'vue'
|
|
194
194
|
|
|
195
|
-
import { useNuxtApp } from '#app'
|
|
196
|
-
|
|
197
195
|
import {
|
|
198
196
|
type Cookie,
|
|
199
197
|
CookieType,
|
|
@@ -209,7 +207,7 @@ import {
|
|
|
209
207
|
} from '../methods'
|
|
210
208
|
|
|
211
209
|
import setCssVariables from '#cookie-control/set-vars'
|
|
212
|
-
import { useCookieControl, useCookie } from '#imports'
|
|
210
|
+
import { useCookieControl, useCookie, useNuxtApp } from '#imports'
|
|
213
211
|
|
|
214
212
|
export interface Props {
|
|
215
213
|
locale?: Locale
|
|
@@ -21,11 +21,9 @@
|
|
|
21
21
|
<script setup lang="ts">
|
|
22
22
|
import { computed } from 'vue'
|
|
23
23
|
|
|
24
|
-
import { useNuxtApp } from '#app'
|
|
25
|
-
|
|
26
24
|
import type { Cookie } from '../types'
|
|
27
25
|
|
|
28
|
-
import { useCookieControl } from '#imports'
|
|
26
|
+
import { useNuxtApp, useCookieControl } from '#imports'
|
|
29
27
|
|
|
30
28
|
const { cookiesEnabled, isModalActive, moduleOptions } = useCookieControl()
|
|
31
29
|
const nuxtApp = useNuxtApp()
|
package/dist/types.d.mts
CHANGED
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,27 +1,37 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
"author": "Dario Ferderber <dario.ferderber@broj42.com>",
|
|
6
|
-
"maintainers": [
|
|
7
|
-
"Jonas Thelemann"
|
|
2
|
+
"author": "Jonas Thelemann",
|
|
3
|
+
"contributors": [
|
|
4
|
+
"Dario Ferderber <dario.ferderber@broj42.com>"
|
|
8
5
|
],
|
|
9
|
-
"
|
|
10
|
-
"
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@nuxt/kit": "^3.8.0",
|
|
8
|
+
"@sindresorhus/slugify": "^2.2.1",
|
|
9
|
+
"css-vars-ponyfill": "^2.4.8",
|
|
10
|
+
"string-replace-loader": "^3.1.0"
|
|
11
|
+
},
|
|
12
|
+
"description": "Nuxt Cookie Control Module",
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@commitlint/cli": "18.4.3",
|
|
15
|
+
"@commitlint/config-conventional": "18.4.3",
|
|
16
|
+
"@dargmuesli/nuxt-cookie-control": "link:",
|
|
17
|
+
"@nuxt/module-builder": "0.5.4",
|
|
18
|
+
"@nuxt/schema": "3.8.2",
|
|
19
|
+
"@nuxtjs/eslint-config-typescript": "12.1.0",
|
|
20
|
+
"eslint": "8.54.0",
|
|
21
|
+
"eslint-config-prettier": "9.0.0",
|
|
22
|
+
"eslint-plugin-prettier": "5.0.1",
|
|
23
|
+
"husky": "8.0.3",
|
|
24
|
+
"lint-staged": "15.1.0",
|
|
25
|
+
"nuxt": "3.8.2",
|
|
26
|
+
"prettier": "3.1.0",
|
|
27
|
+
"typescript": "5.3.2",
|
|
28
|
+
"vue": "3.3.8",
|
|
29
|
+
"vue-tsc": "1.8.22",
|
|
30
|
+
"webpack": "5.89.0"
|
|
11
31
|
},
|
|
12
|
-
"keywords": [
|
|
13
|
-
"nuxt cookie control",
|
|
14
|
-
"nuxt gdpr",
|
|
15
|
-
"nuxt cookie consent",
|
|
16
|
-
"nuxt gdpr consent"
|
|
17
|
-
],
|
|
18
|
-
"repository": "https://github.com/dargmuesli/nuxt-cookie-control",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"type": "module",
|
|
21
32
|
"engines": {
|
|
22
33
|
"node": ">=16"
|
|
23
34
|
},
|
|
24
|
-
"packageManager": "pnpm@8.10.2",
|
|
25
35
|
"exports": {
|
|
26
36
|
".": {
|
|
27
37
|
"import": "./dist/module.mjs",
|
|
@@ -34,11 +44,32 @@
|
|
|
34
44
|
"types": "./dist/runtime/*.d.ts"
|
|
35
45
|
}
|
|
36
46
|
},
|
|
37
|
-
"main": "./dist/module.cjs",
|
|
38
|
-
"types": "./dist/module.d.ts",
|
|
39
47
|
"files": [
|
|
40
48
|
"dist/**/*"
|
|
41
49
|
],
|
|
50
|
+
"funding": {
|
|
51
|
+
"url": "https://github.com/sponsors/dargmuesli"
|
|
52
|
+
},
|
|
53
|
+
"keywords": [
|
|
54
|
+
"nuxt cookie control",
|
|
55
|
+
"nuxt gdpr",
|
|
56
|
+
"nuxt cookie consent",
|
|
57
|
+
"nuxt gdpr consent"
|
|
58
|
+
],
|
|
59
|
+
"license": "MIT",
|
|
60
|
+
"main": "./dist/module.cjs",
|
|
61
|
+
"maintainers": [
|
|
62
|
+
"Jonas Thelemann"
|
|
63
|
+
],
|
|
64
|
+
"name": "@dargmuesli/nuxt-cookie-control",
|
|
65
|
+
"packageManager": "pnpm@8.10.5",
|
|
66
|
+
"publishConfig": {
|
|
67
|
+
"access": "public"
|
|
68
|
+
},
|
|
69
|
+
"repository": "https://github.com/dargmuesli/nuxt-cookie-control",
|
|
70
|
+
"resolutions": {
|
|
71
|
+
"@nuxt/kit": "3.8.2"
|
|
72
|
+
},
|
|
42
73
|
"scripts": {
|
|
43
74
|
"build": "nuxt-module-build build",
|
|
44
75
|
"lint": "eslint --ext .js,.ts,.vue . && nuxt typecheck",
|
|
@@ -46,32 +77,7 @@
|
|
|
46
77
|
"prepack": "pnpm build",
|
|
47
78
|
"prepare": "husky install"
|
|
48
79
|
},
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"css-vars-ponyfill": "^2.4.8",
|
|
53
|
-
"string-replace-loader": "^3.1.0"
|
|
54
|
-
},
|
|
55
|
-
"devDependencies": {
|
|
56
|
-
"@commitlint/cli": "18.2.0",
|
|
57
|
-
"@commitlint/config-conventional": "18.1.0",
|
|
58
|
-
"@dargmuesli/nuxt-cookie-control": "link:",
|
|
59
|
-
"@nuxt/module-builder": "0.5.2",
|
|
60
|
-
"@nuxt/schema": "3.8.0",
|
|
61
|
-
"@nuxtjs/eslint-config-typescript": "12.1.0",
|
|
62
|
-
"eslint": "8.52.0",
|
|
63
|
-
"eslint-config-prettier": "9.0.0",
|
|
64
|
-
"eslint-plugin-prettier": "5.0.1",
|
|
65
|
-
"husky": "8.0.3",
|
|
66
|
-
"lint-staged": "15.0.2",
|
|
67
|
-
"nuxt": "3.8.0",
|
|
68
|
-
"prettier": "3.0.3",
|
|
69
|
-
"typescript": "5.2.2",
|
|
70
|
-
"vue": "3.3.7",
|
|
71
|
-
"vue-tsc": "1.8.22",
|
|
72
|
-
"webpack": "5.89.0"
|
|
73
|
-
},
|
|
74
|
-
"publishConfig": {
|
|
75
|
-
"access": "public"
|
|
76
|
-
}
|
|
80
|
+
"type": "module",
|
|
81
|
+
"types": "./dist/module.d.ts",
|
|
82
|
+
"version": "7.1.3"
|
|
77
83
|
}
|