@unhead/vue 2.0.4 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.mjs CHANGED
@@ -1,16 +1,16 @@
1
1
  import { createHead as createHead$1, createDebouncedFn, renderDOMHead } from 'unhead/client';
2
2
  export { renderDOMHead } from 'unhead/client';
3
- import { nextTick } from 'vue';
4
3
  import { v as vueInstall } from './shared/vue.BYLJNEcq.mjs';
5
4
  export { V as VueHeadMixin } from './shared/vue.nvpYXC6D.mjs';
6
5
  import 'unhead/plugins';
7
6
  import 'unhead/utils';
7
+ import 'vue';
8
8
  import './shared/vue.N9zWjxoK.mjs';
9
9
 
10
10
  function createHead(options = {}) {
11
11
  const head = createHead$1({
12
12
  domOptions: {
13
- render: createDebouncedFn(() => renderDOMHead(head), nextTick)
13
+ render: createDebouncedFn(() => renderDOMHead(head), (fn) => setTimeout(fn, 0))
14
14
  },
15
15
  ...options
16
16
  });
package/dist/index.d.mts CHANGED
@@ -6,11 +6,11 @@ import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeo
6
6
  export { B as BodyAttr, D as DeepResolvableProperties, H as HtmlAttr, M as MaybeFalsy, l as ReactiveHead, n as ResolvableArray, d as ResolvableBase, k as ResolvableBodyAttributes, j as ResolvableHtmlAttributes, e as ResolvableLink, f as ResolvableMeta, i as ResolvableNoscript, o as ResolvableProperties, h as ResolvableScript, g as ResolvableStyle, R as ResolvableTitle, c as ResolvableTitleTemplate, p as ResolvableUnion, m as ResolvableValue } from './shared/vue.DoxLTFJk.mjs';
7
7
  import { U as UseHeadSafeInput } from './shared/vue.DMlT7xkj.mjs';
8
8
  export { H as HeadSafe, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle } from './shared/vue.DMlT7xkj.mjs';
9
- export { AsVoidFunctions, EventHandlerOptions, RecordingEntry, ScriptInstance, UseFunctionType, UseScriptResolvedInput, UseScriptStatus, WarmupStrategy, createSpyProxy, resolveScriptKey } from 'unhead/scripts';
10
- export { UseScriptContext, UseScriptInput, UseScriptOptions, UseScriptReturn, VueScriptInstance, useScript } from './scripts.mjs';
11
9
  export { Base, BodyAttributes, HtmlAttributes, Link, Meta, Noscript, Script, Style } from './types.mjs';
12
10
  export { resolveUnrefHeadInput } from './utils.mjs';
13
11
  export { V as VueHeadMixin } from './shared/vue.DnywREVF.mjs';
12
+ export { UseScriptContext, UseScriptInput, UseScriptOptions, UseScriptReturn, VueScriptInstance, useScript } from './scripts.mjs';
13
+ export { AsVoidFunctions, EventHandlerOptions, RecordingEntry, ScriptInstance, UseFunctionType, UseScriptResolvedInput, UseScriptStatus, WarmupStrategy, createSpyProxy, resolveScriptKey } from 'unhead/scripts';
14
14
  import 'vue';
15
15
  import 'unhead/utils';
16
16
 
package/dist/index.d.ts CHANGED
@@ -6,11 +6,11 @@ import { V as VueHeadClient, U as UseHeadInput, a as UseHeadOptions, b as UseSeo
6
6
  export { B as BodyAttr, D as DeepResolvableProperties, H as HtmlAttr, M as MaybeFalsy, l as ReactiveHead, n as ResolvableArray, d as ResolvableBase, k as ResolvableBodyAttributes, j as ResolvableHtmlAttributes, e as ResolvableLink, f as ResolvableMeta, i as ResolvableNoscript, o as ResolvableProperties, h as ResolvableScript, g as ResolvableStyle, R as ResolvableTitle, c as ResolvableTitleTemplate, p as ResolvableUnion, m as ResolvableValue } from './shared/vue.DoxLTFJk.js';
7
7
  import { U as UseHeadSafeInput } from './shared/vue.CzjZUNjB.js';
8
8
  export { H as HeadSafe, S as SafeBodyAttr, a as SafeHtmlAttr, c as SafeLink, b as SafeMeta, e as SafeNoscript, d as SafeScript, f as SafeStyle } from './shared/vue.CzjZUNjB.js';
9
- export { AsVoidFunctions, EventHandlerOptions, RecordingEntry, ScriptInstance, UseFunctionType, UseScriptResolvedInput, UseScriptStatus, WarmupStrategy, createSpyProxy, resolveScriptKey } from 'unhead/scripts';
10
- export { UseScriptContext, UseScriptInput, UseScriptOptions, UseScriptReturn, VueScriptInstance, useScript } from './scripts.js';
11
9
  export { Base, BodyAttributes, HtmlAttributes, Link, Meta, Noscript, Script, Style } from './types.js';
12
10
  export { resolveUnrefHeadInput } from './utils.js';
13
11
  export { V as VueHeadMixin } from './shared/vue.DnywREVF.js';
12
+ export { UseScriptContext, UseScriptInput, UseScriptOptions, UseScriptReturn, VueScriptInstance, useScript } from './scripts.js';
13
+ export { AsVoidFunctions, EventHandlerOptions, RecordingEntry, ScriptInstance, UseFunctionType, UseScriptResolvedInput, UseScriptStatus, WarmupStrategy, createSpyProxy, resolveScriptKey } from 'unhead/scripts';
14
14
  import 'vue';
15
15
  import 'unhead/utils';
16
16
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/vue",
3
3
  "type": "module",
4
- "version": "2.0.4",
4
+ "version": "2.0.6",
5
5
  "description": "Full-stack <head> manager built for Vue.",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
@@ -103,7 +103,7 @@
103
103
  },
104
104
  "dependencies": {
105
105
  "hookable": "^5.5.3",
106
- "unhead": "2.0.4"
106
+ "unhead": "2.0.6"
107
107
  },
108
108
  "devDependencies": {
109
109
  "vue": "^3.5.13"