@dargmuesli/nuxt-cookie-control 5.6.0 → 5.7.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-cookie-control",
3
- "version": "5.6.0",
3
+ "version": "5.7.1",
4
4
  "configKey": "cookieControl",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0"
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.0";
6
+ const version = "5.7.1";
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/dist/types.d.ts CHANGED
@@ -3,4 +3,5 @@ import { } from './module'
3
3
 
4
4
 
5
5
 
6
+
6
7
  export { default } from './module'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-cookie-control",
3
- "version": "5.6.0",
3
+ "version": "5.7.1",
4
4
  "description": "Nuxt Cookies Control Module",
5
5
  "author": "Dario Ferderber <dario.ferderber@broj42.com>",
6
6
  "maintainers": [
@@ -33,31 +33,32 @@
33
33
  "dev": "pnpm dev:prepare && nuxi dev playground",
34
34
  "dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
35
35
  "dev:build": "nuxi build playground",
36
- "lint": "pnpm prepack && eslint --ext .js,.ts,.vue . && nuxi typecheck playground"
36
+ "lint": "pnpm prepack && eslint --ext .js,.ts,.vue . && nuxi typecheck playground",
37
+ "prepare": "husky install"
37
38
  },
38
39
  "dependencies": {
39
- "@nuxt/kit": "3.4.0",
40
+ "@nuxt/kit": "3.4.3",
40
41
  "@sindresorhus/slugify": "2.2.0",
41
42
  "css-vars-ponyfill": "2.4.8",
42
- "js-cookie": "3.0.1",
43
+ "js-cookie": "3.0.5",
43
44
  "string-replace-loader": "3.1.0"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@dargmuesli/nuxt-cookie-control": "link:.",
47
- "@nuxt/module-builder": "0.3.0",
48
+ "@nuxt/module-builder": "0.3.1",
48
49
  "@nuxtjs/eslint-config-typescript": "12.0.0",
49
50
  "@types/js-cookie": "3.0.3",
50
- "eslint": "8.38.0",
51
+ "eslint": "8.39.0",
51
52
  "eslint-config-prettier": "8.8.0",
52
53
  "eslint-plugin-prettier": "4.2.1",
53
54
  "husky": "8.0.3",
54
- "lint-staged": "13.2.1",
55
- "nuxt": "3.4.0",
56
- "prettier": "2.8.7",
55
+ "lint-staged": "13.2.2",
56
+ "nuxt": "3.4.3",
57
+ "prettier": "2.8.8",
57
58
  "typescript": "5.0.4",
58
59
  "vue": "3.2.47",
59
- "vue-tsc": "1.2.0",
60
- "webpack": "5.79.0"
60
+ "vue-tsc": "1.6.3",
61
+ "webpack": "5.81.0"
61
62
  },
62
63
  "publishConfig": {
63
64
  "access": "public"