unhead 2.0.16 → 2.0.18

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/server.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  import { a as createUnhead } from './shared/unhead.DH45uomy.mjs';
2
2
  import { T as TagsWithInnerContent, S as SelfClosingTags } from './shared/unhead.yem5I2v_.mjs';
3
+ import { parseHtmlForUnheadExtraction } from './parser.mjs';
3
4
  import 'hookable';
4
5
  import './shared/unhead.BpRRHAhY.mjs';
5
6
  import './shared/unhead.DZbvapt-.mjs';
@@ -67,519 +68,6 @@ function createHead(options = {}) {
67
68
  return unhead;
68
69
  }
69
70
 
70
- const TAG_HTML = 0;
71
- const TAG_HEAD = 1;
72
- const TAG_TITLE = 4;
73
- const TAG_META = 5;
74
- const TAG_BODY = 44;
75
- const TAG_SCRIPT = 52;
76
- const TAG_STYLE = 53;
77
- const TAG_LINK = 54;
78
- const TAG_BASE = 56;
79
- const TagIdMap = {
80
- html: TAG_HTML,
81
- head: TAG_HEAD,
82
- title: TAG_TITLE,
83
- meta: TAG_META,
84
- body: TAG_BODY,
85
- script: TAG_SCRIPT,
86
- style: TAG_STYLE,
87
- link: TAG_LINK,
88
- base: TAG_BASE
89
- };
90
-
91
- const LT_CHAR = 60;
92
- const GT_CHAR = 62;
93
- const SLASH_CHAR = 47;
94
- const EQUALS_CHAR = 61;
95
- const QUOTE_CHAR = 34;
96
- const APOS_CHAR = 39;
97
- const EXCLAMATION_CHAR = 33;
98
- const BACKSLASH_CHAR = 92;
99
- const DASH_CHAR = 45;
100
- const SPACE_CHAR = 32;
101
- const TAB_CHAR = 9;
102
- const NEWLINE_CHAR = 10;
103
- const CARRIAGE_RETURN_CHAR = 13;
104
- const EMPTY_ATTRIBUTES = Object.freeze({});
105
- function isWhitespace(charCode) {
106
- return charCode === SPACE_CHAR || charCode === TAB_CHAR || charCode === NEWLINE_CHAR || charCode === CARRIAGE_RETURN_CHAR;
107
- }
108
- function processCommentOrDoctype(htmlChunk, position) {
109
- let i = position;
110
- const chunkLength = htmlChunk.length;
111
- if (i + 3 < chunkLength && htmlChunk.charCodeAt(i + 2) === DASH_CHAR && htmlChunk.charCodeAt(i + 3) === DASH_CHAR) {
112
- i += 4;
113
- while (i < chunkLength - 2) {
114
- if (htmlChunk.charCodeAt(i) === DASH_CHAR && htmlChunk.charCodeAt(i + 1) === DASH_CHAR && htmlChunk.charCodeAt(i + 2) === GT_CHAR) {
115
- i += 3;
116
- return {
117
- complete: true,
118
- newPosition: i,
119
- remainingText: ""
120
- };
121
- }
122
- i++;
123
- }
124
- return {
125
- complete: false,
126
- newPosition: position,
127
- remainingText: htmlChunk.substring(position)
128
- };
129
- } else {
130
- i += 2;
131
- while (i < chunkLength) {
132
- if (htmlChunk.charCodeAt(i) === GT_CHAR) {
133
- i++;
134
- return {
135
- complete: true,
136
- newPosition: i,
137
- remainingText: ""
138
- };
139
- }
140
- i++;
141
- }
142
- return {
143
- complete: false,
144
- newPosition: i,
145
- remainingText: htmlChunk.substring(position, i)
146
- };
147
- }
148
- }
149
- function parseAttributes(attrStr) {
150
- if (!attrStr)
151
- return EMPTY_ATTRIBUTES;
152
- const result = {};
153
- const len = attrStr.length;
154
- let i = 0;
155
- const WHITESPACE = 0;
156
- const NAME = 1;
157
- const AFTER_NAME = 2;
158
- const BEFORE_VALUE = 3;
159
- const QUOTED_VALUE = 4;
160
- const UNQUOTED_VALUE = 5;
161
- let state = WHITESPACE;
162
- let nameStart = 0;
163
- let nameEnd = 0;
164
- let valueStart = 0;
165
- let quoteChar = 0;
166
- let name = "";
167
- while (i < len) {
168
- const charCode = attrStr.charCodeAt(i);
169
- const isSpace = isWhitespace(charCode);
170
- switch (state) {
171
- case WHITESPACE:
172
- if (!isSpace) {
173
- state = NAME;
174
- nameStart = i;
175
- nameEnd = 0;
176
- }
177
- break;
178
- case NAME:
179
- if (charCode === EQUALS_CHAR || isSpace) {
180
- nameEnd = i;
181
- name = attrStr.substring(nameStart, nameEnd).toLowerCase();
182
- state = charCode === EQUALS_CHAR ? BEFORE_VALUE : AFTER_NAME;
183
- }
184
- break;
185
- case AFTER_NAME:
186
- if (charCode === EQUALS_CHAR) {
187
- state = BEFORE_VALUE;
188
- } else if (!isSpace) {
189
- result[name] = "";
190
- state = NAME;
191
- nameStart = i;
192
- nameEnd = 0;
193
- }
194
- break;
195
- case BEFORE_VALUE:
196
- if (charCode === QUOTE_CHAR || charCode === APOS_CHAR) {
197
- quoteChar = charCode;
198
- state = QUOTED_VALUE;
199
- valueStart = i + 1;
200
- } else if (!isSpace) {
201
- state = UNQUOTED_VALUE;
202
- valueStart = i;
203
- }
204
- break;
205
- case QUOTED_VALUE:
206
- if (charCode === BACKSLASH_CHAR && i + 1 < len) {
207
- i++;
208
- } else if (charCode === quoteChar) {
209
- result[name] = attrStr.substring(valueStart, i);
210
- state = WHITESPACE;
211
- }
212
- break;
213
- case UNQUOTED_VALUE:
214
- if (isSpace || charCode === GT_CHAR) {
215
- result[name] = attrStr.substring(valueStart, i);
216
- state = WHITESPACE;
217
- }
218
- break;
219
- }
220
- i++;
221
- }
222
- if (state === QUOTED_VALUE || state === UNQUOTED_VALUE) {
223
- if (name) {
224
- result[name] = attrStr.substring(valueStart, i);
225
- }
226
- } else if (state === NAME || state === AFTER_NAME || state === BEFORE_VALUE) {
227
- nameEnd = nameEnd || i;
228
- const currentName = attrStr.substring(nameStart, nameEnd).toLowerCase();
229
- if (currentName) {
230
- result[currentName] = "";
231
- }
232
- }
233
- return result;
234
- }
235
- function parseHtmlForIndexes(html) {
236
- const indexes = {
237
- htmlTagStart: html.indexOf("<html"),
238
- htmlTagEnd: -1,
239
- headTagEnd: html.indexOf("</head>"),
240
- bodyTagStart: html.indexOf("<body"),
241
- bodyTagEnd: -1,
242
- bodyCloseTagStart: html.indexOf("</body>")
243
- };
244
- if (indexes.htmlTagStart >= 0) {
245
- const htmlTagEndPos = html.indexOf(">", indexes.htmlTagStart);
246
- if (htmlTagEndPos >= 0) {
247
- indexes.htmlTagEnd = htmlTagEndPos + 1;
248
- }
249
- }
250
- if (indexes.bodyTagStart >= 0) {
251
- const bodyTagEndPos = html.indexOf(">", indexes.bodyTagStart);
252
- if (bodyTagEndPos >= 0) {
253
- indexes.bodyTagEnd = bodyTagEndPos + 1;
254
- }
255
- }
256
- return { html, input: {}, indexes };
257
- }
258
- function parseHtmlForUnheadExtraction(html) {
259
- const input = {};
260
- const htmlParts = [];
261
- let position = 0;
262
- let inHead = false;
263
- let foundBodyStart = false;
264
- let lastCopyPosition = 0;
265
- let currentOutputLength = 0;
266
- const indexes = {
267
- htmlTagStart: -1,
268
- htmlTagEnd: -1,
269
- headTagEnd: -1,
270
- bodyTagStart: -1,
271
- bodyTagEnd: -1,
272
- bodyCloseTagStart: -1
273
- };
274
- const headElementsToExtract = /* @__PURE__ */ new Set([TAG_TITLE, TAG_META, TAG_LINK, TAG_SCRIPT, TAG_STYLE, TAG_BASE]);
275
- function copyAccumulatedText() {
276
- if (lastCopyPosition < position) {
277
- const textToAdd = html.substring(lastCopyPosition, position);
278
- htmlParts.push(textToAdd);
279
- currentOutputLength += textToAdd.length;
280
- lastCopyPosition = position;
281
- }
282
- }
283
- function addText(text) {
284
- htmlParts.push(text);
285
- currentOutputLength += text.length;
286
- }
287
- while (position < html.length && !foundBodyStart) {
288
- const currentCharCode = html.charCodeAt(position);
289
- if (currentCharCode !== LT_CHAR) {
290
- position++;
291
- continue;
292
- }
293
- if (position + 1 >= html.length) {
294
- copyAccumulatedText();
295
- addText(html[position]);
296
- break;
297
- }
298
- const nextCharCode = html.charCodeAt(position + 1);
299
- if (nextCharCode === EXCLAMATION_CHAR) {
300
- const result = processCommentOrDoctype(html, position);
301
- if (result.complete) {
302
- copyAccumulatedText();
303
- addText(html.substring(position, result.newPosition));
304
- position = result.newPosition;
305
- lastCopyPosition = position;
306
- } else {
307
- copyAccumulatedText();
308
- addText(html.substring(position));
309
- break;
310
- }
311
- continue;
312
- }
313
- if (nextCharCode === SLASH_CHAR) {
314
- let tagEnd2 = position + 2;
315
- while (tagEnd2 < html.length && html.charCodeAt(tagEnd2) !== GT_CHAR) {
316
- tagEnd2++;
317
- }
318
- if (tagEnd2 >= html.length) {
319
- copyAccumulatedText();
320
- addText(html.substring(position));
321
- break;
322
- }
323
- const tagName2 = html.substring(position + 2, tagEnd2).toLowerCase().trim();
324
- const tagId2 = TagIdMap[tagName2] ?? -1;
325
- if (tagId2 === TAG_HEAD) {
326
- inHead = false;
327
- copyAccumulatedText();
328
- const headCloseStart = currentOutputLength;
329
- addText(html.substring(position, tagEnd2 + 1));
330
- indexes.headTagEnd = headCloseStart;
331
- } else {
332
- copyAccumulatedText();
333
- addText(html.substring(position, tagEnd2 + 1));
334
- }
335
- position = tagEnd2 + 1;
336
- lastCopyPosition = position;
337
- continue;
338
- }
339
- const tagStart = position + 1;
340
- let tagNameEnd = tagStart;
341
- while (tagNameEnd < html.length) {
342
- const c = html.charCodeAt(tagNameEnd);
343
- if (isWhitespace(c) || c === SLASH_CHAR || c === GT_CHAR) {
344
- break;
345
- }
346
- tagNameEnd++;
347
- }
348
- if (tagNameEnd >= html.length) {
349
- copyAccumulatedText();
350
- addText(html.substring(position));
351
- break;
352
- }
353
- const tagName = html.substring(tagStart, tagNameEnd).toLowerCase();
354
- const tagId = TagIdMap[tagName] ?? -1;
355
- let tagEnd = tagNameEnd;
356
- let inQuote = false;
357
- let quoteChar = 0;
358
- let foundEnd = false;
359
- let isSelfClosing = false;
360
- while (tagEnd < html.length && !foundEnd) {
361
- const c = html.charCodeAt(tagEnd);
362
- if (inQuote) {
363
- if (c === quoteChar) {
364
- inQuote = false;
365
- }
366
- } else if (c === QUOTE_CHAR || c === APOS_CHAR) {
367
- inQuote = true;
368
- quoteChar = c;
369
- } else if (c === SLASH_CHAR && tagEnd + 1 < html.length && html.charCodeAt(tagEnd + 1) === GT_CHAR) {
370
- isSelfClosing = true;
371
- tagEnd += 2;
372
- foundEnd = true;
373
- continue;
374
- } else if (c === GT_CHAR) {
375
- tagEnd++;
376
- foundEnd = true;
377
- continue;
378
- }
379
- tagEnd++;
380
- }
381
- if (!foundEnd) {
382
- copyAccumulatedText();
383
- addText(html.substring(position));
384
- break;
385
- }
386
- const attributesStr = html.substring(tagNameEnd, tagEnd - (isSelfClosing ? 2 : 1)).trim();
387
- const attributes = parseAttributes(attributesStr);
388
- if (tagId === TAG_HTML) {
389
- copyAccumulatedText();
390
- indexes.htmlTagStart = currentOutputLength;
391
- if (Object.keys(attributes).length > 0) {
392
- input.htmlAttrs = attributes;
393
- addText(`<${tagName}>`);
394
- } else {
395
- addText(html.substring(position, tagEnd));
396
- }
397
- indexes.htmlTagEnd = currentOutputLength;
398
- } else if (tagId === TAG_BODY) {
399
- copyAccumulatedText();
400
- indexes.bodyTagStart = currentOutputLength;
401
- if (Object.keys(attributes).length > 0) {
402
- input.bodyAttrs = attributes;
403
- addText(`<${tagName}>`);
404
- } else {
405
- addText(html.substring(position, tagEnd));
406
- }
407
- indexes.bodyTagEnd = currentOutputLength;
408
- foundBodyStart = true;
409
- position = tagEnd;
410
- lastCopyPosition = position;
411
- break;
412
- } else if (tagId === TAG_HEAD) {
413
- inHead = true;
414
- copyAccumulatedText();
415
- addText(html.substring(position, tagEnd));
416
- } else if (inHead && headElementsToExtract.has(tagId)) {
417
- if (tagId === TAG_TITLE) {
418
- if (!isSelfClosing) {
419
- const titleEnd = findClosingTag(html, tagEnd, tagName);
420
- if (titleEnd !== -1) {
421
- const titleContent = html.substring(tagEnd, titleEnd).trim();
422
- if (titleContent && !input.title) {
423
- input.title = titleContent;
424
- }
425
- position = findTagEnd(html, titleEnd, tagName);
426
- lastCopyPosition = position;
427
- continue;
428
- }
429
- }
430
- } else if (tagId === TAG_SCRIPT) {
431
- const scriptAttrs = { ...attributes };
432
- if (!isSelfClosing) {
433
- const scriptEnd = findClosingTag(html, tagEnd, tagName);
434
- if (scriptEnd !== -1) {
435
- const scriptContent = html.substring(tagEnd, scriptEnd);
436
- scriptAttrs.innerHTML = scriptContent || "";
437
- position = findTagEnd(html, scriptEnd, tagName);
438
- } else {
439
- scriptAttrs.innerHTML = "";
440
- position = tagEnd;
441
- }
442
- } else {
443
- scriptAttrs.innerHTML = "";
444
- position = tagEnd;
445
- }
446
- lastCopyPosition = position;
447
- (input.script ||= []).push(scriptAttrs);
448
- continue;
449
- } else if (tagId === TAG_STYLE) {
450
- const styleAttrs = { ...attributes };
451
- if (!isSelfClosing) {
452
- const styleEnd = findClosingTag(html, tagEnd, tagName);
453
- if (styleEnd !== -1) {
454
- const styleContent = html.substring(tagEnd, styleEnd);
455
- styleAttrs.textContent = styleContent || "";
456
- position = findTagEnd(html, styleEnd, tagName);
457
- } else {
458
- styleAttrs.textContent = "";
459
- position = tagEnd;
460
- }
461
- } else {
462
- styleAttrs.textContent = "";
463
- position = tagEnd;
464
- }
465
- lastCopyPosition = position;
466
- (input.style ||= []).push(styleAttrs);
467
- continue;
468
- } else if (tagId === TAG_META) {
469
- (input.meta ||= []).push(attributes);
470
- position = tagEnd;
471
- lastCopyPosition = position;
472
- continue;
473
- } else if (tagId === TAG_LINK) {
474
- (input.link ||= []).push(attributes);
475
- position = tagEnd;
476
- lastCopyPosition = position;
477
- continue;
478
- } else if (tagId === TAG_BASE && !input.base) {
479
- input.base = attributes;
480
- position = tagEnd;
481
- lastCopyPosition = position;
482
- continue;
483
- }
484
- } else {
485
- copyAccumulatedText();
486
- addText(html.substring(position, tagEnd));
487
- }
488
- position = tagEnd;
489
- lastCopyPosition = position;
490
- }
491
- const remainingHtml = html.substring(position);
492
- const bodyCloseIndex = remainingHtml.indexOf("</body>");
493
- if (bodyCloseIndex !== -1) {
494
- indexes.bodyCloseTagStart = currentOutputLength + bodyCloseIndex;
495
- }
496
- copyAccumulatedText();
497
- addText(remainingHtml);
498
- return { html: htmlParts.join(""), input, indexes };
499
- }
500
- function findClosingTag(html, startPos, tagName) {
501
- const tagId = TagIdMap[tagName];
502
- const isScriptOrStyle = tagId === TAG_SCRIPT || tagId === TAG_STYLE;
503
- if (!isScriptOrStyle) {
504
- const closingTag2 = `</${tagName}`;
505
- const index = html.indexOf(closingTag2, startPos);
506
- return index === -1 ? -1 : index;
507
- }
508
- const closingTag = `</${tagName}`;
509
- let pos = startPos;
510
- let inSingleQuote = false;
511
- let inDoubleQuote = false;
512
- let inBacktick = false;
513
- let lastCharWasBackslash = false;
514
- while (pos < html.length) {
515
- const currentCharCode = html.charCodeAt(pos);
516
- if (!lastCharWasBackslash) {
517
- if (currentCharCode === APOS_CHAR && !inDoubleQuote && !inBacktick) {
518
- inSingleQuote = !inSingleQuote;
519
- } else if (currentCharCode === QUOTE_CHAR && !inSingleQuote && !inBacktick) {
520
- inDoubleQuote = !inDoubleQuote;
521
- } else if (currentCharCode === 96 && !inSingleQuote && !inDoubleQuote) {
522
- inBacktick = !inBacktick;
523
- }
524
- }
525
- lastCharWasBackslash = currentCharCode === BACKSLASH_CHAR && !lastCharWasBackslash;
526
- const inQuotes = inSingleQuote || inDoubleQuote || inBacktick;
527
- if (!inQuotes && html.startsWith(closingTag, pos)) {
528
- const afterTagPos = pos + closingTag.length;
529
- if (afterTagPos >= html.length) {
530
- return pos;
531
- }
532
- const nextChar = html.charCodeAt(afterTagPos);
533
- if (nextChar === GT_CHAR || isWhitespace(nextChar)) {
534
- return pos;
535
- }
536
- }
537
- pos++;
538
- }
539
- return -1;
540
- }
541
- function findTagEnd(html, closingTagStart, tagName) {
542
- let pos = closingTagStart + tagName.length + 2;
543
- while (pos < html.length && html.charCodeAt(pos) !== GT_CHAR) {
544
- pos++;
545
- }
546
- return pos < html.length ? pos + 1 : pos;
547
- }
548
- function applyHeadToHtml(template, headHtml) {
549
- const { html, indexes } = template;
550
- const parts = [];
551
- let lastIndex = 0;
552
- if (indexes.htmlTagStart >= 0) {
553
- parts.push(html.substring(lastIndex, indexes.htmlTagStart));
554
- parts.push(`<html${headHtml.htmlAttrs}>`);
555
- lastIndex = indexes.htmlTagEnd;
556
- }
557
- if (indexes.headTagEnd >= 0) {
558
- parts.push(html.substring(lastIndex, indexes.headTagEnd));
559
- parts.push(headHtml.headTags);
560
- parts.push("</head>");
561
- lastIndex = indexes.headTagEnd + 7;
562
- }
563
- if (indexes.bodyTagStart >= 0) {
564
- parts.push(html.substring(lastIndex, indexes.bodyTagStart));
565
- if (headHtml.bodyTagsOpen) {
566
- parts.push(`<body${headHtml.bodyAttrs}>
567
- ${headHtml.bodyTagsOpen}`);
568
- } else {
569
- parts.push(`<body${headHtml.bodyAttrs}>`);
570
- }
571
- lastIndex = indexes.bodyTagEnd;
572
- }
573
- if (indexes.bodyCloseTagStart >= 0) {
574
- parts.push(html.substring(lastIndex, indexes.bodyCloseTagStart));
575
- parts.push(headHtml.bodyTags);
576
- parts.push(html.substring(indexes.bodyCloseTagStart));
577
- } else {
578
- parts.push(html.substring(lastIndex));
579
- }
580
- return parts.join("");
581
- }
582
-
583
71
  function extractUnheadInputFromHtml(html) {
584
72
  return parseHtmlForUnheadExtraction(html);
585
73
  }
