@vuepress/core 2.0.0-beta.45 → 2.0.0-beta.46

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.
@@ -7,7 +7,8 @@ exports.preparePageComponent = void 0;
7
7
  const preparePageComponent = async (app, page) => {
8
8
  await app.writeTemp(page.componentFilePathRelative, [
9
9
  // take the rendered markdown content as <template>
10
- `<template>${page.contentRendered}</template>\n`,
10
+ // #688: wrap the content with a <div> to avoid some potential issues of fragment component
11
+ `<template><div>${page.contentRendered}</div></template>\n`,
11
12
  // hoist `<script>`, `<style>` and other custom blocks
12
13
  ...page.hoistedTags,
13
14
  ].join('\n'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/core",
3
- "version": "2.0.0-beta.45",
3
+ "version": "2.0.0-beta.46",
4
4
  "description": "Core package of VuePress",
5
5
  "keywords": [
6
6
  "vuepress",
@@ -22,13 +22,13 @@
22
22
  "lib"
23
23
  ],
24
24
  "dependencies": {
25
- "@vuepress/client": "2.0.0-beta.45",
26
- "@vuepress/markdown": "2.0.0-beta.45",
27
- "@vuepress/shared": "2.0.0-beta.45",
28
- "@vuepress/utils": "2.0.0-beta.45",
25
+ "@vuepress/client": "2.0.0-beta.46",
26
+ "@vuepress/markdown": "2.0.0-beta.46",
27
+ "@vuepress/shared": "2.0.0-beta.46",
28
+ "@vuepress/utils": "2.0.0-beta.46",
29
29
  "gray-matter": "^4.0.3",
30
30
  "toml": "^3.0.0",
31
- "vue": "^3.2.33"
31
+ "vue": "^3.2.35"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"