@unhead/ssr
Advanced tools
Comparing version 1.0.21 to 1.0.22
@@ -1,2 +0,2 @@ | ||
import { Unhead, SSRHeadPayload } from '@unhead/schema'; | ||
import { Unhead, SSRHeadPayload, HeadTag } from '@unhead/schema'; | ||
export { SSRHeadPayload } from '@unhead/schema'; | ||
@@ -6,2 +6,15 @@ | ||
export { renderSSRHead }; | ||
declare const propsToString: (props: Record<string, any>) => string; | ||
declare function encodeHtmlEntities(str: string): string; | ||
declare const tagToString: <T extends HeadTag>(tag: T) => string; | ||
declare function ssrRenderTags<T extends HeadTag>(tags: T[]): { | ||
headTags: string; | ||
bodyTags: string; | ||
bodyTagsOpen: string; | ||
htmlAttrs: string; | ||
bodyAttrs: string; | ||
}; | ||
export { encodeHtmlEntities, propsToString, renderSSRHead, ssrRenderTags, tagToString }; |
{ | ||
"name": "@unhead/ssr", | ||
"type": "module", | ||
"version": "1.0.21", | ||
"packageManager": "pnpm@7.25.1", | ||
"version": "1.0.22", | ||
"packageManager": "pnpm@7.26.3", | ||
"author": "Harlan Wilton <harlan@harlanzw.com>", | ||
"license": "MIT", | ||
"funding": "https://github.com/sponsors/harlan-zw", | ||
"homepage": "https://github.com/harlan-zw/unhead#readme", | ||
"homepage": "https://unhead.harlanzw.com", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/harlan-zw/unhead.git", | ||
"url": "git+https://github.com/unjs/unhead.git", | ||
"directory": "packages/ssr" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/harlan-zw/unhead/issues" | ||
"url": "https://github.com/unjs/unhead/issues" | ||
}, | ||
@@ -33,7 +33,5 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@unhead/schema": "1.0.21" | ||
"@unhead/schema": "1.0.22", | ||
"@unhead/shared": "1.0.22" | ||
}, | ||
"devDependencies": { | ||
"zhead": "^1.1.0" | ||
}, | ||
"scripts": { | ||
@@ -40,0 +38,0 @@ "build": "unbuild .", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6686
0
145
2
+ Added@unhead/shared@1.0.22
+ Added@unhead/schema@1.0.22(transitive)
+ Added@unhead/shared@1.0.22(transitive)
+ Addedzhead@2.2.4(transitive)
- Removed@unhead/schema@1.0.21(transitive)
- Removed@zhead/schema@1.1.0(transitive)
Updated@unhead/schema@1.0.22