@unhead/vue 1.1.14 → 1.1.16
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.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.mjs +1 -1
- package/dist/shared/{vue.97abe623.cjs → vue.3af8ac9e.cjs} +1 -0
- package/dist/shared/{vue.b6e29710.mjs → vue.3c82dacb.mjs} +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const unhead = require('unhead');
|
|
4
|
-
const useHead = require('./shared/vue.
|
|
4
|
+
const useHead = require('./shared/vue.3af8ac9e.cjs');
|
|
5
5
|
const vue = require('vue');
|
|
6
6
|
const shared = require('@unhead/shared');
|
|
7
7
|
|
|
@@ -57,7 +57,7 @@ const useSeoMeta = (input, options) => {
|
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
function useServerHead(input, options = {}) {
|
|
60
|
-
return useHead.
|
|
60
|
+
return useHead.serverUseHead(input, { ...options, mode: "server" });
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
function useServerHeadSafe(input, options = {}) {
|
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ type UseSeoMetaInput = MaybeComputedRefEntries<MetaFlatInput> & {
|
|
|
36
36
|
};
|
|
37
37
|
declare const useSeoMeta: (input: UseSeoMetaInput, options?: HeadEntryOptions) => ActiveHeadEntry<any> | void;
|
|
38
38
|
|
|
39
|
-
declare function useServerHead<T extends MergeHead>(input: UseHeadInput<T>, options?: HeadEntryOptions):
|
|
39
|
+
declare function useServerHead<T extends MergeHead>(input: UseHeadInput<T>, options?: HeadEntryOptions): _unhead_schema.ActiveHeadEntry<UseHeadInput<T>>;
|
|
40
40
|
|
|
41
41
|
declare function useServerHeadSafe(input: UseHeadSafeInput, options?: HeadEntryOptions): void | _unhead_schema.ActiveHeadEntry<UseHeadSafeInput>;
|
|
42
42
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { whitelistSafeInput, unpackMeta, composableNames } from 'unhead';
|
|
2
2
|
export { createHeadCore } from 'unhead';
|
|
3
|
-
import { u as useHead, h as headSymbol, r as resolveUnrefHeadInput } from './shared/vue.
|
|
4
|
-
export { V as VueReactiveUseHeadPlugin, a as createHead, c as createServerHead, i as injectHead } from './shared/vue.
|
|
3
|
+
import { u as useHead, h as headSymbol, r as resolveUnrefHeadInput, s as serverUseHead } from './shared/vue.3c82dacb.mjs';
|
|
4
|
+
export { V as VueReactiveUseHeadPlugin, a as createHead, c as createServerHead, i as injectHead } from './shared/vue.3c82dacb.mjs';
|
|
5
5
|
import { getCurrentInstance, ref, watchEffect } from 'vue';
|
|
6
6
|
import { asArray } from '@unhead/shared';
|
|
7
7
|
|
|
@@ -57,7 +57,7 @@ const useSeoMeta = (input, options) => {
|
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
function useServerHead(input, options = {}) {
|
|
60
|
-
return
|
|
60
|
+
return serverUseHead(input, { ...options, mode: "server" });
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
function useServerHeadSafe(input, options = {}) {
|
package/dist/polyfill.cjs
CHANGED
package/dist/polyfill.mjs
CHANGED
|
@@ -127,4 +127,4 @@ function useHead(input, options = {}) {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
export { VueReactiveUseHeadPlugin as V, createHead as a, createServerHead as c, headSymbol as h, injectHead as i, resolveUnrefHeadInput as r, useHead as u };
|
|
130
|
+
export { VueReactiveUseHeadPlugin as V, createHead as a, createServerHead as c, headSymbol as h, injectHead as i, resolveUnrefHeadInput as r, serverUseHead as s, useHead as u };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.16",
|
|
5
5
|
"packageManager": "pnpm@7.28.0",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"hookable": "^5.4.2",
|
|
42
|
-
"@unhead/schema": "1.1.
|
|
43
|
-
"@unhead/shared": "1.1.
|
|
44
|
-
"unhead": "1.1.
|
|
42
|
+
"@unhead/schema": "1.1.16",
|
|
43
|
+
"@unhead/shared": "1.1.16",
|
|
44
|
+
"unhead": "1.1.16"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"vue": "^3.2.47"
|