@unhead/shared
Advanced tools
Comparing version 1.10.4 to 1.11.0-beta.1
@@ -1,2 +0,2 @@ | ||
import { HeadPluginInput, HeadTag, BaseMeta, MetaFlatInput, Head, MaybeArray, HeadSafe, HeadEntry, TemplateParams } from '@unhead/schema'; | ||
import { HeadPluginInput, HeadTag, BaseMeta, MetaFlatInput, Head, HeadEntry, MaybeArray, HeadSafe, TemplateParams } from '@unhead/schema'; | ||
@@ -20,6 +20,2 @@ type Arrayable<T> = T | Array<T>; | ||
declare function tagDedupeKey<T extends HeadTag>(tag: T): string | false; | ||
declare function resolveTitleTemplate(template: string | ((title?: string) => string | null) | null, title?: string): string | null; | ||
declare function resolveMetaKeyType(key: string): keyof BaseMeta; | ||
@@ -39,4 +35,2 @@ declare function resolveMetaKeyValue(key: string): string; | ||
declare function whitelistSafeInput(input: Record<string, MaybeArray<Record<string, string>>>): HeadSafe; | ||
type Thenable<T> = Promise<T> | T; | ||
@@ -51,2 +45,7 @@ declare function thenable<T, R>(val: T, thenFn: (val: Awaited<T>) => R): Promise<R> | R; | ||
declare function whitelistSafeInput(input: Record<string, MaybeArray<Record<string, string>>>): HeadSafe; | ||
declare const NetworkEvents: Set<string>; | ||
declare const ScriptNetworkEvents: Set<string>; | ||
declare const TAG_WEIGHTS: { | ||
@@ -67,7 +66,8 @@ readonly base: -10; | ||
declare const NetworkEvents: Set<string>; | ||
declare const ScriptNetworkEvents: Set<string>; | ||
declare function tagDedupeKey<T extends HeadTag>(tag: T): string | false; | ||
declare function processTemplateParams(s: string, p: TemplateParams, sep: string): string; | ||
declare function resolveTitleTemplate(template: string | ((title?: string) => string | null) | null, title?: string): string | null; | ||
export { type Arrayable, HasElementTags, IsBrowser, NetworkEvents, ScriptNetworkEvents, SelfClosingTags, SortModifiers, TAG_ALIASES, TAG_WEIGHTS, TagConfigKeys, TagEntityBits, TagsWithInnerContent, type Thenable, UniqueTags, ValidHeadTags, asArray, composableNames, defineHeadPlugin, hashCode, hashTag, normaliseEntryTags, normaliseProps, normaliseStyleClassProps, normaliseTag, packMeta, processTemplateParams, resolveMetaKeyType, resolveMetaKeyValue, resolvePackedMetaObjectValue, resolveTitleTemplate, tagDedupeKey, tagWeight, thenable, unpackMeta, whitelistSafeInput }; |
{ | ||
"name": "@unhead/shared", | ||
"type": "module", | ||
"version": "1.10.4", | ||
"version": "1.11.0-beta.1", | ||
"author": "Harlan Wilton <harlan@harlanzw.com>", | ||
@@ -37,3 +37,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@unhead/schema": "1.10.4" | ||
"@unhead/schema": "1.11.0-beta.1" | ||
}, | ||
@@ -40,0 +40,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
58749
1
+ Added@unhead/schema@1.11.0-beta.1(transitive)
- Removed@unhead/schema@1.10.4(transitive)
Updated@unhead/schema@1.11.0-beta.1