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

@vueuse/head

Package Overview
Dependencies
Maintainers
3
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vueuse/head - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

26

dist/index.d.ts

@@ -11,2 +11,12 @@ import { HeadTag, MergeHead, MaybeComputedRef, ReactiveHead, VueHeadClient } from '@unhead/vue';

declare type HookEntriesResolved = ((entries: HeadEntry<any>[]) => Promise<void> | void);
interface LegacyHeadOptions {
/**
* @deprecated
*/
resolved?: boolean;
/**
* @deprecated
*/
raw?: boolean;
}
interface HeadClient<T extends MergeHead = {}> {

@@ -20,7 +30,7 @@ install: (app: App) => void;

*/
addEntry: (entry: MaybeComputedRef<ReactiveHead<T>>, options?: HeadEntryOptions) => ActiveHeadEntry<MaybeComputedRef<ReactiveHead<T>>>;
addEntry: (entry: MaybeComputedRef<ReactiveHead<T>>, options?: HeadEntryOptions & LegacyHeadOptions) => ActiveHeadEntry<MaybeComputedRef<ReactiveHead<T>>>;
/**
* @deprecated use `push`
*/
addReactiveEntry: (objs: MaybeComputedRef<ReactiveHead<T>>, options?: HeadEntryOptions) => () => void;
addReactiveEntry: (objs: MaybeComputedRef<ReactiveHead<T>>, options?: HeadEntryOptions & LegacyHeadOptions) => () => void;
/**

@@ -30,2 +40,6 @@ * @deprecated use `@unhead/dom`

updateDOM: (document?: Document, force?: boolean) => void;
internalHooks: Unhead['hooks'];
/**
* @deprecated
*/
hooks:

@@ -44,3 +58,3 @@ /**

*/
Record<'resolved:tags', HookTagsResolved[]> | Unhead['hooks'];
Record<'resolved:tags', HookTagsResolved[]>;
/**

@@ -63,2 +77,6 @@ * Backwards compatibility function to fetch the headTags.

/**
* @deprecated Does not do anything
*/
removeHeadObjs: (entry: MaybeComputedRef<ReactiveHead<T>>) => void;
/**
* Access the underlying unhead instance.

@@ -77,2 +95,2 @@ */

export { Head, HeadClient, HeadObject, HeadObjectPlain, HeadVuePlugin, HookBeforeDomUpdate, HookEntriesResolved, HookTagsResolved, createHead, renderHeadToString };
export { Head, HeadClient, HeadObject, HeadObjectPlain, HeadVuePlugin, HookBeforeDomUpdate, HookEntriesResolved, HookTagsResolved, LegacyHeadOptions, createHead, renderHeadToString };

2

package.json
{
"name": "@vueuse/head",
"version": "1.0.2",
"version": "1.0.3",
"packageManager": "pnpm@7.5.0",

@@ -5,0 +5,0 @@ "description": "Document head manager for Vue 3. SSR ready.",

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