@slidev/parser 0.49.27 → 0.49.29

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/fs.mjs +5 -4
  2. package/package.json +2 -2
package/dist/fs.mjs CHANGED
@@ -92,14 +92,15 @@ async function load(userRoot, filepath, loadedSource = {}, mode) {
92
92
  }
93
93
  } else {
94
94
  slides.push({
95
- index: slides.length,
96
- importChain,
97
- source: slide,
98
95
  frontmatter: { ...slide.frontmatter, ...frontmatterOverride },
99
96
  content: slide.content,
97
+ frontmatterRaw: slide.frontmatterRaw,
100
98
  note: slide.note,
101
99
  title: slide.title,
102
- level: slide.level
100
+ level: slide.level,
101
+ index: slides.length,
102
+ importChain,
103
+ source: slide
103
104
  });
104
105
  }
105
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/parser",
3
- "version": "0.49.27",
3
+ "version": "0.49.29",
4
4
  "description": "Markdown parser for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@antfu/utils": "^0.7.10",
40
40
  "yaml": "^2.5.0",
41
- "@slidev/types": "0.49.27"
41
+ "@slidev/types": "0.49.29"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "rimraf dist && tsup src/index.ts src/core.ts src/fs.ts",