@dargmuesli/nuxt-vio 13.1.20 → 13.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@
19
19
  :class="classesComputed"
20
20
  :disabled="disabled"
21
21
  :type="type"
22
- @click="emit('click')"
22
+ @click="emit('click', $event)"
23
23
  >
24
24
  <slot name="prefix" />
25
25
  <slot />
@@ -49,7 +49,7 @@ const props = withDefaults(defineProps<Props>(), {
49
49
  })
50
50
 
51
51
  const emit = defineEmits<{
52
- click: []
52
+ click: [event?: MouseEvent]
53
53
  }>()
54
54
 
55
55
  // computations
package/package.json CHANGED
@@ -116,5 +116,5 @@
116
116
  "start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
117
117
  },
118
118
  "type": "module",
119
- "version": "13.1.20"
119
+ "version": "13.2.0"
120
120
  }
@@ -53,14 +53,15 @@ export const GET_CSP = (siteUrl: string) =>
53
53
  // }
54
54
  // : {}),
55
55
  // },
56
- // {
57
- // // nuxt-og-image
58
- // ...(process.env.NODE_ENV === 'development'
59
- // ? {
60
- // 'connect-src': [`${siteUrl}/__og-image__/`],
61
- // }
62
- // : {}),
63
- // },
56
+ {
57
+ // nuxt-og-image
58
+ ...(process.env.NODE_ENV === 'development'
59
+ ? {
60
+ // 'connect-src': [`${siteUrl}/__og-image__/`],
61
+ 'frame-ancestors': ["'self'"],
62
+ }
63
+ : {}),
64
+ },
64
65
  // {
65
66
  // // nuxt-schema-org
66
67
  // ...(process.env.NODE_ENV === 'development'
@@ -100,8 +101,7 @@ export const GET_CSP = (siteUrl: string) =>
100
101
  // nuxt
101
102
  ...(process.env.NODE_ENV === 'development'
102
103
  ? {
103
- 'frame-src':
104
- 'https://localhost:3000/__nuxt_devtools__/client/modules/pinia',
104
+ 'frame-src': 'https://localhost:3000/__nuxt_devtools__/client/', // devtools
105
105
  }
106
106
  : {}),
107
107
  'connect-src': [