@unhead/vue 1.0.6 → 1.0.7

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
@@ -229,6 +229,8 @@ async function normaliseTag(tagName, input) {
229
229
  ["children", "innerHtml", "innerHTML"].forEach((key) => {
230
230
  if (typeof tag.props[key] !== "undefined") {
231
231
  tag.children = tag.props[key];
232
+ if (typeof tag.children === "object")
233
+ tag.children = JSON.stringify(tag.children);
232
234
  delete tag.props[key];
233
235
  }
234
236
  });
package/dist/index.mjs CHANGED
@@ -227,6 +227,8 @@ async function normaliseTag(tagName, input) {
227
227
  ["children", "innerHtml", "innerHTML"].forEach((key) => {
228
228
  if (typeof tag.props[key] !== "undefined") {
229
229
  tag.children = tag.props[key];
230
+ if (typeof tag.children === "object")
231
+ tag.children = JSON.stringify(tag.children);
230
232
  delete tag.props[key];
231
233
  }
232
234
  });
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@unhead/vue",
3
3
  "type": "module",
4
- "version": "1.0.6",
5
- "packageManager": "pnpm@7.17.1",
4
+ "version": "1.0.7",
5
+ "packageManager": "pnpm@7.18.0",
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.6"
37
+ "@unhead/schema": "1.0.7"
38
38
  },
39
39
  "devDependencies": {
40
40
  "vue": "^3.2.45",
41
- "unhead": "1.0.6"
41
+ "unhead": "1.0.7"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "unbuild .",