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.0 to 1.0.1

40

dist/index.d.ts

@@ -1,12 +0,44 @@

import { HeadTag, MergeHead, MaybeComputedRef, ReactiveHead } from '@unhead/vue';
export { Unhead, VueHeadMixin, useHead, useServerHead } from '@unhead/vue';
import { HeadTag, MaybeComputedRef, ReactiveHead, MergeHead } from '@unhead/vue';
export { HeadEntryOptions, MaybeComputedRef, Unhead, VueHeadMixin, useHead, useServerHead } from '@unhead/vue';
import * as _unhead_schema from '@unhead/schema';
import { HeadEntryOptions, ActiveHeadEntry, Unhead, Head as Head$1 } from '@unhead/schema';
import { Head as Head$1, HeadEntryOptions, ActiveHeadEntry, Unhead } from '@unhead/schema';
import * as vue from 'vue';
import { Plugin } from 'vue';
declare type HookBeforeDomUpdate = ((tags: Record<string, HeadTag[]>) => void | boolean)[];
declare type HookTagsResolved = ((tags: HeadTag[]) => void)[];
interface LegacyHeadClient<T> {
headTags: () => Promise<HeadTag[]>;
/**
* @deprecated
*/
addEntry: (objs: Head$1, options?: HeadEntryOptions) => ActiveHeadEntry<Head$1>;
/**
* @deprecated
*/
addReactiveEntry: (objs: MaybeComputedRef<ReactiveHead>, options?: HeadEntryOptions) => ActiveHeadEntry<MaybeComputedRef<ReactiveHead>>;
/**
* @deprecated
*/
addHeadObjs: (objs: T, options?: HeadEntryOptions) => ActiveHeadEntry<T>;
/**
* @deprecated
*/
updateDOM: (document?: Document, force?: boolean) => void;
/**
* Array of user provided functions to hook into before the DOM is updated.
*
* When returning false from this function, it will block DOM updates, this can be useful when stopping dom updates
* between page transitions.
*
* You are able to modify the payload of hook using this.
*
* @deprecated
*/
hookBeforeDomUpdate: HookBeforeDomUpdate;
/**
* Array of user provided functions to hook into after the tags have been resolved (deduped and sorted).
* @deprecated
*/
hookTagsResolved: HookTagsResolved;
}

@@ -24,2 +56,2 @@ declare type UseHeadInput<T extends MergeHead> = MaybeComputedRef<ReactiveHead<T>>;

export { Head, HeadObject, HeadObjectPlain, HeadVuePlugin, LegacyHeadClient, UseHeadInput, VueUseHead, createHead, renderHeadToString };
export { Head, HeadObject, HeadObjectPlain, HeadVuePlugin, HookBeforeDomUpdate, HookTagsResolved, LegacyHeadClient, UseHeadInput, VueUseHead, createHead, renderHeadToString };

2

package.json
{
"name": "@vueuse/head",
"version": "1.0.0",
"version": "1.0.1",
"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