@dargmuesli/nuxt-vio 9.0.4 → 10.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,10 +60,15 @@ watch(
60
60
  )
61
61
 
62
62
  // initialization
63
- defineOgImage({
64
- alt: ogImageAltProp.value,
65
- component: ogImageComponentProp.value,
66
- })
63
+ defineOgImageComponent(
64
+ ogImageComponentProp.value || 'NuxtSeo',
65
+ {
66
+ description: siteConfig.description,
67
+ },
68
+ {
69
+ alt: ogImageAltProp.value,
70
+ },
71
+ )
67
72
  useAppLayout()
68
73
  useFavicons()
69
74
  usePolyfills()
package/nuxt.config.ts CHANGED
@@ -171,6 +171,11 @@ export default defineNuxtConfig(
171
171
  linkChecker: {
172
172
  failOnError: true,
173
173
  },
174
+ ogImage: {
175
+ defaults: {
176
+ extension: 'png', // TODO: remove once og-image requires jpg opt-in
177
+ },
178
+ },
174
179
  robots: {
175
180
  credits: false,
176
181
  },
@@ -290,31 +295,31 @@ export default defineNuxtConfig(
290
295
  {
291
296
  // base
292
297
  'base-uri': ["'none'"], // does not fallback to `default-src`
293
- 'child-src': [],
294
- 'connect-src': [],
298
+ 'child-src': false as const,
299
+ 'connect-src': false as const,
295
300
  'default-src': ["'none'"],
296
- 'font-src': [],
301
+ 'font-src': false as const,
297
302
  'form-action': ["'none'"], // does not fallback to `default-src`
298
303
  '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': [],
304
+ 'frame-src': false as const,
305
+ 'img-src': false as const,
306
+ 'media-src': false as const,
307
+ 'navigate-to': false as const,
308
+ 'object-src': false as const,
309
+ 'prefetch-src': false as const,
310
+ 'report-to': undefined,
311
+ 'report-uri': false as const,
307
312
  // TODO: evaluate header (https://github.com/maevsi/maevsi/issues/830) // https://stackoverflow.com/questions/62081028/this-document-requires-trustedscripturl-assignment
308
313
  // 'require-trusted-types-for': ["'script'"], // csp-evaluator
309
- sandbox: [],
310
- 'script-src': [],
314
+ sandbox: false as const,
315
+ 'script-src': false as const,
311
316
  '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
317
  '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': [],
318
+ 'style-src': false as const,
314
319
  '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
320
  '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
321
  'upgrade-insecure-requests': false, // TODO: set to `process.env.NODE_ENV === 'production'` or `true` when tests run on https
317
- 'worker-src': [],
322
+ 'worker-src': false as const,
318
323
  },
319
324
  ),
320
325
  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": "10.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dargmuesli/vio.git"
@@ -12,7 +12,7 @@
12
12
  "engines": {
13
13
  "node": "20"
14
14
  },
15
- "packageManager": "pnpm@8.11.0",
15
+ "packageManager": "pnpm@8.12.0",
16
16
  "files": [
17
17
  "assets",
18
18
  "components",
@@ -34,73 +34,73 @@
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.9",
45
45
  "@nuxtjs/tailwindcss": "6.10.1",
46
- "@nuxtseo/module": "2.0.0-beta.45",
46
+ "@nuxtseo/module": "2.0.0-beta.50",
47
47
  "@pinia/nuxt": "0.5.1",
48
48
  "@tailwindcss/forms": "0.5.7",
49
49
  "@tailwindcss/typography": "0.5.10",
50
50
  "@types/lodash-es": "4.17.12",
51
- "@urql/core": "4.2.0",
51
+ "@urql/core": "4.2.1",
52
52
  "@vuelidate/core": "2.0.3",
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
- "prettier": "3.1.0",
87
- "prettier-plugin-tailwindcss": "0.5.7",
86
+ "prettier": "3.1.1",
87
+ "prettier-plugin-tailwindcss": "0.5.9",
88
88
  "serve": "14.2.1",
89
- "stylelint": "15.11.0",
89
+ "stylelint": "16.0.2",
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": {