Socket
Socket
Sign inDemoInstall

@unhead/schema

Package Overview
Dependencies
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unhead/schema - npm Package Compare versions

Comparing version 0.1.4 to 0.2.0

10

dist/index.d.ts

@@ -25,2 +25,8 @@ import { HeadTag as HeadTag$1, MergeHead, BodyAttributes as BodyAttributes$1, HtmlAttributes as HtmlAttributes$1, Merge, Base as Base$1, DefinedValueOrEmptyObject, Link as Link$1, DataKeys, Style as Style$1, Script as Script$1, Noscript as Noscript$1, Meta as Meta$1, Stringable } from '@zhead/schema';

tagPosition?: 'head' | 'bodyClose' | 'bodyOpen';
/**
* Render the tag before the body close.
*
* @deprecated Use `tagPosition: 'bodyClose'` instead.
*/
body?: true;
}

@@ -126,4 +132,4 @@ interface InnerContent {

declare type EntryAugmentation = undefined | Record<string, any>;
declare type Title = string;
declare type TitleTemplate = string | null | ((title?: string) => string);
declare type Title = string | null;
declare type TitleTemplate = string | null | ((title?: string) => string | null);
declare type Base<E extends EntryAugmentation = {}> = Partial<Merge<SchemaAugmentations['base'], Base$1>> & DefinedValueOrEmptyObject<E>;

@@ -130,0 +136,0 @@ declare type Link<E extends EntryAugmentation = {}> = Link$1 & DataKeys & SchemaAugmentations['link'] & DefinedValueOrEmptyObject<E>;

2

package.json
{
"name": "@unhead/schema",
"type": "module",
"version": "0.1.4",
"version": "0.2.0",
"packageManager": "pnpm@7.14.0",

@@ -6,0 +6,0 @@ "author": "Harlan Wilton <harlan@harlanzw.com>",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc