@dargmuesli/nuxt-vio 9.0.4 → 9.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/nuxt.config.ts +15 -15
  2. package/package.json +23 -23
package/nuxt.config.ts CHANGED
@@ -290,31 +290,31 @@ export default defineNuxtConfig(
290
290
  {
291
291
  // base
292
292
  'base-uri': ["'none'"], // does not fallback to `default-src`
293
- 'child-src': [],
294
- 'connect-src': [],
293
+ 'child-src': false as const,
294
+ 'connect-src': false as const,
295
295
  'default-src': ["'none'"],
296
- 'font-src': [],
296
+ 'font-src': false as const,
297
297
  'form-action': ["'none'"], // does not fallback to `default-src`
298
298
  'frame-ancestors': ["'none'"], // does not fallback to `default-src`
299
- 'frame-src': [],
300
- 'img-src': [],
301
- 'media-src': [],
302
- 'navigate-to': [],
303
- 'object-src': [],
304
- 'prefetch-src': [],
305
- 'report-to': [],
306
- 'report-uri': [],
299
+ 'frame-src': false as const,
300
+ 'img-src': false as const,
301
+ 'media-src': false as const,
302
+ 'navigate-to': false as const,
303
+ 'object-src': false as const,
304
+ 'prefetch-src': false as const,
305
+ 'report-to': undefined,
306
+ 'report-uri': false as const,
307
307
  // TODO: evaluate header (https://github.com/maevsi/maevsi/issues/830) // https://stackoverflow.com/questions/62081028/this-document-requires-trustedscripturl-assignment
308
308
  // 'require-trusted-types-for': ["'script'"], // csp-evaluator
309
- sandbox: [],
310
- 'script-src': [],
309
+ sandbox: false as const,
310
+ 'script-src': false as const,
311
311
  'script-src-attr': false as const, // TODO: enable once Webkit supports it (https://caniuse.com/mdn-http_headers_content-security-policy_script-src-attr)
312
312
  'script-src-elem': false as const, // TODO: enable once Webkit supports it (https://caniuse.com/mdn-http_headers_content-security-policy_script-src-elem)
313
- 'style-src': [],
313
+ 'style-src': false as const,
314
314
  'style-src-attr': false as const, // TODO: enable once Webkit supports it (https://caniuse.com/mdn-http_headers_content-security-policy_style-src-attr)
315
315
  'style-src-elem': false as const, // TODO: enable once Webkit supports it (https://caniuse.com/mdn-http_headers_content-security-policy_style-src-elem)
316
316
  'upgrade-insecure-requests': false, // TODO: set to `process.env.NODE_ENV === 'production'` or `true` when tests run on https
317
- 'worker-src': [],
317
+ 'worker-src': false as const,
318
318
  },
319
319
  ),
320
320
  crossOriginEmbedderPolicy: false, // https://stackoverflow.com/questions/71904052/getting-notsameoriginafterdefaultedtosameoriginbycoep-error-with-helmet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "9.0.4",
3
+ "version": "9.0.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dargmuesli/vio.git"
@@ -34,14 +34,14 @@
34
34
  ],
35
35
  "main": "nuxt.config.ts",
