@unhead/schema
Advanced tools
Comparing version 1.0.6 to 1.0.7
import { MaybePromiseProps, HeadTag as HeadTag$1, MergeHead, BaseBodyAttributes, HtmlAttributes as HtmlAttributes$1, Merge, Base as Base$1, DefinedValueOrEmptyObject, LinkBase, HttpEventAttributes, DataKeys, Style as Style$1, ScriptBase, Noscript as Noscript$1, BodyEvents, Meta as Meta$1, Stringable } from '@zhead/schema'; | ||
export { DataKeys, DefinedValueOrEmptyObject, MergeHead, MetaFlatInput, TagKey } from '@zhead/schema'; | ||
export { DataKeys, DefinedValueOrEmptyObject, MergeHead, MetaFlatInput, SpeculationRules, TagKey } from '@zhead/schema'; | ||
import { NestedHooks, Hookable } from 'hookable'; | ||
@@ -41,2 +41,3 @@ | ||
} | ||
type InnerContentVal = string | Record<string, any>; | ||
interface InnerContent { | ||
@@ -48,7 +49,7 @@ /** | ||
*/ | ||
innerHTML?: string; | ||
innerHTML?: InnerContentVal; | ||
/** | ||
* Sets the textContent of an element. | ||
*/ | ||
children?: string; | ||
children?: InnerContentVal; | ||
/** | ||
@@ -59,3 +60,3 @@ * Sets the textContent of an element. This will be HTML encoded. | ||
*/ | ||
textContent?: string; | ||
textContent?: InnerContentVal; | ||
} | ||
@@ -362,2 +363,2 @@ interface TagPriority { | ||
export { ActiveHeadEntry, Base, BaseBodyAttr, BaseHtmlAttr, BeforeRenderContext, BodyAttributes, CreateHeadOptions, DomRenderTagContext, EntryAugmentation, EntryResolveCtx, Head, HeadEntry, HeadEntryOptions, HeadHooks, HeadPlugin, HeadTag, HeadTagKeys, HookResult, HtmlAttributes, InnerContent, Link, MaybeArray, MaybeFunctionEntries, Meta, Never, Noscript, ResolvesDuplicates, RuntimeMode, SSRHeadPayload, SSRRenderContext, SchemaAugmentations, Script, SideEffectsRecord, Style, TagInternalProperties, TagPosition, TagPriority, TagUserProperties, Title, TitleTemplate, Unhead, UserAttributesConfig, UserTagConfigWithoutInnerContent, ValidTagPositions }; | ||
export { ActiveHeadEntry, Base, BaseBodyAttr, BaseHtmlAttr, BeforeRenderContext, BodyAttributes, CreateHeadOptions, DomRenderTagContext, EntryAugmentation, EntryResolveCtx, Head, HeadEntry, HeadEntryOptions, HeadHooks, HeadPlugin, HeadTag, HeadTagKeys, HookResult, HtmlAttributes, InnerContent, InnerContentVal, Link, MaybeArray, MaybeFunctionEntries, Meta, Never, Noscript, ResolvesDuplicates, RuntimeMode, SSRHeadPayload, SSRRenderContext, SchemaAugmentations, Script, SideEffectsRecord, Style, TagInternalProperties, TagPosition, TagPriority, TagUserProperties, Title, TitleTemplate, Unhead, UserAttributesConfig, UserTagConfigWithoutInnerContent, ValidTagPositions }; |
{ | ||
"name": "@unhead/schema", | ||
"type": "module", | ||
"version": "1.0.6", | ||
"packageManager": "pnpm@7.17.1", | ||
"version": "1.0.7", | ||
"packageManager": "pnpm@7.18.0", | ||
"author": "Harlan Wilton <harlan@harlanzw.com>", | ||
@@ -38,3 +38,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@zhead/schema": "^1.0.4", | ||
"@zhead/schema": "^1.0.7", | ||
"hookable": "^5.4.2" | ||
@@ -41,0 +41,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14513
359
Updated@zhead/schema@^1.0.7