@unhead/vue 1.0.7 → 1.0.8

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/index.cjs CHANGED
@@ -637,6 +637,10 @@ function createHeadCore(options = {}) {
637
637
  get hooks() {
638
638
  return hooks;
639
639
  },
640
+ use(plugin) {
641
+ if (plugin.hooks)
642
+ hooks.addHooks(plugin.hooks);
643
+ },
640
644
  push(input, options2) {
641
645
  const activeEntry = {
642
646
  _i: _eid++,
package/dist/index.mjs CHANGED
@@ -635,6 +635,10 @@ function createHeadCore(options = {}) {
635
635
  get hooks() {
636
636
  return hooks;
637
637
  },
638
+ use(plugin) {
639
+ if (plugin.hooks)
640
+ hooks.addHooks(plugin.hooks);
641
+ },
638
642
  push(input, options2) {
639
643
  const activeEntry = {
640
644
  _i: _eid++,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@unhead/vue",
3
3
  "type": "module",
4
- "version": "1.0.7",
5
- "packageManager": "pnpm@7.18.0",
4
+ "version": "1.0.8",
5
+ "packageManager": "pnpm@7.18.1",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/harlan-zw",
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "hookable": "^5.4.2",
37
- "@unhead/schema": "1.0.7"
37
+ "@unhead/schema": "1.0.8"
38
38
  },
39
39
  "devDependencies": {
40
40
  "vue": "^3.2.45",
41
- "unhead": "1.0.7"
41
+ "unhead": "1.0.8"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "unbuild .",