@slidev/parser 52.17.2 → 52.18.1
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/fs.mjs +2 -1
- package/package.json +3 -3
package/dist/fs.mjs
CHANGED
|
@@ -46,7 +46,8 @@ async function load(options, filepath, sources = {}, mode) {
|
|
|
46
46
|
async function loadMarkdown(path, range, frontmatterOverride, importers) {
|
|
47
47
|
let md = markdownFiles[path];
|
|
48
48
|
if (!md) {
|
|
49
|
-
|
|
49
|
+
const raw = await loadSource(path);
|
|
50
|
+
md = await parse(raw, path, extensions);
|
|
50
51
|
markdownFiles[path] = md;
|
|
51
52
|
watchFiles[path] = /* @__PURE__ */ new Set();
|
|
52
53
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/parser",
|
|
3
|
-
"version": "52.
|
|
3
|
+
"version": "52.18.1",
|
|
4
4
|
"description": "Markdown parser for Slidev",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"@antfu/utils": "^9.3.0",
|
|
33
33
|
"pathe": "^2.0.3",
|
|
34
34
|
"yaml": "^2.9.0",
|
|
35
|
-
"@slidev/types": "52.
|
|
35
|
+
"@slidev/types": "52.18.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"tsdown-stale-guard": "^0.1.
|
|
38
|
+
"tsdown-stale-guard": "^0.1.3"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "tsdown",
|