@podlite/markdown 0.0.22 → 0.0.23

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/lib/index.esm.js CHANGED
@@ -25116,7 +25116,7 @@ var require_package = __commonJS({
25116
25116
  "../podlite-schema/package.json"(exports, module) {
25117
25117
  module.exports = {
25118
25118
  name: "@podlite/schema",
25119
- version: "0.0.29",
25119
+ version: "0.0.30",
25120
25120
  description: "AST tools for Podlite markup language",
25121
25121
  main: "./src/index.ts",
25122
25122
  license: "MIT",
@@ -26459,8 +26459,9 @@ function makeTree() {
26459
26459
  return chain;
26460
26460
  }
26461
26461
  function parse5(src, opt = { skipChain: 0, podMode: 1 }) {
26462
- let tree = parser.parse(src, { podMode: opt.podMode });
26463
- if (!opt.skipChain) {
26462
+ const { skipChain = 0, podMode = 1 } = opt;
26463
+ let tree = parser.parse(src, { podMode });
26464
+ if (!skipChain) {
26464
26465
  for (let i = 0; i < plugins.length; i++) {
26465
26466
  const plugin2 = plugins[i];
26466
26467
  const visitor = plugin2(opt);