added version

This commit is contained in:
2026-02-22 12:27:05 +03:30
parent f5928601fa
commit 2edf23a065
603 changed files with 5281 additions and 4037 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
export { u as useHead, a as useHeadSafe, b as useSeoMeta, c as useServerHead, d as useServerHeadSafe, e as useServerSeoMeta } from './shared/unhead.BPM0-cfG.mjs';
export { c as createHeadCore, a as createUnhead } from './shared/unhead.CGCfDSEL.mjs';
export { c as createHeadCore, a as createUnhead } from './shared/unhead.BFfcxOoW.mjs';
export { u as useScript } from './shared/unhead.B578PsDV.mjs';
import './shared/unhead.CApf5sj3.mjs';
import './shared/unhead.DQc16pHI.mjs';
import './shared/unhead.yem5I2v_.mjs';
import 'hookable';
import './shared/unhead.CYpwL2hc.mjs';
import './shared/unhead.eK9_7LaY.mjs';
import './shared/unhead.CbpEuj3y.mjs';
+2 -2
View File
@@ -1,8 +1,8 @@
import { a as createUnhead } from './shared/unhead.CGCfDSEL.mjs';
import { a as createUnhead } from './shared/unhead.BFfcxOoW.mjs';
import { T as TagsWithInnerContent, S as SelfClosingTags } from './shared/unhead.yem5I2v_.mjs';
import { parseHtmlForUnheadExtraction, applyHeadToHtml, parseHtmlForIndexes } from './parser.mjs';
import 'hookable';
import './shared/unhead.CYpwL2hc.mjs';
import './shared/unhead.eK9_7LaY.mjs';
import './shared/unhead.CbpEuj3y.mjs';
// @__NO_SIDE_EFFECTS__
@@ -1,5 +1,5 @@
import { createHooks } from 'hookable';
import { n as normalizeEntryToTags, d as dedupeKey, i as isMetaArrayDupeKey } from './unhead.CYpwL2hc.mjs';
import { n as normalizeEntryToTags, d as dedupeKey, i as isMetaArrayDupeKey } from './unhead.eK9_7LaY.mjs';
import { t as tagWeight, s as sortTags } from './unhead.CbpEuj3y.mjs';
import { c as UsesMergeStrategy, V as ValidHeadTags } from './unhead.yem5I2v_.mjs';
@@ -19,6 +19,10 @@ function dedupeKey(tag) {
return name;
if (name === "link" && props.rel === "canonical")
return "canonical";
const altKey = props.hreflang || props.type;
if (name === "link" && props.rel === "alternate" && altKey) {
return `alternate:${altKey}`;
}
if (props.charset)
return "charset";
if (tag.tag === "meta") {
+1 -1
View File
@@ -1,5 +1,5 @@
export { D as DupeableTags, H as HasElementTags, M as MetaTagsArrayable, b as ScriptNetworkEvents, S as SelfClosingTags, a as TagConfigKeys, T as TagsWithInnerContent, U as UniqueTags, c as UsesMergeStrategy, V as ValidHeadTags } from './shared/unhead.yem5I2v_.mjs';
export { d as dedupeKey, h as hashTag, i as isMetaArrayDupeKey, n as normalizeEntryToTags, a as normalizeProps, w as walkResolver } from './shared/unhead.CYpwL2hc.mjs';
export { d as dedupeKey, h as hashTag, i as isMetaArrayDupeKey, n as normalizeEntryToTags, a as normalizeProps, w as walkResolver } from './shared/unhead.eK9_7LaY.mjs';
export { r as resolveMetaKeyType, a as resolveMetaKeyValue, b as resolvePackedMetaObjectValue, u as unpackMeta } from './shared/unhead.DQc16pHI.mjs';
export { s as sortTags, t as tagWeight } from './shared/unhead.CbpEuj3y.mjs';
export { p as processTemplateParams } from './shared/unhead.BYvz9V1x.mjs';
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "unhead",
"type": "module",
"version": "2.1.2",
"version": "2.1.4",
"description": "Full-stack <head> manager built for any framework.",
"author": {
"name": "Harlan Wilton",