@vuepress/shared 2.0.0-beta.66 → 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -41,7 +41,7 @@ type LocaleData = Record<never, never>;
41
41
  /**
42
42
  * Base type of vuepress page
43
43
  */
44
- type PageBase<ExtraPageFrontmatter extends Record<any, any> = Record<string, unknown>> = {
44
+ interface PageBase<ExtraPageFrontmatter extends Record<any, any> = Record<string, unknown>> {
45
45
  /**
46
46
  * Identifier of the page
47
47
  *
@@ -77,7 +77,7 @@ type PageBase<ExtraPageFrontmatter extends Record<any, any> = Record<string, unk
77
77
  * Headers of the page
78
78
  */
79
79
  headers: PageHeader[];
80
- };
80
+ }
81
81
  /**
82
82
  * Vuepress page data
83
83
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/shared",
3
- "version": "2.0.0-beta.66",
3
+ "version": "2.0.0-beta.68",
4
4
  "description": "Utils that shared between VuePress node and client",
5
5
  "keywords": [
6
6
  "vuepress",
@@ -29,8 +29,8 @@
29
29
  "dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@mdit-vue/types": "^0.12.0",
33
- "@vue/shared": "^3.3.4"
32
+ "@mdit-vue/types": "^1.0.0",
33
+ "@vue/shared": "^3.3.8"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
@@ -46,7 +46,7 @@
46
46
  ],
47
47
  "outDir": "./dist",
48
48
  "sourcemap": false,
49
- "target": "es2020",
49
+ "target": "es2022",
50
50
  "tsconfig": "../tsconfig.dts.json"
51
51
  },
52
52
  "scripts": {