unhead 2.0.0-alpha.21 → 2.0.0-alpha.22
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/client.d.mts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/legacy.d.mts +3 -3
- package/dist/legacy.d.ts +3 -3
- package/dist/plugins.d.mts +1 -1
- package/dist/plugins.d.ts +1 -1
- package/dist/scripts.d.mts +3 -3
- package/dist/scripts.d.ts +3 -3
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/shared/{unhead.B_YMvzY6.d.mts → unhead.B4pP8_2D.d.mts} +14 -2
- package/dist/shared/{unhead.B_YMvzY6.d.ts → unhead.B4pP8_2D.d.ts} +14 -2
- package/dist/shared/{unhead.Cd1JiNI3.d.mts → unhead.B7BBWq8B.d.mts} +1 -1
- package/dist/shared/{unhead.DsucyNhv.d.ts → unhead.CES0yIUs.d.ts} +1 -1
- package/dist/shared/{unhead.Da77tn0u.d.ts → unhead.D_YYNboR.d.ts} +1 -1
- package/dist/shared/{unhead.B-rJEnx9.d.mts → unhead.DcPrZw2e.d.mts} +1 -1
- package/dist/types.d.mts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { am as Head, n as CreateClientHeadOptions, p as Unhead, z as RenderDomHeadOptions } from './shared/unhead.
|
|
1
|
+
import { am as Head, n as CreateClientHeadOptions, p as Unhead, z as RenderDomHeadOptions } from './shared/unhead.B4pP8_2D.mjs';
|
|
2
2
|
import 'hookable';
|
|
3
3
|
|
|
4
4
|
declare function createHead<T = Head>(options?: CreateClientHeadOptions): Unhead<T>;
|
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { am as Head, n as CreateClientHeadOptions, p as Unhead, z as RenderDomHeadOptions } from './shared/unhead.
|
|
1
|
+
import { am as Head, n as CreateClientHeadOptions, p as Unhead, z as RenderDomHeadOptions } from './shared/unhead.B4pP8_2D.js';
|
|
2
2
|
import 'hookable';
|
|
3
3
|
|
|
4
4
|
declare function createHead<T = Head>(options?: CreateClientHeadOptions): Unhead<T>;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { H as HeadSafe } from './shared/unhead.
|
|
2
|
-
import { p as Unhead, o as HeadEntryOptions, l as ActiveHeadEntry, ao as UseSeoMetaInput, am as Head, C as CreateHeadOptions } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { H as HeadSafe } from './shared/unhead.B7BBWq8B.mjs';
|
|
2
|
+
import { p as Unhead, o as HeadEntryOptions, l as ActiveHeadEntry, ao as UseSeoMetaInput, am as Head, C as CreateHeadOptions } from './shared/unhead.B4pP8_2D.mjs';
|
|
3
|
+
export { u as useScript } from './shared/unhead.DcPrZw2e.mjs';
|
|
4
4
|
import 'hookable';
|
|
5
5
|
|
|
6
6
|
declare function useHead<T extends Unhead<any>>(unhead: T, input?: Parameters<T['push']>[0], options?: HeadEntryOptions): ReturnType<T['push']>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { H as HeadSafe } from './shared/unhead.
|
|
2
|
-
import { p as Unhead, o as HeadEntryOptions, l as ActiveHeadEntry, ao as UseSeoMetaInput, am as Head, C as CreateHeadOptions } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { H as HeadSafe } from './shared/unhead.D_YYNboR.js';
|
|
2
|
+
import { p as Unhead, o as HeadEntryOptions, l as ActiveHeadEntry, ao as UseSeoMetaInput, am as Head, C as CreateHeadOptions } from './shared/unhead.B4pP8_2D.js';
|
|
3
|
+
export { u as useScript } from './shared/unhead.CES0yIUs.js';
|
|
4
4
|
import 'hookable';
|
|
5
5
|
|
|
6
6
|
declare function useHead<T extends Unhead<any>>(unhead: T, input?: Parameters<T['push']>[0], options?: HeadEntryOptions): ReturnType<T['push']>;
|
package/dist/legacy.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { createHeadCore, useHead, useHeadSafe, useSeoMeta } from './index.mjs';
|
|
2
|
-
import { p as Unhead, am as Head, C as CreateHeadOptions } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
4
|
-
import './shared/unhead.
|
|
2
|
+
import { p as Unhead, am as Head, C as CreateHeadOptions } from './shared/unhead.B4pP8_2D.mjs';
|
|
3
|
+
export { u as useScript } from './shared/unhead.DcPrZw2e.mjs';
|
|
4
|
+
import './shared/unhead.B7BBWq8B.mjs';
|
|
5
5
|
import 'hookable';
|
|
6
6
|
|
|
7
7
|
declare const activeHead: {
|
package/dist/legacy.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { createHeadCore, useHead, useHeadSafe, useSeoMeta } from './index.js';
|
|
2
|
-
import { p as Unhead, am as Head, C as CreateHeadOptions } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
4
|
-
import './shared/unhead.
|
|
2
|
+
import { p as Unhead, am as Head, C as CreateHeadOptions } from './shared/unhead.B4pP8_2D.js';
|
|
3
|
+
export { u as useScript } from './shared/unhead.CES0yIUs.js';
|
|
4
|
+
import './shared/unhead.D_YYNboR.js';
|
|
5
5
|
import 'hookable';
|
|
6
6
|
|
|
7
7
|
declare const activeHead: {
|
package/dist/plugins.d.mts
CHANGED
package/dist/plugins.d.ts
CHANGED
package/dist/scripts.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { R as RecordingEntry } from './shared/unhead.
|
|
2
|
-
export { A as AsVoidFunctions, E as EventHandlerOptions, S as ScriptInstance, d as UseFunctionType, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { R as RecordingEntry } from './shared/unhead.B4pP8_2D.mjs';
|
|
2
|
+
export { A as AsVoidFunctions, E as EventHandlerOptions, S as ScriptInstance, d as UseFunctionType, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.B4pP8_2D.mjs';
|
|
3
|
+
export { u as useScript } from './shared/unhead.DcPrZw2e.mjs';
|
|
4
4
|
import 'hookable';
|
|
5
5
|
|
|
6
6
|
declare function createSpyProxy<T extends Record<string, any> | any[]>(target: T, onApply: (stack: RecordingEntry[][]) => void): T;
|
package/dist/scripts.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { R as RecordingEntry } from './shared/unhead.
|
|
2
|
-
export { A as AsVoidFunctions, E as EventHandlerOptions, S as ScriptInstance, d as UseFunctionType, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { R as RecordingEntry } from './shared/unhead.B4pP8_2D.js';
|
|
2
|
+
export { A as AsVoidFunctions, E as EventHandlerOptions, S as ScriptInstance, d as UseFunctionType, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.B4pP8_2D.js';
|
|
3
|
+
export { u as useScript } from './shared/unhead.CES0yIUs.js';
|
|
4
4
|
import 'hookable';
|
|
5
5
|
|
|
6
6
|
declare function createSpyProxy<T extends Record<string, any> | any[]>(target: T, onApply: (stack: RecordingEntry[][]) => void): T;
|
package/dist/server.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { am as Head, m as CreateServerHeadOptions, p as Unhead, s as RenderSSRHeadOptions, r as SSRHeadPayload, an as ResolvedHead, aB as HeadTag } from './shared/unhead.
|
|
1
|
+
import { am as Head, m as CreateServerHeadOptions, p as Unhead, s as RenderSSRHeadOptions, r as SSRHeadPayload, an as ResolvedHead, aB as HeadTag } from './shared/unhead.B4pP8_2D.mjs';
|
|
2
2
|
import 'hookable';
|
|
3
3
|
|
|
4
4
|
declare function createHead<T = Head>(options?: CreateServerHeadOptions): Unhead<T>;
|
package/dist/server.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { am as Head, m as CreateServerHeadOptions, p as Unhead, s as RenderSSRHeadOptions, r as SSRHeadPayload, an as ResolvedHead, aB as HeadTag } from './shared/unhead.
|
|
1
|
+
import { am as Head, m as CreateServerHeadOptions, p as Unhead, s as RenderSSRHeadOptions, r as SSRHeadPayload, an as ResolvedHead, aB as HeadTag } from './shared/unhead.B4pP8_2D.js';
|
|
2
2
|
import 'hookable';
|
|
3
3
|
|
|
4
4
|
declare function createHead<T = Head>(options?: CreateServerHeadOptions): Unhead<T>;
|
|
@@ -1766,21 +1766,33 @@ interface ResolvedSchemaAugmentations extends MergeHead {
|
|
|
1766
1766
|
type MaybeArray<T> = T | T[];
|
|
1767
1767
|
type BaseBodyAttr = BaseBodyAttributes;
|
|
1768
1768
|
type BaseHtmlAttr = HtmlAttributes$1;
|
|
1769
|
-
interface BodyAttr extends Omit<BaseBodyAttr, 'class'> {
|
|
1769
|
+
interface BodyAttr extends Omit<BaseBodyAttr, 'class' | 'style'> {
|
|
1770
1770
|
/**
|
|
1771
1771
|
* The class global attribute is a space-separated list of the case-sensitive classes of the element.
|
|
1772
1772
|
*
|
|
1773
1773
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class
|
|
1774
1774
|
*/
|
|
1775
1775
|
class?: MaybeArray<string> | Record<string, boolean>;
|
|
1776
|
+
/**
|
|
1777
|
+
* The style attribute contains CSS styling declarations to be applied to the element.
|
|
1778
|
+
*
|
|
1779
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style
|
|
1780
|
+
*/
|
|
1781
|
+
style?: MaybeArray<string> | Record<string, ResolvableValue<string>>;
|
|
1776
1782
|
}
|
|
1777
|
-
interface HtmlAttr extends Omit<HtmlAttributes$1, 'class'> {
|
|
1783
|
+
interface HtmlAttr extends Omit<HtmlAttributes$1, 'class' | 'style'> {
|
|
1778
1784
|
/**
|
|
1779
1785
|
* The class global attribute is a space-separated list of the case-sensitive classes of the element.
|
|
1780
1786
|
*
|
|
1781
1787
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class
|
|
1782
1788
|
*/
|
|
1783
1789
|
class?: MaybeArray<string> | Record<string, boolean>;
|
|
1790
|
+
/**
|
|
1791
|
+
* The style attribute contains CSS styling declarations to be applied to the element.
|
|
1792
|
+
*
|
|
1793
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style
|
|
1794
|
+
*/
|
|
1795
|
+
style?: MaybeArray<string> | Record<string, ResolvableValue<string>>;
|
|
1784
1796
|
}
|
|
1785
1797
|
interface BaseMeta extends Omit<Meta$1, 'content'> {
|
|
1786
1798
|
/**
|
|
@@ -1766,21 +1766,33 @@ interface ResolvedSchemaAugmentations extends MergeHead {
|
|
|
1766
1766
|
type MaybeArray<T> = T | T[];
|
|
1767
1767
|
type BaseBodyAttr = BaseBodyAttributes;
|
|
1768
1768
|
type BaseHtmlAttr = HtmlAttributes$1;
|
|
1769
|
-
interface BodyAttr extends Omit<BaseBodyAttr, 'class'> {
|
|
1769
|
+
interface BodyAttr extends Omit<BaseBodyAttr, 'class' | 'style'> {
|
|
1770
1770
|
/**
|
|
1771
1771
|
* The class global attribute is a space-separated list of the case-sensitive classes of the element.
|
|
1772
1772
|
*
|
|
1773
1773
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class
|
|
1774
1774
|
*/
|
|
1775
1775
|
class?: MaybeArray<string> | Record<string, boolean>;
|
|
1776
|
+
/**
|
|
1777
|
+
* The style attribute contains CSS styling declarations to be applied to the element.
|
|
1778
|
+
*
|
|
1779
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style
|
|
1780
|
+
*/
|
|
1781
|
+
style?: MaybeArray<string> | Record<string, ResolvableValue<string>>;
|
|
1776
1782
|
}
|
|
1777
|
-
interface HtmlAttr extends Omit<HtmlAttributes$1, 'class'> {
|
|
1783
|
+
interface HtmlAttr extends Omit<HtmlAttributes$1, 'class' | 'style'> {
|
|
1778
1784
|
/**
|
|
1779
1785
|
* The class global attribute is a space-separated list of the case-sensitive classes of the element.
|
|
1780
1786
|
*
|
|
1781
1787
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/class
|
|
1782
1788
|
*/
|
|
1783
1789
|
class?: MaybeArray<string> | Record<string, boolean>;
|
|
1790
|
+
/**
|
|
1791
|
+
* The style attribute contains CSS styling declarations to be applied to the element.
|
|
1792
|
+
*
|
|
1793
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/style
|
|
1794
|
+
*/
|
|
1795
|
+
style?: MaybeArray<string> | Record<string, ResolvableValue<string>>;
|
|
1784
1796
|
}
|
|
1785
1797
|
interface BaseMeta extends Omit<Meta$1, 'content'> {
|
|
1786
1798
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { am as Head, aL as ResolvableValue, aM as ResolvableProperties, L as LinkBase, G as DataKeys, O as SchemaAugmentations, _ as BaseMeta, a6 as Style, J as ScriptBase, a8 as Noscript, a9 as HtmlAttributes, aa as BodyAttributes } from './unhead.
|
|
1
|
+
import { am as Head, aL as ResolvableValue, aM as ResolvableProperties, L as LinkBase, G as DataKeys, O as SchemaAugmentations, _ as BaseMeta, a6 as Style, J as ScriptBase, a8 as Noscript, a9 as HtmlAttributes, aa as BodyAttributes } from './unhead.B4pP8_2D.mjs';
|
|
2
2
|
|
|
3
3
|
type SafeBodyAttr = ResolvableProperties<Pick<BodyAttributes, 'id' | 'class' | 'style'> & DataKeys & SchemaAugmentations['bodyAttrs']>;
|
|
4
4
|
type SafeHtmlAttr = ResolvableProperties<Pick<HtmlAttributes, 'id' | 'class' | 'style' | 'lang' | 'dir'> & DataKeys & SchemaAugmentations['htmlAttrs']>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Unhead, c as UseScriptInput, e as UseScriptOptions, f as UseScriptReturn } from './unhead.
|
|
1
|
+
import { p as Unhead, c as UseScriptInput, e as UseScriptOptions, f as UseScriptReturn } from './unhead.B4pP8_2D.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Load third-party scripts with SSR support and a proxied API.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { am as Head, aL as ResolvableValue, aM as ResolvableProperties, L as LinkBase, G as DataKeys, O as SchemaAugmentations, _ as BaseMeta, a6 as Style, J as ScriptBase, a8 as Noscript, a9 as HtmlAttributes, aa as BodyAttributes } from './unhead.
|
|
1
|
+
import { am as Head, aL as ResolvableValue, aM as ResolvableProperties, L as LinkBase, G as DataKeys, O as SchemaAugmentations, _ as BaseMeta, a6 as Style, J as ScriptBase, a8 as Noscript, a9 as HtmlAttributes, aa as BodyAttributes } from './unhead.B4pP8_2D.js';
|
|
2
2
|
|
|
3
3
|
type SafeBodyAttr = ResolvableProperties<Pick<BodyAttributes, 'id' | 'class' | 'style'> & DataKeys & SchemaAugmentations['bodyAttrs']>;
|
|
4
4
|
type SafeHtmlAttr = ResolvableProperties<Pick<HtmlAttributes, 'id' | 'class' | 'style' | 'lang' | 'dir'> & DataKeys & SchemaAugmentations['htmlAttrs']>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Unhead, c as UseScriptInput, e as UseScriptOptions, f as UseScriptReturn } from './unhead.
|
|
1
|
+
import { p as Unhead, c as UseScriptInput, e as UseScriptOptions, f as UseScriptReturn } from './unhead.B4pP8_2D.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Load third-party scripts with SSR support and a proxied API.
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { l as ActiveHeadEntry, aF as Arrayable, A as AsVoidFunctions, a3 as Base, V as BaseBodyAttr, X as BaseHtmlAttr, _ as BaseMeta, Y as BodyAttr, aa as BodyAttributes, F as BodyEvents, aD as Booleanable, n as CreateClientHeadOptions, C as CreateHeadOptions, m as CreateServerHeadOptions, G as DataKeys, aO as DeepResolvableProperties, aG as DefinedValueOrEmptyObject, v as DomBeforeRenderCtx, B as DomPluginOptions, u as DomRenderTagContext, D as DomState, $ as EntryAugmentation, t as EntryResolveCtx, E as EventHandlerOptions, aK as Falsey, aA as HasTemplateParams, am as Head, H as HeadEntry, o as HeadEntryOptions, y as HeadHooks, k as HeadPlugin, j as HeadPluginInput, i as HeadPluginOptions, aB as HeadTag, aC as HeadTagKeys, al as HeadUtils, q as HookResult, Z as HtmlAttr, a9 as HtmlAttributes, I as HttpEventAttributes, au as InnerContent, at as InnerContentVal, a4 as Link, L as LinkBase, T as MaybeArray, a0 as MaybeEventFnHandlers, aH as Merge, aI as MergeHead, a5 as Meta, M as MetaFlatInput, aJ as Never, a8 as Noscript, az as ProcessesTemplateParams, P as PropResolver, R as RecordingEntry, z as RenderDomHeadOptions, s as RenderSSRHeadOptions, aM as ResolvableProperties, aN as ResolvableUnion, aL as ResolvableValue, ad as ResolvedBase, ak as ResolvedBodyAttributes, an as ResolvedHead, aj as ResolvedHtmlAttributes, ae as ResolvedLink, af as ResolvedMeta, ai as ResolvedNoscript, Q as ResolvedSchemaAugmentations, ah as ResolvedScript, ag as ResolvedStyle, ab as ResolvedTitle, ac as ResolvedTitleTemplate, aq as ResolvesDuplicates, h as RuntimeMode, r as SSRHeadPayload, x as SSRRenderContext, O as SchemaAugmentations, a7 as Script, J as ScriptBase, S as ScriptInstance, w as ShouldRenderContext, g as SideEffectsRecord, aE as Stringable, a6 as Style, ax as TagKey, as as TagPosition, av as TagPriority, aw as TagUserProperties, ay as TemplateParams, a1 as Title, a2 as TitleTemplate, p as Unhead, d as UseFunctionType, ap as UseHeadInput, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, ao as UseSeoMetaInput, N as UserAttributesConfig, K as UserTagConfigWithoutInnerContent, ar as ValidTagPositions, W as WarmupStrategy } from './shared/unhead.
|
|
2
|
-
export { H as HeadSafe, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
export { l as ActiveHeadEntry, aF as Arrayable, A as AsVoidFunctions, a3 as Base, V as BaseBodyAttr, X as BaseHtmlAttr, _ as BaseMeta, Y as BodyAttr, aa as BodyAttributes, F as BodyEvents, aD as Booleanable, n as CreateClientHeadOptions, C as CreateHeadOptions, m as CreateServerHeadOptions, G as DataKeys, aO as DeepResolvableProperties, aG as DefinedValueOrEmptyObject, v as DomBeforeRenderCtx, B as DomPluginOptions, u as DomRenderTagContext, D as DomState, $ as EntryAugmentation, t as EntryResolveCtx, E as EventHandlerOptions, aK as Falsey, aA as HasTemplateParams, am as Head, H as HeadEntry, o as HeadEntryOptions, y as HeadHooks, k as HeadPlugin, j as HeadPluginInput, i as HeadPluginOptions, aB as HeadTag, aC as HeadTagKeys, al as HeadUtils, q as HookResult, Z as HtmlAttr, a9 as HtmlAttributes, I as HttpEventAttributes, au as InnerContent, at as InnerContentVal, a4 as Link, L as LinkBase, T as MaybeArray, a0 as MaybeEventFnHandlers, aH as Merge, aI as MergeHead, a5 as Meta, M as MetaFlatInput, aJ as Never, a8 as Noscript, az as ProcessesTemplateParams, P as PropResolver, R as RecordingEntry, z as RenderDomHeadOptions, s as RenderSSRHeadOptions, aM as ResolvableProperties, aN as ResolvableUnion, aL as ResolvableValue, ad as ResolvedBase, ak as ResolvedBodyAttributes, an as ResolvedHead, aj as ResolvedHtmlAttributes, ae as ResolvedLink, af as ResolvedMeta, ai as ResolvedNoscript, Q as ResolvedSchemaAugmentations, ah as ResolvedScript, ag as ResolvedStyle, ab as ResolvedTitle, ac as ResolvedTitleTemplate, aq as ResolvesDuplicates, h as RuntimeMode, r as SSRHeadPayload, x as SSRRenderContext, O as SchemaAugmentations, a7 as Script, J as ScriptBase, S as ScriptInstance, w as ShouldRenderContext, g as SideEffectsRecord, aE as Stringable, a6 as Style, ax as TagKey, as as TagPosition, av as TagPriority, aw as TagUserProperties, ay as TemplateParams, a1 as Title, a2 as TitleTemplate, p as Unhead, d as UseFunctionType, ap as UseHeadInput, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, ao as UseSeoMetaInput, N as UserAttributesConfig, K as UserTagConfigWithoutInnerContent, ar as ValidTagPositions, W as WarmupStrategy } from './shared/unhead.B4pP8_2D.mjs';
|
|
2
|
+
export { H as HeadSafe, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle } from './shared/unhead.B7BBWq8B.mjs';
|
|
3
|
+
export { u as useScript } from './shared/unhead.DcPrZw2e.mjs';
|
|
4
4
|
export { createSpyProxy } from './scripts.mjs';
|
|
5
5
|
import 'hookable';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { l as ActiveHeadEntry, aF as Arrayable, A as AsVoidFunctions, a3 as Base, V as BaseBodyAttr, X as BaseHtmlAttr, _ as BaseMeta, Y as BodyAttr, aa as BodyAttributes, F as BodyEvents, aD as Booleanable, n as CreateClientHeadOptions, C as CreateHeadOptions, m as CreateServerHeadOptions, G as DataKeys, aO as DeepResolvableProperties, aG as DefinedValueOrEmptyObject, v as DomBeforeRenderCtx, B as DomPluginOptions, u as DomRenderTagContext, D as DomState, $ as EntryAugmentation, t as EntryResolveCtx, E as EventHandlerOptions, aK as Falsey, aA as HasTemplateParams, am as Head, H as HeadEntry, o as HeadEntryOptions, y as HeadHooks, k as HeadPlugin, j as HeadPluginInput, i as HeadPluginOptions, aB as HeadTag, aC as HeadTagKeys, al as HeadUtils, q as HookResult, Z as HtmlAttr, a9 as HtmlAttributes, I as HttpEventAttributes, au as InnerContent, at as InnerContentVal, a4 as Link, L as LinkBase, T as MaybeArray, a0 as MaybeEventFnHandlers, aH as Merge, aI as MergeHead, a5 as Meta, M as MetaFlatInput, aJ as Never, a8 as Noscript, az as ProcessesTemplateParams, P as PropResolver, R as RecordingEntry, z as RenderDomHeadOptions, s as RenderSSRHeadOptions, aM as ResolvableProperties, aN as ResolvableUnion, aL as ResolvableValue, ad as ResolvedBase, ak as ResolvedBodyAttributes, an as ResolvedHead, aj as ResolvedHtmlAttributes, ae as ResolvedLink, af as ResolvedMeta, ai as ResolvedNoscript, Q as ResolvedSchemaAugmentations, ah as ResolvedScript, ag as ResolvedStyle, ab as ResolvedTitle, ac as ResolvedTitleTemplate, aq as ResolvesDuplicates, h as RuntimeMode, r as SSRHeadPayload, x as SSRRenderContext, O as SchemaAugmentations, a7 as Script, J as ScriptBase, S as ScriptInstance, w as ShouldRenderContext, g as SideEffectsRecord, aE as Stringable, a6 as Style, ax as TagKey, as as TagPosition, av as TagPriority, aw as TagUserProperties, ay as TemplateParams, a1 as Title, a2 as TitleTemplate, p as Unhead, d as UseFunctionType, ap as UseHeadInput, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, ao as UseSeoMetaInput, N as UserAttributesConfig, K as UserTagConfigWithoutInnerContent, ar as ValidTagPositions, W as WarmupStrategy } from './shared/unhead.
|
|
2
|
-
export { H as HeadSafe, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
export { l as ActiveHeadEntry, aF as Arrayable, A as AsVoidFunctions, a3 as Base, V as BaseBodyAttr, X as BaseHtmlAttr, _ as BaseMeta, Y as BodyAttr, aa as BodyAttributes, F as BodyEvents, aD as Booleanable, n as CreateClientHeadOptions, C as CreateHeadOptions, m as CreateServerHeadOptions, G as DataKeys, aO as DeepResolvableProperties, aG as DefinedValueOrEmptyObject, v as DomBeforeRenderCtx, B as DomPluginOptions, u as DomRenderTagContext, D as DomState, $ as EntryAugmentation, t as EntryResolveCtx, E as EventHandlerOptions, aK as Falsey, aA as HasTemplateParams, am as Head, H as HeadEntry, o as HeadEntryOptions, y as HeadHooks, k as HeadPlugin, j as HeadPluginInput, i as HeadPluginOptions, aB as HeadTag, aC as HeadTagKeys, al as HeadUtils, q as HookResult, Z as HtmlAttr, a9 as HtmlAttributes, I as HttpEventAttributes, au as InnerContent, at as InnerContentVal, a4 as Link, L as LinkBase, T as MaybeArray, a0 as MaybeEventFnHandlers, aH as Merge, aI as MergeHead, a5 as Meta, M as MetaFlatInput, aJ as Never, a8 as Noscript, az as ProcessesTemplateParams, P as PropResolver, R as RecordingEntry, z as RenderDomHeadOptions, s as RenderSSRHeadOptions, aM as ResolvableProperties, aN as ResolvableUnion, aL as ResolvableValue, ad as ResolvedBase, ak as ResolvedBodyAttributes, an as ResolvedHead, aj as ResolvedHtmlAttributes, ae as ResolvedLink, af as ResolvedMeta, ai as ResolvedNoscript, Q as ResolvedSchemaAugmentations, ah as ResolvedScript, ag as ResolvedStyle, ab as ResolvedTitle, ac as ResolvedTitleTemplate, aq as ResolvesDuplicates, h as RuntimeMode, r as SSRHeadPayload, x as SSRRenderContext, O as SchemaAugmentations, a7 as Script, J as ScriptBase, S as ScriptInstance, w as ShouldRenderContext, g as SideEffectsRecord, aE as Stringable, a6 as Style, ax as TagKey, as as TagPosition, av as TagPriority, aw as TagUserProperties, ay as TemplateParams, a1 as Title, a2 as TitleTemplate, p as Unhead, d as UseFunctionType, ap as UseHeadInput, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, ao as UseSeoMetaInput, N as UserAttributesConfig, K as UserTagConfigWithoutInnerContent, ar as ValidTagPositions, W as WarmupStrategy } from './shared/unhead.B4pP8_2D.js';
|
|
2
|
+
export { H as HeadSafe, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle } from './shared/unhead.D_YYNboR.js';
|
|
3
|
+
export { u as useScript } from './shared/unhead.CES0yIUs.js';
|
|
4
4
|
export { createSpyProxy } from './scripts.js';
|
|
5
5
|
import 'hookable';
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aB as HeadTag, _ as BaseMeta, aP as ResolvedMetaFlat, am as Head, P as PropResolver, p as Unhead, ay as TemplateParams } from './shared/unhead.
|
|
1
|
+
import { aB as HeadTag, _ as BaseMeta, aP as ResolvedMetaFlat, am as Head, P as PropResolver, p as Unhead, ay as TemplateParams } from './shared/unhead.B4pP8_2D.mjs';
|
|
2
2
|
import 'hookable';
|
|
3
3
|
|
|
4
4
|
declare const SelfClosingTags: Set<string>;
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aB as HeadTag, _ as BaseMeta, aP as ResolvedMetaFlat, am as Head, P as PropResolver, p as Unhead, ay as TemplateParams } from './shared/unhead.
|
|
1
|
+
import { aB as HeadTag, _ as BaseMeta, aP as ResolvedMetaFlat, am as Head, P as PropResolver, p as Unhead, ay as TemplateParams } from './shared/unhead.B4pP8_2D.js';
|
|
2
2
|
import 'hookable';
|
|
3
3
|
|
|
4
4
|
declare const SelfClosingTags: Set<string>;
|