Socket
Socket
Sign inDemoInstall

@unhead/dom

Package Overview
Dependencies
1
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

dist/index.cjs

20

dist/index.d.ts

@@ -1,19 +0,3 @@

import { HeadClient, HeadTag, HookResult } from '@unhead/schema';
import { HeadClient } from '@unhead/schema';
interface DomRenderTagContext {
head: HeadClient;
tag: HeadTag;
document: Document;
}
declare module '@unhead/schema' {
interface HeadHooks {
'dom:beforeRender': (ctx: {
head: HeadClient;
tags: HeadTag[];
document: Document;
}) => HookResult;
'dom:renderTag': (ctx: DomRenderTagContext) => HookResult;
}
}
interface RenderDomHeadOptions {

@@ -38,2 +22,2 @@ /**

export { DomRenderTagContext, RenderDomHeadOptions, debouncedRenderDOMHead, domUpdatePromise, renderDOMHead };
export { RenderDomHeadOptions, debouncedRenderDOMHead, domUpdatePromise, renderDOMHead };
{
"name": "@unhead/dom",
"type": "module",
"version": "0.1.1",
"version": "0.1.2",
"packageManager": "pnpm@7.14.0",

@@ -31,3 +31,3 @@ "author": "Harlan Wilton <harlan@harlanzw.com>",

"dependencies": {
"@unhead/schema": "0.1.1"
"@unhead/schema": "0.1.2"
},

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc