unhead 3.0.3 → 3.0.4
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.BkiQF63F.d.ts → unhead.9aHQrEvB.d.ts} +2 -2
- package/dist/shared/{unhead.CSqfLsrn.d.mts → unhead.Bbk6Q9rK.d.mts} +2 -2
- package/dist/shared/{unhead.DBv5uRwR.d.mts → unhead.BcynQ3qJ.d.mts} +42 -2
- package/dist/shared/{unhead.DBv5uRwR.d.ts → unhead.BcynQ3qJ.d.ts} +42 -2
- package/dist/shared/{unhead.myNKutCo.d.mts → unhead.BfINO8Du.d.mts} +2 -2
- package/dist/shared/{unhead.CZmLNN-R.d.ts → unhead.BmdY3z1V.d.ts} +1 -1
- package/dist/shared/{unhead.BdWlwKav.d.mts → unhead.CGloe9Qc.d.mts} +2 -2
- package/dist/shared/{unhead.DMQDfSsC.d.ts → unhead.CHsGwxB0.d.ts} +2 -2
- package/dist/shared/{unhead.BTcZ161H.d.ts → unhead.CvqH1vcy.d.ts} +1 -1
- package/dist/shared/{unhead.DR0woClT.d.mts → unhead.D91IvQ_J.d.mts} +1 -1
- package/dist/shared/{unhead.BHSg79VK.d.ts → unhead.DCXRrsx_.d.ts} +2 -2
- package/dist/shared/{unhead.DeVAJflP.d.ts → unhead.DoIxTwSF.d.ts} +1 -1
- package/dist/shared/{unhead.BAm7OHQx.d.mts → unhead.DvqMLXpO.d.mts} +1 -1
- package/dist/shared/{unhead.vAjfKrQR.d.mts → unhead.LatFr5s0.d.mts} +1 -1
- package/dist/shared/{unhead.BPps6U7z.d.ts → unhead.Ogog_XUX.d.ts} +1 -1
- package/dist/shared/{unhead.DFLvtb3Z.d.mts → unhead.m4TuRTvV.d.mts} +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 +1 -1
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.Bbk6Q9rK.mjs';
|
|
2
|
+
import { R as RenderDomHeadOptions } from './shared/unhead.D91IvQ_J.mjs';
|
|
3
|
+
import { p as HeadRenderer, U as Unhead } from './shared/unhead.m4TuRTvV.mjs';
|
|
4
|
+
export { c as CreateClientHeadOptions } from './shared/unhead.m4TuRTvV.mjs';
|
|
5
5
|
import 'hookable';
|
|
6
|
-
import './shared/unhead.
|
|
6
|
+
import './shared/unhead.BcynQ3qJ.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.CHsGwxB0.js';
|
|
2
|
+
import { R as RenderDomHeadOptions } from './shared/unhead.Ogog_XUX.js';
|
|
3
|
+
import { p as HeadRenderer, U as Unhead } from './shared/unhead.BmdY3z1V.js';
|
|
4
|
+
export { c as CreateClientHeadOptions } from './shared/unhead.BmdY3z1V.js';
|
|
5
5
|
import 'hookable';
|
|
6
|
-
import './shared/unhead.
|
|
6
|
+
import './shared/unhead.BcynQ3qJ.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 { at as ResolvableHead, b1 as UseSeoMetaInput, J as InferLink, U as Link, K as InferScript, aI as Script } from './shared/unhead.
|
|
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.m4TuRTvV.mjs';
|
|
2
|
+
import { at as ResolvableHead, b1 as UseSeoMetaInput, J as InferLink, U as Link, K as InferScript, aI as Script } from './shared/unhead.BcynQ3qJ.mjs';
|
|
3
|
+
import { H as HeadSafe } from './shared/unhead.LatFr5s0.mjs';
|
|
4
|
+
export { c as createUnhead } from './shared/unhead.CGloe9Qc.mjs';
|
|
5
|
+
export { u as useScript } from './shared/unhead.DvqMLXpO.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 { at as ResolvableHead, b1 as UseSeoMetaInput, J as InferLink, U as Link, K as InferScript, aI as Script } from './shared/unhead.
|
|
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.BmdY3z1V.js';
|
|
2
|
+
import { at as ResolvableHead, b1 as UseSeoMetaInput, J as InferLink, U as Link, K as InferScript, aI as Script } from './shared/unhead.BcynQ3qJ.js';
|
|
3
|
+
import { H as HeadSafe } from './shared/unhead.CvqH1vcy.js';
|
|
4
|
+
export { c as createUnhead } from './shared/unhead.DCXRrsx_.js';
|
|
5
|
+
export { u as useScript } from './shared/unhead.DoIxTwSF.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 { at as ResolvableHead } from './shared/unhead.
|
|
1
|
+
import { c as createUnhead } from './shared/unhead.CGloe9Qc.mjs';
|
|
2
|
+
import { n as HeadPluginInput, U as Unhead, c as CreateClientHeadOptions, e as CreateServerHeadOptions } from './shared/unhead.m4TuRTvV.mjs';
|
|
3
|
+
import { at as ResolvableHead } from './shared/unhead.BcynQ3qJ.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 { at as ResolvableHead } from './shared/unhead.
|
|
1
|
+
import { c as createUnhead } from './shared/unhead.DCXRrsx_.js';
|
|
2
|
+
import { n as HeadPluginInput, U as Unhead, c as CreateClientHeadOptions, e as CreateServerHeadOptions } from './shared/unhead.BmdY3z1V.js';
|
|
3
|
+
import { at as ResolvableHead } from './shared/unhead.BcynQ3qJ.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 { t as HeadTag } from './shared/unhead.
|
|
1
|
+
import { n as HeadPluginInput, U as Unhead, o as HeadPluginOptions } from './shared/unhead.m4TuRTvV.mjs';
|
|
2
|
+
import { t as HeadTag } from './shared/unhead.BcynQ3qJ.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 { t as HeadTag } from './shared/unhead.
|
|
1
|
+
import { n as HeadPluginInput, U as Unhead, o as HeadPluginOptions } from './shared/unhead.BmdY3z1V.js';
|
|
2
|
+
import { t as HeadTag } from './shared/unhead.BcynQ3qJ.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.m4TuRTvV.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.m4TuRTvV.mjs';
|
|
3
|
+
export { u as useScript } from './shared/unhead.DvqMLXpO.mjs';
|
|
4
4
|
import 'hookable';
|
|
5
|
-
import './shared/unhead.
|
|
5
|
+
import './shared/unhead.BcynQ3qJ.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.BmdY3z1V.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.BmdY3z1V.js';
|
|
3
|
+
export { u as useScript } from './shared/unhead.DoIxTwSF.js';
|
|
4
4
|
import 'hookable';
|
|
5
|
-
import './shared/unhead.
|
|
5
|
+
import './shared/unhead.BcynQ3qJ.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 { t as HeadTag } from './shared/unhead.
|
|
1
|
+
export { S as ServerUnhead, c as createHead } from './shared/unhead.BfINO8Du.mjs';
|
|
2
|
+
import { r as RenderSSRHeadOptions, p as HeadRenderer, s as SSRHeadPayload, U as Unhead } from './shared/unhead.m4TuRTvV.mjs';
|
|
3
|
+
export { e as CreateServerHeadOptions } from './shared/unhead.m4TuRTvV.mjs';
|
|
4
|
+
import { t as HeadTag } from './shared/unhead.BcynQ3qJ.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 { t as HeadTag } from './shared/unhead.
|
|
1
|
+
export { S as ServerUnhead, c as createHead } from './shared/unhead.9aHQrEvB.js';
|
|
2
|
+
import { r as RenderSSRHeadOptions, p as HeadRenderer, s as SSRHeadPayload, U as Unhead } from './shared/unhead.BmdY3z1V.js';
|
|
3
|
+
export { e as CreateServerHeadOptions } from './shared/unhead.BmdY3z1V.js';
|
|
4
|
+
import { t as HeadTag } from './shared/unhead.BcynQ3qJ.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, s as SSRHeadPayload, v as ServerHeadHooks, e as CreateServerHeadOptions } from './unhead.
|
|
3
|
-
import { at as ResolvableHead } from './unhead.
|
|
2
|
+
import { U as Unhead, s as SSRHeadPayload, v as ServerHeadHooks, e as CreateServerHeadOptions } from './unhead.BmdY3z1V.js';
|
|
3
|
+
import { at as ResolvableHead } from './unhead.BcynQ3qJ.js';
|
|
4
4
|
|
|
5
5
|
interface ServerUnhead<T = ResolvableHead> extends Unhead<T, SSRHeadPayload> {
|
|
6
6
|
hooks: HookableCore<ServerHeadHooks>;
|
|
@@ -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 { at as ResolvableHead } from './unhead.
|
|
2
|
+
import { U as Unhead, C as ClientHeadHooks, c as CreateClientHeadOptions } from './unhead.m4TuRTvV.mjs';
|
|
3
|
+
import { at as ResolvableHead } from './unhead.BcynQ3qJ.mjs';
|
|
4
4
|
|
|
5
5
|
interface ClientUnhead<T = ResolvableHead> extends Unhead<T, boolean> {
|
|
6
6
|
hooks: HookableCore<ClientHeadHooks>;
|
|
@@ -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
|
*
|
|
@@ -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
|
*
|
|
@@ -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 { at as ResolvableHead } from './unhead.
|
|
2
|
+
import { U as Unhead, s as SSRHeadPayload, v as ServerHeadHooks, e as CreateServerHeadOptions } from './unhead.m4TuRTvV.mjs';
|
|
3
|
+
import { at as ResolvableHead } from './unhead.BcynQ3qJ.mjs';
|
|
4
4
|
|
|
5
5
|
interface ServerUnhead<T = ResolvableHead> extends Unhead<T, SSRHeadPayload> {
|
|
6
6
|
hooks: HookableCore<ServerHeadHooks>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HookableCore } from 'hookable';
|
|
2
|
-
import { r as GenericScript, aK as ScriptHttpEvents, D as DataKeys, _ as MaybeEventFnHandlers, x as HttpEventAttributes, aH as SchemaAugmentations, t as HeadTag, at as ResolvableHead, aT as TagPosition, aU as TagPriority, ao as ProcessesTemplateParams, aG as ResolvesDuplicates, aW as TemplateParams } from './unhead.
|
|
2
|
+
import { r as GenericScript, aK as ScriptHttpEvents, D as DataKeys, _ as MaybeEventFnHandlers, x as HttpEventAttributes, aH as SchemaAugmentations, t as HeadTag, at as ResolvableHead, aT as TagPosition, aU as TagPriority, ao as ProcessesTemplateParams, aG as ResolvesDuplicates, aW as TemplateParams } from './unhead.BcynQ3qJ.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,5 +1,5 @@
|
|
|
1
|
-
import { p as HeadRenderer, d as CreateHeadOptions, U as Unhead } from './unhead.
|
|
2
|
-
import { at as ResolvableHead } from './unhead.
|
|
1
|
+
import { p as HeadRenderer, d as CreateHeadOptions, U as Unhead } from './unhead.m4TuRTvV.mjs';
|
|
2
|
+
import { at as ResolvableHead } from './unhead.BcynQ3qJ.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, C as ClientHeadHooks, c as CreateClientHeadOptions } from './unhead.
|
|
3
|
-
import { at as ResolvableHead } from './unhead.
|
|
2
|
+
import { U as Unhead, C as ClientHeadHooks, c as CreateClientHeadOptions } from './unhead.BmdY3z1V.js';
|
|
3
|
+
import { at as ResolvableHead } from './unhead.BcynQ3qJ.js';
|
|
4
4
|
|
|
5
5
|
interface ClientUnhead<T = ResolvableHead> extends Unhead<T, boolean> {
|
|
6
6
|
hooks: HookableCore<ClientHeadHooks>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as RawInput, at as ResolvableHead, aF as ResolvableValue, ay as ResolvableProperties, G as GenericLink, D as DataKeys, aH as SchemaAugmentations, a3 as MetaGeneric, r as GenericScript, a_ as UnheadHtmlAttributes, aZ as UnheadBodyAttributesWithoutEvents } from './unhead.
|
|
1
|
+
import { aq as RawInput, at as ResolvableHead, aF as ResolvableValue, ay as ResolvableProperties, G as GenericLink, D as DataKeys, aH as SchemaAugmentations, a3 as MetaGeneric, r as GenericScript, a_ as UnheadHtmlAttributes, aZ as UnheadBodyAttributesWithoutEvents } from './unhead.BcynQ3qJ.js';
|
|
2
2
|
|
|
3
3
|
type Base = RawInput<'base'>;
|
|
4
4
|
type HtmlAttributes = RawInput<'htmlAttrs'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as HeadRenderer, d as CreateHeadOptions, U as Unhead } from './unhead.
|
|
2
|
-
import { at as ResolvableHead } from './unhead.
|
|
1
|
+
import { p as HeadRenderer, d as CreateHeadOptions, U as Unhead } from './unhead.BmdY3z1V.js';
|
|
2
|
+
import { at as ResolvableHead } from './unhead.BcynQ3qJ.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 { 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.BmdY3z1V.js';
|
|
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.m4TuRTvV.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Load third-party scripts with SSR support and a proxied API.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aq as RawInput, at as ResolvableHead, aF as ResolvableValue, ay as ResolvableProperties, G as GenericLink, D as DataKeys, aH as SchemaAugmentations, a3 as MetaGeneric, r as GenericScript, a_ as UnheadHtmlAttributes, aZ as UnheadBodyAttributesWithoutEvents } from './unhead.
|
|
1
|
+
import { aq as RawInput, at as ResolvableHead, aF as ResolvableValue, ay as ResolvableProperties, G as GenericLink, D as DataKeys, aH as SchemaAugmentations, a3 as MetaGeneric, r as GenericScript, a_ as UnheadHtmlAttributes, aZ as UnheadBodyAttributesWithoutEvents } from './unhead.BcynQ3qJ.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 { r as GenericScript, aK as ScriptHttpEvents, D as DataKeys, _ as MaybeEventFnHandlers, x as HttpEventAttributes, aH as SchemaAugmentations, t as HeadTag, at as ResolvableHead, aT as TagPosition, aU as TagPriority, ao as ProcessesTemplateParams, aG as ResolvesDuplicates, aW as TemplateParams } from './unhead.
|
|
2
|
+
import { r as GenericScript, aK as ScriptHttpEvents, D as DataKeys, _ as MaybeEventFnHandlers, x as HttpEventAttributes, aH as SchemaAugmentations, t as HeadTag, at as ResolvableHead, aT as TagPosition, aU as TagPriority, ao as ProcessesTemplateParams, aG as ResolvesDuplicates, aW as TemplateParams } from './unhead.BcynQ3qJ.mjs';
|
|
3
3
|
|
|
4
4
|
type UseScriptStatus = 'awaitingLoad' | 'loading' | 'loaded' | 'error' | 'removed';
|
|
5
5
|
type UseScriptContext<T extends Record<symbol | string, any>> = ScriptInstance<T>;
|
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 { aM as SerializableHead, at as ResolvableHead } from '../shared/unhead.
|
|
1
|
+
import { C as ClientUnhead } from '../shared/unhead.Bbk6Q9rK.mjs';
|
|
2
|
+
import { c as CreateClientHeadOptions, U as Unhead } from '../shared/unhead.m4TuRTvV.mjs';
|
|
3
|
+
import { aM as SerializableHead, at as ResolvableHead } from '../shared/unhead.BcynQ3qJ.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 { aM as SerializableHead, at as ResolvableHead } from '../shared/unhead.
|
|
1
|
+
import { C as ClientUnhead } from '../shared/unhead.CHsGwxB0.js';
|
|
2
|
+
import { c as CreateClientHeadOptions, U as Unhead } from '../shared/unhead.BmdY3z1V.js';
|
|
3
|
+
import { aM as SerializableHead, at as ResolvableHead } from '../shared/unhead.BcynQ3qJ.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 { at as ResolvableHead } from '../shared/unhead.
|
|
1
|
+
import { S as ServerUnhead } from '../shared/unhead.BfINO8Du.mjs';
|
|
2
|
+
import { f as CreateStreamableServerHeadOptions, U as Unhead, s as SSRHeadPayload } from '../shared/unhead.m4TuRTvV.mjs';
|
|
3
|
+
import { at as ResolvableHead } from '../shared/unhead.BcynQ3qJ.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 { at as ResolvableHead } from '../shared/unhead.
|
|
1
|
+
import { S as ServerUnhead } from '../shared/unhead.9aHQrEvB.js';
|
|
2
|
+
import { f as CreateStreamableServerHeadOptions, U as Unhead, s as SSRHeadPayload } from '../shared/unhead.BmdY3z1V.js';
|
|
3
|
+
import { at as ResolvableHead } from '../shared/unhead.BcynQ3qJ.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 AppleTouchIconLink, f as ApplicationJsonScript, g as Arrayable, h as AuthorLink, i as BareAlternateLink, j as BodyAttributesWithoutEvents, k as BodyEvents, C as CanonicalLink, l as CharsetMeta, m as CompressionDictionaryLink, D as DataKeys, n as DeepReadonly, o as DeepResolvableProperties, p as DnsPrefetchLink, E as ExpectLink, q as ExternalScript, F as FaviconLink, G as GenericLink, r as GenericScript, s as GlobalAttributes, H as HasTemplateParams, t as HeadTag, u as HeadTagKeys, v as HelpLink, w as HttpEquivMeta, x as HttpEventAttributes, I as IconLink, y as ImportMapConfig, z as ImportMapScript, J as InferLink, K as InferScript, L as InlineModuleScript, M as InlineScript, N as InnerContent, O as InnerContentVal, P as InternalTagKey, Q as JsonLdScript, R as KnownLinkRel, S as KnownScriptType, T as LicenseLink, U as Link, V as LinkBase, W as LinkHttpEvents, X as ManifestLink, Y as MaskIconLink, Z as MaybeArray, _ as MaybeEventFnHandlers, $ as MeLink, a0 as Meta, a1 as MetaBase, a2 as MetaFlat, a3 as MetaGeneric, a4 as MetaNames, a5 as MetaProperties, a6 as ModuleScript, a7 as ModulepreloadLink, a8 as NameMeta, a9 as Never, aa as NextLink, ab as PingbackLink, ac as PreconnectLink, ad as PrefetchLink, ae as PreloadFontLink, af as PreloadImageLink, ag as PreloadLink, ah as PreloadLinkBase, ai as PreloadOtherLink, aj as PreloadScriptLink, ak as PreloadStyleLink, al as PrerenderLink, am as PrevLink, an as PrivacyPolicyLink, ao as ProcessesTemplateParams, ap as PropertyMeta, aq as RawInput, ar as ResolvableBase, as as ResolvableBodyAttributes, at as ResolvableHead, au as ResolvableHtmlAttributes, av as ResolvableLink, aw as ResolvableMeta, ax as ResolvableNoscript, ay as ResolvableProperties, az as ResolvableScript, aA as ResolvableStyle, aB as ResolvableTemplateParams, aC as ResolvableTitle, aD as ResolvableTitleTemplate, aE as ResolvableUnion, aF as ResolvableValue, aG as ResolvesDuplicates, aH as SchemaAugmentations, aI as Script, aJ as ScriptBase, aK as ScriptHttpEvents, aL as SearchLink, aM as SerializableHead, aN as SpeculationRules, aO as SpeculationRulesScript, aP as StringInnerContent, aQ as Stringable, aR as StylesheetLink, aS as TagKey, aT as TagPosition, aU as TagPriority, aV as TagUserProperties, aW as TemplateParams, aX as TemplateParamsAugmentations, aY as TermsOfServiceLink, aZ as UnheadBodyAttributesWithoutEvents, a_ as UnheadHtmlAttributes, a$ as UnheadMeta, b0 as UseHeadInput, b1 as UseSeoMetaInput, b2 as ValidTagPositions, b3 as WebmentionLink } from './shared/unhead.
|
|
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.m4TuRTvV.mjs';
|
|
2
|
+
export { R as RenderDomHeadOptions } from './shared/unhead.D91IvQ_J.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.LatFr5s0.mjs';
|
|
4
|
+
import { B as Booleanable } from './shared/unhead.BcynQ3qJ.mjs';
|
|
5
|
+
export { A as AlternateFeedLink, a as AlternateLanguageLink, b as AlternateLink, c as AlternateMediaLink, d as AlternateStylesheetLink, e as AppleTouchIconLink, f as ApplicationJsonScript, g as Arrayable, h as AuthorLink, i as BareAlternateLink, j as BodyAttributesWithoutEvents, k as BodyEvents, C as CanonicalLink, l as CharsetMeta, m as CompressionDictionaryLink, D as DataKeys, n as DeepReadonly, o as DeepResolvableProperties, p as DnsPrefetchLink, E as ExpectLink, q as ExternalScript, F as FaviconLink, G as GenericLink, r as GenericScript, s as GlobalAttributes, H as HasTemplateParams, t as HeadTag, u as HeadTagKeys, v as HelpLink, w as HttpEquivMeta, x as HttpEventAttributes, I as IconLink, y as ImportMapConfig, z as ImportMapScript, J as InferLink, K as InferScript, L as InlineModuleScript, M as InlineScript, N as InnerContent, O as InnerContentVal, P as InternalTagKey, Q as JsonLdScript, R as KnownLinkRel, S as KnownScriptType, T as LicenseLink, U as Link, V as LinkBase, W as LinkHttpEvents, X as ManifestLink, Y as MaskIconLink, Z as MaybeArray, _ as MaybeEventFnHandlers, $ as MeLink, a0 as Meta, a1 as MetaBase, a2 as MetaFlat, a3 as MetaGeneric, a4 as MetaNames, a5 as MetaProperties, a6 as ModuleScript, a7 as ModulepreloadLink, a8 as NameMeta, a9 as Never, aa as NextLink, ab as PingbackLink, ac as PreconnectLink, ad as PrefetchLink, ae as PreloadFontLink, af as PreloadImageLink, ag as PreloadLink, ah as PreloadLinkBase, ai as PreloadOtherLink, aj as PreloadScriptLink, ak as PreloadStyleLink, al as PrerenderLink, am as PrevLink, an as PrivacyPolicyLink, ao as ProcessesTemplateParams, ap as PropertyMeta, aq as RawInput, ar as ResolvableBase, as as ResolvableBodyAttributes, at as ResolvableHead, au as ResolvableHtmlAttributes, av as ResolvableLink, aw as ResolvableMeta, ax as ResolvableNoscript, ay as ResolvableProperties, az as ResolvableScript, aA as ResolvableStyle, aB as ResolvableTemplateParams, aC as ResolvableTitle, aD as ResolvableTitleTemplate, aE as ResolvableUnion, aF as ResolvableValue, aG as ResolvesDuplicates, aH as SchemaAugmentations, aI as Script, aJ as ScriptBase, aK as ScriptHttpEvents, aL as SearchLink, aM as SerializableHead, aN as SpeculationRules, aO as SpeculationRulesScript, aP as StringInnerContent, aQ as Stringable, aR as StylesheetLink, aS as TagKey, aT as TagPosition, aU as TagPriority, aV as TagUserProperties, aW as TemplateParams, aX as TemplateParamsAugmentations, aY as TermsOfServiceLink, aZ as UnheadBodyAttributesWithoutEvents, a_ as UnheadHtmlAttributes, a$ as UnheadMeta, b0 as UseHeadInput, b1 as UseSeoMetaInput, b2 as ValidTagPositions, b3 as WebmentionLink } from './shared/unhead.BcynQ3qJ.mjs';
|
|
6
6
|
export { createSpyProxy } from './scripts.mjs';
|
|
7
|
-
export { u as useScript } from './shared/unhead.
|
|
7
|
+
export { u as useScript } from './shared/unhead.DvqMLXpO.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 AppleTouchIconLink, f as ApplicationJsonScript, g as Arrayable, h as AuthorLink, i as BareAlternateLink, j as BodyAttributesWithoutEvents, k as BodyEvents, C as CanonicalLink, l as CharsetMeta, m as CompressionDictionaryLink, D as DataKeys, n as DeepReadonly, o as DeepResolvableProperties, p as DnsPrefetchLink, E as ExpectLink, q as ExternalScript, F as FaviconLink, G as GenericLink, r as GenericScript, s as GlobalAttributes, H as HasTemplateParams, t as HeadTag, u as HeadTagKeys, v as HelpLink, w as HttpEquivMeta, x as HttpEventAttributes, I as IconLink, y as ImportMapConfig, z as ImportMapScript, J as InferLink, K as InferScript, L as InlineModuleScript, M as InlineScript, N as InnerContent, O as InnerContentVal, P as InternalTagKey, Q as JsonLdScript, R as KnownLinkRel, S as KnownScriptType, T as LicenseLink, U as Link, V as LinkBase, W as LinkHttpEvents, X as ManifestLink, Y as MaskIconLink, Z as MaybeArray, _ as MaybeEventFnHandlers, $ as MeLink, a0 as Meta, a1 as MetaBase, a2 as MetaFlat, a3 as MetaGeneric, a4 as MetaNames, a5 as MetaProperties, a6 as ModuleScript, a7 as ModulepreloadLink, a8 as NameMeta, a9 as Never, aa as NextLink, ab as PingbackLink, ac as PreconnectLink, ad as PrefetchLink, ae as PreloadFontLink, af as PreloadImageLink, ag as PreloadLink, ah as PreloadLinkBase, ai as PreloadOtherLink, aj as PreloadScriptLink, ak as PreloadStyleLink, al as PrerenderLink, am as PrevLink, an as PrivacyPolicyLink, ao as ProcessesTemplateParams, ap as PropertyMeta, aq as RawInput, ar as ResolvableBase, as as ResolvableBodyAttributes, at as ResolvableHead, au as ResolvableHtmlAttributes, av as ResolvableLink, aw as ResolvableMeta, ax as ResolvableNoscript, ay as ResolvableProperties, az as ResolvableScript, aA as ResolvableStyle, aB as ResolvableTemplateParams, aC as ResolvableTitle, aD as ResolvableTitleTemplate, aE as ResolvableUnion, aF as ResolvableValue, aG as ResolvesDuplicates, aH as SchemaAugmentations, aI as Script, aJ as ScriptBase, aK as ScriptHttpEvents, aL as SearchLink, aM as SerializableHead, aN as SpeculationRules, aO as SpeculationRulesScript, aP as StringInnerContent, aQ as Stringable, aR as StylesheetLink, aS as TagKey, aT as TagPosition, aU as TagPriority, aV as TagUserProperties, aW as TemplateParams, aX as TemplateParamsAugmentations, aY as TermsOfServiceLink, aZ as UnheadBodyAttributesWithoutEvents, a_ as UnheadHtmlAttributes, a$ as UnheadMeta, b0 as UseHeadInput, b1 as UseSeoMetaInput, b2 as ValidTagPositions, b3 as WebmentionLink } from './shared/unhead.
|
|
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.BmdY3z1V.js';
|
|
2
|
+
export { R as RenderDomHeadOptions } from './shared/unhead.Ogog_XUX.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.CvqH1vcy.js';
|
|
4
|
+
import { B as Booleanable } from './shared/unhead.BcynQ3qJ.js';
|
|
5
|
+
export { A as AlternateFeedLink, a as AlternateLanguageLink, b as AlternateLink, c as AlternateMediaLink, d as AlternateStylesheetLink, e as AppleTouchIconLink, f as ApplicationJsonScript, g as Arrayable, h as AuthorLink, i as BareAlternateLink, j as BodyAttributesWithoutEvents, k as BodyEvents, C as CanonicalLink, l as CharsetMeta, m as CompressionDictionaryLink, D as DataKeys, n as DeepReadonly, o as DeepResolvableProperties, p as DnsPrefetchLink, E as ExpectLink, q as ExternalScript, F as FaviconLink, G as GenericLink, r as GenericScript, s as GlobalAttributes, H as HasTemplateParams, t as HeadTag, u as HeadTagKeys, v as HelpLink, w as HttpEquivMeta, x as HttpEventAttributes, I as IconLink, y as ImportMapConfig, z as ImportMapScript, J as InferLink, K as InferScript, L as InlineModuleScript, M as InlineScript, N as InnerContent, O as InnerContentVal, P as InternalTagKey, Q as JsonLdScript, R as KnownLinkRel, S as KnownScriptType, T as LicenseLink, U as Link, V as LinkBase, W as LinkHttpEvents, X as ManifestLink, Y as MaskIconLink, Z as MaybeArray, _ as MaybeEventFnHandlers, $ as MeLink, a0 as Meta, a1 as MetaBase, a2 as MetaFlat, a3 as MetaGeneric, a4 as MetaNames, a5 as MetaProperties, a6 as ModuleScript, a7 as ModulepreloadLink, a8 as NameMeta, a9 as Never, aa as NextLink, ab as PingbackLink, ac as PreconnectLink, ad as PrefetchLink, ae as PreloadFontLink, af as PreloadImageLink, ag as PreloadLink, ah as PreloadLinkBase, ai as PreloadOtherLink, aj as PreloadScriptLink, ak as PreloadStyleLink, al as PrerenderLink, am as PrevLink, an as PrivacyPolicyLink, ao as ProcessesTemplateParams, ap as PropertyMeta, aq as RawInput, ar as ResolvableBase, as as ResolvableBodyAttributes, at as ResolvableHead, au as ResolvableHtmlAttributes, av as ResolvableLink, aw as ResolvableMeta, ax as ResolvableNoscript, ay as ResolvableProperties, az as ResolvableScript, aA as ResolvableStyle, aB as ResolvableTemplateParams, aC as ResolvableTitle, aD as ResolvableTitleTemplate, aE as ResolvableUnion, aF as ResolvableValue, aG as ResolvesDuplicates, aH as SchemaAugmentations, aI as Script, aJ as ScriptBase, aK as ScriptHttpEvents, aL as SearchLink, aM as SerializableHead, aN as SpeculationRules, aO as SpeculationRulesScript, aP as StringInnerContent, aQ as Stringable, aR as StylesheetLink, aS as TagKey, aT as TagPosition, aU as TagPriority, aV as TagUserProperties, aW as TemplateParams, aX as TemplateParamsAugmentations, aY as TermsOfServiceLink, aZ as UnheadBodyAttributesWithoutEvents, a_ as UnheadHtmlAttributes, a$ as UnheadMeta, b0 as UseHeadInput, b1 as UseSeoMetaInput, b2 as ValidTagPositions, b3 as WebmentionLink } from './shared/unhead.BcynQ3qJ.js';
|
|
6
6
|
export { createSpyProxy } from './scripts.js';
|
|
7
|
-
export { u as useScript } from './shared/unhead.
|
|
7
|
+
export { u as useScript } from './shared/unhead.DoIxTwSF.js';
|
|
8
8
|
import 'hookable';
|
|
9
9
|
|
|
10
10
|
interface AriaAttributes {
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as HeadTag, a2 as MetaFlat, at as ResolvableHead, aW as TemplateParams } from './shared/unhead.
|
|
2
|
-
import { P as PropResolver, U as Unhead } from './shared/unhead.
|
|
1
|
+
import { t as HeadTag, a2 as MetaFlat, at as ResolvableHead, aW as TemplateParams } from './shared/unhead.BcynQ3qJ.mjs';
|
|
2
|
+
import { P as PropResolver, U as Unhead } from './shared/unhead.m4TuRTvV.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 { t as HeadTag, a2 as MetaFlat, at as ResolvableHead, aW as TemplateParams } from './shared/unhead.
|
|
2
|
-
import { P as PropResolver, U as Unhead } from './shared/unhead.
|
|
1
|
+
import { t as HeadTag, a2 as MetaFlat, at as ResolvableHead, aW as TemplateParams } from './shared/unhead.BcynQ3qJ.js';
|
|
2
|
+
import { P as PropResolver, U as Unhead } from './shared/unhead.BmdY3z1V.js';
|
|
3
3
|
import 'hookable';
|
|
4
4
|
|
|
5
5
|
declare const SelfClosingTags: Set<string>;
|