chore(deps): update devdependencies (#2310)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
renovate[bot] 2023-09-05 13:55:03 +01:00 committed by GitHub
parent 1b8d72105d
commit 0f825a6efb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2154 additions and 1082 deletions

View file

@ -1,6 +1,6 @@
import type { ComponentInternalInstance } from 'vue'
import { onActivated, onDeactivated, ref } from 'vue'
import type { ActiveHeadEntry, HeadEntryOptions, UseHeadInput } from '@unhead/vue'
import type { ActiveHeadEntry, UseHeadInput, UseHeadOptions } from '@unhead/vue'
import type { SchemaAugmentations } from '@unhead/schema'
export const isHydrated = ref(false)
@ -37,7 +37,7 @@ export function onReactivated(hook: () => void, target?: ComponentInternalInstan
onDeactivated(() => initial.value = false)
}
export function useHydratedHead<T extends SchemaAugmentations>(input: UseHeadInput<T>, options?: HeadEntryOptions): ActiveHeadEntry<UseHeadInput<T>> | void {
export function useHydratedHead<T extends SchemaAugmentations>(input: UseHeadInput<T>, options?: UseHeadOptions): ActiveHeadEntry<UseHeadInput<T>> | void {
if (input && typeof input === 'object' && !('value' in input)) {
const title = 'title' in input ? input.title : undefined
if (process.server && title) {