@dargmuesli/nuxt-vio 14.0.0 → 14.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +11 -11
- package/server/plugins/security.ts +0 -11
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"dependencies": {
|
3
|
-
"@dargmuesli/nuxt-cookie-control": "8.4.
|
3
|
+
"@dargmuesli/nuxt-cookie-control": "8.4.13",
|
4
4
|
"@eslint/compat": "1.1.1",
|
5
5
|
"@heroicons/vue": "2.1.5",
|
6
6
|
"@http-util/status-i18n": "0.8.1",
|
7
7
|
"@intlify/eslint-plugin-vue-i18n": "3.0.0",
|
8
|
-
"@nuxt/devtools": "1.
|
8
|
+
"@nuxt/devtools": "1.5.1",
|
9
9
|
"@nuxt/eslint": "0.5.7",
|
10
10
|
"@nuxt/image": "1.8.0",
|
11
11
|
"@nuxtjs/color-mode": "3.5.1",
|
@@ -22,16 +22,16 @@
|
|
22
22
|
"@vuelidate/validators": "2.0.4",
|
23
23
|
"clipboardy": "4.0.0",
|
24
24
|
"dayjs": "2.0.0-alpha.4",
|
25
|
-
"eslint": "9.
|
25
|
+
"eslint": "9.11.1",
|
26
26
|
"eslint-config-prettier": "9.1.0",
|
27
27
|
"eslint-plugin-compat": "6.0.1",
|
28
28
|
"eslint-plugin-prettier": "5.2.1",
|
29
29
|
"eslint-plugin-yml": "1.14.0",
|
30
30
|
"globals": "15.9.0",
|
31
|
-
"jose": "5.9.
|
31
|
+
"jose": "5.9.3",
|
32
32
|
"nuxt-gtag": "3.0.1",
|
33
|
-
"nuxt-security": "2.0.0
|
34
|
-
"sweetalert2": "11.14.
|
33
|
+
"nuxt-security": "2.0.0",
|
34
|
+
"sweetalert2": "11.14.1",
|
35
35
|
"vue-tsc": "2.1.6"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
@@ -48,16 +48,16 @@
|
|
48
48
|
"nuxt": "3.13.2",
|
49
49
|
"pinia": "2.2.2",
|
50
50
|
"prettier": "3.3.3",
|
51
|
-
"prettier-plugin-tailwindcss": "0.6.
|
51
|
+
"prettier-plugin-tailwindcss": "0.6.8",
|
52
52
|
"serve": "14.2.3",
|
53
53
|
"sharp": "0.33.5",
|
54
54
|
"stylelint": "16.9.0",
|
55
55
|
"stylelint-config-recommended-vue": "1.5.0",
|
56
56
|
"stylelint-config-standard": "36.0.1",
|
57
57
|
"stylelint-no-unsupported-browser-features": "8.0.1",
|
58
|
-
"tailwindcss": "3.4.
|
58
|
+
"tailwindcss": "3.4.13",
|
59
59
|
"unhead": "1.11.6",
|
60
|
-
"vue": "3.5.
|
60
|
+
"vue": "3.5.10",
|
61
61
|
"vue-router": "4.4.5"
|
62
62
|
},
|
63
63
|
"engines": {
|
@@ -87,7 +87,7 @@
|
|
87
87
|
"name": "@dargmuesli/nuxt-vio",
|
88
88
|
"peerDependencies": {
|
89
89
|
"nuxt": "3.13.2",
|
90
|
-
"vue": "3.5.
|
90
|
+
"vue": "3.5.10",
|
91
91
|
"vue-router": "4.4.5"
|
92
92
|
},
|
93
93
|
"publishConfig": {
|
@@ -117,5 +117,5 @@
|
|
117
117
|
"start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
|
118
118
|
},
|
119
119
|
"type": "module",
|
120
|
-
"version": "14.0.
|
120
|
+
"version": "14.0.1"
|
121
121
|
}
|
@@ -28,17 +28,6 @@ export const cleanupCsp = (
|
|
28
28
|
}
|
29
29
|
|
30
30
|
export default defineNitroPlugin((nitroApp) => {
|
31
|
-
// TODO: migrate to nuxt-security (https://github.com/Baroshem/nuxt-security/discussions/454)
|
32
|
-
if (import.meta.dev) {
|
33
|
-
nitroApp.hooks.hook('render:html', (html, { event }) => {
|
34
|
-
if (!event.context.security?.nonce) return
|
35
|
-
|
36
|
-
html.head.push(
|
37
|
-
`<meta property="csp-nonce" nonce="${event.context.security.nonce}">`,
|
38
|
-
)
|
39
|
-
})
|
40
|
-
}
|
41
|
-
|
42
31
|
nitroApp.hooks.hook('nuxt-security:routeRules', async (routeRules) => {
|
43
32
|
const runtimeConfig = useRuntimeConfig()
|
44
33
|
const siteUrl = runtimeConfig.public.site.url
|