@dargmuesli/nuxt-cookie-control 5.6.0 → 5.7.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.
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, resolvePath } from '@nuxt/kit';
|
|
4
4
|
|
|
5
5
|
const name = "@dargmuesli/nuxt-cookie-control";
|
|
6
|
-
const version = "5.
|
|
6
|
+
const version = "5.7.0";
|
|
7
7
|
|
|
8
8
|
const en = {
|
|
9
9
|
accept: "Accept",
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
</template>
|
|
191
191
|
|
|
192
192
|
<script setup lang="ts">
|
|
193
|
-
import { ref, computed, onBeforeMount, watch } from 'vue'
|
|
193
|
+
import { ref, computed, onBeforeMount, watch, defineExpose } from 'vue'
|
|
194
194
|
|
|
195
195
|
import { Cookie, CookieType, Locale, Translatable } from '../types'
|
|
196
196
|
import {
|
|
@@ -417,6 +417,12 @@ watch(isConsentGiven, (current, _previous) => {
|
|
|
417
417
|
}
|
|
418
418
|
})
|
|
419
419
|
|
|
420
|
+
defineExpose({
|
|
421
|
+
accept,
|
|
422
|
+
acceptPartial,
|
|
423
|
+
decline,
|
|
424
|
+
})
|
|
425
|
+
|
|
420
426
|
// initialization
|
|
421
427
|
init()
|
|
422
428
|
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"description": "Nuxt Cookies Control Module",
|
|
5
5
|
"author": "Dario Ferderber <dario.ferderber@broj42.com>",
|
|
6
6
|
"maintainers": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"lint": "pnpm prepack && eslint --ext .js,.ts,.vue . && nuxi typecheck playground"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@nuxt/kit": "3.4.
|
|
39
|
+
"@nuxt/kit": "3.4.2",
|
|
40
40
|
"@sindresorhus/slugify": "2.2.0",
|
|
41
41
|
"css-vars-ponyfill": "2.4.8",
|
|
42
42
|
"js-cookie": "3.0.1",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"eslint-plugin-prettier": "4.2.1",
|
|
53
53
|
"husky": "8.0.3",
|
|
54
54
|
"lint-staged": "13.2.1",
|
|
55
|
-
"nuxt": "3.4.
|
|
55
|
+
"nuxt": "3.4.2",
|
|
56
56
|
"prettier": "2.8.7",
|
|
57
57
|
"typescript": "5.0.4",
|
|
58
58
|
"vue": "3.2.47",
|
|
59
59
|
"vue-tsc": "1.2.0",
|
|
60
|
-
"webpack": "5.
|
|
60
|
+
"webpack": "5.80.0"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|