@unhead/vue 2.0.0-alpha.21 → 2.0.0-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/legacy.d.mts +9 -0
- package/dist/legacy.d.ts +9 -0
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -18,8 +18,17 @@ declare function injectHead(): VueHeadClient<MergeHead>;
|
|
|
18
18
|
declare function useHead<T extends MergeHead>(input?: UseHeadInput<T>, options?: UseHeadOptions): ActiveHeadEntry<UseHeadInput<T>>;
|
|
19
19
|
declare function useHeadSafe(input?: UseHeadSafeInput, options?: UseHeadOptions): ActiveHeadEntry<any>;
|
|
20
20
|
declare function useSeoMeta(input?: UseSeoMetaInput, options?: UseHeadOptions): ActiveHeadEntry<any>;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated use `useHead` instead.Advanced use cases should tree shake using import.meta.* if statements.
|
|
23
|
+
*/
|
|
21
24
|
declare function useServerHead<T extends MergeHead>(input?: UseHeadInput<T>, options?: UseHeadOptions): ActiveHeadEntry<any>;
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated use `useHeadSafe` instead.Advanced use cases should tree shake using import.meta.* if statements.
|
|
27
|
+
*/
|
|
22
28
|
declare function useServerHeadSafe(input?: UseHeadSafeInput, options?: UseHeadOptions): ActiveHeadEntry<any>;
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated use `useSeoMeta` instead.Advanced use cases should tree shake using import.meta.* if statements.
|
|
31
|
+
*/
|
|
23
32
|
declare function useServerSeoMeta(input?: UseSeoMetaInput, options?: UseHeadOptions): ActiveHeadEntry<UseSeoMetaInput>;
|
|
24
33
|
|
|
25
34
|
declare const headSymbol = "usehead";
|
package/dist/index.d.ts
CHANGED
|
@@ -18,8 +18,17 @@ declare function injectHead(): VueHeadClient<MergeHead>;
|
|
|
18
18
|
declare function useHead<T extends MergeHead>(input?: UseHeadInput<T>, options?: UseHeadOptions): ActiveHeadEntry<UseHeadInput<T>>;
|
|
19
19
|
declare function useHeadSafe(input?: UseHeadSafeInput, options?: UseHeadOptions): ActiveHeadEntry<any>;
|
|
20
20
|
declare function useSeoMeta(input?: UseSeoMetaInput, options?: UseHeadOptions): ActiveHeadEntry<any>;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated use `useHead` instead.Advanced use cases should tree shake using import.meta.* if statements.
|
|
23
|
+
*/
|
|
21
24
|
declare function useServerHead<T extends MergeHead>(input?: UseHeadInput<T>, options?: UseHeadOptions): ActiveHeadEntry<any>;
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated use `useHeadSafe` instead.Advanced use cases should tree shake using import.meta.* if statements.
|
|
27
|
+
*/
|
|
22
28
|
declare function useServerHeadSafe(input?: UseHeadSafeInput, options?: UseHeadOptions): ActiveHeadEntry<any>;
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated use `useSeoMeta` instead.Advanced use cases should tree shake using import.meta.* if statements.
|
|
31
|
+
*/
|
|
23
32
|
declare function useServerSeoMeta(input?: UseSeoMetaInput, options?: UseHeadOptions): ActiveHeadEntry<UseSeoMetaInput>;
|
|
24
33
|
|
|
25
34
|
declare const headSymbol = "usehead";
|
package/dist/legacy.d.mts
CHANGED
|
@@ -17,8 +17,17 @@ declare function injectHead(): VueHeadClient<any> | undefined;
|
|
|
17
17
|
declare function useHead<T extends MergeHead>(input: UseHeadInput<T>, options?: UseHeadOptions): ActiveHeadEntry<UseHeadInput<T>> | void;
|
|
18
18
|
declare function useHeadSafe(input: UseHeadSafeInput, options?: UseHeadOptions): ActiveHeadEntry<any> | void;
|
|
19
19
|
declare function useSeoMeta(input: UseSeoMetaInput, options?: UseHeadOptions): ActiveHeadEntry<any> | void;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated use `useHead` instead. Advanced use cases should tree shake using import.meta.* if statements.
|
|
22
|
+
*/
|
|
20
23
|
declare function useServerHead<T extends MergeHead>(input: UseHeadInput<T>, options?: UseHeadOptions): ActiveHeadEntry<any> | void;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated use `useHeadSafe` instead. Advanced use cases should tree shake using import.meta.* if statements.
|
|
26
|
+
*/
|
|
21
27
|
declare function useServerHeadSafe(input: UseHeadSafeInput, options?: UseHeadOptions): ActiveHeadEntry<any> | void;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated use `useSeoMeta` instead. Advanced use cases should tree shake using import.meta.* if statements.
|
|
30
|
+
*/
|
|
22
31
|
declare function useServerSeoMeta(input: UseSeoMetaInput, options?: UseHeadOptions): ActiveHeadEntry<any> | void;
|
|
23
32
|
|
|
24
33
|
export { CapoPlugin, createHead, createServerHead, injectHead, resolveUnrefHeadInput, setHeadInjectionHandler, useHead, useHeadSafe, useSeoMeta, useServerHead, useServerHeadSafe, useServerSeoMeta };
|
package/dist/legacy.d.ts
CHANGED
|
@@ -17,8 +17,17 @@ declare function injectHead(): VueHeadClient<any> | undefined;
|
|
|
17
17
|
declare function useHead<T extends MergeHead>(input: UseHeadInput<T>, options?: UseHeadOptions): ActiveHeadEntry<UseHeadInput<T>> | void;
|
|
18
18
|
declare function useHeadSafe(input: UseHeadSafeInput, options?: UseHeadOptions): ActiveHeadEntry<any> | void;
|
|
19
19
|
declare function useSeoMeta(input: UseSeoMetaInput, options?: UseHeadOptions): ActiveHeadEntry<any> | void;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated use `useHead` instead. Advanced use cases should tree shake using import.meta.* if statements.
|
|
22
|
+
*/
|
|
20
23
|
declare function useServerHead<T extends MergeHead>(input: UseHeadInput<T>, options?: UseHeadOptions): ActiveHeadEntry<any> | void;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated use `useHeadSafe` instead. Advanced use cases should tree shake using import.meta.* if statements.
|
|
26
|
+
*/
|
|
21
27
|
declare function useServerHeadSafe(input: UseHeadSafeInput, options?: UseHeadOptions): ActiveHeadEntry<any> | void;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated use `useSeoMeta` instead. Advanced use cases should tree shake using import.meta.* if statements.
|
|
30
|
+
*/
|
|
22
31
|
declare function useServerSeoMeta(input: UseSeoMetaInput, options?: UseHeadOptions): ActiveHeadEntry<any> | void;
|
|
23
32
|
|
|
24
33
|
export { CapoPlugin, createHead, createServerHead, injectHead, resolveUnrefHeadInput, setHeadInjectionHandler, useHead, useHeadSafe, useSeoMeta, useServerHead, useServerHeadSafe, useServerSeoMeta };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.23",
|
|
5
5
|
"description": "Full-stack <head> manager built for Vue.",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"hookable": "^5.5.3",
|
|
104
|
-
"unhead": "2.0.0-alpha.
|
|
104
|
+
"unhead": "2.0.0-alpha.23"
|
|
105
105
|
},
|
|
106
106
|
"scripts": {
|
|
107
107
|
"build": "unbuild .",
|