Comparing version 2.0.0-alpha.14 to 2.0.0-alpha.15
@@ -10,3 +10,3 @@ import * as unhead_types from 'unhead/types'; | ||
*/ | ||
declare function renderDOMHead<T extends Unhead<any>>(head: T, options?: RenderDomHeadOptions): Promise<void>; | ||
declare function renderDOMHead(head: Unhead<any>, options?: RenderDomHeadOptions): Promise<void>; | ||
@@ -13,0 +13,0 @@ declare function createDebouncedFn(callee: () => void, delayer: (fn: () => void) => void): () => void; |
@@ -0,5 +1,5 @@ | ||
import { S as Script, A as ActiveHeadEntry, H as HeadEntryOptions, U as Unhead, a as Head, C as CreateHeadOptions } from './shared/unhead.C45sZTyS.js'; | ||
export { createHeadCore, useHead, useHeadSafe, useSeoMeta } from './index.js'; | ||
import { S as Script, A as ActiveHeadEntry, H as HeadEntryOptions, U as Unhead, a as Head, C as CreateHeadOptions } from './shared/unhead.C45sZTyS.js'; | ||
import 'hookable'; | ||
import './types.js'; | ||
import 'hookable'; | ||
@@ -6,0 +6,0 @@ type UseScriptInput = string | (Omit<Script, 'src'> & { |
@@ -0,3 +1,3 @@ | ||
import { a as Head, c as CreateServerHeadOptions, U as Unhead, d as RenderSSRHeadOptions, e as SSRHeadPayload, f as ResolvedHead, g as HeadTag } from './shared/unhead.C45sZTyS.js'; | ||
import * as unhead_types from 'unhead/types'; | ||
import { a as Head, c as CreateServerHeadOptions, U as Unhead, d as RenderSSRHeadOptions, e as SSRHeadPayload, f as ResolvedHead, g as HeadTag } from './shared/unhead.C45sZTyS.js'; | ||
import 'hookable'; | ||
@@ -7,3 +7,3 @@ | ||
declare function renderSSRHead<T extends Record<string, any>>(head: Unhead<T>, options?: RenderSSRHeadOptions): Promise<SSRHeadPayload>; | ||
declare function renderSSRHead(head: Unhead<any>, options?: RenderSSRHeadOptions): Promise<SSRHeadPayload>; | ||
@@ -10,0 +10,0 @@ declare function transformHtmlTemplate(head: Unhead<any>, html: string, options?: RenderSSRHeadOptions): Promise<string>; |
{ | ||
"name": "unhead", | ||
"type": "module", | ||
"version": "2.0.0-alpha.14", | ||
"version": "2.0.0-alpha.15", | ||
"description": "Full-stack <head> manager built for any framework.", | ||
@@ -6,0 +6,0 @@ "author": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
273729