unhead 3.0.0-beta.6 → 3.0.0-beta.7
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/client.mjs +2 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +1 -1
- 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/scripts.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.mjs +3 -3
- package/dist/shared/{unhead.BapS9crD.d.mts → unhead.5ph757u1.d.mts} +300 -93
- package/dist/shared/{unhead.BapS9crD.d.ts → unhead.5ph757u1.d.ts} +300 -93
- package/dist/shared/{unhead.Dicp3R79.d.mts → unhead.B9UFuLCK.d.mts} +2 -2
- package/dist/shared/{unhead.CMGJIdw7.mjs → unhead.BfbLkFkg.mjs} +1 -1
- package/dist/shared/{unhead.CV1o8EMt.d.ts → unhead.BqsuEzgR.d.ts} +1 -1
- package/dist/shared/{unhead.C8J9ETnF.mjs → unhead.BqyO1IIn.mjs} +1 -1
- package/dist/shared/{unhead.PmGaZ6n3.d.ts → unhead.C-4k1ONY.d.ts} +1 -1
- package/dist/shared/{unhead.Cqwv-Snu.d.ts → unhead.Cfuv4vVm.d.ts} +1 -1
- package/dist/shared/{unhead.C9MryCbP.d.ts → unhead.CmjOtSnf.d.ts} +3 -3
- package/dist/shared/{unhead.B3NZQsuH.d.ts → unhead.CuATeS8P.d.ts} +2 -2
- package/dist/shared/{unhead.CwW8GLoB.d.mts → unhead.CzbvM4Ih.d.mts} +3 -3
- package/dist/shared/{unhead.D0zMN8VW.mjs → unhead.D2jdZ2BM.mjs} +14 -11
- package/dist/shared/{unhead.DFYRNPGz.d.mts → unhead.DECeL1s3.d.mts} +1 -1
- package/dist/shared/{unhead.D2YTKqpr.d.mts → unhead.OoU46jDW.d.mts} +1 -1
- package/dist/shared/{unhead.Cd9rbIBR.mjs → unhead.XhzwfMDf.mjs} +12 -3
- package/dist/shared/{unhead.C4LhVpaV.d.mts → unhead.sufKyII-.d.mts} +1 -1
- package/dist/stream/client.d.mts +3 -3
- package/dist/stream/client.d.ts +3 -3
- package/dist/stream/iife.d.mts +2 -2
- package/dist/stream/iife.d.ts +2 -2
- package/dist/stream/iife.global.js +1 -1
- package/dist/stream/iife.mjs +2 -2
- package/dist/stream/server.d.mts +2 -2
- package/dist/stream/server.d.ts +2 -2
- package/dist/stream/server.mjs +2 -2
- package/dist/stream/vite.d.mts +9 -2
- package/dist/stream/vite.d.ts +9 -2
- package/dist/stream/vite.mjs +4 -1
- 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/dist/utils.mjs +1 -1
- package/package.json +13 -3
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, q as Unhead } from './shared/unhead.
|
|
4
|
-
export { n as CreateClientHeadOptions } from './shared/unhead.
|
|
1
|
+
export { C as ClientUnhead, c as createHead } from './shared/unhead.B9UFuLCK.mjs';
|
|
2
|
+
import { R as RenderDomHeadOptions } from './shared/unhead.DECeL1s3.mjs';
|
|
3
|
+
import { p as HeadRenderer, q as Unhead } from './shared/unhead.CzbvM4Ih.mjs';
|
|
4
|
+
export { n as CreateClientHeadOptions } from './shared/unhead.CzbvM4Ih.mjs';
|
|
5
5
|
import 'hookable';
|
|
6
|
-
import './shared/unhead.
|
|
6
|
+
import './shared/unhead.5ph757u1.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, q as Unhead } from './shared/unhead.
|
|
4
|
-
export { n as CreateClientHeadOptions } from './shared/unhead.
|
|
1
|
+
export { C as ClientUnhead, c as createHead } from './shared/unhead.CuATeS8P.js';
|
|
2
|
+
import { R as RenderDomHeadOptions } from './shared/unhead.C-4k1ONY.js';
|
|
3
|
+
import { p as HeadRenderer, q as Unhead } from './shared/unhead.CmjOtSnf.js';
|
|
4
|
+
export { n as CreateClientHeadOptions } from './shared/unhead.CmjOtSnf.js';
|
|
5
5
|
import 'hookable';
|
|
6
|
-
import './shared/unhead.
|
|
6
|
+
import './shared/unhead.5ph757u1.js';
|
|
7
7
|
|
|
8
8
|
declare function createDomRenderer(options?: RenderDomHeadOptions): HeadRenderer<boolean>;
|
|
9
9
|
|
package/dist/client.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as createDomRenderer, r as renderDOMHead$1 } from './shared/unhead.
|
|
1
|
+
import { c as createDomRenderer, r as renderDOMHead$1 } from './shared/unhead.BqyO1IIn.mjs';
|
|
2
2
|
import { c as createUnhead, r as registerPlugin } from './shared/unhead.Bkfgmqxw.mjs';
|
|
3
3
|
import { c as createHooks } from './shared/unhead.DvIxXxuO.mjs';
|
|
4
4
|
import './shared/unhead.C2yODEXq.mjs';
|
|
5
|
-
import './shared/unhead.
|
|
5
|
+
import './shared/unhead.XhzwfMDf.mjs';
|
|
6
6
|
import 'hookable';
|
|
7
7
|
|
|
8
8
|
const P = { critical: -8, high: -1, low: 2 };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { H as HeadSafe } from './shared/unhead.
|
|
2
|
-
import {
|
|
3
|
-
import { q as Unhead, o as HeadEntryOptions, k as ActiveHeadEntry, p as HeadRenderer, C as CreateHeadOptions } from './shared/unhead.
|
|
4
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { H as HeadSafe } from './shared/unhead.OoU46jDW.mjs';
|
|
2
|
+
import { aj as ResolvableHead, am as UseSeoMetaInput } from './shared/unhead.5ph757u1.mjs';
|
|
3
|
+
import { q as Unhead, o as HeadEntryOptions, k as ActiveHeadEntry, p as HeadRenderer, C as CreateHeadOptions } from './shared/unhead.CzbvM4Ih.mjs';
|
|
4
|
+
export { u as useScript } from './shared/unhead.sufKyII-.mjs';
|
|
5
5
|
import 'hookable';
|
|
6
6
|
|
|
7
7
|
declare function useHead<T extends Unhead<any>, I = ResolvableHead>(unhead: T, input?: ResolvableHead, options?: HeadEntryOptions): ActiveHeadEntry<I>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { H as HeadSafe } from './shared/unhead.
|
|
2
|
-
import {
|
|
3
|
-
import { q as Unhead, o as HeadEntryOptions, k as ActiveHeadEntry, p as HeadRenderer, C as CreateHeadOptions } from './shared/unhead.
|
|
4
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { H as HeadSafe } from './shared/unhead.BqsuEzgR.js';
|
|
2
|
+
import { aj as ResolvableHead, am as UseSeoMetaInput } from './shared/unhead.5ph757u1.js';
|
|
3
|
+
import { q as Unhead, o as HeadEntryOptions, k as ActiveHeadEntry, p as HeadRenderer, C as CreateHeadOptions } from './shared/unhead.CmjOtSnf.js';
|
|
4
|
+
export { u as useScript } from './shared/unhead.Cfuv4vVm.js';
|
|
5
5
|
import 'hookable';
|
|
6
6
|
|
|
7
7
|
declare function useHead<T extends Unhead<any>, I = ResolvableHead>(unhead: T, input?: ResolvableHead, options?: HeadEntryOptions): ActiveHeadEntry<I>;
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SafeInputPlugin, F as FlatMetaPlugin } from './shared/unhead.2y8V0W4A.mjs';
|
|
2
2
|
export { c as createUnhead } from './shared/unhead.Bkfgmqxw.mjs';
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
3
|
+
export { u as useScript } from './shared/unhead.D2jdZ2BM.mjs';
|
|
4
4
|
import './shared/unhead.CxhEb2IP.mjs';
|
|
5
5
|
import './shared/unhead.C2yODEXq.mjs';
|
|
6
6
|
import './shared/unhead.DvIxXxuO.mjs';
|
package/dist/parser.d.mts
CHANGED
package/dist/parser.d.ts
CHANGED
package/dist/plugins.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as HeadPluginInput, q as Unhead, h as HeadPluginOptions } from './shared/unhead.
|
|
1
|
+
import { i as HeadPluginInput, q as Unhead, h as HeadPluginOptions } from './shared/unhead.CzbvM4Ih.mjs';
|
|
2
2
|
import 'hookable';
|
|
3
|
-
import './shared/unhead.
|
|
3
|
+
import './shared/unhead.5ph757u1.mjs';
|
|
4
4
|
|
|
5
5
|
declare const AliasSortingPlugin: HeadPluginInput;
|
|
6
6
|
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as HeadPluginInput, q as Unhead, h as HeadPluginOptions } from './shared/unhead.
|
|
1
|
+
import { i as HeadPluginInput, q as Unhead, h as HeadPluginOptions } from './shared/unhead.CmjOtSnf.js';
|
|
2
2
|
import 'hookable';
|
|
3
|
-
import './shared/unhead.
|
|
3
|
+
import './shared/unhead.5ph757u1.js';
|
|
4
4
|
|
|
5
5
|
declare const AliasSortingPlugin: HeadPluginInput;
|
|
6
6
|
|
package/dist/scripts.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { R as RecordingEntry } from './shared/unhead.
|
|
2
|
-
export { A as AsVoidFunctions, E as EventHandlerOptions, S as ScriptInstance, d as UseFunctionType, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { R as RecordingEntry } from './shared/unhead.CzbvM4Ih.mjs';
|
|
2
|
+
export { A as AsVoidFunctions, E as EventHandlerOptions, S as ScriptInstance, d as UseFunctionType, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.CzbvM4Ih.mjs';
|
|
3
|
+
export { u as useScript } from './shared/unhead.sufKyII-.mjs';
|
|
4
4
|
import 'hookable';
|
|
5
|
-
import './shared/unhead.
|
|
5
|
+
import './shared/unhead.5ph757u1.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, E as EventHandlerOptions, S as ScriptInstance, d as UseFunctionType, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.
|
|
3
|
-
export { u as useScript } from './shared/unhead.
|
|
1
|
+
import { R as RecordingEntry } from './shared/unhead.CmjOtSnf.js';
|
|
2
|
+
export { A as AsVoidFunctions, E as EventHandlerOptions, S as ScriptInstance, d as UseFunctionType, a as UseScriptContext, c as UseScriptInput, e as UseScriptOptions, b as UseScriptResolvedInput, f as UseScriptReturn, U as UseScriptStatus, W as WarmupStrategy } from './shared/unhead.CmjOtSnf.js';
|
|
3
|
+
export { u as useScript } from './shared/unhead.Cfuv4vVm.js';
|
|
4
4
|
import 'hookable';
|
|
5
|
-
import './shared/unhead.
|
|
5
|
+
import './shared/unhead.5ph757u1.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/scripts.mjs
CHANGED
package/dist/server.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HookableCore } from 'hookable';
|
|
2
|
-
import { l as CreateServerHeadOptions, q as Unhead, t as SSRHeadPayload, J as ServerHeadHooks, u as RenderSSRHeadOptions, p as HeadRenderer } from './shared/unhead.
|
|
3
|
-
import {
|
|
2
|
+
import { l as CreateServerHeadOptions, q as Unhead, t as SSRHeadPayload, J as ServerHeadHooks, u as RenderSSRHeadOptions, p as HeadRenderer } from './shared/unhead.CzbvM4Ih.mjs';
|
|
3
|
+
import { aj as ResolvableHead, aJ as HeadTag } from './shared/unhead.5ph757u1.mjs';
|
|
4
4
|
|
|
5
5
|
interface ServerUnhead<T = ResolvableHead> extends Unhead<T, SSRHeadPayload> {
|
|
6
6
|
hooks: HookableCore<ServerHeadHooks>;
|
package/dist/server.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HookableCore } from 'hookable';
|
|
2
|
-
import { l as CreateServerHeadOptions, q as Unhead, t as SSRHeadPayload, J as ServerHeadHooks, u as RenderSSRHeadOptions, p as HeadRenderer } from './shared/unhead.
|
|
3
|
-
import {
|
|
2
|
+
import { l as CreateServerHeadOptions, q as Unhead, t as SSRHeadPayload, J as ServerHeadHooks, u as RenderSSRHeadOptions, p as HeadRenderer } from './shared/unhead.CmjOtSnf.js';
|
|
3
|
+
import { aj as ResolvableHead, aJ as HeadTag } from './shared/unhead.5ph757u1.js';
|
|
4
4
|
|
|
5
5
|
interface ServerUnhead<T = ResolvableHead> extends Unhead<T, SSRHeadPayload> {
|
|
6
6
|
hooks: HookableCore<ServerHeadHooks>;
|
package/dist/server.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as renderSSRHead$1 } from './shared/unhead.
|
|
2
|
-
export { b as capoTagWeight, c as createHead, a as createServerRenderer, e as escapeHtml, p as propsToString, s as ssrRenderTags, t as tagToString } from './shared/unhead.
|
|
1
|
+
import { r as renderSSRHead$1 } from './shared/unhead.BfbLkFkg.mjs';
|
|
2
|
+
export { b as capoTagWeight, c as createHead, a as createServerRenderer, e as escapeHtml, p as propsToString, s as ssrRenderTags, t as tagToString } from './shared/unhead.BfbLkFkg.mjs';
|
|
3
3
|
import { parseHtmlForUnheadExtraction, applyHeadToHtml, parseHtmlForIndexes } from './parser.mjs';
|
|
4
4
|
import './shared/unhead.Bkfgmqxw.mjs';
|
|
5
5
|
import './shared/unhead.DvIxXxuO.mjs';
|
|
6
6
|
import 'hookable';
|
|
7
|
-
import './shared/unhead.
|
|
7
|
+
import './shared/unhead.XhzwfMDf.mjs';
|
|
8
8
|
import './shared/unhead.C2yODEXq.mjs';
|
|
9
9
|
|
|
10
10
|
// @__NO_SIDE_EFFECTS__
|