@@ -654,6 +142,7 @@ function ssrRenderTags(tags, options) {
654
142
  };
655
143
  }
656
144
 
145
+ // @__NO_SIDE_EFFECTS__
657
146
  async function renderSSRHead(head, options) {
658
147
  const beforeRenderCtx = { shouldRender: true };
659
148
  await head.hooks.callHook("ssr:beforeRender", beforeRenderCtx);
@@ -674,13 +163,17 @@ async function renderSSRHead(head, options) {
674
163
  return renderCtx.html;
675
164
  }
676
165
 
166
+ // @__NO_SIDE_EFFECTS__
677
167
  async function transformHtmlTemplate(head, html, options) {
168
+ const { parseHtmlForUnheadExtraction, applyHeadToHtml } = await import('./parser.mjs');
678
169
  const template = parseHtmlForUnheadExtraction(html);
679
170
  head.push(template.input, { _index: 0 });
680
171
  const headHtml = await renderSSRHead(head, options);
681
172
  return applyHeadToHtml(template, headHtml);
682
173
  }
174
+ // @__NO_SIDE_EFFECTS__
683
175
  async function transformHtmlTemplateRaw(head, html, options) {
176
+ const { parseHtmlForIndexes, applyHeadToHtml } = await import('./parser.mjs');
684
177
  const headHtml = await renderSSRHead(head, options);
685
178
  const template = parseHtmlForIndexes(html);
686
179
  return applyHeadToHtml(template, headHtml);
@@ -1,4 +1,4 @@
1
- import { U as Unhead, a as UseScriptInput, b as UseScriptOptions, c as UseScriptReturn, d as UseScriptResolvedInput } from './unhead.BxIzrSMV.mjs';
1
+ import { U as Unhead, a as UseScriptInput, b as UseScriptOptions, c as UseScriptReturn, d as UseScriptResolvedInput } from './unhead.Prz0gZXE.mjs';
2
2
 
3
3
  /**
4
4
  * @deprecated compute key manually
@@ -1,4 +1,4 @@
1
- import { a5 as RawInput, R as ResolvableHead, az as ResolvableValue, aA as ResolvableProperties, ag as LinkWithoutEvents, ab as DataKeys, J as SchemaAugmentations, O as UnheadMeta, ai as ScriptWithoutEvents, N as UnheadHtmlAttributes, L as UnheadBodyAttributesWithoutEvents } from './unhead.BxIzrSMV.mjs';
1
+ import { a5 as RawInput, R as ResolvableHead, az as ResolvableValue, aA as ResolvableProperties, ag as LinkWithoutEvents, ab as DataKeys, K as SchemaAugmentations, Q as UnheadMeta, ai as ScriptWithoutEvents, O as UnheadHtmlAttributes, N as UnheadBodyAttributesWithoutEvents } from './unhead.Prz0gZXE.mjs';
2
2
 
3
3
  type Base = RawInput<'base'>;
4
4
  type HtmlAttributes = RawInput<'htmlAttrs'>;
@@ -1,4 +1,4 @@
1
- import { a5 as RawInput, R as ResolvableHead, az as ResolvableValue, aA as ResolvableProperties, ag as LinkWithoutEvents, ab as DataKeys, J as SchemaAugmentations, O as UnheadMeta, ai as ScriptWithoutEvents, N as UnheadHtmlAttributes, L as UnheadBodyAttributesWithoutEvents } from './unhead.BxIzrSMV.js';
1
+ import { a5 as RawInput, R as ResolvableHead, az as ResolvableValue, aA as ResolvableProperties, ag as LinkWithoutEvents, ab as DataKeys, K as SchemaAugmentations, Q as UnheadMeta, ai as ScriptWithoutEvents, O as UnheadHtmlAttributes, N as UnheadBodyAttributesWithoutEvents } from './unhead.Prz0gZXE.js';
2
2
 
3
3
  type Base = RawInput<'base'>;
4
4
  type HtmlAttributes = RawInput<'htmlAttrs'>;
@@ -2322,4 +2322,4 @@ interface DomState {
2322
2322
  elMap: Map<string, Element | Element[]>;
2323
2323
  }
2324
2324
 
2325
- export type { ResolvableScript as $, AsVoidFunctions as A, Booleanable as B, CreateHeadOptions as C, DomState as D, EventHandlerOptions as E, HeadHooks as F, RenderDomHeadOptions as G, HeadEntry as H, DomPluginOptions as I, SchemaAugmentations as J, MaybeArray as K, UnheadBodyAttributesWithoutEvents as L, MetaFlatInput as M, UnheadHtmlAttributes as N, UnheadMeta as O, PropResolver as P, MaybeEventFnHandlers as Q, ResolvableHead as R, ScriptInstance as S, ResolvableTitle as T, Unhead as U, ResolvableTitleTemplate as V, WarmupStrategy as W, ResolvableBase as X, ResolvableLink as Y, ResolvableMeta as Z, ResolvableStyle as _, UseScriptInput as a, ResolvableNoscript as a0, ResolvableHtmlAttributes as a1, ResolvableBodyAttributes as a2, ResolvableTemplateParams as a3, SerializableHead as a4, RawInput as a5, Head as a6, ResolvedHead as a7, UseSeoMetaInput as a8, UseHeadInput as a9, ResolvableProperties as aA, ResolvableUnion as aB, DeepResolvableProperties as aC, MergeHead as aa, DataKeys as ab, HttpEventAttributes as ac, GlobalAttributes as ad, BodyAttributesWithoutEvents as ae, BodyEvents as af, LinkWithoutEvents as ag, MetaFlat as ah, ScriptWithoutEvents as ai, ResolvesDuplicates as aj, ValidTagPositions as ak, TagPosition as al, InnerContentVal as am, InnerContent as an, TagPriority as ao, TagUserProperties as ap, TagKey as aq, TemplateParams as ar, ProcessesTemplateParams as as, HasTemplateParams as at, HeadTag as au, HeadTagKeys as av, Stringable as aw, Arrayable as ax, Never as ay, ResolvableValue as az, UseScriptOptions as b, UseScriptReturn as c, UseScriptResolvedInput as d, ReferrerPolicy as e, UseScriptStatus as f, UseScriptContext as g, UseFunctionType as h, RecordingEntry as i, SideEffectsRecord as j, RuntimeMode as k, HeadPluginOptions as l, HeadPluginInput as m, HeadPlugin as n, ActiveHeadEntry as o, CreateServerHeadOptions as p, CreateClientHeadOptions as q, HeadEntryOptions as r, HookResult as s, SSRHeadPayload as t, RenderSSRHeadOptions as u, EntryResolveCtx as v, DomRenderTagContext as w, DomBeforeRenderCtx as x, ShouldRenderContext as y, SSRRenderContext as z };
2325
+ export type { ResolvableStyle as $, AsVoidFunctions as A, Booleanable as B, CreateHeadOptions as C, DomState as D, EventHandlerOptions as E, SSRRenderContext as F, HeadHooks as G, HeadEntry as H, RenderDomHeadOptions as I, DomPluginOptions as J, SchemaAugmentations as K, MaybeArray as L, MetaFlatInput as M, UnheadBodyAttributesWithoutEvents as N, UnheadHtmlAttributes as O, PropResolver as P, UnheadMeta as Q, ResolvableHead as R, SerializableHead as S, MaybeEventFnHandlers as T, Unhead as U, ResolvableTitle as V, WarmupStrategy as W, ResolvableTitleTemplate as X, ResolvableBase as Y, ResolvableLink as Z, ResolvableMeta as _, UseScriptInput as a, ResolvableScript as a0, ResolvableNoscript as a1, ResolvableHtmlAttributes as a2, ResolvableBodyAttributes as a3, ResolvableTemplateParams as a4, RawInput as a5, Head as a6, ResolvedHead as a7, UseSeoMetaInput as a8, UseHeadInput as a9, ResolvableProperties as aA, ResolvableUnion as aB, DeepResolvableProperties as aC, MergeHead as aa, DataKeys as ab, HttpEventAttributes as ac, GlobalAttributes as ad, BodyAttributesWithoutEvents as ae, BodyEvents as af, LinkWithoutEvents as ag, MetaFlat as ah, ScriptWithoutEvents as ai, ResolvesDuplicates as aj, ValidTagPositions as ak, TagPosition as al, InnerContentVal as am, InnerContent as an, TagPriority as ao, TagUserProperties as ap, TagKey as aq, TemplateParams as ar, ProcessesTemplateParams as as, HasTemplateParams as at, HeadTag as au, HeadTagKeys as av, Stringable as aw, Arrayable as ax, Never as ay, ResolvableValue as az, UseScriptOptions as b, UseScriptReturn as c, UseScriptResolvedInput as d, ReferrerPolicy as e, UseScriptStatus as f, UseScriptContext as g, UseFunctionType as h, ScriptInstance as i, RecordingEntry as j, SideEffectsRecord as k, RuntimeMode as l, HeadPluginOptions as m, HeadPluginInput as n, HeadPlugin as o, ActiveHeadEntry as p, CreateServerHeadOptions as q, CreateClientHeadOptions as r, HeadEntryOptions as s, HookResult as t, SSRHeadPayload as u, RenderSSRHeadOptions as v, EntryResolveCtx as w, DomRenderTagContext as x, DomBeforeRenderCtx as y, ShouldRenderContext as z };
@@ -2322,4 +2322,4 @@ interface DomState {
2322
2322
  elMap: Map<string, Element | Element[]>;
2323
2323
  }
2324
2324
 
2325
- export type { ResolvableScript as $, AsVoidFunctions as A, Booleanable as B, CreateHeadOptions as C, DomState as D, EventHandlerOptions as E, HeadHooks as F, RenderDomHeadOptions as G, HeadEntry as H, DomPluginOptions as I, SchemaAugmentations as J, MaybeArray as K, UnheadBodyAttributesWithoutEvents as L, MetaFlatInput as M, UnheadHtmlAttributes as N, UnheadMeta as O, PropResolver as P, MaybeEventFnHandlers as Q, ResolvableHead as R, ScriptInstance as S, ResolvableTitle as T, Unhead as U, ResolvableTitleTemplate as V, WarmupStrategy as W, ResolvableBase as X, ResolvableLink as Y, ResolvableMeta as Z, ResolvableStyle as _, UseScriptInput as a, ResolvableNoscript as a0, ResolvableHtmlAttributes as a1, ResolvableBodyAttributes as a2, ResolvableTemplateParams as a3, SerializableHead as a4, RawInput as a5, Head as a6, ResolvedHead as a7, UseSeoMetaInput as a8, UseHeadInput as a9, ResolvableProperties as aA, ResolvableUnion as aB, DeepResolvableProperties as aC, MergeHead as aa, DataKeys as ab, HttpEventAttributes as ac, GlobalAttributes as ad, BodyAttributesWithoutEvents as ae, BodyEvents as af, LinkWithoutEvents as ag, MetaFlat as ah, ScriptWithoutEvents as ai, ResolvesDuplicates as aj, ValidTagPositions as ak, TagPosition as al, InnerContentVal as am, InnerContent as an, TagPriority as ao, TagUserProperties as ap, TagKey as aq, TemplateParams as ar, ProcessesTemplateParams as as, HasTemplateParams as at, HeadTag as au, HeadTagKeys as av, Stringable as aw, Arrayable as ax, Never as ay, ResolvableValue as az, UseScriptOptions as b, UseScriptReturn as c, UseScriptResolvedInput as d, ReferrerPolicy as e, UseScriptStatus as f, UseScriptContext as g, UseFunctionType as h, RecordingEntry as i, SideEffectsRecord as j, RuntimeMode as k, HeadPluginOptions as l, HeadPluginInput as m, HeadPlugin as n, ActiveHeadEntry as o, CreateServerHeadOptions as p, CreateClientHeadOptions as q, HeadEntryOptions as r, HookResult as s, SSRHeadPayload as t, RenderSSRHeadOptions as u, EntryResolveCtx as v, DomRenderTagContext as w, DomBeforeRenderCtx as x, ShouldRenderContext as y, SSRRenderContext as z };
2325
+ export type { ResolvableStyle as $, AsVoidFunctions as A, Booleanable as B, CreateHeadOptions as C, DomState as D, EventHandlerOptions as E, SSRRenderContext as F, HeadHooks as G, HeadEntry as H, RenderDomHeadOptions as I, DomPluginOptions as J, SchemaAugmentations as K, MaybeArray as L, MetaFlatInput as M, UnheadBodyAttributesWithoutEvents as N, UnheadHtmlAttributes as O, PropResolver as P, UnheadMeta as Q, ResolvableHead as R, SerializableHead as S, MaybeEventFnHandlers as T, Unhead as U, ResolvableTitle as V, WarmupStrategy as W, ResolvableTitleTemplate as X, ResolvableBase as Y, ResolvableLink as Z, ResolvableMeta as _, UseScriptInput as a, ResolvableScript as a0, ResolvableNoscript as a1, ResolvableHtmlAttributes as a2, ResolvableBodyAttributes as a3, ResolvableTemplateParams as a4, RawInput as a5, Head as a6, ResolvedHead as a7, UseSeoMetaInput as a8, UseHeadInput as a9, ResolvableProperties as aA, ResolvableUnion as aB, DeepResolvableProperties as aC, MergeHead as aa, DataKeys as ab, HttpEventAttributes as ac, GlobalAttributes as ad, BodyAttributesWithoutEvents as ae, BodyEvents as af, LinkWithoutEvents as ag, MetaFlat as ah, ScriptWithoutEvents as ai, ResolvesDuplicates as aj, ValidTagPositions as ak, TagPosition as al, InnerContentVal as am, InnerContent as an, TagPriority as ao, TagUserProperties as ap, TagKey as aq, TemplateParams as ar, ProcessesTemplateParams as as, HasTemplateParams as at, HeadTag as au, HeadTagKeys as av, Stringable as aw, Arrayable as ax, Never as ay, ResolvableValue as az, UseScriptOptions as b, UseScriptReturn as c, UseScriptResolvedInput as d, ReferrerPolicy as e, UseScriptStatus as f, UseScriptContext as g, UseFunctionType as h, ScriptInstance as i, RecordingEntry as j, SideEffectsRecord as k, RuntimeMode as l, HeadPluginOptions as m, HeadPluginInput as n, HeadPlugin as o, ActiveHeadEntry as p, CreateServerHeadOptions as q, CreateClientHeadOptions as r, HeadEntryOptions as s, HookResult as t, SSRHeadPayload as u, RenderSSRHeadOptions as v, EntryResolveCtx as w, DomRenderTagContext as x, DomBeforeRenderCtx as y, ShouldRenderContext as z };
@@ -1,4 +1,4 @@
1
- import { U as Unhead, a as UseScriptInput, b as UseScriptOptions, c as UseScriptReturn, d as UseScriptResolvedInput } from './unhead.BxIzrSMV.js';
1
+ import { U as Unhead, a as UseScriptInput, b as UseScriptOptions, c as UseScriptReturn, d as UseScriptResolvedInput } from './unhead.Prz0gZXE.js';
2
2
 
3
3
  /**
4
4
  * @deprecated compute key manually
package/dist/types.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { B as Booleanable, e as ReferrerPolicy } from './shared/unhead.BxIzrSMV.mjs';
2
- export { o as ActiveHeadEntry, ax as Arrayable, A as AsVoidFunctions, ae as BodyAttributesWithoutEvents, af as BodyEvents, q as CreateClientHeadOptions, C as CreateHeadOptions, p as CreateServerHeadOptions, ab as DataKeys, aC as DeepResolvableProperties, x as DomBeforeRenderCtx, I as DomPluginOptions, w as DomRenderTagContext, D as DomState, v as EntryResolveCtx, E as EventHandlerOptions, ad as GlobalAttributes, at as HasTemplateParams, a6 as Head, H as HeadEntry, r as HeadEntryOptions, F as HeadHooks, n as HeadPlugin, m as HeadPluginInput, l as HeadPluginOptions, au as HeadTag, av as HeadTagKeys, s as HookResult, ac as HttpEventAttributes, an as InnerContent, am as InnerContentVal, ag as LinkWithoutEvents, K as MaybeArray, Q as MaybeEventFnHandlers, aa as MergeHead, ah as MetaFlat, M as MetaFlatInput, ay as Never, as as ProcessesTemplateParams, P as PropResolver, a5 as RawInput, i as RecordingEntry, G as RenderDomHeadOptions, u as RenderSSRHeadOptions, X as ResolvableBase, a2 as ResolvableBodyAttributes, R as ResolvableHead, a1 as ResolvableHtmlAttributes, Y as ResolvableLink, Z as ResolvableMeta, a0 as ResolvableNoscript, aA as ResolvableProperties, $ as ResolvableScript, _ as ResolvableStyle, a3 as ResolvableTemplateParams, T as ResolvableTitle, V as ResolvableTitleTemplate, aB as ResolvableUnion, az as ResolvableValue, a7 as ResolvedHead, aj as ResolvesDuplicates, k as RuntimeMode, t as SSRHeadPayload, z as SSRRenderContext, J as SchemaAugmentations, S as ScriptInstance, ai as ScriptWithoutEvents, a4 as SerializableHead, y as ShouldRenderContext, j as SideEffectsRecord, aw as Stringable, aq as TagKey, al as TagPosition, ao as TagPriority, ap as TagUserProperties, ar as TemplateParams, U as Unhead, L as UnheadBodyAttributesWithoutEvents, N as UnheadHtmlAttributes, O as UnheadMeta, h as UseFunctionType, a9 as UseHeadInput, g as UseScriptContext, a as UseScriptInput, b as UseScriptOptions, d as UseScriptResolvedInput, c as UseScriptReturn, f as UseScriptStatus, a8 as UseSeoMetaInput, ak as ValidTagPositions, W as WarmupStrategy } from './shared/unhead.BxIzrSMV.mjs';
3
- export { B as Base, j as BodyAttributes, H as HeadSafe, g as HtmlAttributes, L as Link, M as Meta, N as Noscript, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle, i as Script, h as Style } from './shared/unhead.DcRvKVx9.mjs';
4
- export { r as resolveScriptKey, u as useScript } from './shared/unhead.YQlj2HXR.mjs';
1
+ import { B as Booleanable, e as ReferrerPolicy } from './shared/unhead.Prz0gZXE.mjs';
2
+ export { p as ActiveHeadEntry, ax as Arrayable, A as AsVoidFunctions, ae as BodyAttributesWithoutEvents, af as BodyEvents, r as CreateClientHeadOptions, C as CreateHeadOptions, q as CreateServerHeadOptions, ab as DataKeys, aC as DeepResolvableProperties, y as DomBeforeRenderCtx, J as DomPluginOptions, x as DomRenderTagContext, D as DomState, w as EntryResolveCtx, E as EventHandlerOptions, ad as GlobalAttributes, at as HasTemplateParams, a6 as Head, H as HeadEntry, s as HeadEntryOptions, G as HeadHooks, o as HeadPlugin, n as HeadPluginInput, m as HeadPluginOptions, au as HeadTag, av as HeadTagKeys, t as HookResult, ac as HttpEventAttributes, an as InnerContent, am as InnerContentVal, ag as LinkWithoutEvents, L as MaybeArray, T as MaybeEventFnHandlers, aa as MergeHead, ah as MetaFlat, M as MetaFlatInput, ay as Never, as as ProcessesTemplateParams, P as PropResolver, a5 as RawInput, j as RecordingEntry, I as RenderDomHeadOptions, v as RenderSSRHeadOptions, Y as ResolvableBase, a3 as ResolvableBodyAttributes, R as ResolvableHead, a2 as ResolvableHtmlAttributes, Z as ResolvableLink, _ as ResolvableMeta, a1 as ResolvableNoscript, aA as ResolvableProperties, a0 as ResolvableScript, $ as ResolvableStyle, a4 as ResolvableTemplateParams, V as ResolvableTitle, X as ResolvableTitleTemplate, aB as ResolvableUnion, az as ResolvableValue, a7 as ResolvedHead, aj as ResolvesDuplicates, l as RuntimeMode, u as SSRHeadPayload, F as SSRRenderContext, K as SchemaAugmentations, i as ScriptInstance, ai as ScriptWithoutEvents, S as SerializableHead, z as ShouldRenderContext, k as SideEffectsRecord, aw as Stringable, aq as TagKey, al as TagPosition, ao as TagPriority, ap as TagUserProperties, ar as TemplateParams, U as Unhead, N as UnheadBodyAttributesWithoutEvents, O as UnheadHtmlAttributes, Q as UnheadMeta, h as UseFunctionType, a9 as UseHeadInput, g as UseScriptContext, a as UseScriptInput, b as UseScriptOptions, d as UseScriptResolvedInput, c as UseScriptReturn, f as UseScriptStatus, a8 as UseSeoMetaInput, ak as ValidTagPositions, W as WarmupStrategy } from './shared/unhead.Prz0gZXE.mjs';
3
+ export { B as Base, j as BodyAttributes, H as HeadSafe, g as HtmlAttributes, L as Link, M as Meta, N as Noscript, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle, i as Script, h as Style } from './shared/unhead.Ctcwz9O1.mjs';
4
+ export { r as resolveScriptKey, u as useScript } from './shared/unhead.CnYfgE7E.mjs';
5
5
  export { createSpyProxy } from './scripts.mjs';
6
6
  import 'hookable';
7
7
 
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { B as Booleanable, e as ReferrerPolicy } from './shared/unhead.BxIzrSMV.js';
2
- export { o as ActiveHeadEntry, ax as Arrayable, A as AsVoidFunctions, ae as BodyAttributesWithoutEvents, af as BodyEvents, q as CreateClientHeadOptions, C as CreateHeadOptions, p as CreateServerHeadOptions, ab as DataKeys, aC as DeepResolvableProperties, x as DomBeforeRenderCtx, I as DomPluginOptions, w as DomRenderTagContext, D as DomState, v as EntryResolveCtx, E as EventHandlerOptions, ad as GlobalAttributes, at as HasTemplateParams, a6 as Head, H as HeadEntry, r as HeadEntryOptions, F as HeadHooks, n as HeadPlugin, m as HeadPluginInput, l as HeadPluginOptions, au as HeadTag, av as HeadTagKeys, s as HookResult, ac as HttpEventAttributes, an as InnerContent, am as InnerContentVal, ag as LinkWithoutEvents, K as MaybeArray, Q as MaybeEventFnHandlers, aa as MergeHead, ah as MetaFlat, M as MetaFlatInput, ay as Never, as as ProcessesTemplateParams, P as PropResolver, a5 as RawInput, i as RecordingEntry, G as RenderDomHeadOptions, u as RenderSSRHeadOptions, X as ResolvableBase, a2 as ResolvableBodyAttributes, R as ResolvableHead, a1 as ResolvableHtmlAttributes, Y as ResolvableLink, Z as ResolvableMeta, a0 as ResolvableNoscript, aA as ResolvableProperties, $ as ResolvableScript, _ as ResolvableStyle, a3 as ResolvableTemplateParams, T as ResolvableTitle, V as ResolvableTitleTemplate, aB as ResolvableUnion, az as ResolvableValue, a7 as ResolvedHead, aj as ResolvesDuplicates, k as RuntimeMode, t as SSRHeadPayload, z as SSRRenderContext, J as SchemaAugmentations, S as ScriptInstance, ai as ScriptWithoutEvents, a4 as SerializableHead, y as ShouldRenderContext, j as SideEffectsRecord, aw as Stringable, aq as TagKey, al as TagPosition, ao as TagPriority, ap as TagUserProperties, ar as TemplateParams, U as Unhead, L as UnheadBodyAttributesWithoutEvents, N as UnheadHtmlAttributes, O as UnheadMeta, h as UseFunctionType, a9 as UseHeadInput, g as UseScriptContext, a as UseScriptInput, b as UseScriptOptions, d as UseScriptResolvedInput, c as UseScriptReturn, f as UseScriptStatus, a8 as UseSeoMetaInput, ak as ValidTagPositions, W as WarmupStrategy } from './shared/unhead.BxIzrSMV.js';
3
- export { B as Base, j as BodyAttributes, H as HeadSafe, g as HtmlAttributes, L as Link, M as Meta, N as Noscript, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle, i as Script, h as Style } from './shared/unhead.BzieZHWV.js';
4
- export { r as resolveScriptKey, u as useScript } from './shared/unhead.jgc6RGmf.js';
1
+ import { B as Booleanable, e as ReferrerPolicy } from './shared/unhead.Prz0gZXE.js';
2
+ export { p as ActiveHeadEntry, ax as Arrayable, A as AsVoidFunctions, ae as BodyAttributesWithoutEvents, af as BodyEvents, r as CreateClientHeadOptions, C as CreateHeadOptions, q as CreateServerHeadOptions, ab as DataKeys, aC as DeepResolvableProperties, y as DomBeforeRenderCtx, J as DomPluginOptions, x as DomRenderTagContext, D as DomState, w as EntryResolveCtx, E as EventHandlerOptions, ad as GlobalAttributes, at as HasTemplateParams, a6 as Head, H as HeadEntry, s as HeadEntryOptions, G as HeadHooks, o as HeadPlugin, n as HeadPluginInput, m as HeadPluginOptions, au as HeadTag, av as HeadTagKeys, t as HookResult, ac as HttpEventAttributes, an as InnerContent, am as InnerContentVal, ag as LinkWithoutEvents, L as MaybeArray, T as MaybeEventFnHandlers, aa as MergeHead, ah as MetaFlat, M as MetaFlatInput, ay as Never, as as ProcessesTemplateParams, P as PropResolver, a5 as RawInput, j as RecordingEntry, I as RenderDomHeadOptions, v as RenderSSRHeadOptions, Y as ResolvableBase, a3 as ResolvableBodyAttributes, R as ResolvableHead, a2 as ResolvableHtmlAttributes, Z as ResolvableLink, _ as ResolvableMeta, a1 as ResolvableNoscript, aA as ResolvableProperties, a0 as ResolvableScript, $ as ResolvableStyle, a4 as ResolvableTemplateParams, V as ResolvableTitle, X as ResolvableTitleTemplate, aB as ResolvableUnion, az as ResolvableValue, a7 as ResolvedHead, aj as ResolvesDuplicates, l as RuntimeMode, u as SSRHeadPayload, F as SSRRenderContext, K as SchemaAugmentations, i as ScriptInstance, ai as ScriptWithoutEvents, S as SerializableHead, z as ShouldRenderContext, k as SideEffectsRecord, aw as Stringable, aq as TagKey, al as TagPosition, ao as TagPriority, ap as TagUserProperties, ar as TemplateParams, U as Unhead, N as UnheadBodyAttributesWithoutEvents, O as UnheadHtmlAttributes, Q as UnheadMeta, h as UseFunctionType, a9 as UseHeadInput, g as UseScriptContext, a as UseScriptInput, b as UseScriptOptions, d as UseScriptResolvedInput, c as UseScriptReturn, f as UseScriptStatus, a8 as UseSeoMetaInput, ak as ValidTagPositions, W as WarmupStrategy } from './shared/unhead.Prz0gZXE.js';
3
+ export { B as Base, j as BodyAttributes, H as HeadSafe, g as HtmlAttributes, L as Link, M as Meta, N as Noscript, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle, i as Script, h as Style } from './shared/unhead.DQUgqVjB.js';
4
+ export { r as resolveScriptKey, u as useScript } from './shared/unhead.kTflSlNr.js';
5
5
  export { createSpyProxy } from './scripts.js';
6
6
  import 'hookable';
7
7
 
package/dist/utils.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { au as HeadTag, O as UnheadMeta, ah as MetaFlat, R as ResolvableHead, P as PropResolver, U as Unhead, ar as TemplateParams } from './shared/unhead.BxIzrSMV.mjs';
1
+ import { au as HeadTag, Q as UnheadMeta, ah as MetaFlat, R as ResolvableHead, P as PropResolver, U as Unhead, ar as TemplateParams } from './shared/unhead.Prz0gZXE.mjs';
2
2
  import 'hookable';
3
3
 
4
4
  declare const SelfClosingTags: Set<string>;
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { au as HeadTag, O as UnheadMeta, ah as MetaFlat, R as ResolvableHead, P as PropResolver, U as Unhead, ar as TemplateParams } from './shared/unhead.BxIzrSMV.js';
1
+ import { au as HeadTag, Q as UnheadMeta, ah as MetaFlat, R as ResolvableHead, P as PropResolver, U as Unhead, ar as TemplateParams } from './shared/unhead.Prz0gZXE.js';
2
2
  import 'hookable';
3
3
 
4
4
  declare const SelfClosingTags: Set<string>;