New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@unhead/dom

Package Overview
Dependencies
Maintainers
1
Versions
210
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.11.15 to 2.0.0-alpha.0

32

dist/index.d.ts

@@ -1,31 +0,1 @@

import * as _unhead_schema from '@unhead/schema';
import { Unhead } from '@unhead/schema';
interface RenderDomHeadOptions {
/**
* Document to use for rendering. Allows stubbing for testing.
*/
document?: Document;
}
/**
* Render the head tags to the DOM.
*/
declare function renderDOMHead<T extends Unhead<any>>(head: T, options?: RenderDomHeadOptions): Promise<void>;
interface DebouncedRenderDomHeadOptions extends RenderDomHeadOptions {
/**
* Specify a custom delay function for delaying the render.
*/
delayFn?: (fn: () => void) => void;
}
/**
* Queue a debounced update of the DOM head.
*/
declare function debouncedRenderDOMHead<T extends Unhead<any>>(head: T, options?: DebouncedRenderDomHeadOptions): Promise<void>;
interface DomPluginOptions extends RenderDomHeadOptions {
delayFn?: (fn: () => void) => void;
}
declare function DomPlugin(options?: DomPluginOptions): _unhead_schema.HeadPluginInput;
export { type DebouncedRenderDomHeadOptions, DomPlugin, type DomPluginOptions, type RenderDomHeadOptions, debouncedRenderDOMHead, renderDOMHead };
export * from 'unhead/client';

12

package.json
{
"name": "@unhead/dom",
"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"
"build": "unbuild ",
"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

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