@vueuse/head
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,12 +0,44 @@ | ||
import { HeadTag, MergeHead, MaybeComputedRef, ReactiveHead } from '@unhead/vue'; | ||
export { Unhead, VueHeadMixin, useHead, useServerHead } from '@unhead/vue'; | ||
import { HeadTag, MaybeComputedRef, ReactiveHead, MergeHead } from '@unhead/vue'; | ||
export { HeadEntryOptions, MaybeComputedRef, Unhead, VueHeadMixin, useHead, useServerHead } from '@unhead/vue'; | ||
import * as _unhead_schema from '@unhead/schema'; | ||
import { HeadEntryOptions, ActiveHeadEntry, Unhead, Head as Head$1 } from '@unhead/schema'; | ||
import { Head as Head$1, HeadEntryOptions, ActiveHeadEntry, Unhead } from '@unhead/schema'; | ||
import * as vue from 'vue'; | ||
import { Plugin } from 'vue'; | ||
declare type HookBeforeDomUpdate = ((tags: Record<string, HeadTag[]>) => void | boolean)[]; | ||
declare type HookTagsResolved = ((tags: HeadTag[]) => void)[]; | ||
interface LegacyHeadClient<T> { | ||
headTags: () => Promise<HeadTag[]>; | ||
/** | ||
* @deprecated | ||
*/ | ||
addEntry: (objs: Head$1, options?: HeadEntryOptions) => ActiveHeadEntry<Head$1>; | ||
/** | ||
* @deprecated | ||
*/ | ||
addReactiveEntry: (objs: MaybeComputedRef<ReactiveHead>, options?: HeadEntryOptions) => ActiveHeadEntry<MaybeComputedRef<ReactiveHead>>; | ||
/** | ||
* @deprecated | ||
*/ | ||
addHeadObjs: (objs: T, options?: HeadEntryOptions) => ActiveHeadEntry<T>; | ||
/** | ||
* @deprecated | ||
*/ | ||
updateDOM: (document?: Document, force?: boolean) => void; | ||
/** | ||
* Array of user provided functions to hook into before the DOM is updated. | ||
* | ||
* When returning false from this function, it will block DOM updates, this can be useful when stopping dom updates | ||
* between page transitions. | ||
* | ||
* You are able to modify the payload of hook using this. | ||
* | ||
* @deprecated | ||
*/ | ||
hookBeforeDomUpdate: HookBeforeDomUpdate; | ||
/** | ||
* Array of user provided functions to hook into after the tags have been resolved (deduped and sorted). | ||
* @deprecated | ||
*/ | ||
hookTagsResolved: HookTagsResolved; | ||
} | ||
@@ -24,2 +56,2 @@ declare type UseHeadInput<T extends MergeHead> = MaybeComputedRef<ReactiveHead<T>>; | ||
export { Head, HeadObject, HeadObjectPlain, HeadVuePlugin, LegacyHeadClient, UseHeadInput, VueUseHead, createHead, renderHeadToString }; | ||
export { Head, HeadObject, HeadObjectPlain, HeadVuePlugin, HookBeforeDomUpdate, HookTagsResolved, LegacyHeadClient, UseHeadInput, VueUseHead, createHead, renderHeadToString }; |
{ | ||
"name": "@vueuse/head", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"packageManager": "pnpm@7.5.0", | ||
@@ -5,0 +5,0 @@ "description": "Document head manager for Vue 3. SSR ready.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16274
280
0