vuepress-plugin-md-power 1.0.0-rc.178 → 1.0.0-rc.180

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/lib/node/index.js +2 -2
  2. package/package.json +15 -14
package/lib/node/index.js CHANGED
@@ -1672,10 +1672,10 @@ function parseCollapse(tokens, index, attrs$1) {
1672
1672
  for (let i = index + 1; i < tokens.length; i++) {
1673
1673
  const token = tokens[i];
1674
1674
  if (token.type === "container_collapse_close") break;
1675
- if (token.type === "bullet_list_open") {
1675
+ if (token.type === "bullet_list_open" || token.type === "ordered_list_open") {
1676
1676
  listStack.push(0);
1677
1677
  if (listStack.length === 1) token.hidden = true;
1678
- } else if (token.type === "bullet_list_close") {
1678
+ } else if (token.type === "bullet_list_close" || token.type === "ordered_list_close") {
1679
1679
  listStack.pop();
1680
1680
  if (listStack.length === 0) token.hidden = true;
1681
1681
  } else if (token.type === "list_item_open") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vuepress-plugin-md-power",
3
3
  "type": "module",
4
- "version": "1.0.0-rc.178",
4
+ "version": "1.0.0-rc.180",
5
5
  "description": "The Plugin for VuePress 2 - markdown power",
6
6
  "author": "pengzhanbo <volodymyr@foxmail.com>",
7
7
  "license": "MIT",
@@ -32,14 +32,14 @@
32
32
  ],
33
33
  "peerDependencies": {
34
34
  "artplayer": "^5.3.0",
35
- "dashjs": "^5.0.3",
35
+ "dashjs": "^5.1.0",
36
36
  "esbuild": "^0.27.0",
37
37
  "hls.js": "^1.6.15",
38
38
  "less": "^4.4.2",
39
39
  "markdown-it": "^14.1.0",
40
40
  "mpegts.js": "^1.7.3",
41
41
  "pyodide": "^0.29.0",
42
- "sass": "^1.94.1",
42
+ "sass": "^1.94.2",
43
43
  "sass-embedded": "^1.93.3",
44
44
  "stylus": "^0.64.0",
45
45
  "vuepress": "2.0.0-rc.26"
@@ -84,29 +84,30 @@
84
84
  "@mdit/plugin-sup": "^0.22.2",
85
85
  "@mdit/plugin-tab": "^0.22.3",
86
86
  "@mdit/plugin-tasklist": "^0.22.2",
87
- "@pengzhanbo/utils": "^2.1.0",
88
- "@vuepress/helper": "2.0.0-rc.118",
89
- "@vueuse/core": "^14.0.0",
90
- "chokidar": "4.0.3",
87
+ "@pengzhanbo/utils": "^2.1.2",
88
+ "@vuepress/helper": "2.0.0-rc.120",
89
+ "@vueuse/core": "^14.1.0",
90
+ "chokidar": "5.0.0",
91
91
  "image-size": "^2.0.2",
92
92
  "local-pkg": "^1.1.2",
93
- "lru-cache": "^11.2.2",
93
+ "lru-cache": "^11.2.4",
94
94
  "markdown-it-container": "^4.0.0",
95
95
  "nanoid": "^5.1.6",
96
- "shiki": "^3.15.0",
97
- "tm-grammars": "^1.25.3",
98
- "tm-themes": "^1.10.12",
99
- "vue": "^3.5.24"
96
+ "shiki": "^3.17.0",
97
+ "tm-grammars": "^1.26.0",
98
+ "tm-themes": "^1.10.13",
99
+ "vue": "^3.5.25"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@types/markdown-it": "^14.1.2",
103
103
  "artplayer": "^5.3.0",
104
- "dashjs": "^5.0.3",
104
+ "dashjs": "^5.1.0",
105
105
  "hls.js": "^1.6.15",
106
106
  "mpegts.js": "1.7.3"
107
107
  },
108
108
  "publishConfig": {
109
- "access": "public"
109
+ "access": "public",
110
+ "provenance": true
110
111
  },
111
112
  "keyword": [
112
113
  "VuePress",