🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

unhead

Package Overview
Dependencies
Maintainers
0
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unhead - npm Package Compare versions

Comparing version

to
2.0.0-alpha.9

dist/shared/unhead.aU5fNi04.mjs

13

dist/client.d.ts
import * as _unhead_schema from '@unhead/schema';
import { Head, CreateClientHeadOptions, Unhead, DomPluginOptions, RenderDomHeadOptions } from '@unhead/schema';
import { Head, CreateClientHeadOptions, DomPluginOptions, Unhead, RenderDomHeadOptions } from '@unhead/schema';
declare function createHead<T extends Record<string, any> = Head>(options?: CreateClientHeadOptions): _unhead_schema.Unhead<T>;
/**
* Queue a debounced update of the DOM head.
*/
declare function debouncedRenderDOMHead<T extends Unhead<any>>(head: T, options?: DomPluginOptions): Promise<void>;
declare function DomPlugin(options: DomPluginOptions): _unhead_schema.HeadPluginInput;
declare function DomPlugin(options?: DomPluginOptions): _unhead_schema.HeadPluginInput;
/**

@@ -25,2 +20,4 @@ * Supports DOM event handlers (i.e `onload`) as functions.

export { ClientEventHandlerPlugin, DomPlugin, createHead, debouncedRenderDOMHead, renderDOMHead };
declare function createDebouncedFn(callee: () => void, delayer: (fn: () => void) => void): () => void;
export { ClientEventHandlerPlugin, DomPlugin, createDebouncedFn, createHead, renderDOMHead };
{
"name": "unhead",
"type": "module",
"version": "2.0.0-alpha.8",
"version": "2.0.0-alpha.9",
"description": "Full-stack <head> manager built for any framework.",

@@ -82,4 +82,4 @@ "author": {

"hookable": "^5.5.3",
"@unhead/schema": "2.0.0-alpha.8",
"@unhead/shared": "2.0.0-alpha.8"
"@unhead/schema": "2.0.0-alpha.9",
"@unhead/shared": "2.0.0-alpha.9"
},

@@ -86,0 +86,0 @@ "devDependencies": {

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet