Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@unhead/dom

Package Overview
Dependencies
Maintainers
1
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unhead/dom - npm Package Compare versions

Comparing version 1.0.22 to 1.1.0

16

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc