@slidev/cli 0.49.1 → 0.49.3

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.
@@ -2,9 +2,9 @@ import {
2
2
  ViteSlidevPlugin,
3
3
  getIndexHtml,
4
4
  mergeViteConfigs
5
- } from "./chunk-KWWH7I4N.mjs";
5
+ } from "./chunk-NQBDNZ65.mjs";
6
6
  import "./chunk-LOUKLO2C.mjs";
7
- import "./chunk-ALXAQLRA.mjs";
7
+ import "./chunk-RG2EEPCO.mjs";
8
8
  import "./chunk-BXO7ZPPU.mjs";
9
9
 
10
10
  // node/commands/build.ts
@@ -63,7 +63,7 @@ async function build(options, viteConfig = {}, args) {
63
63
  await fs.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
64
64
  `, "utf-8");
65
65
  if ([true, "true", "auto"].includes(options.data.config.download)) {
66
- const { exportSlides, getExportOptions } = await import("./export-D7UWWRHH.mjs");
66
+ const { exportSlides, getExportOptions } = await import("./export-WUI5C4U3.mjs");
67
67
  const port = 12445;
68
68
  const app = connect();
69
69
  const server = http.createServer(app);
@@ -6,7 +6,7 @@ import {
6
6
  resolveImportPath,
7
7
  resolveImportUrl,
8
8
  toAtFS
9
- } from "./chunk-ALXAQLRA.mjs";
9
+ } from "./chunk-RG2EEPCO.mjs";
10
10
  import {
11
11
  __commonJS,
12
12
  __toESM
@@ -7143,7 +7143,7 @@ var require_dist = __commonJS({
7143
7143
  });
7144
7144
 
7145
7145
  // package.json
7146
- var version = "0.49.1";
7146
+ var version = "0.49.3";
7147
7147
 
7148
7148
  // node/commands/shared.ts
7149
7149
  import { existsSync, promises as fs } from "node:fs";
@@ -7256,9 +7256,9 @@ async function getIndexHtml({ entry, clientRoot, roots, data }) {
7256
7256
  continue;
7257
7257
  const index = await fs.readFile(path3, "utf-8");
7258
7258
  head += `
7259
- ${(index.match(/<head>([\s\S]*?)<\/head>/im)?.[1] || "").trim()}`;
7259
+ ${(index.match(/<head>([\s\S]*?)<\/head>/i)?.[1] || "").trim()}`;
7260
7260
  body += `
7261
- ${(index.match(/<body>([\s\S]*?)<\/body>/im)?.[1] || "").trim()}`;
7261
+ ${(index.match(/<body>([\s\S]*?)<\/body>/i)?.[1] || "").trim()}`;
7262
7262
  }
7263
7263
  if (data.features.tweet)
7264
7264
  body += '\n<script async src="https://platform.twitter.com/widgets.js"></script>';
@@ -7484,7 +7484,7 @@ function createConfigPlugin(options) {
7484
7484
  options.userWorkspaceRoot,
7485
7485
  options.clientRoot,
7486
7486
  // Special case for PNPM global installation
7487
- isInstalledGlobally.value ? slash2(options.cliRoot).replace(/\/\.pnpm\/.*$/ig, "") : options.cliRoot,
7487
+ isInstalledGlobally.value ? slash2(options.cliRoot).replace(/\/\.pnpm\/.*$/gi, "") : options.cliRoot,
7488
7488
  ...options.roots
7489
7489
  ])
7490
7490
  }
@@ -8013,8 +8013,8 @@ var templates = [
8013
8013
  ];
8014
8014
 
8015
8015
  // node/vite/loaders.ts
8016
- var regexId = /^\/\@slidev\/slide\/(\d+)\.(md|json)(?:\?import)?$/;
8017
- var regexIdQuery = /(\d+?)\.(md|json|frontmatter)$/;
8016
+ var regexId = /^\/@slidev\/slide\/(\d+)\.(md|json)(?:\?import)?$/;
8017
+ var regexIdQuery = /(\d+)\.(md|json|frontmatter)$/;
8018
8018
  var templateInjectionMarker = "/* @slidev-injection */";
8019
8019
  var templateImportContextUtils = `import {
8020
8020
  useSlideContext,
@@ -8388,7 +8388,7 @@ ${code.slice(injectB)}`;
8388
8388
  ${imports.join("\n")}
8389
8389
  `);
8390
8390
  } else if (matchScript && !matchScript[2]) {
8391
- const matchExport = code.match(/export\s+default\s+{/);
8391
+ const matchExport = code.match(/export\s+default\s+\{/);
8392
8392
  if (matchExport) {
8393
8393
  const exportIndex = (matchExport.index || 0) + matchExport[0].length;
8394
8394
  let component = code.slice(exportIndex);
@@ -8398,7 +8398,7 @@ ${imports.join("\n")}
8398
8398
  code = `${code.slice(0, scriptIndex)}${provideImport}${code.slice(scriptIndex)}`;
8399
8399
  let injectIndex = exportIndex + provideImport.length;
8400
8400
  let injectObject = "$slidev: { from: injectionSlidevContext },";
8401
- const matchInject = component.match(/.*inject\s*:\s*([\[{])/);
8401
+ const matchInject = component.match(/.*inject\s*:\s*([[{])/);
8402
8402
  if (matchInject) {
8403
8403
  injectIndex += (matchInject.index || 0) + matchInject[0].length;
8404
8404
  if (matchInject[1] === "[") {
@@ -8719,7 +8719,7 @@ function normalizeRangeStr(rangeStr = "") {
8719
8719
  return !rangeStr.trim() ? [] : rangeStr.trim().split(/\|/g).map((i) => i.trim());
8720
8720
  }
8721
8721
  function getCodeBlocks(md) {
8722
- const codeblocks = Array.from(md.matchAll(/^```[\s\S]*?^```/mg)).map((m) => {
8722
+ const codeblocks = Array.from(md.matchAll(/^```[\s\S]*?^```/gm)).map((m) => {
8723
8723
  const start = m.index;
8724
8724
  const end = m.index + m[0].length;
8725
8725
  const startLine = md.slice(0, start).match(/\n/g)?.length || 0;
@@ -8737,7 +8737,7 @@ function getCodeBlocks(md) {
8737
8737
  };
8738
8738
  }
8739
8739
  function escapeVueInCode(md) {
8740
- return md.replace(/{{/g, "&lbrace;&lbrace;");
8740
+ return md.replace(/\{\{/g, "&lbrace;&lbrace;");
8741
8741
  }
8742
8742
 
8743
8743
  // node/syntax/markdown-it/markdown-it-prism.ts
@@ -8882,7 +8882,7 @@ function markdownItVDrag(md, markdownTransformMap) {
8882
8882
  }
8883
8883
 
8884
8884
  // node/syntax/transform/code-wrapper.ts
8885
- var reCodeBlock = /^```([\w'-]+?)(?:\s*{([\d\w*,\|-]+)}\s*?({.*?})?(.*?))?\r?\n([\s\S]+?)^```$/mg;
8885
+ var reCodeBlock = /^```([\w'-]+)(?:\s*\{([\w*,|-]+)\}\s*?(\{[^}]*\})?([^\r\n]*))?\r?\n(\S[\s\S]*?)^```$/gm;
8886
8886
  function transformCodeWrapper(ctx) {
8887
8887
  ctx.s.replace(
8888
8888
  reCodeBlock,
@@ -8905,7 +8905,7 @@ ${code}
8905
8905
  // node/syntax/transform/magic-move.ts
8906
8906
  import { codeToKeyedTokens } from "shiki-magic-move/core";
8907
8907
  import lz from "lz-string";
8908
- var reMagicMoveBlock = /^````(?:md|markdown) magic-move(?:[ ]*(\{.*?\})?([^\n]*?))?\n([\s\S]+?)^````$/mg;
8908
+ var reMagicMoveBlock = /^````(?:md|markdown) magic-move(?: *(\{[^}]*\})?([^\n]*))?\n([\s\S]+?)^````$/gm;
8909
8909
  function transformMagicMove(shiki, shikiOptions) {
8910
8910
  return (ctx) => {
8911
8911
  ctx.s.replace(
@@ -8933,23 +8933,29 @@ function transformMagicMove(shiki, shikiOptions) {
8933
8933
  // node/syntax/transform/mermaid.ts
8934
8934
  import lz2 from "lz-string";
8935
8935
  function transformMermaid(ctx) {
8936
- ctx.s.replace(/^```mermaid\s*?({.*?})?\n([\s\S]+?)\n```/mg, (full, options = "", code = "") => {
8937
- code = code.trim();
8938
- options = options.trim() || "{}";
8939
- const encoded = lz2.compressToBase64(code);
8940
- return `<Mermaid code-lz="${encoded}" v-bind="${options}" />`;
8941
- });
8936
+ ctx.s.replace(
8937
+ /^```mermaid *(\{[^}]*\})?\n([\s\S]+?)\n```/gm,
8938
+ (full, options = "", code = "") => {
8939
+ code = code.trim();
8940
+ options = options.trim() || "{}";
8941
+ const encoded = lz2.compressToBase64(code);
8942
+ return `<Mermaid code-lz="${encoded}" v-bind="${options}" />`;
8943
+ }
8944
+ );
8942
8945
  }
8943
8946
 
8944
8947
  // node/syntax/transform/plant-uml.ts
8945
8948
  import { encode as encodePlantUml } from "plantuml-encoder";
8946
8949
  function transformPlantUml(ctx) {
8947
8950
  const server = ctx.options.data.config.plantUmlServer;
8948
- ctx.s.replace(/^```plantuml\s*?({.*?})?\n([\s\S]+?)\n```/mg, (full, options = "", content = "") => {
8949
- const code = encodePlantUml(content.trim());
8950
- options = options.trim() || "{}";
8951
- return `<PlantUml :code="'${code}'" :server="'${server}'" v-bind="${options}" />`;
8952
- });
8951
+ ctx.s.replace(
8952
+ /^```plantuml[^\n{}]*(\{[^}\n]*\})?\n([\s\S]+?)\n```/gm,
8953
+ (full, options = "", content = "") => {
8954
+ const code = encodePlantUml(content.trim());
8955
+ options = options.trim() || "{}";
8956
+ return `<PlantUml :code="'${code}'" :server="'${server}'" v-bind="${options}" />`;
8957
+ }
8958
+ );
8953
8959
  }
8954
8960
 
8955
8961
  // node/syntax/transform/snippet.ts
@@ -8983,9 +8989,9 @@ function findRegion(lines, regionName) {
8983
8989
  // C, C++
8984
8990
  /^<!-- #?((?:end)?region) ([\w*-]+) -->$/,
8985
8991
  // HTML, markdown
8986
- /^#((?:End )Region) ([\w*-]+)$/,
8992
+ /^#(End Region) ([\w*-]+)$/,
8987
8993
  // Visual Basic
8988
- /^::#((?:end)region) ([\w*-]+)$/,
8994
+ /^::#(endregion) ([\w*-]+)$/,
8989
8995
  // Bat
8990
8996
  /^# ?((?:end)?region) ([\w*-]+)$/
8991
8997
  // C#, PHP, Powershell, Python, perl & misc
@@ -9016,11 +9022,12 @@ function transformSnippet(ctx) {
9016
9022
  const slideInfo = data.slides[+slideId - 1];
9017
9023
  const dir = path2.dirname(slideInfo.source?.filepath ?? options.entry ?? options.userRoot);
9018
9024
  ctx.s.replace(
9019
- /^<<< *(.+?)(#[\w-]+)? *(?: (\S+?))? *(\{.*)?$/mg,
9025
+ // eslint-disable-next-line regexp/no-super-linear-backtracking
9026
+ /^<<<\s*(\S.*?)(#[\w-]+)?\s*(?:\s(\S+?))?\s*(\{.*)?$/gm,
9020
9027
  (full, filepath = "", regionName = "", lang = "", meta = "") => {
9021
9028
  const firstLine = `\`\`\`${lang || path2.extname(filepath).slice(1)} ${meta}`;
9022
9029
  const src = slash3(
9023
- /^\@[\/]/.test(filepath) ? path2.resolve(options.userRoot, filepath.slice(2)) : path2.resolve(dir, filepath)
9030
+ /^@\//.test(filepath) ? path2.resolve(options.userRoot, filepath.slice(2)) : path2.resolve(dir, filepath)
9024
9031
  );
9025
9032
  data.watchFiles.push(src);
9026
9033
  const isAFile = fs4.statSync(src).isFile();
@@ -9063,7 +9070,7 @@ function transformSlotSugar(ctx) {
9063
9070
  offset += line.length;
9064
9071
  if (codeBlocks.isInsideCodeblocks(offset))
9065
9072
  return;
9066
- const match = line.match(/^::\s*([\w\.\-\:]+)\s*::(\s*)?$/);
9073
+ const match = line.match(/^::\s*([\w.\-:]+)\s*::(\s*)$/);
9067
9074
  if (match) {
9068
9075
  ctx.s.overwrite(start, offset - match[2].length, `${prevSlot ? "\n\n</template>\n" : "\n"}<template v-slot:${match[1]}="slotProps">
9069
9076
  `);
@@ -9081,7 +9088,7 @@ function transformPageCSS(ctx) {
9081
9088
  return;
9082
9089
  const codeBlocks = getCodeBlocks(ctx.s.original);
9083
9090
  ctx.s.replace(
9084
- /(\n<style[^>]*?>)([\s\S]+?)(<\/style>)/g,
9091
+ /(\n<style[^>]*>)([\s\S]+?)(<\/style>)/g,
9085
9092
  (full, start, css, end, index) => {
9086
9093
  if (codeBlocks.isInsideCodeblocks(index))
9087
9094
  return full;
@@ -9098,11 +9105,11 @@ import lz3 from "lz-string";
9098
9105
  function transformMonaco(ctx) {
9099
9106
  const enabled = ctx.options.data.config.monaco === true || ctx.options.data.config.monaco === ctx.options.mode;
9100
9107
  if (!enabled) {
9101
- ctx.s.replace(/{monaco([\w:,-]*)}/g, "");
9108
+ ctx.s.replace(/\{monaco([\w:,-]*)\}/g, "");
9102
9109
  return;
9103
9110
  }
9104
9111
  ctx.s.replace(
9105
- /^```(\w+?)\s*{monaco-diff}\s*?({.*?})?\s*?\n([\s\S]+?)^~~~\s*?\n([\s\S]+?)^```/mg,
9112
+ /^```(\w+) *\{monaco-diff\} *(?:(\{[^\n}]*\}) *)?\n([\s\S]+?)^~~~ *\n([\s\S]+?)^```/gm,
9106
9113
  (full, lang = "ts", options = "{}", code, diff) => {
9107
9114
  lang = lang.trim();
9108
9115
  options = options.trim() || "{}";
@@ -9112,7 +9119,7 @@ function transformMonaco(ctx) {
9112
9119
  }
9113
9120
  );
9114
9121
  ctx.s.replace(
9115
- /^```(\w+?)\s*{monaco}\s*?({.*?})?\s*?\n([\s\S]+?)^```/mg,
9122
+ /^```(\w+) *\{monaco\} *(?:(\{[^}]*\}) *)?\n([\s\S]+?)^```/gm,
9116
9123
  (full, lang = "ts", options = "{}", code) => {
9117
9124
  lang = lang.trim();
9118
9125
  options = options.trim() || "{}";
@@ -9121,7 +9128,7 @@ function transformMonaco(ctx) {
9121
9128
  }
9122
9129
  );
9123
9130
  ctx.s.replace(
9124
- /^```(\w+?)\s*{monaco-run}\s*?({.*?})?\s*?\n([\s\S]+?)^```/mg,
9131
+ /^```(\w+) *\{monaco-run\} *(?:(\{[^}]*\}) *)?\n([\s\S]+?)^```/gm,
9125
9132
  (full, lang = "ts", options = "{}", code) => {
9126
9133
  lang = lang.trim();
9127
9134
  options = options.trim() || "{}";
@@ -9134,7 +9141,7 @@ function transformMonaco(ctx) {
9134
9141
  // node/syntax/transform/katex-wrapper.ts
9135
9142
  function transformKaTexWrapper(ctx) {
9136
9143
  ctx.s.replace(
9137
- /^\$\$(?:\s*{([\d\w*,\|-]+)}\s*?({.*?})?\s*?)?\n([\s\S]+?)^\$\$/mg,
9144
+ /^\$\$(?:\s*\{([\w*,|-]+)\}\s*?(?:(\{[^}]*\})\s*?)?)?\n(\S[\s\S]*?)^\$\$/gm,
9138
9145
  (full, rangeStr = "", options = "", code) => {
9139
9146
  const ranges = !rangeStr.trim() ? [] : rangeStr.trim().split(/\|/g).map((i) => i.trim());
9140
9147
  code = code.trimEnd();
@@ -9325,7 +9332,7 @@ function createMonacoTypesLoader({ userRoot }) {
9325
9332
  return null;
9326
9333
  },
9327
9334
  async load(id) {
9328
- const matchResolve = id.match(/^\/\@slidev-monaco-types\/resolve\?pkg=(.*?)(?:&importer=(.*))?$/);
9335
+ const matchResolve = id.match(/^\/@slidev-monaco-types\/resolve\?pkg=(.*?)(?:&importer=(.*))?$/);
9329
9336
  if (matchResolve) {
9330
9337
  const [_, pkg, importer = userRoot] = matchResolve;
9331
9338
  const resolvedDeps = resolvedDepsMap[importer] ??= /* @__PURE__ */ new Set();
@@ -9343,7 +9350,7 @@ function createMonacoTypesLoader({ userRoot }) {
9343
9350
  ...Object.keys(deps).map((dep) => `import "/@slidev-monaco-types/resolve?pkg=${dep}&importer=${slash5(root)}"`)
9344
9351
  ].join("\n");
9345
9352
  }
9346
- const matchLoad = id.match(/^\/\@slidev-monaco-types\/load\?root=(.*?)&name=(.*)$/);
9353
+ const matchLoad = id.match(/^\/@slidev-monaco-types\/load\?root=(.*?)&name=(.*)$/);
9347
9354
  if (matchLoad) {
9348
9355
  const [_, root, name] = matchLoad;
9349
9356
  const files = await fg4(
@@ -9478,7 +9485,7 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
9478
9485
  rules: [
9479
9486
  ...r.DefaultRules,
9480
9487
  {
9481
- match: /\b(https?:\/\/image.unsplash\.com.*?)(?=[`'")\]])/ig,
9488
+ match: /\b(https?:\/\/image.unsplash\.com.*?)(?=[`'")\]])/gi,
9482
9489
  ext: ".png"
9483
9490
  }
9484
9491
  ],
@@ -2,12 +2,12 @@ import {
2
2
  ViteSlidevPlugin,
3
3
  mergeViteConfigs,
4
4
  version
5
- } from "./chunk-KWWH7I4N.mjs";
5
+ } from "./chunk-NQBDNZ65.mjs";
6
6
  import {
7
7
  createResolver,
8
8
  getRoots,
9
9
  resolveEntry
10
- } from "./chunk-ALXAQLRA.mjs";
10
+ } from "./chunk-RG2EEPCO.mjs";
11
11
 
12
12
  // node/commands/server.ts
13
13
  import { join } from "node:path";
@@ -53,7 +53,7 @@ async function findGlobalPkgRoot(name, ensure = false) {
53
53
  throw new Error(`Failed to resolve global package "${name}"`);
54
54
  }
55
55
  async function resolveEntry(entryRaw) {
56
- if (!fs.existsSync(entryRaw) && !entryRaw.endsWith(".md") && !/[\/\\]/.test(entryRaw))
56
+ if (!fs.existsSync(entryRaw) && !entryRaw.endsWith(".md") && !/[/\\]/.test(entryRaw))
57
57
  entryRaw += ".md";
58
58
  const entry = resolve(entryRaw);
59
59
  if (!fs.existsSync(entry)) {
package/dist/cli.mjs CHANGED
@@ -5,10 +5,10 @@ import {
5
5
  resolveAddons,
6
6
  resolveOptions,
7
7
  resolveTheme
8
- } from "./chunk-NG2L7HVW.mjs";
8
+ } from "./chunk-OL3F2SCP.mjs";
9
9
  import {
10
10
  version
11
- } from "./chunk-KWWH7I4N.mjs";
11
+ } from "./chunk-NQBDNZ65.mjs";
12
12
  import {
13
13
  loadSetups
14
14
  } from "./chunk-LOUKLO2C.mjs";
@@ -16,7 +16,7 @@ import {
16
16
  getRoots,
17
17
  isInstalledGlobally,
18
18
  resolveEntry
19
- } from "./chunk-ALXAQLRA.mjs";
19
+ } from "./chunk-RG2EEPCO.mjs";
20
20
  import "./chunk-BXO7ZPPU.mjs";
21
21
 
22
22
  // node/cli.ts
@@ -304,11 +304,7 @@ ${dim(" Public IP: ")} ${blue(publicIp)}
304
304
  cli.command(
305
305
  "build [entry..]",
306
306
  "Build hostable SPA",
307
- (args) => exportOptions(commonOptions(args)).option("watch", {
308
- alias: "w",
309
- default: false,
310
- describe: "build watch"
311
- }).option("out", {
307
+ (args) => exportOptions(commonOptions(args)).option("out", {
312
308
  alias: "o",
313
309
  type: "string",
314
310
  default: "dist",
@@ -326,8 +322,8 @@ cli.command(
326
322
  describe: "enable the inspect plugin for debugging"
327
323
  }).strict().help(),
328
324
  async (args) => {
329
- const { entry, theme, watch, base, download, out, inspect } = args;
330
- const { build } = await import("./build-OI47N2A7.mjs");
325
+ const { entry, theme, base, download, out, inspect } = args;
326
+ const { build } = await import("./build-B7KZ5KHE.mjs");
331
327
  for (const entryFile of entry) {
332
328
  const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
333
329
  if (download && !options.data.config.download)
@@ -338,7 +334,6 @@ cli.command(
338
334
  {
339
335
  base,
340
336
  build: {
341
- watch: watch ? {} : void 0,
342
337
  outDir: entry.length === 1 ? out : path.join(out, path.basename(entryFile, ".md"))
343
338
  }
344
339
  },
@@ -408,7 +403,7 @@ cli.command(
408
403
  (args) => exportOptions(commonOptions(args)).strict().help(),
409
404
  async (args) => {
410
405
  const { entry, theme } = args;
411
- const { exportSlides, getExportOptions } = await import("./export-D7UWWRHH.mjs");
406
+ const { exportSlides, getExportOptions } = await import("./export-WUI5C4U3.mjs");
412
407
  const port = await getPort(12445);
413
408
  for (const entryFile of entry) {
414
409
  const options = await resolveOptions({ entry: entryFile, theme }, "export");
@@ -457,7 +452,7 @@ cli.command(
457
452
  timeout,
458
453
  wait
459
454
  }) => {
460
- const { exportNotes } = await import("./export-D7UWWRHH.mjs");
455
+ const { exportNotes } = await import("./export-WUI5C4U3.mjs");
461
456
  const port = await getPort(12445);
462
457
  for (const entryFile of entry) {
463
458
  const options = await resolveOptions({ entry: entryFile }, "export");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getRoots
3
- } from "./chunk-ALXAQLRA.mjs";
3
+ } from "./chunk-RG2EEPCO.mjs";
4
4
  import "./chunk-BXO7ZPPU.mjs";
5
5
 
6
6
  // node/commands/export.ts
@@ -226,7 +226,7 @@ async function exportSlides({
226
226
  return slideIndexes;
227
227
  }
228
228
  function getClicksFromUrl(url) {
229
- return url.match(/clicks=([1-9][0-9]*)/)?.[1];
229
+ return url.match(/clicks=([1-9]\d*)/)?.[1];
230
230
  }
231
231
  async function genPageWithClicks(fn, i, clicks) {
232
232
  await fn(i, clicks);
package/dist/index.mjs CHANGED
@@ -2,12 +2,12 @@ import {
2
2
  createServer,
3
3
  parser,
4
4
  resolveOptions
5
- } from "./chunk-NG2L7HVW.mjs";
5
+ } from "./chunk-OL3F2SCP.mjs";
6
6
  import {
7
7
  ViteSlidevPlugin
8
- } from "./chunk-KWWH7I4N.mjs";
8
+ } from "./chunk-NQBDNZ65.mjs";
9
9
  import "./chunk-LOUKLO2C.mjs";
10
- import "./chunk-ALXAQLRA.mjs";
10
+ import "./chunk-RG2EEPCO.mjs";
11
11
  import "./chunk-BXO7ZPPU.mjs";
12
12
  export {
13
13
  ViteSlidevPlugin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/cli",
3
- "version": "0.49.1",
3
+ "version": "0.49.3",
4
4
  "description": "Presentation slides for developers",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -44,15 +44,15 @@
44
44
  "dependencies": {
45
45
  "@antfu/ni": "^0.21.12",
46
46
  "@antfu/utils": "^0.7.8",
47
- "@iconify-json/carbon": "^1.1.32",
47
+ "@iconify-json/carbon": "^1.1.33",
48
48
  "@iconify-json/ph": "^1.1.13",
49
49
  "@iconify-json/svg-spinners": "^1.1.2",
50
50
  "@lillallol/outline-pdf": "^4.0.0",
51
- "@shikijs/markdown-it": "^1.5.1",
52
- "@shikijs/twoslash": "^1.5.1",
53
- "@shikijs/vitepress-twoslash": "^1.5.1",
54
- "@unocss/extractor-mdc": "^0.60.0",
55
- "@unocss/reset": "^0.60.0",
51
+ "@shikijs/markdown-it": "^1.5.2",
52
+ "@shikijs/twoslash": "^1.5.2",
53
+ "@shikijs/vitepress-twoslash": "^1.5.2",
54
+ "@unocss/extractor-mdc": "^0.60.2",
55
+ "@unocss/reset": "^0.60.2",
56
56
  "@vitejs/plugin-vue": "^5.0.4",
57
57
  "@vitejs/plugin-vue-jsx": "^3.1.0",
58
58
  "chokidar": "^3.6.0",
@@ -89,12 +89,12 @@
89
89
  "resolve-from": "^5.0.0",
90
90
  "resolve-global": "^2.0.0",
91
91
  "semver": "^7.6.2",
92
- "shiki": "^1.5.1",
92
+ "shiki": "^1.5.2",
93
93
  "shiki-magic-move": "^0.4.2",
94
94
  "sirv": "^2.0.4",
95
95
  "source-map-js": "^1.2.0",
96
96
  "typescript": "^5.4.5",
97
- "unocss": "^0.60.0",
97
+ "unocss": "^0.60.2",
98
98
  "unplugin-icons": "^0.19.0",
99
99
  "unplugin-vue-components": "^0.27.0",
100
100
  "unplugin-vue-markdown": "^0.26.2",
@@ -108,9 +108,9 @@
108
108
  "vitefu": "^0.2.5",
109
109
  "vue": "^3.4.27",
110
110
  "yargs": "^17.7.2",
111
- "@slidev/client": "0.49.1",
112
- "@slidev/types": "0.49.1",
113
- "@slidev/parser": "0.49.1"
111
+ "@slidev/client": "0.49.3",
112
+ "@slidev/parser": "0.49.3",
113
+ "@slidev/types": "0.49.3"
114
114
  },
115
115
  "devDependencies": {
116
116
  "@hedgedoc/markdown-it-plugins": "^2.1.4",