vitepress-plugin-file-tree 0.5.0 → 0.6.0
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/node/index.js +1 -0
- package/package.json +3 -3
package/dist/node/index.js
CHANGED
|
@@ -154,6 +154,7 @@ function parseContentWithContainer(content) {
|
|
|
154
154
|
};
|
|
155
155
|
const stack = [root];
|
|
156
156
|
const lines = content.trimEnd().split("\n");
|
|
157
|
+
/* v8 ignore next */
|
|
157
158
|
const spaceLength = lines[0]?.match(/^\s*/)?.[0].length ?? 0;
|
|
158
159
|
for (const line of lines) {
|
|
159
160
|
const match = line.match(/^(\s*)-(.*)$/);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitepress-plugin-file-tree",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"description": "Render file tree structure in your VitePress site.",
|
|
6
6
|
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@pengzhanbo/utils": "^3.7.3",
|
|
41
41
|
"@vueuse/core": "^14.3.0",
|
|
42
|
-
"vitepress-plugin-toolkit": "0.
|
|
43
|
-
"vitepress-tuck": "0.
|
|
42
|
+
"vitepress-plugin-toolkit": "0.6.0",
|
|
43
|
+
"vitepress-tuck": "0.6.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public",
|