@unhead/dom
Advanced tools
Comparing version 1.0.22 to 1.1.0
@@ -10,2 +10,8 @@ import * as _unhead_schema from '@unhead/schema'; | ||
} | ||
interface DebouncedRenderDomHeadOptions extends RenderDomHeadOptions { | ||
/** | ||
* Specify a custom delay function for delaying the render. | ||
*/ | ||
delayFn?: (fn: () => void) => void; | ||
} | ||
/** | ||
@@ -22,5 +28,3 @@ * Render the head tags to the DOM. | ||
*/ | ||
declare function debouncedRenderDOMHead<T extends Unhead<any>>(head: T, options?: RenderDomHeadOptions & { | ||
delayFn?: (fn: () => void) => void; | ||
}): Promise<void>; | ||
declare function debouncedRenderDOMHead<T extends Unhead<any>>(head: T, options?: DebouncedRenderDomHeadOptions): Promise<void>; | ||
@@ -35,4 +39,6 @@ interface TriggerDomPatchingOnUpdatesPluginOptions extends RenderDomHeadOptions { | ||
*/ | ||
declare const setAttrs: (ctx: DomRenderTagContext, markSideEffect?: ((ctx: DomRenderTagContext, k: string, fn: () => void) => void) | undefined) => void; | ||
declare const setAttrs: (ctx: DomRenderTagContext, newEntry?: boolean, markSideEffect?: ((ctx: DomRenderTagContext, k: string, fn: () => void) => void) | undefined) => void; | ||
export { PatchDomOnEntryUpdatesPlugin, RenderDomHeadOptions, TriggerDomPatchingOnUpdatesPluginOptions, debouncedRenderDOMHead, domUpdatePromise, renderDOMHead, setAttrs }; | ||
declare function maybeGetSSRHash(document: Document): string | false; | ||
export { DebouncedRenderDomHeadOptions, PatchDomOnEntryUpdatesPlugin, RenderDomHeadOptions, TriggerDomPatchingOnUpdatesPluginOptions, debouncedRenderDOMHead, domUpdatePromise, maybeGetSSRHash, renderDOMHead, setAttrs }; |
{ | ||
"name": "@unhead/dom", | ||
"type": "module", | ||
"version": "1.0.22", | ||
"packageManager": "pnpm@7.26.3", | ||
"version": "1.1.0", | ||
"packageManager": "pnpm@7.27.1", | ||
"author": "Harlan Wilton <harlan@harlanzw.com>", | ||
@@ -33,4 +33,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@unhead/schema": "1.0.22", | ||
"@unhead/shared": "1.0.22" | ||
"@unhead/schema": "1.1.0", | ||
"@unhead/shared": "1.1.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
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
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
16556
429
+ Added@unhead/schema@1.1.0(transitive)
+ Added@unhead/shared@1.1.0(transitive)
- Removed@unhead/schema@1.0.22(transitive)
- Removed@unhead/shared@1.0.22(transitive)
Updated@unhead/schema@1.1.0
Updated@unhead/shared@1.1.0