@dargmuesli/nuxt-vio 13.1.17 → 13.1.19
Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,7 @@
|
|
26
26
|
</li>
|
27
27
|
</ul>
|
28
28
|
<span>{{ t('separator') }}</span>
|
29
|
-
<VioLink :is-colored="false" to="
|
29
|
+
<VioLink :is-colored="false" :to="route.fullPath">
|
30
30
|
<span
|
31
31
|
class="whitespace-nowrap text-2xl font-bold"
|
32
32
|
data-testid="breadcrumb"
|
@@ -71,6 +71,7 @@ withDefaults(defineProps<Props>(), {
|
|
71
71
|
|
72
72
|
const localePath = useLocalePath()
|
73
73
|
const { t } = useI18n()
|
74
|
+
const route = useRoute()
|
74
75
|
</script>
|
75
76
|
|
76
77
|
<i18n lang="yaml">
|
package/package.json
CHANGED
@@ -31,7 +31,7 @@
|
|
31
31
|
"jose": "5.6.3",
|
32
32
|
"nuxt-gtag": "2.0.6",
|
33
33
|
"nuxt-security": "2.0.0-rc.9",
|
34
|
-
"sweetalert2": "11.12.
|
34
|
+
"sweetalert2": "11.12.2",
|
35
35
|
"vue-tsc": "2.0.26"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
@@ -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.
|
119
|
+
"version": "13.1.19"
|
120
120
|
}
|
package/utils/constants.ts
CHANGED
@@ -17,10 +17,10 @@ export const GET_CSP = (siteUrl: string) =>
|
|
17
17
|
// Cloudflare
|
18
18
|
...(process.env.NODE_ENV === 'production'
|
19
19
|
? {
|
20
|
-
'connect-src': ['https://cloudflareinsights.com'],
|
20
|
+
'connect-src': ['https://cloudflareinsights.com'], // analytics
|
21
21
|
'script-src-elem': [
|
22
|
-
'https://static.cloudflareinsights.com',
|
23
|
-
`${siteUrl}/cdn-cgi/scripts/`,
|
22
|
+
'https://static.cloudflareinsights.com', // analytics
|
23
|
+
`${siteUrl}/cdn-cgi/scripts/`, // email obfuscation
|
24
24
|
],
|
25
25
|
}
|
26
26
|
: {}),
|
@@ -45,63 +45,63 @@ export const GET_CSP = (siteUrl: string) =>
|
|
45
45
|
// 'https://polyfill.io/v3/polyfill.min.js', // ESLint plugin compat
|
46
46
|
// ],
|
47
47
|
},
|
48
|
-
{
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
},
|
56
|
-
{
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
},
|
64
|
-
{
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
},
|
72
|
-
{
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
},
|
83
|
-
{
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
},
|
91
|
-
{
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
},
|
48
|
+
// {
|
49
|
+
// // nuxt-link-checker
|
50
|
+
// ...(process.env.NODE_ENV === 'development'
|
51
|
+
// ? {
|
52
|
+
// 'connect-src': [`${siteUrl}/api/__link_checker__/inspect`],
|
53
|
+
// }
|
54
|
+
// : {}),
|
55
|
+
// },
|
56
|
+
// {
|
57
|
+
// // nuxt-og-image
|
58
|
+
// ...(process.env.NODE_ENV === 'development'
|
59
|
+
// ? {
|
60
|
+
// 'connect-src': [`${siteUrl}/__og-image__/`],
|
61
|
+
// }
|
62
|
+
// : {}),
|
63
|
+
// },
|
64
|
+
// {
|
65
|
+
// // nuxt-schema-org
|
66
|
+
// ...(process.env.NODE_ENV === 'development'
|
67
|
+
// ? {
|
68
|
+
// 'connect-src': [`${siteUrl}/__schema-org__/debug.json`],
|
69
|
+
// }
|
70
|
+
// : {}),
|
71
|
+
// },
|
72
|
+
// {
|
73
|
+
// // nuxt-simple-robots
|
74
|
+
// ...(process.env.NODE_ENV === 'development'
|
75
|
+
// ? {
|
76
|
+
// 'connect-src': [
|
77
|
+
// `${siteUrl}/__robots__/debug.json`,
|
78
|
+
// `${siteUrl}/__robots__/debug-path.json`,
|
79
|
+
// ],
|
80
|
+
// }
|
81
|
+
// : {}),
|
82
|
+
// },
|
83
|
+
// {
|
84
|
+
// // nuxt-simple-sitemap
|
85
|
+
// ...(process.env.NODE_ENV === 'development'
|
86
|
+
// ? {
|
87
|
+
// 'connect-src': [`${siteUrl}/__sitemap__/debug.json`],
|
88
|
+
// }
|
89
|
+
// : {}),
|
90
|
+
// },
|
91
|
+
// {
|
92
|
+
// // nuxt-site-config
|
93
|
+
// ...(process.env.NODE_ENV === 'development'
|
94
|
+
// ? {
|
95
|
+
// 'connect-src': [`${siteUrl}/__site-config__/debug.json`],
|
96
|
+
// }
|
97
|
+
// : {}),
|
98
|
+
// },
|
99
99
|
{
|
100
100
|
// nuxt
|
101
101
|
...(process.env.NODE_ENV === 'development'
|
102
102
|
? {
|
103
103
|
'frame-src':
|
104
|
-
'
|
104
|
+
'https://localhost:3000/__nuxt_devtools__/client/modules/pinia',
|
105
105
|
}
|
106
106
|
: {}),
|
107
107
|
'connect-src': [
|