@unhead/ssr
Advanced tools
Comparing version 1.11.15 to 2.0.0-alpha.0
@@ -1,19 +0,1 @@ | ||
import { Unhead, RenderSSRHeadOptions, SSRHeadPayload, HeadTag } from '@unhead/schema'; | ||
export { SSRHeadPayload } from '@unhead/schema'; | ||
declare function renderSSRHead<T extends {}>(head: Unhead<T>, options?: RenderSSRHeadOptions): Promise<SSRHeadPayload>; | ||
declare function propsToString(props: Record<string, any>): string; | ||
declare function ssrRenderTags<T extends HeadTag>(tags: T[], options?: RenderSSRHeadOptions): { | ||
headTags: string; | ||
bodyTags: string; | ||
bodyTagsOpen: string; | ||
htmlAttrs: string; | ||
bodyAttrs: string; | ||
}; | ||
declare function escapeHtml(str: string): string; | ||
declare function tagToString<T extends HeadTag>(tag: T): string; | ||
export { escapeHtml, propsToString, renderSSRHead, ssrRenderTags, tagToString }; | ||
export * from 'unhead/server'; |
{ | ||
"name": "@unhead/ssr", | ||
"type": "module", | ||
"version": "1.11.15", | ||
"version": "2.0.0-alpha.0", | ||
"author": "Harlan Wilton <harlan@harlanzw.com>", | ||
@@ -31,11 +31,9 @@ "license": "MIT", | ||
], | ||
"dependencies": { | ||
"@unhead/schema": "1.11.15", | ||
"@unhead/shared": "1.11.15" | ||
"peerDependencies": { | ||
"unhead": "2.0.0-alpha.0" | ||
}, | ||
"scripts": { | ||
"build": "unbuild .", | ||
"stub": "unbuild . --stub", | ||
"export:sizes": "npx export-size . -r" | ||
"stub": "unbuild . --stub" | ||
} | ||
} |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
1
210
11
14
67
2502
7
13
1
1
0
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@types/estree@1.0.6(transitive)
+ Added@unhead/schema@2.0.0-alpha.0(transitive)
+ Added@unhead/shared@2.0.0-alpha.0(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedestree-walker@3.0.3(transitive)
+ Addedmagic-string@0.30.17(transitive)
+ Addedunctx@2.4.1(transitive)
+ Addedunhead@2.0.0-alpha.0(transitive)
+ Addedunplugin@2.1.2(transitive)
+ Addedwebpack-virtual-modules@0.6.2(transitive)
- Removed@unhead/schema@1.11.15
- Removed@unhead/shared@1.11.15
- Removed@unhead/schema@1.11.15(transitive)
- Removed@unhead/shared@1.11.15(transitive)