36
36
  "dependencies": {
37
- "@dargmuesli/nuxt-cookie-control": "7.1.3",
37
+ "@dargmuesli/nuxt-cookie-control": "7.2.0",
38
38
  "@heroicons/vue": "2.0.18",
39
39
  "@http-util/status-i18n": "0.8.1",
40
- "@nuxt/devtools": "1.0.3",
40
+ "@nuxt/devtools": "1.0.5",
41
41
  "@nuxt/image": "1.1.0",
42
42
  "@nuxtjs/color-mode": "3.3.2",
43
- "@nuxtjs/html-validator": "1.5.2",
44
- "@nuxtjs/i18n": "npm:@nuxtjs/i18n-edge@8.0.0-rc.5-28345873.8e3fab2",
43
+ "@nuxtjs/html-validator": "1.6.0",
44
+ "@nuxtjs/i18n": "8.0.0-rc.8",
45
45
  "@nuxtjs/tailwindcss": "6.10.1",
46
46
  "@nuxtseo/module": "2.0.0-beta.45",
47
47
  "@pinia/nuxt": "0.5.1",
@@ -53,54 +53,54 @@
53
53
  "@vuelidate/validators": "2.0.4",
54
54
  "clipboardy": "4.0.0",
55
55
  "dayjs": "2.0.0-alpha.4",
56
- "jose": "5.1.1",
57
- "nuxt-security": "1.0.0-rc.4",
56
+ "jose": "5.1.3",
57
+ "nuxt-security": "1.0.0-rc.5",
58
58
  "sweetalert2": "11.10.1",
59
59
  "vue-gtag": "2.0.1"
60
60
  },
61
61
  "devDependencies": {
62
- "@axe-core/playwright": "4.8.1",
62
+ "@axe-core/playwright": "4.8.2",
63
63
  "@intlify/eslint-plugin-vue-i18n": "3.0.0-next.4",
64
64
  "@nuxtjs/eslint-config-typescript": "12.1.0",
65
- "@playwright/test": "1.40.0",
66
- "@unhead/vue": "1.8.8",
65
+ "@playwright/test": "1.40.1",
66
+ "@unhead/vue": "1.8.9",
67
67
  "@urql/devtools": "2.0.3",
68
- "@urql/exchange-graphcache": "6.3.3",
68
+ "@urql/exchange-graphcache": "6.4.0",
69
69
  "@urql/vue": "1.1.2",
70
70
  "consola": "3.2.3",
71
71
  "cookie-es": "1.0.0",
72
72
  "cross-env": "7.0.3",
73
73
  "defu": "6.1.3",
74
- "eslint": "8.54.0",
75
- "eslint-config-prettier": "9.0.0",
74
+ "eslint": "8.55.0",
75
+ "eslint-config-prettier": "9.1.0",
76
76
  "eslint-plugin-compat": "4.2.0",
77
77
  "eslint-plugin-nuxt": "4.0.0",
78
78
  "eslint-plugin-prettier": "5.0.1",
79
79
  "eslint-plugin-yml": "1.10.0",
80
80
  "h3": "1.9.0",
81
81
  "jiti": "1.21.0",
82
- "lint-staged": "15.1.0",
82
+ "lint-staged": "15.2.0",
83
83
  "lodash-es": "4.17.21",
84
84
  "nuxt": "3.8.2",
85
85
  "pinia": "2.1.7",
86
86
  "prettier": "3.1.0",
87
- "prettier-plugin-tailwindcss": "0.5.7",
87
+ "prettier-plugin-tailwindcss": "0.5.9",
88
88
  "serve": "14.2.1",
89
- "stylelint": "15.11.0",
89
+ "stylelint": "16.0.1",
90
90
  "stylelint-config-recommended-vue": "1.5.0",
91
- "stylelint-config-standard": "34.0.0",
91
+ "stylelint-config-standard": "35.0.0",
92
92
  "stylelint-no-unsupported-browser-features": "7.0.0",
93
- "tailwindcss": "3.3.5",
93
+ "tailwindcss": "3.3.6",
94
94
  "ufo": "1.3.2",
95
- "unhead": "1.8.8",
96
- "vue": "3.3.8",
95
+ "unhead": "1.8.9",
96
+ "vue": "3.3.11",
97
97
  "vue-router": "4.2.5",
98
- "vue-tsc": "1.8.22"
98
+ "vue-tsc": "1.8.25"
99
99
  },
100
100
  "peerDependencies": {
101
101
  "nuxt": "3.8.2",
102
- "playwright-core": "1.40.0",
103
- "vue": "3.3.8",
102
+ "playwright-core": "1.40.1",
103
+ "vue": "3.3.11",
104
104
  "vue-router": "4.2.5"
105
105
  },
106
106
  "scripts": {