@unhead/vue
Advanced tools
Comparing version 1.9.16 to 1.10.0-beta.1
export { CapoPlugin, HashHydrationPlugin, createHeadCore } from 'unhead'; | ||
import * as _unhead_schema from '@unhead/schema'; | ||
import { SafeMeta, SafeLink, SafeNoscript, SafeScript, SafeHtmlAttr, SafeBodyAttr, MergeHead, CreateHeadOptions, ActiveHeadEntry, ScriptInstance, UseScriptStatus, ScriptBase, DataKeys, SchemaAugmentations, UseScriptOptions } from '@unhead/schema'; | ||
import { SafeMeta, SafeLink, SafeNoscript, SafeScript, SafeHtmlAttr, SafeBodyAttr, MergeHead, CreateHeadOptions, ActiveHeadEntry, ScriptInstance, UseScriptStatus, ScriptBase, DataKeys, SchemaAugmentations, AsAsyncFunctionValues, UseScriptOptions } from '@unhead/schema'; | ||
export { ActiveHeadEntry, Head, HeadEntryOptions, HeadTag, MergeHead, Unhead } from '@unhead/schema'; | ||
@@ -22,3 +22,3 @@ import { R as ReactiveHead, M as MaybeComputedRefEntries, a as MaybeComputedRef, V as VueHeadClient, U as UseHeadInput, b as UseHeadOptions, c as UseSeoMetaInput, d as MaybeComputedRefEntriesOnly } from './shared/vue.3d788732.js'; | ||
declare function resolveUnrefHeadInput(ref: any, lastKey?: string | number): any; | ||
declare function resolveUnrefHeadInput(ref: any): any; | ||
@@ -53,3 +53,3 @@ declare const VueHeadMixin: { | ||
interface VueScriptInstance<T> extends Omit<ScriptInstance<T>, 'status'> { | ||
interface VueScriptInstance<T extends Record<symbol | string, any>> extends Omit<ScriptInstance<T>, 'status'> { | ||
status: Ref<UseScriptStatus>; | ||
@@ -60,6 +60,10 @@ } | ||
}); | ||
declare function useScript<T extends Record<symbol | string, any>>(_input: UseScriptInput, _options?: UseScriptOptions<T>): T & { | ||
$script: VueScriptInstance<T> & Promise<T>; | ||
type UseScriptContext<T extends Record<symbol | string, any>> = (Promise<T> & VueScriptInstance<T>) & AsAsyncFunctionValues<T> & { | ||
/** | ||
* @deprecated Use top-level functions instead. | ||
*/ | ||
$script: Promise<T> & VueScriptInstance<T>; | ||
}; | ||
declare function useScript<T extends Record<symbol | string, any>>(_input: UseScriptInput, _options?: UseScriptOptions<T>): UseScriptContext<T>; | ||
export { type HeadSafe, MaybeComputedRef, MaybeComputedRefEntries, MaybeComputedRefEntriesOnly, ReactiveHead, UseHeadInput, UseHeadOptions, type UseHeadSafeInput, type UseScriptInput, UseSeoMetaInput, Vue2ProvideUnheadPlugin, VueHeadClient, VueHeadMixin, type VueScriptInstance, createHead, createServerHead, injectHead, resolveUnrefHeadInput, setHeadInjectionHandler, unheadVueComposablesImports, useHead, useHeadSafe, useScript, useSeoMeta, useServerHead, useServerHeadSafe, useServerSeoMeta }; | ||
export { type HeadSafe, MaybeComputedRef, MaybeComputedRefEntries, MaybeComputedRefEntriesOnly, ReactiveHead, UseHeadInput, UseHeadOptions, type UseHeadSafeInput, type UseScriptContext, type UseScriptInput, UseSeoMetaInput, Vue2ProvideUnheadPlugin, VueHeadClient, VueHeadMixin, type VueScriptInstance, createHead, createServerHead, injectHead, resolveUnrefHeadInput, setHeadInjectionHandler, unheadVueComposablesImports, useHead, useHeadSafe, useScript, useSeoMeta, useServerHead, useServerHeadSafe, useServerSeoMeta }; |
{ | ||
"name": "@unhead/vue", | ||
"type": "module", | ||
"version": "1.9.16", | ||
"version": "1.10.0-beta.1", | ||
"author": "Harlan Wilton <harlan@harlanzw.com>", | ||
@@ -62,11 +62,13 @@ "license": "MIT", | ||
}, | ||
"build": { | ||
"external": [ | ||
"vue" | ||
] | ||
}, | ||
"dependencies": { | ||
"hookable": "^5.5.3", | ||
"@unhead/shared": "1.9.16", | ||
"@unhead/schema": "1.9.16", | ||
"unhead": "1.9.16" | ||
"@unhead/schema": "1.10.0-beta.1", | ||
"@unhead/shared": "1.10.0-beta.1", | ||
"unhead": "1.10.0-beta.1" | ||
}, | ||
"devDependencies": { | ||
"vue": "^3.4.31" | ||
}, | ||
"scripts": { | ||
@@ -73,0 +75,0 @@ "build": "unbuild .", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
64853
0
990
1
+ Added@unhead/dom@1.10.0-beta.1(transitive)
+ Added@unhead/schema@1.10.0-beta.1(transitive)
+ Added@unhead/shared@1.10.0-beta.1(transitive)
+ Addedunhead@1.10.0-beta.1(transitive)
- Removed@unhead/dom@1.9.16(transitive)
- Removed@unhead/schema@1.9.16(transitive)
- Removed@unhead/shared@1.9.16(transitive)
- Removedunhead@1.9.16(transitive)
Updated@unhead/schema@1.10.0-beta.1
Updated@unhead/shared@1.10.0-beta.1
Updatedunhead@1.10.0-beta.1