@slidev/parser 0.38.5 → 0.38.7
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/{chunk-5SMNV4NL.js → chunk-N3D22V5P.js} +17 -9
- package/dist/{chunk-ZHXGSN7W.mjs → chunk-OGM4VGAK.mjs} +16 -8
- package/dist/core.d.ts +3 -2
- package/dist/core.js +4 -2
- package/dist/core.mjs +3 -1
- package/dist/fs.d.ts +1 -1
- package/dist/fs.js +9 -7
- package/dist/fs.mjs +3 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -2
- package/dist/index.mjs +3 -1
- package/package.json +2 -2
|
@@ -156,11 +156,8 @@ function parseAspectRatio(str) {
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
// src/config.ts
|
|
159
|
-
function
|
|
160
|
-
|
|
161
|
-
const themeHightlighter = ["prism", "shiki"].includes(themeMeta.highlighter || "") ? themeMeta.highlighter : void 0;
|
|
162
|
-
const themeColorSchema = ["light", "dark"].includes(themeMeta.colorSchema || "") ? themeMeta.colorSchema : void 0;
|
|
163
|
-
const defaultConfig = {
|
|
159
|
+
function getDefaultConfig() {
|
|
160
|
+
return {
|
|
164
161
|
theme: "default",
|
|
165
162
|
title: "Slidev",
|
|
166
163
|
titleTemplate: "%s - Slidev",
|
|
@@ -168,10 +165,11 @@ function resolveConfig(headmatter, themeMeta = {}, filepath, verify = false) {
|
|
|
168
165
|
remoteAssets: false,
|
|
169
166
|
monaco: "dev",
|
|
170
167
|
download: false,
|
|
168
|
+
export: {},
|
|
171
169
|
info: false,
|
|
172
|
-
highlighter:
|
|
170
|
+
highlighter: "prism",
|
|
173
171
|
lineNumbers: false,
|
|
174
|
-
colorSchema:
|
|
172
|
+
colorSchema: "auto",
|
|
175
173
|
routerMode: "history",
|
|
176
174
|
aspectRatio: 16 / 9,
|
|
177
175
|
canvasWidth: 980,
|
|
@@ -186,10 +184,19 @@ function resolveConfig(headmatter, themeMeta = {}, filepath, verify = false) {
|
|
|
186
184
|
record: "dev",
|
|
187
185
|
css: "windicss",
|
|
188
186
|
presenter: true,
|
|
189
|
-
htmlAttrs: {}
|
|
187
|
+
htmlAttrs: {},
|
|
188
|
+
pageTransition: {}
|
|
190
189
|
};
|
|
190
|
+
}
|
|
191
|
+
function resolveConfig(headmatter, themeMeta = {}, filepath, verify = false) {
|
|
192
|
+
var _a, _b, _c, _d;
|
|
193
|
+
const themeHightlighter = ["prism", "shiki"].includes(themeMeta.highlighter || "") ? themeMeta.highlighter : void 0;
|
|
194
|
+
const themeColorSchema = ["light", "dark"].includes(themeMeta.colorSchema || "") ? themeMeta.colorSchema : void 0;
|
|
195
|
+
const defaultConfig = getDefaultConfig();
|
|
191
196
|
const config = {
|
|
192
197
|
...defaultConfig,
|
|
198
|
+
highlighter: themeHightlighter || defaultConfig.highlighter,
|
|
199
|
+
colorSchema: themeColorSchema || defaultConfig.colorSchema,
|
|
193
200
|
...themeMeta.defaults,
|
|
194
201
|
...headmatter.config,
|
|
195
202
|
...headmatter,
|
|
@@ -520,4 +527,5 @@ function scanMonacoModules(md) {
|
|
|
520
527
|
|
|
521
528
|
|
|
522
529
|
|
|
523
|
-
|
|
530
|
+
|
|
531
|
+
exports.parseRangeString = parseRangeString; exports.parseAspectRatio = parseAspectRatio; exports.getDefaultConfig = getDefaultConfig; exports.resolveConfig = resolveConfig; exports.verifyConfig = verifyConfig; exports.resolveFonts = resolveFonts; exports.stringify = stringify; exports.filterDisabled = filterDisabled; exports.stringifySlide = stringifySlide; exports.prettifySlide = prettifySlide; exports.prettify = prettify; exports.detectFeatures = detectFeatures; exports.parseSlide = parseSlide; exports.parse = parse; exports.mergeFeatureFlags = mergeFeatureFlags; exports.scanMonacoModules = scanMonacoModules;
|
|
@@ -156,11 +156,8 @@ function parseAspectRatio(str) {
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
// src/config.ts
|
|
159
|
-
function
|
|
160
|
-
|
|
161
|
-
const themeHightlighter = ["prism", "shiki"].includes(themeMeta.highlighter || "") ? themeMeta.highlighter : void 0;
|
|
162
|
-
const themeColorSchema = ["light", "dark"].includes(themeMeta.colorSchema || "") ? themeMeta.colorSchema : void 0;
|
|
163
|
-
const defaultConfig = {
|
|
159
|
+
function getDefaultConfig() {
|
|
160
|
+
return {
|
|
164
161
|
theme: "default",
|
|
165
162
|
title: "Slidev",
|
|
166
163
|
titleTemplate: "%s - Slidev",
|
|
@@ -168,10 +165,11 @@ function resolveConfig(headmatter, themeMeta = {}, filepath, verify = false) {
|
|
|
168
165
|
remoteAssets: false,
|
|
169
166
|
monaco: "dev",
|
|
170
167
|
download: false,
|
|
168
|
+
export: {},
|
|
171
169
|
info: false,
|
|
172
|
-
highlighter:
|
|
170
|
+
highlighter: "prism",
|
|
173
171
|
lineNumbers: false,
|
|
174
|
-
colorSchema:
|
|
172
|
+
colorSchema: "auto",
|
|
175
173
|
routerMode: "history",
|
|
176
174
|
aspectRatio: 16 / 9,
|
|
177
175
|
canvasWidth: 980,
|
|
@@ -186,10 +184,19 @@ function resolveConfig(headmatter, themeMeta = {}, filepath, verify = false) {
|
|
|
186
184
|
record: "dev",
|
|
187
185
|
css: "windicss",
|
|
188
186
|
presenter: true,
|
|
189
|
-
htmlAttrs: {}
|
|
187
|
+
htmlAttrs: {},
|
|
188
|
+
pageTransition: {}
|
|
190
189
|
};
|
|
190
|
+
}
|
|
191
|
+
function resolveConfig(headmatter, themeMeta = {}, filepath, verify = false) {
|
|
192
|
+
var _a, _b, _c, _d;
|
|
193
|
+
const themeHightlighter = ["prism", "shiki"].includes(themeMeta.highlighter || "") ? themeMeta.highlighter : void 0;
|
|
194
|
+
const themeColorSchema = ["light", "dark"].includes(themeMeta.colorSchema || "") ? themeMeta.colorSchema : void 0;
|
|
195
|
+
const defaultConfig = getDefaultConfig();
|
|
191
196
|
const config = {
|
|
192
197
|
...defaultConfig,
|
|
198
|
+
highlighter: themeHightlighter || defaultConfig.highlighter,
|
|
199
|
+
colorSchema: themeColorSchema || defaultConfig.colorSchema,
|
|
193
200
|
...themeMeta.defaults,
|
|
194
201
|
...headmatter.config,
|
|
195
202
|
...headmatter,
|
|
@@ -507,6 +514,7 @@ function scanMonacoModules(md) {
|
|
|
507
514
|
export {
|
|
508
515
|
parseRangeString,
|
|
509
516
|
parseAspectRatio,
|
|
517
|
+
getDefaultConfig,
|
|
510
518
|
resolveConfig,
|
|
511
519
|
verifyConfig,
|
|
512
520
|
resolveFonts,
|
package/dist/core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SlidevConfig, SlidevThemeMeta, FontOptions, ResolvedFontOptions, SlidevMarkdown, SlideInfoBase, SlidevFeatureFlags, SlidevPreparserExtension, PreparserExtensionFromHeadmatter } from '@slidev/types';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 1,3-5,8 => [1, 3, 4, 5, 8]
|
|
@@ -9,6 +9,7 @@ declare function parseRangeString(total: number, rangeStr?: string): number[];
|
|
|
9
9
|
*/
|
|
10
10
|
declare function parseAspectRatio(str: string | number): number;
|
|
11
11
|
|
|
12
|
+
declare function getDefaultConfig(): SlidevConfig;
|
|
12
13
|
declare function resolveConfig(headmatter: any, themeMeta?: SlidevThemeMeta, filepath?: string, verify?: boolean): SlidevConfig;
|
|
13
14
|
declare function verifyConfig(config: SlidevConfig, themeMeta?: SlidevThemeMeta, warn?: (v: string) => void): void;
|
|
14
15
|
declare function resolveFonts(fonts?: FontOptions): ResolvedFontOptions;
|
|
@@ -24,4 +25,4 @@ declare function parse(markdown: string, filepath?: string, themeMeta?: SlidevTh
|
|
|
24
25
|
declare function mergeFeatureFlags(a: SlidevFeatureFlags, b: SlidevFeatureFlags): SlidevFeatureFlags;
|
|
25
26
|
declare function scanMonacoModules(md: string): string[];
|
|
26
27
|
|
|
27
|
-
export { detectFeatures, filterDisabled, mergeFeatureFlags, parse, parseAspectRatio, parseRangeString, parseSlide, prettify, prettifySlide, resolveConfig, resolveFonts, scanMonacoModules, stringify, stringifySlide, verifyConfig };
|
|
28
|
+
export { detectFeatures, filterDisabled, getDefaultConfig, mergeFeatureFlags, parse, parseAspectRatio, parseRangeString, parseSlide, prettify, prettifySlide, resolveConfig, resolveFonts, scanMonacoModules, stringify, stringifySlide, verifyConfig };
|
package/dist/core.js
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var _chunk5SMNV4NLjs = require('./chunk-5SMNV4NL.js');
|
|
18
17
|
|
|
18
|
+
var _chunkN3D22V5Pjs = require('./chunk-N3D22V5P.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -31,4 +31,6 @@ var _chunk5SMNV4NLjs = require('./chunk-5SMNV4NL.js');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
exports.detectFeatures = _chunkN3D22V5Pjs.detectFeatures; exports.filterDisabled = _chunkN3D22V5Pjs.filterDisabled; exports.getDefaultConfig = _chunkN3D22V5Pjs.getDefaultConfig; exports.mergeFeatureFlags = _chunkN3D22V5Pjs.mergeFeatureFlags; exports.parse = _chunkN3D22V5Pjs.parse; exports.parseAspectRatio = _chunkN3D22V5Pjs.parseAspectRatio; exports.parseRangeString = _chunkN3D22V5Pjs.parseRangeString; exports.parseSlide = _chunkN3D22V5Pjs.parseSlide; exports.prettify = _chunkN3D22V5Pjs.prettify; exports.prettifySlide = _chunkN3D22V5Pjs.prettifySlide; exports.resolveConfig = _chunkN3D22V5Pjs.resolveConfig; exports.resolveFonts = _chunkN3D22V5Pjs.resolveFonts; exports.scanMonacoModules = _chunkN3D22V5Pjs.scanMonacoModules; exports.stringify = _chunkN3D22V5Pjs.stringify; exports.stringifySlide = _chunkN3D22V5Pjs.stringifySlide; exports.verifyConfig = _chunkN3D22V5Pjs.verifyConfig;
|
package/dist/core.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
detectFeatures,
|
|
3
3
|
filterDisabled,
|
|
4
|
+
getDefaultConfig,
|
|
4
5
|
mergeFeatureFlags,
|
|
5
6
|
parse,
|
|
6
7
|
parseAspectRatio,
|
|
@@ -14,10 +15,11 @@ import {
|
|
|
14
15
|
stringify,
|
|
15
16
|
stringifySlide,
|
|
16
17
|
verifyConfig
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OGM4VGAK.mjs";
|
|
18
19
|
export {
|
|
19
20
|
detectFeatures,
|
|
20
21
|
filterDisabled,
|
|
22
|
+
getDefaultConfig,
|
|
21
23
|
mergeFeatureFlags,
|
|
22
24
|
parse,
|
|
23
25
|
parseAspectRatio,
|
package/dist/fs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PreparserExtensionLoader, SlidevThemeMeta, SlidevMarkdown, SlideInfoWithPath } from '@slidev/types';
|
|
2
|
-
export { detectFeatures, filterDisabled, mergeFeatureFlags, parse, parseAspectRatio, parseRangeString, parseSlide, prettify, prettifySlide, resolveConfig, resolveFonts, scanMonacoModules, stringify, stringifySlide, verifyConfig } from './core.js';
|
|
2
|
+
export { detectFeatures, filterDisabled, getDefaultConfig, mergeFeatureFlags, parse, parseAspectRatio, parseRangeString, parseSlide, prettify, prettifySlide, resolveConfig, resolveFonts, scanMonacoModules, stringify, stringifySlide, verifyConfig } from './core.js';
|
|
3
3
|
|
|
4
4
|
declare function injectPreparserExtensionLoader(fn: PreparserExtensionLoader): void;
|
|
5
5
|
declare function load(filepath: string, themeMeta?: SlidevThemeMeta, content?: string): Promise<SlidevMarkdown>;
|
package/dist/fs.js
CHANGED
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
var _chunkN3D22V5Pjs = require('./chunk-N3D22V5P.js');
|
|
18
19
|
|
|
19
20
|
// src/fs.ts
|
|
20
21
|
var _fs = require('fs');
|
|
@@ -28,7 +29,7 @@ async function load(filepath, themeMeta, content) {
|
|
|
28
29
|
const dir = _path.dirname.call(void 0, filepath);
|
|
29
30
|
const markdown = content != null ? content : await _fs.promises.readFile(filepath, "utf-8");
|
|
30
31
|
const preparserExtensions = [];
|
|
31
|
-
const data = await
|
|
32
|
+
const data = await _chunkN3D22V5Pjs.parse.call(void 0, markdown, filepath, themeMeta, [], async (headmatter, exts, filepath2) => {
|
|
32
33
|
preparserExtensions.splice(
|
|
33
34
|
0,
|
|
34
35
|
preparserExtensions.length,
|
|
@@ -58,7 +59,7 @@ async function load(filepath, themeMeta, content) {
|
|
|
58
59
|
else
|
|
59
60
|
path = _path.resolve.call(void 0, dir, srcExpression);
|
|
60
61
|
const raw = await _fs.promises.readFile(path, "utf-8");
|
|
61
|
-
const subSlides = await
|
|
62
|
+
const subSlides = await _chunkN3D22V5Pjs.parse.call(void 0, raw, path, themeMeta, preparserExtensions);
|
|
62
63
|
for (const [offset, subSlide] of subSlides.slides.entries()) {
|
|
63
64
|
const slide = { ...baseSlide };
|
|
64
65
|
slide.source = {
|
|
@@ -79,7 +80,7 @@ async function load(filepath, themeMeta, content) {
|
|
|
79
80
|
...baseSlideFrontMatterWithoutSrc,
|
|
80
81
|
srcSequence: `${baseSlide.frontmatter.srcSequence ? `${baseSlide.frontmatter.srcSequence},` : ""}${srcExpression}`
|
|
81
82
|
};
|
|
82
|
-
data.features =
|
|
83
|
+
data.features = _chunkN3D22V5Pjs.mergeFeatureFlags.call(void 0, data.features, _chunkN3D22V5Pjs.detectFeatures.call(void 0, raw));
|
|
83
84
|
entries.add(path);
|
|
84
85
|
data.slides.splice(iSlide + offset, 0, slide);
|
|
85
86
|
}
|
|
@@ -91,10 +92,10 @@ async function load(filepath, themeMeta, content) {
|
|
|
91
92
|
}
|
|
92
93
|
async function save(data, filepath) {
|
|
93
94
|
filepath = filepath || data.filepath;
|
|
94
|
-
await _fs.promises.writeFile(filepath,
|
|
95
|
+
await _fs.promises.writeFile(filepath, _chunkN3D22V5Pjs.stringify.call(void 0, data), "utf-8");
|
|
95
96
|
}
|
|
96
97
|
async function saveExternalSlide(slide) {
|
|
97
|
-
await _fs.promises.writeFile(slide.filepath,
|
|
98
|
+
await _fs.promises.writeFile(slide.filepath, _chunkN3D22V5Pjs.stringifySlide.call(void 0, slide), "utf-8");
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
|
|
@@ -116,4 +117,5 @@ async function saveExternalSlide(slide) {
|
|
|
116
117
|
|
|
117
118
|
|
|
118
119
|
|
|
119
|
-
|
|
120
|
+
|
|
121
|
+
exports.detectFeatures = _chunkN3D22V5Pjs.detectFeatures; exports.filterDisabled = _chunkN3D22V5Pjs.filterDisabled; exports.getDefaultConfig = _chunkN3D22V5Pjs.getDefaultConfig; exports.injectPreparserExtensionLoader = injectPreparserExtensionLoader; exports.load = load; exports.mergeFeatureFlags = _chunkN3D22V5Pjs.mergeFeatureFlags; exports.parse = _chunkN3D22V5Pjs.parse; exports.parseAspectRatio = _chunkN3D22V5Pjs.parseAspectRatio; exports.parseRangeString = _chunkN3D22V5Pjs.parseRangeString; exports.parseSlide = _chunkN3D22V5Pjs.parseSlide; exports.prettify = _chunkN3D22V5Pjs.prettify; exports.prettifySlide = _chunkN3D22V5Pjs.prettifySlide; exports.resolveConfig = _chunkN3D22V5Pjs.resolveConfig; exports.resolveFonts = _chunkN3D22V5Pjs.resolveFonts; exports.save = save; exports.saveExternalSlide = saveExternalSlide; exports.scanMonacoModules = _chunkN3D22V5Pjs.scanMonacoModules; exports.stringify = _chunkN3D22V5Pjs.stringify; exports.stringifySlide = _chunkN3D22V5Pjs.stringifySlide; exports.verifyConfig = _chunkN3D22V5Pjs.verifyConfig;
|
package/dist/fs.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
detectFeatures,
|
|
3
3
|
filterDisabled,
|
|
4
|
+
getDefaultConfig,
|
|
4
5
|
mergeFeatureFlags,
|
|
5
6
|
parse,
|
|
6
7
|
parseAspectRatio,
|
|
@@ -14,7 +15,7 @@ import {
|
|
|
14
15
|
stringify,
|
|
15
16
|
stringifySlide,
|
|
16
17
|
verifyConfig
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OGM4VGAK.mjs";
|
|
18
19
|
|
|
19
20
|
// src/fs.ts
|
|
20
21
|
import { promises as fs } from "fs";
|
|
@@ -99,6 +100,7 @@ async function saveExternalSlide(slide) {
|
|
|
99
100
|
export {
|
|
100
101
|
detectFeatures,
|
|
101
102
|
filterDisabled,
|
|
103
|
+
getDefaultConfig,
|
|
102
104
|
injectPreparserExtensionLoader,
|
|
103
105
|
load,
|
|
104
106
|
mergeFeatureFlags,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { detectFeatures, filterDisabled, mergeFeatureFlags, parse, parseAspectRatio, parseRangeString, parseSlide, prettify, prettifySlide, resolveConfig, resolveFonts, scanMonacoModules, stringify, stringifySlide, verifyConfig } from './core.js';
|
|
1
|
+
export { detectFeatures, filterDisabled, getDefaultConfig, mergeFeatureFlags, parse, parseAspectRatio, parseRangeString, parseSlide, prettify, prettifySlide, resolveConfig, resolveFonts, scanMonacoModules, stringify, stringifySlide, verifyConfig } from './core.js';
|
|
2
2
|
import '@slidev/types';
|
package/dist/index.js
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var _chunk5SMNV4NLjs = require('./chunk-5SMNV4NL.js');
|
|
18
17
|
|
|
18
|
+
var _chunkN3D22V5Pjs = require('./chunk-N3D22V5P.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -31,4 +31,6 @@ var _chunk5SMNV4NLjs = require('./chunk-5SMNV4NL.js');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
exports.detectFeatures = _chunkN3D22V5Pjs.detectFeatures; exports.filterDisabled = _chunkN3D22V5Pjs.filterDisabled; exports.getDefaultConfig = _chunkN3D22V5Pjs.getDefaultConfig; exports.mergeFeatureFlags = _chunkN3D22V5Pjs.mergeFeatureFlags; exports.parse = _chunkN3D22V5Pjs.parse; exports.parseAspectRatio = _chunkN3D22V5Pjs.parseAspectRatio; exports.parseRangeString = _chunkN3D22V5Pjs.parseRangeString; exports.parseSlide = _chunkN3D22V5Pjs.parseSlide; exports.prettify = _chunkN3D22V5Pjs.prettify; exports.prettifySlide = _chunkN3D22V5Pjs.prettifySlide; exports.resolveConfig = _chunkN3D22V5Pjs.resolveConfig; exports.resolveFonts = _chunkN3D22V5Pjs.resolveFonts; exports.scanMonacoModules = _chunkN3D22V5Pjs.scanMonacoModules; exports.stringify = _chunkN3D22V5Pjs.stringify; exports.stringifySlide = _chunkN3D22V5Pjs.stringifySlide; exports.verifyConfig = _chunkN3D22V5Pjs.verifyConfig;
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
detectFeatures,
|
|
3
3
|
filterDisabled,
|
|
4
|
+
getDefaultConfig,
|
|
4
5
|
mergeFeatureFlags,
|
|
5
6
|
parse,
|
|
6
7
|
parseAspectRatio,
|
|
@@ -14,10 +15,11 @@ import {
|
|
|
14
15
|
stringify,
|
|
15
16
|
stringifySlide,
|
|
16
17
|
verifyConfig
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OGM4VGAK.mjs";
|
|
18
19
|
export {
|
|
19
20
|
detectFeatures,
|
|
20
21
|
filterDisabled,
|
|
22
|
+
getDefaultConfig,
|
|
21
23
|
mergeFeatureFlags,
|
|
22
24
|
parse,
|
|
23
25
|
parseAspectRatio,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/parser",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.7",
|
|
4
4
|
"description": "Markdown parser for Slidev",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"js-yaml": "^4.1.0",
|
|
43
|
-
"@slidev/types": "0.38.
|
|
43
|
+
"@slidev/types": "0.38.7"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "rimraf dist && tsup src/index.ts src/core.ts src/fs.ts --format cjs,esm --dts --splitting --no-shims",
|