chore: bump lock

This commit is contained in:
harlan 2025-01-21 15:08:04 +11:00
parent 703b0e29ef
commit 2de35bd495
3 changed files with 8 additions and 10 deletions

View File

@ -59,7 +59,7 @@
"typescript": "5.7.3",
"ufo": "1.5.4",
"unbuild": "3.3.1",
"unhead": "2.0.0-alpha.2",
"unhead": "2.0.0-alpha.3",
"unimport": "3.14.5",
"vite": "6.0.7",
"vue": "3.5.13"
@ -75,8 +75,8 @@
"@testing-library/vue": "8.1.0",
"@types/node": "22.10.6",
"@types/semver": "7.5.8",
"@unhead/schema": "2.0.0-alpha.2",
"@unhead/vue": "2.0.0-alpha.2",
"@unhead/schema": "2.0.0-alpha.3",
"@unhead/vue": "2.0.0-alpha.3",
"@vitest/coverage-v8": "2.1.8",
"@vue/test-utils": "2.4.6",
"autoprefixer": "10.4.20",

View File

@ -88,7 +88,5 @@ export function useServerSeoMeta<T extends MergeHead> (input: UseSeoMetaInput, o
*/
export function useScript<T extends Record<symbol | string, any> = Record<symbol | string, any>> (input: UseScriptInput, options?: UseScriptOptions<T> & { nuxt?: NuxtApp }): UseScriptReturn<T> | void {
const unhead = injectHead(options?.nuxt)
// TODO not sure
// @ts-expect-error untyped
return script(input, { head: unhead, ...options })
}

View File

@ -30,7 +30,7 @@ overrides:
typescript: 5.7.3
ufo: 1.5.4
unbuild: 3.3.1
unhead: 2.0.0-alpha.2
unhead: 2.0.0-alpha.3
unimport: 3.14.5
vite: 6.0.7
vue: 3.5.13
@ -7334,8 +7334,8 @@ packages:
unenv@1.10.0:
resolution: {integrity: sha512-wY5bskBQFL9n3Eca5XnhH6KbUo/tfvkwm9OpcdCvLaeA7piBNbavbOKJySEwQ1V0RH6HvNlSAFRTpvTqgKRQXQ==}
unhead@2.0.0-alpha.2:
resolution: {integrity: sha512-niBkQIczWnFEJdE/3Zj4QlYtiHFCrLKVM/xdz9aOnZ3U+E8kWyCnEwpOLKZuOUjyXRGnvX9XMsbcBBkBe+ei+A==}
unhead@2.0.0-alpha.3:
resolution: {integrity: sha512-L9KBaikZL/aftapkfKW9jN4PEGv0czhodZvxHFv7JGD85WdWvVW9KJ2c74qvGhz2Y53JMjP83//O6ZwW/LhGoA==}
unicode-emoji-modifier-base@1.0.0:
resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==}
@ -9930,7 +9930,7 @@ snapshots:
'@unhead/schema': 2.0.0-alpha.3
'@unhead/shared': 2.0.0-alpha.3
hookable: 5.5.3
unhead: 2.0.0-alpha.2
unhead: 2.0.0-alpha.3
vue: 3.5.13(typescript@5.7.3)
'@unocss/astro@0.62.4(rollup@4.30.1)(vite@6.0.7(@types/node@22.10.5)(jiti@2.4.2)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.2)(yaml@2.6.1))':
@ -15418,7 +15418,7 @@ snapshots:
node-fetch-native: 1.6.4
pathe: 1.1.2
unhead@2.0.0-alpha.2:
unhead@2.0.0-alpha.3:
dependencies:
'@unhead/schema': 2.0.0-alpha.3
'@unhead/shared': 2.0.0-alpha.3