Comparing version 2.0.0-alpha.7 to 2.0.0-alpha.8
import * as _unhead_schema from '@unhead/schema'; | ||
import { Head, CreateHeadOptions, Unhead, RenderSSRHeadOptions, SSRHeadPayload, HeadTag } from '@unhead/schema'; | ||
export { SSRHeadPayload } from '@unhead/schema'; | ||
import { UseHeadInput } from 'unhead'; | ||
@@ -9,2 +10,9 @@ declare function createHead<T extends Record<string, any> = Head>(options?: CreateHeadOptions): _unhead_schema.Unhead<T>; | ||
declare function transformHtmlTemplate(head: Unhead<any>, html: string, options?: RenderSSRHeadOptions): Promise<string>; | ||
declare function extractUnheadInputFromHtml(html: string): { | ||
html: string; | ||
input: UseHeadInput<any>; | ||
}; | ||
declare function propsToString(props: Record<string, any>): string; | ||
@@ -23,2 +31,2 @@ | ||
export { createHead, escapeHtml, propsToString, renderSSRHead, ssrRenderTags, tagToString }; | ||
export { createHead, escapeHtml, extractUnheadInputFromHtml, propsToString, renderSSRHead, ssrRenderTags, tagToString, transformHtmlTemplate }; |
{ | ||
"name": "unhead", | ||
"type": "module", | ||
"version": "2.0.0-alpha.7", | ||
"version": "2.0.0-alpha.8", | ||
"description": "Full-stack <head> manager built for any framework.", | ||
@@ -82,5 +82,8 @@ "author": { | ||
"hookable": "^5.5.3", | ||
"@unhead/schema": "2.0.0-alpha.7", | ||
"@unhead/shared": "2.0.0-alpha.7" | ||
"@unhead/schema": "2.0.0-alpha.8", | ||
"@unhead/shared": "2.0.0-alpha.8" | ||
}, | ||
"devDependencies": { | ||
"devalue": "^5.1.1" | ||
}, | ||
"scripts": { | ||
@@ -87,0 +90,0 @@ "build": "unbuild .", |
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
119833
2775
1
+ Added@unhead/schema@2.0.0-alpha.8(transitive)
+ Added@unhead/shared@2.0.0-alpha.8(transitive)
- Removed@unhead/schema@2.0.0-alpha.7(transitive)
- Removed@unhead/shared@2.0.0-alpha.7(transitive)
Updated@unhead/schema@2.0.0-alpha.8
Updated@unhead/shared@2.0.0-alpha.8