@vuepress/client 2.0.0-beta.67 → 2.0.0-beta.68

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/app.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  usePageLang,
19
19
  usePageLayout,
20
20
  withBase
21
- } from "./chunk-WOIWBUXI.js";
21
+ } from "./chunk-DHNSDB55.js";
22
22
 
23
23
  // src/app.ts
24
24
  import { clientConfigs } from "@internal/clientConfigs";
@@ -135,7 +135,7 @@ var setupGlobalComputed = (app, router, clientConfigs2) => {
135
135
  if (__VUEPRESS_DEV__ && (import.meta.webpackHot || import.meta.hot)) {
136
136
  __VUE_HMR_RUNTIME__.updatePageData = (data) => {
137
137
  pagesData.value[data.key] = () => Promise.resolve(data);
138
- if (data.key === router.currentRoute.value.meta._data.key) {
138
+ if (data.key === router.currentRoute.value.meta._data?.key) {
139
139
  router.currentRoute.value.meta._data = data;
140
140
  pageData.trigger();
141
141
  }
@@ -85,9 +85,7 @@ var usePageLang = () => {
85
85
  };
86
86
 
87
87
  // src/composables/pageLayout.ts
88
- import {
89
- inject as inject7
90
- } from "vue";
88
+ import { inject as inject7 } from "vue";
91
89
  var pageLayoutSymbol = Symbol(
92
90
  __VUEPRESS_DEV__ ? "pageLayout" : ""
93
91
  );
package/dist/index.js CHANGED
@@ -29,7 +29,7 @@ import {
29
29
  useSiteLocaleData,
30
30
  useUpdateHead,
31
31
  withBase
32
- } from "./chunk-WOIWBUXI.js";
32
+ } from "./chunk-DHNSDB55.js";
33
33
  export {
34
34
  ClientOnly,
35
35
  Content,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/client",
3
- "version": "2.0.0-beta.67",
3
+ "version": "2.0.0-beta.68",
4
4
  "description": "Client package of VuePress",
5
5
  "keywords": [
6
6
  "vuepress",
@@ -33,11 +33,11 @@
33
33
  "types.d.ts"
34
34
  ],
35
35
  "dependencies": {
36
- "@vue/devtools-api": "^6.5.0",
37
- "@vueuse/core": "^10.4.1",
38
- "vue": "^3.3.4",
39
- "vue-router": "^4.2.4",
40
- "@vuepress/shared": "2.0.0-beta.67"
36
+ "@vue/devtools-api": "^6.5.1",
37
+ "@vueuse/core": "^10.6.0",
38
+ "vue": "^3.3.8",
39
+ "vue-router": "^4.2.5",
40
+ "@vuepress/shared": "2.0.0-beta.68"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
@@ -62,7 +62,7 @@
62
62
  ],
63
63
  "outDir": "./dist",
64
64
  "sourcemap": false,
65
- "target": "es2020",
65
+ "target": "es2022",
66
66
  "tsconfig": "./tsconfig.dts.json"
67
67
  },
68
68
  "scripts": {
@@ -6,10 +6,11 @@
6
6
  <meta name="generator" content="VuePress {{ version }}">
7
7
  <!--vuepress-ssr-head-->
8
8
  <!--vuepress-ssr-styles-->
9
- <!--vuepress-ssr-resources-->
9
+ <!--vuepress-ssr-preload-->
10
+ <!--vuepress-ssr-prefetch-->
10
11
  </head>
11
12
  <body>
12
- <div id="app"><!--vuepress-ssr-app--></div>
13
+ <div id="app"><!--vuepress-ssr-content--></div>
13
14
  <!--vuepress-ssr-scripts-->
14
15
  </body>
15
16
  </html>