unhead 3.0.3 → 3.0.5
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 +5 -5
- package/dist/client.d.ts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/legacy.d.mts +3 -3
- package/dist/legacy.d.ts +3 -3
- package/dist/parser.d.mts +1 -1
- package/dist/parser.d.ts +1 -1
- package/dist/plugins.d.mts +2 -2
- package/dist/plugins.d.ts +2 -2
- package/dist/scripts.d.mts +4 -4
- package/dist/scripts.d.ts +4 -4
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/shared/{unhead.DMQDfSsC.d.ts → unhead.-D8hRpkn.d.ts} +2 -2
- package/dist/shared/{unhead.myNKutCo.d.mts → unhead.B2jfOxG1.d.mts} +2 -2
- package/dist/shared/{unhead.DR0woClT.d.mts → unhead.B7bBMqva.d.mts} +1 -1
- package/dist/shared/{unhead.BHSg79VK.d.ts → unhead.BRwJvCZb.d.ts} +2 -2
- package/dist/shared/{unhead.vAjfKrQR.d.mts → unhead.BX9134DF.d.mts} +1 -1
- package/dist/shared/{unhead.DFLvtb3Z.d.mts → unhead.BoZ-Ul8T.d.mts} +1 -1
- package/dist/shared/{unhead.BAm7OHQx.d.mts → unhead.ClE7lB2Z.d.mts} +1 -1
- package/dist/shared/{unhead.DeVAJflP.d.ts → unhead.CqVawd25.d.ts} +1 -1
- package/dist/shared/{unhead.CSqfLsrn.d.mts → unhead.Cv5yrrUd.d.mts} +2 -2
- package/dist/shared/{unhead.BdWlwKav.d.mts → unhead.Dc5Pn4qI.d.mts} +2 -2
- package/dist/shared/{unhead.BkiQF63F.d.ts → unhead.DdarjSpi.d.ts} +2 -2
- package/dist/shared/{unhead.DBv5uRwR.d.mts → unhead.DeoGMp34.d.mts} +43 -3
- package/dist/shared/{unhead.DBv5uRwR.d.ts → unhead.DeoGMp34.d.ts} +43 -3
- package/dist/shared/{unhead.BPps6U7z.d.ts → unhead.cXt2Dgt5.d.ts} +1 -1
- package/dist/shared/{unhead.CZmLNN-R.d.ts → unhead.gui9LmZS.d.ts} +1 -1
- package/dist/shared/{unhead.BTcZ161H.d.ts → unhead.q49lHHFN.d.ts} +1 -1
- package/dist/stream/client.d.mts +3 -3
- package/dist/stream/client.d.ts +3 -3
- package/dist/stream/server.d.mts +3 -3
- package/dist/stream/server.d.ts +3 -3
- package/dist/types.d.mts +6 -6
- package/dist/types.d.ts +6 -6
- package/dist/utils.d.mts +2 -2
- package/dist/utils.d.ts +2 -2
- package/package.json +5 -4
package/dist/client.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { C as ClientUnhead, c as createHead } from './shared/unhead.
|
|
2
|
-
import { R as RenderDomHeadOptions } from './shared/unhead.
|
|
3
|
-
import { p as HeadRenderer, U as Unhead } from './shared/unhead.
|
|
4
|
-
export { c as CreateClientHeadOptions } from './shared/unhead.
|
|
1
|
+
export { C as ClientUnhead, c as createHead } from './shared/unhead.Cv5yrrUd.mjs';
|
|
2
|
+
import { R as RenderDomHeadOptions } from './shared/unhead.B7bBMqva.mjs';
|
|
3
|
+
import { p as HeadRenderer, U as Unhead } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
4
|
+
export { c as CreateClientHeadOptions } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
5
5
|
import 'hookable';
|
|
6
|
-
import './shared/unhead.
|
|
6
|
+
import './shared/unhead.DeoGMp34.mjs';
|
|
7
7
|
|
|
8
8
|
declare function createDomRenderer(options?: RenderDomHeadOptions): HeadRenderer<boolean>;
|
|
9
9
|
|
package/dist/client.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { C as ClientUnhead, c as createHead } from './shared/unhead.
|
|
2
|
-
import { R as RenderDomHeadOptions } from './shared/unhead.
|
|
3
|
-
import { p as HeadRenderer, U as Unhead } from './shared/unhead.
|
|
4
|
-
export { c as CreateClientHeadOptions } from './shared/unhead.
|
|
1
|
+
export { C as ClientUnhead, c as createHead } from './shared/unhead.-D8hRpkn.js';
|
|
2
|
+
import { R as RenderDomHeadOptions } from './shared/unhead.cXt2Dgt5.js';
|
|
3
|
+
import { p as HeadRenderer, U as Unhead } from './shared/unhead.gui9LmZS.js';
|
|
4
|
+
export { c as CreateClientHeadOptions } from './shared/unhead.gui9LmZS.js';
|
|
5
5
|
import 'hookable';
|
|
6
|
-
import './shared/unhead.
|
|
6
|
+
import './shared/unhead.DeoGMp34.js';
|
|
7
7
|
|
|
8
8
|
declare function createDomRenderer(options?: RenderDomHeadOptions): HeadRenderer<boolean>;
|
|
9
9
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { U as Unhead, k as HeadEntryOptions, A as ActiveHeadEntry } from './shared/unhead.
|
|
2
|
-
import {
|
|
3
|
-
import { H as HeadSafe } from './shared/unhead.
|
|
4
|
-
export { c as createUnhead } from './shared/unhead.
|
|
5
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { U as Unhead, k as HeadEntryOptions, A as ActiveHeadEntry } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
2
|
+
import { aw as ResolvableHead, b5 as UseSeoMetaInput, M as InferLink, X as Link, N as InferScript, aL as Script } from './shared/unhead.DeoGMp34.mjs';
|
|
3
|
+
import { H as HeadSafe } from './shared/unhead.BX9134DF.mjs';
|
|
4
|
+
export { c as createUnhead } from './shared/unhead.Dc5Pn4qI.mjs';
|
|
5
|
+
export { u as useScript } from './shared/unhead.ClE7lB2Z.mjs';
|
|
6
6
|
import 'hookable';
|
|
7
7
|
|
|
8
8
|
declare function useHead<T extends Unhead<any>, I = ResolvableHead>(unhead: T, input?: ResolvableHead, options?: HeadEntryOptions): ActiveHeadEntry<I>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { U as Unhead, k as HeadEntryOptions, A as ActiveHeadEntry } from './shared/unhead.
|
|
2
|
-
import {
|
|
3
|
-
import { H as HeadSafe } from './shared/unhead.
|
|
4
|
-
export { c as createUnhead } from './shared/unhead.
|
|
5
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { U as Unhead, k as HeadEntryOptions, A as ActiveHeadEntry } from './shared/unhead.gui9LmZS.js';
|
|
2
|
+
import { aw as ResolvableHead, b5 as UseSeoMetaInput, M as InferLink, X as Link, N as InferScript, aL as Script } from './shared/unhead.DeoGMp34.js';
|
|
3
|
+
import { H as HeadSafe } from './shared/unhead.q49lHHFN.js';
|
|
4
|
+
export { c as createUnhead } from './shared/unhead.BRwJvCZb.js';
|
|
5
|
+
export { u as useScript } from './shared/unhead.CqVawd25.js';
|
|
6
6
|
import 'hookable';
|
|
7
7
|
|
|
8
8
|
declare function useHead<T extends Unhead<any>, I = ResolvableHead>(unhead: T, input?: ResolvableHead, options?: HeadEntryOptions): ActiveHeadEntry<I>;
|
package/dist/legacy.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as createUnhead } from './shared/unhead.
|
|
2
|
-
import { n as HeadPluginInput, U as Unhead, c as CreateClientHeadOptions, e as CreateServerHeadOptions } from './shared/unhead.
|
|
3
|
-
import {
|
|
1
|
+
import { c as createUnhead } from './shared/unhead.Dc5Pn4qI.mjs';
|
|
2
|
+
import { n as HeadPluginInput, U as Unhead, c as CreateClientHeadOptions, e as CreateServerHeadOptions } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
3
|
+
import { aw as ResolvableHead } from './shared/unhead.DeoGMp34.mjs';
|
|
4
4
|
import 'hookable';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/legacy.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as createUnhead } from './shared/unhead.
|
|
2
|
-
import { n as HeadPluginInput, U as Unhead, c as CreateClientHeadOptions, e as CreateServerHeadOptions } from './shared/unhead.
|
|
3
|
-
import {
|
|
1
|
+
import { c as createUnhead } from './shared/unhead.BRwJvCZb.js';
|
|
2
|
+
import { n as HeadPluginInput, U as Unhead, c as CreateClientHeadOptions, e as CreateServerHeadOptions } from './shared/unhead.gui9LmZS.js';
|
|
3
|
+
import { aw as ResolvableHead } from './shared/unhead.DeoGMp34.js';
|
|
4
4
|
import 'hookable';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/parser.d.mts
CHANGED
package/dist/parser.d.ts
CHANGED
package/dist/plugins.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as HeadPluginInput, U as Unhead, o as HeadPluginOptions } from './shared/unhead.
|
|
2
|
-
import {
|
|
1
|
+
import { n as HeadPluginInput, U as Unhead, o as HeadPluginOptions } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
2
|
+
import { v as HeadTag } from './shared/unhead.DeoGMp34.mjs';
|
|
3
3
|
import 'hookable';
|
|
4
4
|
|
|
5
5
|
declare const AliasSortingPlugin: HeadPluginInput;
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as HeadPluginInput, U as Unhead, o as HeadPluginOptions } from './shared/unhead.
|
|
2
|
-
import {
|
|
1
|
+
import { n as HeadPluginInput, U as Unhead, o as HeadPluginOptions } from './shared/unhead.gui9LmZS.js';
|
|
2
|
+
import { v as HeadTag } from './shared/unhead.DeoGMp34.js';
|
|
3
3
|
import 'hookable';
|
|
4
4
|
|
|
5
5
|
declare const AliasSortingPlugin: HeadPluginInput;
|
package/dist/scripts.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as RecordingEntry } from './shared/unhead.
|
|
2
|
-
export { a as AsVoidFunctions, j as EventHandlerOptions, u as ScriptInstance, z as UseFunctionType, B as UseScriptContext, F as UseScriptInput, G as UseScriptOptions, I as UseScriptResolvedInput, J as UseScriptReturn, K as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { R as RecordingEntry } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
2
|
+
export { a as AsVoidFunctions, j as EventHandlerOptions, u as ScriptInstance, z as UseFunctionType, B as UseScriptContext, F as UseScriptInput, G as UseScriptOptions, I as UseScriptResolvedInput, J as UseScriptReturn, K as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
3
|
+
export { u as useScript } from './shared/unhead.ClE7lB2Z.mjs';
|
|
4
4
|
import 'hookable';
|
|
5
|
-
import './shared/unhead.
|
|
5
|
+
import './shared/unhead.DeoGMp34.mjs';
|
|
6
6
|
|
|
7
7
|
declare function createSpyProxy<T extends Record<string, any> | any[]>(target: T, onApply: (stack: RecordingEntry[][]) => void): T;
|
|
8
8
|
|
package/dist/scripts.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as RecordingEntry } from './shared/unhead.
|
|
2
|
-
export { a as AsVoidFunctions, j as EventHandlerOptions, u as ScriptInstance, z as UseFunctionType, B as UseScriptContext, F as UseScriptInput, G as UseScriptOptions, I as UseScriptResolvedInput, J as UseScriptReturn, K as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { R as RecordingEntry } from './shared/unhead.gui9LmZS.js';
|
|
2
|
+
export { a as AsVoidFunctions, j as EventHandlerOptions, u as ScriptInstance, z as UseFunctionType, B as UseScriptContext, F as UseScriptInput, G as UseScriptOptions, I as UseScriptResolvedInput, J as UseScriptReturn, K as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.gui9LmZS.js';
|
|
3
|
+
export { u as useScript } from './shared/unhead.CqVawd25.js';
|
|
4
4
|
import 'hookable';
|
|
5
|
-
import './shared/unhead.
|
|
5
|
+
import './shared/unhead.DeoGMp34.js';
|
|
6
6
|
|
|
7
7
|
declare function createSpyProxy<T extends Record<string, any> | any[]>(target: T, onApply: (stack: RecordingEntry[][]) => void): T;
|
|
8
8
|
|
package/dist/server.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { S as ServerUnhead, c as createHead } from './shared/unhead.
|
|
2
|
-
import { r as RenderSSRHeadOptions, p as HeadRenderer, s as SSRHeadPayload, U as Unhead } from './shared/unhead.
|
|
3
|
-
export { e as CreateServerHeadOptions } from './shared/unhead.
|
|
4
|
-
import {
|
|
1
|
+
export { S as ServerUnhead, c as createHead } from './shared/unhead.B2jfOxG1.mjs';
|
|
2
|
+
import { r as RenderSSRHeadOptions, p as HeadRenderer, s as SSRHeadPayload, U as Unhead } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
3
|
+
export { e as CreateServerHeadOptions } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
4
|
+
import { v as HeadTag } from './shared/unhead.DeoGMp34.mjs';
|
|
5
5
|
import 'hookable';
|
|
6
6
|
|
|
7
7
|
declare function createServerRenderer(options?: RenderSSRHeadOptions): HeadRenderer<SSRHeadPayload>;
|
package/dist/server.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { S as ServerUnhead, c as createHead } from './shared/unhead.
|
|
2
|
-
import { r as RenderSSRHeadOptions, p as HeadRenderer, s as SSRHeadPayload, U as Unhead } from './shared/unhead.
|
|
3
|
-
export { e as CreateServerHeadOptions } from './shared/unhead.
|
|
4
|
-
import {
|
|
1
|
+
export { S as ServerUnhead, c as createHead } from './shared/unhead.DdarjSpi.js';
|
|
2
|
+
import { r as RenderSSRHeadOptions, p as HeadRenderer, s as SSRHeadPayload, U as Unhead } from './shared/unhead.gui9LmZS.js';
|
|
3
|
+
export { e as CreateServerHeadOptions } from './shared/unhead.gui9LmZS.js';
|
|
4
|
+
import { v as HeadTag } from './shared/unhead.DeoGMp34.js';
|
|
5
5
|
import 'hookable';
|
|
6
6
|
|
|
7
7
|
declare function createServerRenderer(options?: RenderSSRHeadOptions): HeadRenderer<SSRHeadPayload>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HookableCore } from 'hookable';
|
|
2
|
-
import { U as Unhead, C as ClientHeadHooks, c as CreateClientHeadOptions } from './unhead.
|
|
3
|
-
import {
|
|
2
|
+
import { U as Unhead, C as ClientHeadHooks, c as CreateClientHeadOptions } from './unhead.gui9LmZS.js';
|
|
3
|
+
import { aw as ResolvableHead } from './unhead.DeoGMp34.js';
|
|
4
4
|
|
|
5
5
|
interface ClientUnhead<T = ResolvableHead> extends Unhead<T, boolean> {
|
|
6
6
|
hooks: HookableCore<ClientHeadHooks>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HookableCore } from 'hookable';
|
|
2
|
-
import { U as Unhead, s as SSRHeadPayload, v as ServerHeadHooks, e as CreateServerHeadOptions } from './unhead.
|
|
3
|
-
import {
|
|
2
|
+
import { U as Unhead, s as SSRHeadPayload, v as ServerHeadHooks, e as CreateServerHeadOptions } from './unhead.BoZ-Ul8T.mjs';
|
|
3
|
+
import { aw as ResolvableHead } from './unhead.DeoGMp34.mjs';
|
|
4
4
|
|
|
5
5
|
interface ServerUnhead<T = ResolvableHead> extends Unhead<T, SSRHeadPayload> {
|
|
6
6
|
hooks: HookableCore<ServerHeadHooks>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as HeadRenderer, d as CreateHeadOptions, U as Unhead } from './unhead.
|
|
2
|
-
import {
|
|
1
|
+
import { p as HeadRenderer, d as CreateHeadOptions, U as Unhead } from './unhead.gui9LmZS.js';
|
|
2
|
+
import { aw as ResolvableHead } from './unhead.DeoGMp34.js';
|
|
3
3
|
|
|
4
4
|
declare function createUnhead<T = ResolvableHead, R = unknown>(renderer: HeadRenderer<R>, resolvedOptions?: CreateHeadOptions): Unhead<T, R>;
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { at as RawInput, aw as ResolvableHead, aI as ResolvableValue, aB as ResolvableProperties, G as GenericLink, D as DataKeys, aK as SchemaAugmentations, a6 as MetaGeneric, t as GenericScript, b2 as UnheadHtmlAttributes, b1 as UnheadBodyAttributesWithoutEvents } from './unhead.DeoGMp34.mjs';
|
|
2
2
|
|
|
3
3
|
type Base = RawInput<'base'>;
|
|
4
4
|
type HtmlAttributes = RawInput<'htmlAttrs'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HookableCore } from 'hookable';
|
|
2
|
-
import {
|
|
2
|
+
import { t as GenericScript, aN as ScriptHttpEvents, D as DataKeys, a1 as MaybeEventFnHandlers, z as HttpEventAttributes, aK as SchemaAugmentations, v as HeadTag, aw as ResolvableHead, aX as TagPosition, aY as TagPriority, ar as ProcessesTemplateParams, aJ as ResolvesDuplicates, a_ as TemplateParams } from './unhead.DeoGMp34.mjs';
|
|
3
3
|
|
|
4
4
|
type UseScriptStatus = 'awaitingLoad' | 'loading' | 'loaded' | 'error' | 'removed';
|
|
5
5
|
type UseScriptContext<T extends Record<symbol | string, any>> = ScriptInstance<T>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as Unhead, F as UseScriptInput, G as UseScriptOptions, J as UseScriptReturn } from './unhead.
|
|
1
|
+
import { U as Unhead, F as UseScriptInput, G as UseScriptOptions, J as UseScriptReturn } from './unhead.BoZ-Ul8T.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Load third-party scripts with SSR support and a proxied API.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as Unhead, F as UseScriptInput, G as UseScriptOptions, J as UseScriptReturn } from './unhead.
|
|
1
|
+
import { U as Unhead, F as UseScriptInput, G as UseScriptOptions, J as UseScriptReturn } from './unhead.gui9LmZS.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Load third-party scripts with SSR support and a proxied API.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HookableCore } from 'hookable';
|
|
2
|
-
import { U as Unhead, C as ClientHeadHooks, c as CreateClientHeadOptions } from './unhead.
|
|
3
|
-
import {
|
|
2
|
+
import { U as Unhead, C as ClientHeadHooks, c as CreateClientHeadOptions } from './unhead.BoZ-Ul8T.mjs';
|
|
3
|
+
import { aw as ResolvableHead } from './unhead.DeoGMp34.mjs';
|
|
4
4
|
|
|
5
5
|
interface ClientUnhead<T = ResolvableHead> extends Unhead<T, boolean> {
|
|
6
6
|
hooks: HookableCore<ClientHeadHooks>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as HeadRenderer, d as CreateHeadOptions, U as Unhead } from './unhead.
|
|
2
|
-
import {
|
|
1
|
+
import { p as HeadRenderer, d as CreateHeadOptions, U as Unhead } from './unhead.BoZ-Ul8T.mjs';
|
|
2
|
+
import { aw as ResolvableHead } from './unhead.DeoGMp34.mjs';
|
|
3
3
|
|
|
4
4
|
declare function createUnhead<T = ResolvableHead, R = unknown>(renderer: HeadRenderer<R>, resolvedOptions?: CreateHeadOptions): Unhead<T, R>;
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HookableCore } from 'hookable';
|
|
2
|
-
import { U as Unhead, s as SSRHeadPayload, v as ServerHeadHooks, e as CreateServerHeadOptions } from './unhead.
|
|
3
|
-
import {
|
|
2
|
+
import { U as Unhead, s as SSRHeadPayload, v as ServerHeadHooks, e as CreateServerHeadOptions } from './unhead.gui9LmZS.js';
|
|
3
|
+
import { aw as ResolvableHead } from './unhead.DeoGMp34.js';
|
|
4
4
|
|
|
5
5
|
interface ServerUnhead<T = ResolvableHead> extends Unhead<T, SSRHeadPayload> {
|
|
6
6
|
hooks: HookableCore<ServerHeadHooks>;
|
|
@@ -942,6 +942,46 @@ interface CompressionDictionaryLink extends LinkBase {
|
|
|
942
942
|
rel: 'compression-dictionary';
|
|
943
943
|
href: string;
|
|
944
944
|
}
|
|
945
|
+
/**
|
|
946
|
+
* Sitemap link. Points to a sitemap for the site.
|
|
947
|
+
*
|
|
948
|
+
* @see https://www.iana.org/assignments/link-relations/link-relations.xhtml
|
|
949
|
+
*/
|
|
950
|
+
interface SitemapLink extends LinkBase {
|
|
951
|
+
rel: 'sitemap';
|
|
952
|
+
href: string;
|
|
953
|
+
type?: 'application/xml' | (string & Record<never, never>);
|
|
954
|
+
title?: string;
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* Apple touch startup image link. Specifies a splash screen image for iOS
|
|
958
|
+
* when a web app is launched from the home screen.
|
|
959
|
+
*
|
|
960
|
+
* @see https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
|
|
961
|
+
*/
|
|
962
|
+
interface AppleTouchStartupImageLink extends LinkBase {
|
|
963
|
+
rel: 'apple-touch-startup-image';
|
|
964
|
+
href: string;
|
|
965
|
+
media?: string;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* AMP HTML link. Points to the AMP version of the current document.
|
|
969
|
+
*
|
|
970
|
+
* @see https://amp.dev/documentation/guides-and-tutorials/start/create/prepare_for_discovery/
|
|
971
|
+
*/
|
|
972
|
+
interface AmpHtmlLink extends LinkBase {
|
|
973
|
+
rel: 'amphtml';
|
|
974
|
+
href: string;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* WebSub hub link. Points to a WebSub hub for real-time content distribution.
|
|
978
|
+
*
|
|
979
|
+
* @see https://www.w3.org/TR/websub/
|
|
980
|
+
*/
|
|
981
|
+
interface HubLink extends LinkBase {
|
|
982
|
+
rel: 'hub';
|
|
983
|
+
href: string;
|
|
984
|
+
}
|
|
945
985
|
/**
|
|
946
986
|
* Alternate stylesheet link. User-selectable alternate stylesheet.
|
|
947
987
|
* Requires a `title` to appear in the browser's stylesheet picker.
|
|
@@ -962,7 +1002,7 @@ interface AlternateStylesheetLink extends LinkBase, LinkHttpEvents {
|
|
|
962
1002
|
* Union of all `rel` values that have narrowed link type definitions.
|
|
963
1003
|
* Useful for building type guards or conditional logic based on `rel` values.
|
|
964
1004
|
*/
|
|
965
|
-
type KnownLinkRel = 'stylesheet' | 'alternate stylesheet' | 'preload' | 'modulepreload' | 'prefetch' | 'icon' | 'shortcut icon' | 'apple-touch-icon' | 'mask-icon' | 'manifest' | 'canonical' | 'dns-prefetch' | 'preconnect' | 'prerender' | 'alternate' | 'author' | 'license' | 'help' | 'search' | 'prev' | 'next' | 'pingback' | 'me' | 'webmention' | 'privacy-policy' | 'terms-of-service' | 'expect' | 'compression-dictionary';
|
|
1005
|
+
type KnownLinkRel = 'stylesheet' | 'alternate stylesheet' | 'preload' | 'modulepreload' | 'prefetch' | 'icon' | 'shortcut icon' | 'apple-touch-icon' | 'mask-icon' | 'manifest' | 'canonical' | 'dns-prefetch' | 'preconnect' | 'prerender' | 'alternate' | 'author' | 'license' | 'help' | 'search' | 'prev' | 'next' | 'pingback' | 'me' | 'webmention' | 'privacy-policy' | 'terms-of-service' | 'expect' | 'compression-dictionary' | 'sitemap' | 'apple-touch-startup-image' | 'amphtml' | 'hub';
|
|
966
1006
|
/**
|
|
967
1007
|
* Fallback for custom or unknown `rel` types.
|
|
968
1008
|
*
|
|
@@ -1011,7 +1051,7 @@ interface GenericLink extends LinkBase {
|
|
|
1011
1051
|
*
|
|
1012
1052
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
|
|
1013
1053
|
*/
|
|
1014
|
-
type Link = StylesheetLink | AlternateStylesheetLink | PreloadLink | ModulepreloadLink | PrefetchLink | FaviconLink | AppleTouchIconLink | MaskIconLink | ManifestLink | CanonicalLink | DnsPrefetchLink | PreconnectLink | PrerenderLink | AlternateLanguageLink | AlternateFeedLink | AlternateMediaLink | BareAlternateLink | AuthorLink | LicenseLink | HelpLink | SearchLink | PrevLink | NextLink | PingbackLink | MeLink | WebmentionLink | PrivacyPolicyLink | TermsOfServiceLink | ExpectLink | CompressionDictionaryLink;
|
|
1054
|
+
type Link = StylesheetLink | AlternateStylesheetLink | PreloadLink | ModulepreloadLink | PrefetchLink | FaviconLink | AppleTouchIconLink | MaskIconLink | ManifestLink | CanonicalLink | DnsPrefetchLink | PreconnectLink | PrerenderLink | AlternateLanguageLink | AlternateFeedLink | AlternateMediaLink | BareAlternateLink | AuthorLink | LicenseLink | HelpLink | SearchLink | PrevLink | NextLink | PingbackLink | MeLink | WebmentionLink | PrivacyPolicyLink | TermsOfServiceLink | ExpectLink | CompressionDictionaryLink | SitemapLink | AppleTouchStartupImageLink | AmpHtmlLink | HubLink;
|
|
1015
1055
|
/**
|
|
1016
1056
|
* Pick {@link Link} union members whose `rel` accepts `R`.
|
|
1017
1057
|
*
|
|
@@ -2902,4 +2942,4 @@ interface HeadTag extends TagPriority, TagPosition, ResolvesDuplicates, HasTempl
|
|
|
2902
2942
|
}
|
|
2903
2943
|
type HeadTagKeys = (keyof HeadTag)[];
|
|
2904
2944
|
|
|
2905
|
-
export type {
|
|
2945
|
+
export type { MaskIconLink as $, AlternateFeedLink as A, Booleanable as B, CanonicalLink as C, DataKeys as D, ExpectLink as E, FaviconLink as F, GenericLink as G, HasTemplateParams as H, HubLink as I, IconLink as J, ImportMapConfig as K, ImportMapScript as L, InferLink as M, InferScript as N, InlineModuleScript as O, InlineScript as P, InnerContent as Q, InnerContentVal as R, InternalTagKey as S, JsonLdScript as T, KnownLinkRel as U, KnownScriptType as V, LicenseLink as W, Link as X, LinkBase as Y, LinkHttpEvents as Z, ManifestLink as _, AlternateLanguageLink as a, TemplateParamsAugmentations as a$, MaybeArray as a0, MaybeEventFnHandlers as a1, MeLink as a2, Meta as a3, MetaBase as a4, MetaFlat as a5, MetaGeneric as a6, MetaNames as a7, MetaProperties as a8, ModuleScript as a9, ResolvableNoscript as aA, ResolvableProperties as aB, ResolvableScript as aC, ResolvableStyle as aD, ResolvableTemplateParams as aE, ResolvableTitle as aF, ResolvableTitleTemplate as aG, ResolvableUnion as aH, ResolvableValue as aI, ResolvesDuplicates as aJ, SchemaAugmentations as aK, Script as aL, ScriptBase as aM, ScriptHttpEvents as aN, SearchLink as aO, SerializableHead as aP, SitemapLink as aQ, SpeculationRules as aR, SpeculationRulesScript as aS, StringInnerContent as aT, Stringable as aU, StylesheetLink as aV, TagKey as aW, TagPosition as aX, TagPriority as aY, TagUserProperties as aZ, TemplateParams as a_, ModulepreloadLink as aa, NameMeta as ab, Never as ac, NextLink as ad, PingbackLink as ae, PreconnectLink as af, PrefetchLink as ag, PreloadFontLink as ah, PreloadImageLink as ai, PreloadLink as aj, PreloadLinkBase as ak, PreloadOtherLink as al, PreloadScriptLink as am, PreloadStyleLink as an, PrerenderLink as ao, PrevLink as ap, PrivacyPolicyLink as aq, ProcessesTemplateParams as ar, PropertyMeta as as, RawInput as at, ResolvableBase as au, ResolvableBodyAttributes as av, ResolvableHead as aw, ResolvableHtmlAttributes as ax, ResolvableLink as ay, ResolvableMeta as az, AlternateLink as b, TermsOfServiceLink as b0, UnheadBodyAttributesWithoutEvents as b1, UnheadHtmlAttributes as b2, UnheadMeta as b3, UseHeadInput as b4, UseSeoMetaInput as b5, ValidTagPositions as b6, WebmentionLink as b7, AlternateMediaLink as c, AlternateStylesheetLink as d, AmpHtmlLink as e, AppleTouchIconLink as f, AppleTouchStartupImageLink as g, ApplicationJsonScript as h, Arrayable as i, AuthorLink as j, BareAlternateLink as k, BodyAttributesWithoutEvents as l, BodyEvents as m, CharsetMeta as n, CompressionDictionaryLink as o, DeepReadonly as p, DeepResolvableProperties as q, DnsPrefetchLink as r, ExternalScript as s, GenericScript as t, GlobalAttributes as u, HeadTag as v, HeadTagKeys as w, HelpLink as x, HttpEquivMeta as y, HttpEventAttributes as z };
|
|
@@ -942,6 +942,46 @@ interface CompressionDictionaryLink extends LinkBase {
|
|
|
942
942
|
rel: 'compression-dictionary';
|
|
943
943
|
href: string;
|
|
944
944
|
}
|
|
945
|
+
/**
|
|
946
|
+
* Sitemap link. Points to a sitemap for the site.
|
|
947
|
+
*
|
|
948
|
+
* @see https://www.iana.org/assignments/link-relations/link-relations.xhtml
|
|
949
|
+
*/
|
|
950
|
+
interface SitemapLink extends LinkBase {
|
|
951
|
+
rel: 'sitemap';
|
|
952
|
+
href: string;
|
|
953
|
+
type?: 'application/xml' | (string & Record<never, never>);
|
|
954
|
+
title?: string;
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* Apple touch startup image link. Specifies a splash screen image for iOS
|
|
958
|
+
* when a web app is launched from the home screen.
|
|
959
|
+
*
|
|
960
|
+
* @see https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
|
|
961
|
+
*/
|
|
962
|
+
interface AppleTouchStartupImageLink extends LinkBase {
|
|
963
|
+
rel: 'apple-touch-startup-image';
|
|
964
|
+
href: string;
|
|
965
|
+
media?: string;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* AMP HTML link. Points to the AMP version of the current document.
|
|
969
|
+
*
|
|
970
|
+
* @see https://amp.dev/documentation/guides-and-tutorials/start/create/prepare_for_discovery/
|
|
971
|
+
*/
|
|
972
|
+
interface AmpHtmlLink extends LinkBase {
|
|
973
|
+
rel: 'amphtml';
|
|
974
|
+
href: string;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* WebSub hub link. Points to a WebSub hub for real-time content distribution.
|
|
978
|
+
*
|
|
979
|
+
* @see https://www.w3.org/TR/websub/
|
|
980
|
+
*/
|
|
981
|
+
interface HubLink extends LinkBase {
|
|
982
|
+
rel: 'hub';
|
|
983
|
+
href: string;
|
|
984
|
+
}
|
|
945
985
|
/**
|
|
946
986
|
* Alternate stylesheet link. User-selectable alternate stylesheet.
|
|
947
987
|
* Requires a `title` to appear in the browser's stylesheet picker.
|
|
@@ -962,7 +1002,7 @@ interface AlternateStylesheetLink extends LinkBase, LinkHttpEvents {
|
|
|
962
1002
|
* Union of all `rel` values that have narrowed link type definitions.
|
|
963
1003
|
* Useful for building type guards or conditional logic based on `rel` values.
|
|
964
1004
|
*/
|
|
965
|
-
type KnownLinkRel = 'stylesheet' | 'alternate stylesheet' | 'preload' | 'modulepreload' | 'prefetch' | 'icon' | 'shortcut icon' | 'apple-touch-icon' | 'mask-icon' | 'manifest' | 'canonical' | 'dns-prefetch' | 'preconnect' | 'prerender' | 'alternate' | 'author' | 'license' | 'help' | 'search' | 'prev' | 'next' | 'pingback' | 'me' | 'webmention' | 'privacy-policy' | 'terms-of-service' | 'expect' | 'compression-dictionary';
|
|
1005
|
+
type KnownLinkRel = 'stylesheet' | 'alternate stylesheet' | 'preload' | 'modulepreload' | 'prefetch' | 'icon' | 'shortcut icon' | 'apple-touch-icon' | 'mask-icon' | 'manifest' | 'canonical' | 'dns-prefetch' | 'preconnect' | 'prerender' | 'alternate' | 'author' | 'license' | 'help' | 'search' | 'prev' | 'next' | 'pingback' | 'me' | 'webmention' | 'privacy-policy' | 'terms-of-service' | 'expect' | 'compression-dictionary' | 'sitemap' | 'apple-touch-startup-image' | 'amphtml' | 'hub';
|
|
966
1006
|
/**
|
|
967
1007
|
* Fallback for custom or unknown `rel` types.
|
|
968
1008
|
*
|
|
@@ -1011,7 +1051,7 @@ interface GenericLink extends LinkBase {
|
|
|
1011
1051
|
*
|
|
1012
1052
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
|
|
1013
1053
|
*/
|
|
1014
|
-
type Link = StylesheetLink | AlternateStylesheetLink | PreloadLink | ModulepreloadLink | PrefetchLink | FaviconLink | AppleTouchIconLink | MaskIconLink | ManifestLink | CanonicalLink | DnsPrefetchLink | PreconnectLink | PrerenderLink | AlternateLanguageLink | AlternateFeedLink | AlternateMediaLink | BareAlternateLink | AuthorLink | LicenseLink | HelpLink | SearchLink | PrevLink | NextLink | PingbackLink | MeLink | WebmentionLink | PrivacyPolicyLink | TermsOfServiceLink | ExpectLink | CompressionDictionaryLink;
|
|
1054
|
+
type Link = StylesheetLink | AlternateStylesheetLink | PreloadLink | ModulepreloadLink | PrefetchLink | FaviconLink | AppleTouchIconLink | MaskIconLink | ManifestLink | CanonicalLink | DnsPrefetchLink | PreconnectLink | PrerenderLink | AlternateLanguageLink | AlternateFeedLink | AlternateMediaLink | BareAlternateLink | AuthorLink | LicenseLink | HelpLink | SearchLink | PrevLink | NextLink | PingbackLink | MeLink | WebmentionLink | PrivacyPolicyLink | TermsOfServiceLink | ExpectLink | CompressionDictionaryLink | SitemapLink | AppleTouchStartupImageLink | AmpHtmlLink | HubLink;
|
|
1015
1055
|
/**
|
|
1016
1056
|
* Pick {@link Link} union members whose `rel` accepts `R`.
|
|
1017
1057
|
*
|
|
@@ -2902,4 +2942,4 @@ interface HeadTag extends TagPriority, TagPosition, ResolvesDuplicates, HasTempl
|
|
|
2902
2942
|
}
|
|
2903
2943
|
type HeadTagKeys = (keyof HeadTag)[];
|
|
2904
2944
|
|
|
2905
|
-
export type {
|
|
2945
|
+
export type { MaskIconLink as $, AlternateFeedLink as A, Booleanable as B, CanonicalLink as C, DataKeys as D, ExpectLink as E, FaviconLink as F, GenericLink as G, HasTemplateParams as H, HubLink as I, IconLink as J, ImportMapConfig as K, ImportMapScript as L, InferLink as M, InferScript as N, InlineModuleScript as O, InlineScript as P, InnerContent as Q, InnerContentVal as R, InternalTagKey as S, JsonLdScript as T, KnownLinkRel as U, KnownScriptType as V, LicenseLink as W, Link as X, LinkBase as Y, LinkHttpEvents as Z, ManifestLink as _, AlternateLanguageLink as a, TemplateParamsAugmentations as a$, MaybeArray as a0, MaybeEventFnHandlers as a1, MeLink as a2, Meta as a3, MetaBase as a4, MetaFlat as a5, MetaGeneric as a6, MetaNames as a7, MetaProperties as a8, ModuleScript as a9, ResolvableNoscript as aA, ResolvableProperties as aB, ResolvableScript as aC, ResolvableStyle as aD, ResolvableTemplateParams as aE, ResolvableTitle as aF, ResolvableTitleTemplate as aG, ResolvableUnion as aH, ResolvableValue as aI, ResolvesDuplicates as aJ, SchemaAugmentations as aK, Script as aL, ScriptBase as aM, ScriptHttpEvents as aN, SearchLink as aO, SerializableHead as aP, SitemapLink as aQ, SpeculationRules as aR, SpeculationRulesScript as aS, StringInnerContent as aT, Stringable as aU, StylesheetLink as aV, TagKey as aW, TagPosition as aX, TagPriority as aY, TagUserProperties as aZ, TemplateParams as a_, ModulepreloadLink as aa, NameMeta as ab, Never as ac, NextLink as ad, PingbackLink as ae, PreconnectLink as af, PrefetchLink as ag, PreloadFontLink as ah, PreloadImageLink as ai, PreloadLink as aj, PreloadLinkBase as ak, PreloadOtherLink as al, PreloadScriptLink as am, PreloadStyleLink as an, PrerenderLink as ao, PrevLink as ap, PrivacyPolicyLink as aq, ProcessesTemplateParams as ar, PropertyMeta as as, RawInput as at, ResolvableBase as au, ResolvableBodyAttributes as av, ResolvableHead as aw, ResolvableHtmlAttributes as ax, ResolvableLink as ay, ResolvableMeta as az, AlternateLink as b, TermsOfServiceLink as b0, UnheadBodyAttributesWithoutEvents as b1, UnheadHtmlAttributes as b2, UnheadMeta as b3, UseHeadInput as b4, UseSeoMetaInput as b5, ValidTagPositions as b6, WebmentionLink as b7, AlternateMediaLink as c, AlternateStylesheetLink as d, AmpHtmlLink as e, AppleTouchIconLink as f, AppleTouchStartupImageLink as g, ApplicationJsonScript as h, Arrayable as i, AuthorLink as j, BareAlternateLink as k, BodyAttributesWithoutEvents as l, BodyEvents as m, CharsetMeta as n, CompressionDictionaryLink as o, DeepReadonly as p, DeepResolvableProperties as q, DnsPrefetchLink as r, ExternalScript as s, GenericScript as t, GlobalAttributes as u, HeadTag as v, HeadTagKeys as w, HelpLink as x, HttpEquivMeta as y, HttpEventAttributes as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HookableCore } from 'hookable';
|
|
2
|
-
import {
|
|
2
|
+
import { t as GenericScript, aN as ScriptHttpEvents, D as DataKeys, a1 as MaybeEventFnHandlers, z as HttpEventAttributes, aK as SchemaAugmentations, v as HeadTag, aw as ResolvableHead, aX as TagPosition, aY as TagPriority, ar as ProcessesTemplateParams, aJ as ResolvesDuplicates, a_ as TemplateParams } from './unhead.DeoGMp34.js';
|
|
3
3
|
|
|
4
4
|
type UseScriptStatus = 'awaitingLoad' | 'loading' | 'loaded' | 'error' | 'removed';
|
|
5
5
|
type UseScriptContext<T extends Record<symbol | string, any>> = ScriptInstance<T>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { at as RawInput, aw as ResolvableHead, aI as ResolvableValue, aB as ResolvableProperties, G as GenericLink, D as DataKeys, aK as SchemaAugmentations, a6 as MetaGeneric, t as GenericScript, b2 as UnheadHtmlAttributes, b1 as UnheadBodyAttributesWithoutEvents } from './unhead.DeoGMp34.js';
|
|
2
2
|
|
|
3
3
|
type Base = RawInput<'base'>;
|
|
4
4
|
type HtmlAttributes = RawInput<'htmlAttrs'>;
|
package/dist/stream/client.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as ClientUnhead } from '../shared/unhead.
|
|
2
|
-
import { c as CreateClientHeadOptions, U as Unhead } from '../shared/unhead.
|
|
3
|
-
import {
|
|
1
|
+
import { C as ClientUnhead } from '../shared/unhead.Cv5yrrUd.mjs';
|
|
2
|
+
import { c as CreateClientHeadOptions, U as Unhead } from '../shared/unhead.BoZ-Ul8T.mjs';
|
|
3
|
+
import { aP as SerializableHead, aw as ResolvableHead } from '../shared/unhead.DeoGMp34.mjs';
|
|
4
4
|
import 'hookable';
|
|
5
5
|
|
|
6
6
|
interface UnheadStreamQueue {
|
package/dist/stream/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as ClientUnhead } from '../shared/unhead.
|
|
2
|
-
import { c as CreateClientHeadOptions, U as Unhead } from '../shared/unhead.
|
|
3
|
-
import {
|
|
1
|
+
import { C as ClientUnhead } from '../shared/unhead.-D8hRpkn.js';
|
|
2
|
+
import { c as CreateClientHeadOptions, U as Unhead } from '../shared/unhead.gui9LmZS.js';
|
|
3
|
+
import { aP as SerializableHead, aw as ResolvableHead } from '../shared/unhead.DeoGMp34.js';
|
|
4
4
|
import 'hookable';
|
|
5
5
|
|
|
6
6
|
interface UnheadStreamQueue {
|
package/dist/stream/server.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as ServerUnhead } from '../shared/unhead.
|
|
2
|
-
import { f as CreateStreamableServerHeadOptions, U as Unhead, s as SSRHeadPayload } from '../shared/unhead.
|
|
3
|
-
import {
|
|
1
|
+
import { S as ServerUnhead } from '../shared/unhead.B2jfOxG1.mjs';
|
|
2
|
+
import { f as CreateStreamableServerHeadOptions, U as Unhead, s as SSRHeadPayload } from '../shared/unhead.BoZ-Ul8T.mjs';
|
|
3
|
+
import { aw as ResolvableHead } from '../shared/unhead.DeoGMp34.mjs';
|
|
4
4
|
import 'hookable';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/stream/server.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as ServerUnhead } from '../shared/unhead.
|
|
2
|
-
import { f as CreateStreamableServerHeadOptions, U as Unhead, s as SSRHeadPayload } from '../shared/unhead.
|
|
3
|
-
import {
|
|
1
|
+
import { S as ServerUnhead } from '../shared/unhead.DdarjSpi.js';
|
|
2
|
+
import { f as CreateStreamableServerHeadOptions, U as Unhead, s as SSRHeadPayload } from '../shared/unhead.gui9LmZS.js';
|
|
3
|
+
import { aw as ResolvableHead } from '../shared/unhead.DeoGMp34.js';
|
|
4
4
|
import 'hookable';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/types.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { A as ActiveHeadEntry, a as AsVoidFunctions, C as ClientHeadHooks, b as CoreHeadHooks, c as CreateClientHeadOptions, d as CreateHeadOptions, e as CreateServerHeadOptions, f as CreateStreamableServerHeadOptions, D as DOMHeadHooks, g as DomBeforeRenderCtx, h as DomRenderTagContext, i as DomState, E as EntryResolveCtx, j as EventHandlerOptions, H as HeadEntry, k as HeadEntryOptions, l as HeadHooks, m as HeadPlugin, n as HeadPluginInput, o as HeadPluginOptions, p as HeadRenderer, q as HookResult, P as PropResolver, R as RecordingEntry, r as RenderSSRHeadOptions, S as SSRHeadHooks, s as SSRHeadPayload, t as SSRRenderContext, u as ScriptInstance, v as ServerHeadHooks, w as ShouldRenderContext, x as SideEffectsRecord, y as SyncHookResult, U as Unhead, z as UseFunctionType, B as UseScriptContext, F as UseScriptInput, G as UseScriptOptions, I as UseScriptResolvedInput, J as UseScriptReturn, K as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.
|
|
2
|
-
export { R as RenderDomHeadOptions } from './shared/unhead.
|
|
3
|
-
export { B as Base, a as BodyAttributes, H as HeadSafe, b as HtmlAttributes, N as Noscript, S as SafeBodyAttr, c as SafeHtmlAttr, d as SafeLink, e as SafeMeta, f as SafeNoscript, g as SafeScript, h as SafeStyle, i as Style } from './shared/unhead.
|
|
4
|
-
import { B as Booleanable } from './shared/unhead.
|
|
5
|
-
export { A as AlternateFeedLink, a as AlternateLanguageLink, b as AlternateLink, c as AlternateMediaLink, d as AlternateStylesheetLink, e as
|
|
1
|
+
export { A as ActiveHeadEntry, a as AsVoidFunctions, C as ClientHeadHooks, b as CoreHeadHooks, c as CreateClientHeadOptions, d as CreateHeadOptions, e as CreateServerHeadOptions, f as CreateStreamableServerHeadOptions, D as DOMHeadHooks, g as DomBeforeRenderCtx, h as DomRenderTagContext, i as DomState, E as EntryResolveCtx, j as EventHandlerOptions, H as HeadEntry, k as HeadEntryOptions, l as HeadHooks, m as HeadPlugin, n as HeadPluginInput, o as HeadPluginOptions, p as HeadRenderer, q as HookResult, P as PropResolver, R as RecordingEntry, r as RenderSSRHeadOptions, S as SSRHeadHooks, s as SSRHeadPayload, t as SSRRenderContext, u as ScriptInstance, v as ServerHeadHooks, w as ShouldRenderContext, x as SideEffectsRecord, y as SyncHookResult, U as Unhead, z as UseFunctionType, B as UseScriptContext, F as UseScriptInput, G as UseScriptOptions, I as UseScriptResolvedInput, J as UseScriptReturn, K as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
2
|
+
export { R as RenderDomHeadOptions } from './shared/unhead.B7bBMqva.mjs';
|
|
3
|
+
export { B as Base, a as BodyAttributes, H as HeadSafe, b as HtmlAttributes, N as Noscript, S as SafeBodyAttr, c as SafeHtmlAttr, d as SafeLink, e as SafeMeta, f as SafeNoscript, g as SafeScript, h as SafeStyle, i as Style } from './shared/unhead.BX9134DF.mjs';
|
|
4
|
+
import { B as Booleanable } from './shared/unhead.DeoGMp34.mjs';
|
|
5
|
+
export { A as AlternateFeedLink, a as AlternateLanguageLink, b as AlternateLink, c as AlternateMediaLink, d as AlternateStylesheetLink, e as AmpHtmlLink, f as AppleTouchIconLink, g as AppleTouchStartupImageLink, h as ApplicationJsonScript, i as Arrayable, j as AuthorLink, k as BareAlternateLink, l as BodyAttributesWithoutEvents, m as BodyEvents, C as CanonicalLink, n as CharsetMeta, o as CompressionDictionaryLink, D as DataKeys, p as DeepReadonly, q as DeepResolvableProperties, r as DnsPrefetchLink, E as ExpectLink, s as ExternalScript, F as FaviconLink, G as GenericLink, t as GenericScript, u as GlobalAttributes, H as HasTemplateParams, v as HeadTag, w as HeadTagKeys, x as HelpLink, y as HttpEquivMeta, z as HttpEventAttributes, I as HubLink, J as IconLink, K as ImportMapConfig, L as ImportMapScript, M as InferLink, N as InferScript, O as InlineModuleScript, P as InlineScript, Q as InnerContent, R as InnerContentVal, S as InternalTagKey, T as JsonLdScript, U as KnownLinkRel, V as KnownScriptType, W as LicenseLink, X as Link, Y as LinkBase, Z as LinkHttpEvents, _ as ManifestLink, $ as MaskIconLink, a0 as MaybeArray, a1 as MaybeEventFnHandlers, a2 as MeLink, a3 as Meta, a4 as MetaBase, a5 as MetaFlat, a6 as MetaGeneric, a7 as MetaNames, a8 as MetaProperties, a9 as ModuleScript, aa as ModulepreloadLink, ab as NameMeta, ac as Never, ad as NextLink, ae as PingbackLink, af as PreconnectLink, ag as PrefetchLink, ah as PreloadFontLink, ai as PreloadImageLink, aj as PreloadLink, ak as PreloadLinkBase, al as PreloadOtherLink, am as PreloadScriptLink, an as PreloadStyleLink, ao as PrerenderLink, ap as PrevLink, aq as PrivacyPolicyLink, ar as ProcessesTemplateParams, as as PropertyMeta, at as RawInput, au as ResolvableBase, av as ResolvableBodyAttributes, aw as ResolvableHead, ax as ResolvableHtmlAttributes, ay as ResolvableLink, az as ResolvableMeta, aA as ResolvableNoscript, aB as ResolvableProperties, aC as ResolvableScript, aD as ResolvableStyle, aE as ResolvableTemplateParams, aF as ResolvableTitle, aG as ResolvableTitleTemplate, aH as ResolvableUnion, aI as ResolvableValue, aJ as ResolvesDuplicates, aK as SchemaAugmentations, aL as Script, aM as ScriptBase, aN as ScriptHttpEvents, aO as SearchLink, aP as SerializableHead, aQ as SitemapLink, aR as SpeculationRules, aS as SpeculationRulesScript, aT as StringInnerContent, aU as Stringable, aV as StylesheetLink, aW as TagKey, aX as TagPosition, aY as TagPriority, aZ as TagUserProperties, a_ as TemplateParams, a$ as TemplateParamsAugmentations, b0 as TermsOfServiceLink, b1 as UnheadBodyAttributesWithoutEvents, b2 as UnheadHtmlAttributes, b3 as UnheadMeta, b4 as UseHeadInput, b5 as UseSeoMetaInput, b6 as ValidTagPositions, b7 as WebmentionLink } from './shared/unhead.DeoGMp34.mjs';
|
|
6
6
|
export { createSpyProxy } from './scripts.mjs';
|
|
7
|
-
export { u as useScript } from './shared/unhead.
|
|
7
|
+
export { u as useScript } from './shared/unhead.ClE7lB2Z.mjs';
|
|
8
8
|
import 'hookable';
|
|
9
9
|
|
|
10
10
|
interface AriaAttributes {
|
package/dist/types.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { A as ActiveHeadEntry, a as AsVoidFunctions, C as ClientHeadHooks, b as CoreHeadHooks, c as CreateClientHeadOptions, d as CreateHeadOptions, e as CreateServerHeadOptions, f as CreateStreamableServerHeadOptions, D as DOMHeadHooks, g as DomBeforeRenderCtx, h as DomRenderTagContext, i as DomState, E as EntryResolveCtx, j as EventHandlerOptions, H as HeadEntry, k as HeadEntryOptions, l as HeadHooks, m as HeadPlugin, n as HeadPluginInput, o as HeadPluginOptions, p as HeadRenderer, q as HookResult, P as PropResolver, R as RecordingEntry, r as RenderSSRHeadOptions, S as SSRHeadHooks, s as SSRHeadPayload, t as SSRRenderContext, u as ScriptInstance, v as ServerHeadHooks, w as ShouldRenderContext, x as SideEffectsRecord, y as SyncHookResult, U as Unhead, z as UseFunctionType, B as UseScriptContext, F as UseScriptInput, G as UseScriptOptions, I as UseScriptResolvedInput, J as UseScriptReturn, K as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.
|
|
2
|
-
export { R as RenderDomHeadOptions } from './shared/unhead.
|
|
3
|
-
export { B as Base, a as BodyAttributes, H as HeadSafe, b as HtmlAttributes, N as Noscript, S as SafeBodyAttr, c as SafeHtmlAttr, d as SafeLink, e as SafeMeta, f as SafeNoscript, g as SafeScript, h as SafeStyle, i as Style } from './shared/unhead.
|
|
4
|
-
import { B as Booleanable } from './shared/unhead.
|
|
5
|
-
export { A as AlternateFeedLink, a as AlternateLanguageLink, b as AlternateLink, c as AlternateMediaLink, d as AlternateStylesheetLink, e as
|
|
1
|
+
export { A as ActiveHeadEntry, a as AsVoidFunctions, C as ClientHeadHooks, b as CoreHeadHooks, c as CreateClientHeadOptions, d as CreateHeadOptions, e as CreateServerHeadOptions, f as CreateStreamableServerHeadOptions, D as DOMHeadHooks, g as DomBeforeRenderCtx, h as DomRenderTagContext, i as DomState, E as EntryResolveCtx, j as EventHandlerOptions, H as HeadEntry, k as HeadEntryOptions, l as HeadHooks, m as HeadPlugin, n as HeadPluginInput, o as HeadPluginOptions, p as HeadRenderer, q as HookResult, P as PropResolver, R as RecordingEntry, r as RenderSSRHeadOptions, S as SSRHeadHooks, s as SSRHeadPayload, t as SSRRenderContext, u as ScriptInstance, v as ServerHeadHooks, w as ShouldRenderContext, x as SideEffectsRecord, y as SyncHookResult, U as Unhead, z as UseFunctionType, B as UseScriptContext, F as UseScriptInput, G as UseScriptOptions, I as UseScriptResolvedInput, J as UseScriptReturn, K as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.gui9LmZS.js';
|
|
2
|
+
export { R as RenderDomHeadOptions } from './shared/unhead.cXt2Dgt5.js';
|
|
3
|
+
export { B as Base, a as BodyAttributes, H as HeadSafe, b as HtmlAttributes, N as Noscript, S as SafeBodyAttr, c as SafeHtmlAttr, d as SafeLink, e as SafeMeta, f as SafeNoscript, g as SafeScript, h as SafeStyle, i as Style } from './shared/unhead.q49lHHFN.js';
|
|
4
|
+
import { B as Booleanable } from './shared/unhead.DeoGMp34.js';
|
|
5
|
+
export { A as AlternateFeedLink, a as AlternateLanguageLink, b as AlternateLink, c as AlternateMediaLink, d as AlternateStylesheetLink, e as AmpHtmlLink, f as AppleTouchIconLink, g as AppleTouchStartupImageLink, h as ApplicationJsonScript, i as Arrayable, j as AuthorLink, k as BareAlternateLink, l as BodyAttributesWithoutEvents, m as BodyEvents, C as CanonicalLink, n as CharsetMeta, o as CompressionDictionaryLink, D as DataKeys, p as DeepReadonly, q as DeepResolvableProperties, r as DnsPrefetchLink, E as ExpectLink, s as ExternalScript, F as FaviconLink, G as GenericLink, t as GenericScript, u as GlobalAttributes, H as HasTemplateParams, v as HeadTag, w as HeadTagKeys, x as HelpLink, y as HttpEquivMeta, z as HttpEventAttributes, I as HubLink, J as IconLink, K as ImportMapConfig, L as ImportMapScript, M as InferLink, N as InferScript, O as InlineModuleScript, P as InlineScript, Q as InnerContent, R as InnerContentVal, S as InternalTagKey, T as JsonLdScript, U as KnownLinkRel, V as KnownScriptType, W as LicenseLink, X as Link, Y as LinkBase, Z as LinkHttpEvents, _ as ManifestLink, $ as MaskIconLink, a0 as MaybeArray, a1 as MaybeEventFnHandlers, a2 as MeLink, a3 as Meta, a4 as MetaBase, a5 as MetaFlat, a6 as MetaGeneric, a7 as MetaNames, a8 as MetaProperties, a9 as ModuleScript, aa as ModulepreloadLink, ab as NameMeta, ac as Never, ad as NextLink, ae as PingbackLink, af as PreconnectLink, ag as PrefetchLink, ah as PreloadFontLink, ai as PreloadImageLink, aj as PreloadLink, ak as PreloadLinkBase, al as PreloadOtherLink, am as PreloadScriptLink, an as PreloadStyleLink, ao as PrerenderLink, ap as PrevLink, aq as PrivacyPolicyLink, ar as ProcessesTemplateParams, as as PropertyMeta, at as RawInput, au as ResolvableBase, av as ResolvableBodyAttributes, aw as ResolvableHead, ax as ResolvableHtmlAttributes, ay as ResolvableLink, az as ResolvableMeta, aA as ResolvableNoscript, aB as ResolvableProperties, aC as ResolvableScript, aD as ResolvableStyle, aE as ResolvableTemplateParams, aF as ResolvableTitle, aG as ResolvableTitleTemplate, aH as ResolvableUnion, aI as ResolvableValue, aJ as ResolvesDuplicates, aK as SchemaAugmentations, aL as Script, aM as ScriptBase, aN as ScriptHttpEvents, aO as SearchLink, aP as SerializableHead, aQ as SitemapLink, aR as SpeculationRules, aS as SpeculationRulesScript, aT as StringInnerContent, aU as Stringable, aV as StylesheetLink, aW as TagKey, aX as TagPosition, aY as TagPriority, aZ as TagUserProperties, a_ as TemplateParams, a$ as TemplateParamsAugmentations, b0 as TermsOfServiceLink, b1 as UnheadBodyAttributesWithoutEvents, b2 as UnheadHtmlAttributes, b3 as UnheadMeta, b4 as UseHeadInput, b5 as UseSeoMetaInput, b6 as ValidTagPositions, b7 as WebmentionLink } from './shared/unhead.DeoGMp34.js';
|
|
6
6
|
export { createSpyProxy } from './scripts.js';
|
|
7
|
-
export { u as useScript } from './shared/unhead.
|
|
7
|
+
export { u as useScript } from './shared/unhead.CqVawd25.js';
|
|
8
8
|
import 'hookable';
|
|
9
9
|
|
|
10
10
|
interface AriaAttributes {
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { P as PropResolver, U as Unhead } from './shared/unhead.
|
|
1
|
+
import { v as HeadTag, a5 as MetaFlat, aw as ResolvableHead, a_ as TemplateParams } from './shared/unhead.DeoGMp34.mjs';
|
|
2
|
+
import { P as PropResolver, U as Unhead } from './shared/unhead.BoZ-Ul8T.mjs';
|
|
3
3
|
import 'hookable';
|
|
4
4
|
|
|
5
5
|
declare const SelfClosingTags: Set<string>;
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { P as PropResolver, U as Unhead } from './shared/unhead.
|
|
1
|
+
import { v as HeadTag, a5 as MetaFlat, aw as ResolvableHead, a_ as TemplateParams } from './shared/unhead.DeoGMp34.js';
|
|
2
|
+
import { P as PropResolver, U as Unhead } from './shared/unhead.gui9LmZS.js';
|
|
3
3
|
import 'hookable';
|
|
4
4
|
|
|
5
5
|
declare const SelfClosingTags: Set<string>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unhead",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.5",
|
|
5
5
|
"description": "Full-stack <head> manager built for any framework.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -163,11 +163,12 @@
|
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
"dependencies": {
|
|
166
|
-
"hookable": "^6.1.
|
|
167
|
-
"magic-string": "^0.30.21"
|
|
166
|
+
"hookable": "^6.1.1"
|
|
168
167
|
},
|
|
169
168
|
"devDependencies": {
|
|
170
|
-
"
|
|
169
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
170
|
+
"rollup": "^4.60.2",
|
|
171
|
+
"vite": "^8.0.9"
|
|
171
172
|
},
|
|
172
173
|
"scripts": {
|
|
173
174
|
"build": "unbuild",
|