@shell-shock/preset-cli 0.9.18 → 0.9.20

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 (393) hide show
  1. package/README.md +1 -1
  2. package/dist/_virtual/_rolldown/runtime.cjs +1 -45
  3. package/dist/components/banner-builtin.cjs +5 -93
  4. package/dist/components/banner-builtin.mjs +5 -90
  5. package/dist/components/banner-builtin.mjs.map +1 -1
  6. package/dist/components/command-entry.cjs +56 -356
  7. package/dist/components/command-entry.mjs +56 -353
  8. package/dist/components/command-entry.mjs.map +1 -1
  9. package/dist/components/command-router.cjs +4 -60
  10. package/dist/components/command-router.mjs +4 -57
  11. package/dist/components/command-router.mjs.map +1 -1
  12. package/dist/components/index.cjs +1 -15
  13. package/dist/components/index.mjs +1 -7
  14. package/dist/components/upgrade-builtin.cjs +14 -135
  15. package/dist/components/upgrade-builtin.mjs +14 -132
  16. package/dist/components/upgrade-builtin.mjs.map +1 -1
  17. package/dist/components/virtual-command-entry.cjs +1 -113
  18. package/dist/components/virtual-command-entry.mjs +1 -110
  19. package/dist/components/virtual-command-entry.mjs.map +1 -1
  20. package/dist/helpers/get-global-options.cjs +1 -39
  21. package/dist/helpers/get-global-options.mjs +1 -38
  22. package/dist/helpers/get-global-options.mjs.map +1 -1
  23. package/dist/index.cjs +1 -173
  24. package/dist/index.d.cts.map +1 -1
  25. package/dist/index.d.mts.map +1 -1
  26. package/dist/index.mjs +1 -165
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/types/index.mjs +1 -1
  29. package/dist/types/plugin.d.cts +3 -3
  30. package/dist/types/plugin.d.cts.map +1 -1
  31. package/dist/types/plugin.d.mts +3 -3
  32. package/dist/types/plugin.d.mts.map +1 -1
  33. package/dist/types/plugin.mjs +1 -1
  34. package/package.json +22 -74
  35. package/dist/_virtual/_rolldown/runtime.mjs +0 -42
  36. package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.cjs +0 -94
  37. package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs +0 -94
  38. package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs.map +0 -1
  39. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts +0 -17
  40. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts.map +0 -1
  41. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts +0 -17
  42. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts.map +0 -1
  43. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.cjs +0 -8
  44. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs +0 -8
  45. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs.map +0 -1
  46. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +0 -167
  47. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +0 -167
  48. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +0 -1
  49. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +0 -373
  50. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +0 -374
  51. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +0 -1
  52. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +0 -60
  53. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +0 -59
  54. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +0 -1
  55. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +0 -6
  56. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +0 -6
  57. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +0 -1
  58. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +0 -6
  59. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +0 -6
  60. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +0 -1
  61. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +0 -59
  62. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +0 -59
  63. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +0 -1
  64. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +0 -338
  65. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +0 -333
  66. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +0 -1
  67. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +0 -6
  68. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +0 -6
  69. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +0 -1
  70. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.cjs +0 -14
  71. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs +0 -15
  72. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs.map +0 -1
  73. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.cjs +0 -655
  74. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs +0 -651
  75. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs.map +0 -1
  76. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.cjs +0 -48
  77. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs +0 -47
  78. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs.map +0 -1
  79. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.cjs +0 -24
  80. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs +0 -24
  81. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs.map +0 -1
  82. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +0 -4095
  83. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +0 -4093
  84. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +0 -1
  85. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +0 -449
  86. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +0 -450
  87. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +0 -1
  88. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +0 -47
  89. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +0 -48
  90. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +0 -1
  91. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +0 -94
  92. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +0 -94
  93. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +0 -1
  94. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +0 -78
  95. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +0 -78
  96. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +0 -1
  97. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +0 -123
  98. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +0 -123
  99. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +0 -1
  100. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +0 -246
  101. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +0 -244
  102. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +0 -1
  103. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +0 -80
  104. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +0 -80
  105. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +0 -1
  106. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +0 -80
  107. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +0 -80
  108. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +0 -1
  109. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +0 -45
  110. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +0 -45
  111. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +0 -1
  112. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +0 -45
  113. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +0 -45
  114. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +0 -1
  115. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +0 -94
  116. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +0 -92
  117. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +0 -1
  118. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +0 -1
  119. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +0 -3
  120. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +0 -69
  121. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -69
  122. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +0 -1
  123. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +0 -9
  124. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +0 -8
  125. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +0 -1
  126. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +0 -205
  127. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +0 -189
  128. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +0 -1
  129. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +0 -19
  130. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +0 -15
  131. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +0 -1
  132. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +0 -61
  133. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -62
  134. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +0 -1
  135. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +0 -35
  136. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -35
  137. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +0 -1
  138. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +0 -43
  139. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -44
  140. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +0 -1
  141. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +0 -488
  142. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +0 -489
  143. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +0 -1
  144. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +0 -148
  145. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +0 -149
  146. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +0 -1
  147. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +0 -51
  148. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +0 -52
  149. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +0 -1
  150. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +0 -126
  151. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +0 -127
  152. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +0 -1
  153. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +0 -57
  154. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -57
  155. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +0 -1
  156. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +0 -23
  157. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +0 -23
  158. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +0 -1
  159. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +0 -31
  160. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +0 -31
  161. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +0 -1
  162. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +0 -217
  163. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +0 -218
  164. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +0 -1
  165. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +0 -274
  166. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +0 -274
  167. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +0 -1
  168. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +0 -107
  169. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -108
  170. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +0 -1
  171. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +0 -27
  172. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +0 -27
  173. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +0 -1
  174. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +0 -48
  175. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -48
  176. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +0 -1
  177. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +0 -35
  178. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -36
  179. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +0 -1
  180. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +0 -26
  181. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -27
  182. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +0 -1
  183. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +0 -72
  184. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -73
  185. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +0 -1
  186. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +0 -53
  187. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -53
  188. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +0 -1
  189. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +0 -157
  190. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +0 -158
  191. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +0 -1
  192. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +0 -32
  193. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -32
  194. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +0 -1
  195. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +0 -140
  196. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -141
  197. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +0 -1
  198. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +0 -112
  199. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -113
  200. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +0 -1
  201. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +0 -139
  202. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +0 -140
  203. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +0 -1
  204. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +0 -15
  205. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +0 -15
  206. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +0 -1
  207. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +0 -12
  208. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -12
  209. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +0 -1
  210. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +0 -81
  211. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -82
  212. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +0 -1
  213. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +0 -13
  214. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -13
  215. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +0 -1
  216. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +0 -45
  217. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -45
  218. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +0 -1
  219. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +0 -112
  220. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -113
  221. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +0 -1
  222. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +0 -14
  223. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -15
  224. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +0 -1
  225. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +0 -22
  226. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -22
  227. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +0 -1
  228. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +0 -55
  229. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -55
  230. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +0 -1
  231. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +0 -41
  232. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -41
  233. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +0 -1
  234. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +0 -62
  235. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -62
  236. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +0 -1
  237. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +0 -64
  238. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -64
  239. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +0 -1
  240. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +0 -45
  241. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -46
  242. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +0 -1
  243. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +0 -48
  244. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -49
  245. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +0 -1
  246. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +0 -22
  247. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -22
  248. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +0 -1
  249. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +0 -34
  250. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -35
  251. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +0 -1
  252. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +0 -82
  253. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -83
  254. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +0 -1
  255. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +0 -84
  256. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -85
  257. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +0 -1
  258. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +0 -42
  259. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -42
  260. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +0 -1
  261. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +0 -26
  262. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -27
  263. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +0 -1
  264. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +0 -74
  265. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -75
  266. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +0 -1
  267. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +0 -80
  268. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -80
  269. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +0 -1
  270. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +0 -41
  271. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -41
  272. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +0 -1
  273. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +0 -157
  274. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +0 -157
  275. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +0 -1
  276. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +0 -21
  277. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +0 -17
  278. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +0 -1
  279. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +0 -74
  280. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +0 -74
  281. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +0 -1
  282. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +0 -57
  283. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +0 -57
  284. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +0 -1
  285. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +0 -18
  286. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +0 -18
  287. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +0 -1
  288. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +0 -175
  289. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +0 -175
  290. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +0 -1
  291. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +0 -19
  292. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +0 -15
  293. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +0 -1
  294. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +0 -104
  295. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +0 -104
  296. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +0 -1
  297. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +0 -73
  298. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +0 -68
  299. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +0 -1
  300. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +0 -266
  301. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +0 -262
  302. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +0 -1
  303. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +0 -575
  304. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +0 -543
  305. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +0 -1
  306. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +0 -27
  307. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +0 -21
  308. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +0 -1
  309. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +0 -105
  310. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +0 -94
  311. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +0 -1
  312. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +0 -33
  313. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +0 -34
  314. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +0 -1
  315. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +0 -99
  316. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +0 -93
  317. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +0 -1
  318. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +0 -2544
  319. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +0 -2545
  320. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +0 -1
  321. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +0 -296
  322. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +0 -297
  323. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +0 -1
  324. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +0 -26
  325. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +0 -28
  326. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +0 -1
  327. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +0 -2069
  328. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +0 -2069
  329. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +0 -1
  330. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +0 -156
  331. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +0 -157
  332. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +0 -1
  333. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +0 -166
  334. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +0 -167
  335. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +0 -1
  336. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +0 -299
  337. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +0 -295
  338. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +0 -1
  339. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.cjs +0 -65
  340. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs +0 -66
  341. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs.map +0 -1
  342. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.cjs +0 -12
  343. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs +0 -13
  344. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs.map +0 -1
  345. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +0 -6
  346. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +0 -6
  347. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +0 -1
  348. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +0 -6
  349. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +0 -6
  350. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +0 -1
  351. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +0 -6
  352. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +0 -6
  353. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +0 -1
  354. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +0 -6
  355. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +0 -6
  356. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +0 -1
  357. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +0 -6
  358. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +0 -6
  359. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +0 -1
  360. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +0 -25
  361. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +0 -21
  362. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +0 -1
  363. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +0 -6
  364. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +0 -6
  365. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +0 -1
  366. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +0 -302
  367. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +0 -303
  368. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +0 -1
  369. package/dist/packages/plugin-changelog/dist/components/changelog-command.cjs +0 -106
  370. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +0 -106
  371. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +0 -1
  372. package/dist/packages/plugin-changelog/dist/components/index.cjs +0 -1
  373. package/dist/packages/plugin-changelog/dist/components/index.mjs +0 -3
  374. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.cjs +0 -51
  375. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs +0 -51
  376. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs.map +0 -1
  377. package/dist/packages/plugin-changelog/dist/index.cjs +0 -65
  378. package/dist/packages/plugin-changelog/dist/index.d.cts +0 -2
  379. package/dist/packages/plugin-changelog/dist/index.d.mts +0 -2
  380. package/dist/packages/plugin-changelog/dist/index.mjs +0 -64
  381. package/dist/packages/plugin-changelog/dist/index.mjs.map +0 -1
  382. package/dist/packages/plugin-changelog/dist/types/plugin.d.cts +0 -91
  383. package/dist/packages/plugin-changelog/dist/types/plugin.d.cts.map +0 -1
  384. package/dist/packages/plugin-changelog/dist/types/plugin.d.mts +0 -91
  385. package/dist/packages/plugin-changelog/dist/types/plugin.d.mts.map +0 -1
  386. package/dist/packages/unified/dist/html-DzwMMQv6.cjs +0 -612
  387. package/dist/packages/unified/dist/html-DzwMMQv6.mjs +0 -613
  388. package/dist/packages/unified/dist/html-DzwMMQv6.mjs.map +0 -1
  389. package/dist/packages/unified/dist/markdown/index.cjs +0 -1
  390. package/dist/packages/unified/dist/markdown/index.mjs +0 -3
  391. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.cjs +0 -46
  392. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs +0 -47
  393. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs.map +0 -1
@@ -1,23 +0,0 @@
1
-
2
- //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs
3
- var default_default = {
4
- options: {
5
- html: false,
6
- xhtmlOut: false,
7
- breaks: false,
8
- langPrefix: "language-",
9
- linkify: false,
10
- typographer: false,
11
- quotes: "“”‘’",
12
- highlight: null,
13
- maxNesting: 100
14
- },
15
- components: {
16
- core: {},
17
- block: {},
18
- inline: {}
19
- }
20
- };
21
-
22
- //#endregion
23
- exports.default = default_default;
@@ -1,23 +0,0 @@
1
- //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs
2
- var default_default = {
3
- options: {
4
- html: false,
5
- xhtmlOut: false,
6
- breaks: false,
7
- langPrefix: "language-",
8
- linkify: false,
9
- typographer: false,
10
- quotes: "“”‘’",
11
- highlight: null,
12
- maxNesting: 100
13
- },
14
- components: {
15
- core: {},
16
- block: {},
17
- inline: {}
18
- }
19
- };
20
-
21
- //#endregion
22
- export { default_default as default };
23
- //# sourceMappingURL=default.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs"],"sourcesContent":["// markdown-it default options\n\nexport default {\n options: {\n // Enable HTML tags in source\n html: false,\n\n // Use '/' to close single tags (<br />)\n xhtmlOut: false,\n\n // Convert '\\n' in paragraphs into <br>\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with <pre... internal wrapper is skipped.\n //\n // function (/*str, lang*/) { return ''; }\n //\n highlight: null,\n\n // Internal protection, recursion limit\n maxNesting: 100\n },\n\n components: {\n core: {},\n block: {},\n inline: {}\n }\n}\n"],"x_google_ignoreList":[0],"mappings":";AAEA,sBAAe;CACb,SAAS;EAEP,MAAM;EAGN,UAAU;EAGV,QAAQ;EAGR,YAAY;EAGZ,SAAS;EAGT,aAAa;EAOb,QAAQ;EAQR,WAAW;EAGX,YAAY;EACb;CAED,YAAY;EACV,MAAM,EAAE;EACR,OAAO,EAAE;EACT,QAAQ,EAAE;EACX;CACF"}
@@ -1,31 +0,0 @@
1
-
2
- //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs
3
- var zero_default = {
4
- options: {
5
- html: false,
6
- xhtmlOut: false,
7
- breaks: false,
8
- langPrefix: "language-",
9
- linkify: false,
10
- typographer: false,
11
- quotes: "“”‘’",
12
- highlight: null,
13
- maxNesting: 20
14
- },
15
- components: {
16
- core: { rules: [
17
- "normalize",
18
- "block",
19
- "inline",
20
- "text_join"
21
- ] },
22
- block: { rules: ["paragraph"] },
23
- inline: {
24
- rules: ["text"],
25
- rules2: ["balance_pairs", "fragments_join"]
26
- }
27
- }
28
- };
29
-
30
- //#endregion
31
- exports.default = zero_default;
@@ -1,31 +0,0 @@
1
- //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs
2
- var zero_default = {
3
- options: {
4
- html: false,
5
- xhtmlOut: false,
6
- breaks: false,
7
- langPrefix: "language-",
8
- linkify: false,
9
- typographer: false,
10
- quotes: "“”‘’",
11
- highlight: null,
12
- maxNesting: 20
13
- },
14
- components: {
15
- core: { rules: [
16
- "normalize",
17
- "block",
18
- "inline",
19
- "text_join"
20
- ] },
21
- block: { rules: ["paragraph"] },
22
- inline: {
23
- rules: ["text"],
24
- rules2: ["balance_pairs", "fragments_join"]
25
- }
26
- }
27
- };
28
-
29
- //#endregion
30
- export { zero_default as default };
31
- //# sourceMappingURL=zero.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"zero.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs"],"sourcesContent":["// \"Zero\" preset, with nothing enabled. Useful for manual configuring of simple\n// modes. For example, to parse bold/italic only.\n\nexport default {\n options: {\n // Enable HTML tags in source\n html: false,\n\n // Use '/' to close single tags (<br />)\n xhtmlOut: false,\n\n // Convert '\\n' in paragraphs into <br>\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with <pre... internal wrapper is skipped.\n //\n // function (/*str, lang*/) { return ''; }\n //\n highlight: null,\n\n // Internal protection, recursion limit\n maxNesting: 20\n },\n\n components: {\n\n core: {\n rules: [\n 'normalize',\n 'block',\n 'inline',\n 'text_join'\n ]\n },\n\n block: {\n rules: [\n 'paragraph'\n ]\n },\n\n inline: {\n rules: [\n 'text'\n ],\n rules2: [\n 'balance_pairs',\n 'fragments_join'\n ]\n }\n }\n}\n"],"x_google_ignoreList":[0],"mappings":";AAGA,mBAAe;CACb,SAAS;EAEP,MAAM;EAGN,UAAU;EAGV,QAAQ;EAGR,YAAY;EAGZ,SAAS;EAGT,aAAa;EAOb,QAAQ;EAQR,WAAW;EAGX,YAAY;EACb;CAED,YAAY;EAEV,MAAM,EACJ,OAAO;GACL;GACA;GACA;GACA;GACD,EACF;EAED,OAAO,EACL,OAAO,CACL,YACD,EACF;EAED,QAAQ;GACN,OAAO,CACL,OACD;GACD,QAAQ,CACN,iBACA,iBACD;GACF;EACF;CACF"}
@@ -1,217 +0,0 @@
1
- const require_utils = require('./common/utils.cjs');
2
-
3
- //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs
4
- /**
5
- * class Renderer
6
- *
7
- * Generates HTML from parsed token stream. Each instance has independent
8
- * copy of rules. Those can be rewritten with ease. Also, you can add new
9
- * rules if you create plugin and adds new token types.
10
- **/
11
- const default_rules = {};
12
- default_rules.code_inline = function(tokens, idx, options, env, slf) {
13
- const token = tokens[idx];
14
- return "<code" + slf.renderAttrs(token) + ">" + require_utils.escapeHtml(token.content) + "</code>";
15
- };
16
- default_rules.code_block = function(tokens, idx, options, env, slf) {
17
- const token = tokens[idx];
18
- return "<pre" + slf.renderAttrs(token) + "><code>" + require_utils.escapeHtml(tokens[idx].content) + "</code></pre>\n";
19
- };
20
- default_rules.fence = function(tokens, idx, options, env, slf) {
21
- const token = tokens[idx];
22
- const info = token.info ? require_utils.unescapeAll(token.info).trim() : "";
23
- let langName = "";
24
- let langAttrs = "";
25
- if (info) {
26
- const arr = info.split(/(\s+)/g);
27
- langName = arr[0];
28
- langAttrs = arr.slice(2).join("");
29
- }
30
- let highlighted;
31
- if (options.highlight) highlighted = options.highlight(token.content, langName, langAttrs) || require_utils.escapeHtml(token.content);
32
- else highlighted = require_utils.escapeHtml(token.content);
33
- if (highlighted.indexOf("<pre") === 0) return highlighted + "\n";
34
- if (info) {
35
- const i = token.attrIndex("class");
36
- const tmpAttrs = token.attrs ? token.attrs.slice() : [];
37
- if (i < 0) tmpAttrs.push(["class", options.langPrefix + langName]);
38
- else {
39
- tmpAttrs[i] = tmpAttrs[i].slice();
40
- tmpAttrs[i][1] += " " + options.langPrefix + langName;
41
- }
42
- const tmpToken = { attrs: tmpAttrs };
43
- return `<pre><code${slf.renderAttrs(tmpToken)}>${highlighted}</code></pre>\n`;
44
- }
45
- return `<pre><code${slf.renderAttrs(token)}>${highlighted}</code></pre>\n`;
46
- };
47
- default_rules.image = function(tokens, idx, options, env, slf) {
48
- const token = tokens[idx];
49
- token.attrs[token.attrIndex("alt")][1] = slf.renderInlineAsText(token.children, options, env);
50
- return slf.renderToken(tokens, idx, options);
51
- };
52
- default_rules.hardbreak = function(tokens, idx, options) {
53
- return options.xhtmlOut ? "<br />\n" : "<br>\n";
54
- };
55
- default_rules.softbreak = function(tokens, idx, options) {
56
- return options.breaks ? options.xhtmlOut ? "<br />\n" : "<br>\n" : "\n";
57
- };
58
- default_rules.text = function(tokens, idx) {
59
- return require_utils.escapeHtml(tokens[idx].content);
60
- };
61
- default_rules.html_block = function(tokens, idx) {
62
- return tokens[idx].content;
63
- };
64
- default_rules.html_inline = function(tokens, idx) {
65
- return tokens[idx].content;
66
- };
67
- /**
68
- * new Renderer()
69
- *
70
- * Creates new [[Renderer]] instance and fill [[Renderer#rules]] with defaults.
71
- **/
72
- function Renderer() {
73
- /**
74
- * Renderer#rules -> Object
75
- *
76
- * Contains render rules for tokens. Can be updated and extended.
77
- *
78
- * ##### Example
79
- *
80
- * ```javascript
81
- * var md = require('markdown-it')();
82
- *
83
- * md.renderer.rules.strong_open = function () { return '<b>'; };
84
- * md.renderer.rules.strong_close = function () { return '</b>'; };
85
- *
86
- * var result = md.renderInline(...);
87
- * ```
88
- *
89
- * Each rule is called as independent static function with fixed signature:
90
- *
91
- * ```javascript
92
- * function my_token_render(tokens, idx, options, env, renderer) {
93
- * // ...
94
- * return renderedHTML;
95
- * }
96
- * ```
97
- *
98
- * See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)
99
- * for more details and examples.
100
- **/
101
- this.rules = require_utils.assign({}, default_rules);
102
- }
103
- /**
104
- * Renderer.renderAttrs(token) -> String
105
- *
106
- * Render token attributes to string.
107
- **/
108
- Renderer.prototype.renderAttrs = function renderAttrs(token) {
109
- let i, l, result;
110
- if (!token.attrs) return "";
111
- result = "";
112
- for (i = 0, l = token.attrs.length; i < l; i++) result += " " + require_utils.escapeHtml(token.attrs[i][0]) + "=\"" + require_utils.escapeHtml(token.attrs[i][1]) + "\"";
113
- return result;
114
- };
115
- /**
116
- * Renderer.renderToken(tokens, idx, options) -> String
117
- * - tokens (Array): list of tokens
118
- * - idx (Numbed): token index to render
119
- * - options (Object): params of parser instance
120
- *
121
- * Default token renderer. Can be overriden by custom function
122
- * in [[Renderer#rules]].
123
- **/
124
- Renderer.prototype.renderToken = function renderToken(tokens, idx, options) {
125
- const token = tokens[idx];
126
- let result = "";
127
- if (token.hidden) return "";
128
- if (token.block && token.nesting !== -1 && idx && tokens[idx - 1].hidden) result += "\n";
129
- result += (token.nesting === -1 ? "</" : "<") + token.tag;
130
- result += this.renderAttrs(token);
131
- if (token.nesting === 0 && options.xhtmlOut) result += " /";
132
- let needLf = false;
133
- if (token.block) {
134
- needLf = true;
135
- if (token.nesting === 1) {
136
- if (idx + 1 < tokens.length) {
137
- const nextToken = tokens[idx + 1];
138
- if (nextToken.type === "inline" || nextToken.hidden) needLf = false;
139
- else if (nextToken.nesting === -1 && nextToken.tag === token.tag) needLf = false;
140
- }
141
- }
142
- }
143
- result += needLf ? ">\n" : ">";
144
- return result;
145
- };
146
- /**
147
- * Renderer.renderInline(tokens, options, env) -> String
148
- * - tokens (Array): list on block tokens to render
149
- * - options (Object): params of parser instance
150
- * - env (Object): additional data from parsed input (references, for example)
151
- *
152
- * The same as [[Renderer.render]], but for single token of `inline` type.
153
- **/
154
- Renderer.prototype.renderInline = function(tokens, options, env) {
155
- let result = "";
156
- const rules = this.rules;
157
- for (let i = 0, len = tokens.length; i < len; i++) {
158
- const type = tokens[i].type;
159
- if (typeof rules[type] !== "undefined") result += rules[type](tokens, i, options, env, this);
160
- else result += this.renderToken(tokens, i, options);
161
- }
162
- return result;
163
- };
164
- /** internal
165
- * Renderer.renderInlineAsText(tokens, options, env) -> String
166
- * - tokens (Array): list on block tokens to render
167
- * - options (Object): params of parser instance
168
- * - env (Object): additional data from parsed input (references, for example)
169
- *
170
- * Special kludge for image `alt` attributes to conform CommonMark spec.
171
- * Don't try to use it! Spec requires to show `alt` content with stripped markup,
172
- * instead of simple escaping.
173
- **/
174
- Renderer.prototype.renderInlineAsText = function(tokens, options, env) {
175
- let result = "";
176
- for (let i = 0, len = tokens.length; i < len; i++) switch (tokens[i].type) {
177
- case "text":
178
- result += tokens[i].content;
179
- break;
180
- case "image":
181
- result += this.renderInlineAsText(tokens[i].children, options, env);
182
- break;
183
- case "html_inline":
184
- case "html_block":
185
- result += tokens[i].content;
186
- break;
187
- case "softbreak":
188
- case "hardbreak":
189
- result += "\n";
190
- break;
191
- default:
192
- }
193
- return result;
194
- };
195
- /**
196
- * Renderer.render(tokens, options, env) -> String
197
- * - tokens (Array): list on block tokens to render
198
- * - options (Object): params of parser instance
199
- * - env (Object): additional data from parsed input (references, for example)
200
- *
201
- * Takes token stream and generates HTML. Probably, you will never need to call
202
- * this method directly.
203
- **/
204
- Renderer.prototype.render = function(tokens, options, env) {
205
- let result = "";
206
- const rules = this.rules;
207
- for (let i = 0, len = tokens.length; i < len; i++) {
208
- const type = tokens[i].type;
209
- if (type === "inline") result += this.renderInline(tokens[i].children, options, env);
210
- else if (typeof rules[type] !== "undefined") result += rules[type](tokens, i, options, env, this);
211
- else result += this.renderToken(tokens, i, options, env);
212
- }
213
- return result;
214
- };
215
-
216
- //#endregion
217
- exports.default = Renderer;
@@ -1,218 +0,0 @@
1
- import { assign, escapeHtml, unescapeAll } from "./common/utils.mjs";
2
-
3
- //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs
4
- /**
5
- * class Renderer
6
- *
7
- * Generates HTML from parsed token stream. Each instance has independent
8
- * copy of rules. Those can be rewritten with ease. Also, you can add new
9
- * rules if you create plugin and adds new token types.
10
- **/
11
- const default_rules = {};
12
- default_rules.code_inline = function(tokens, idx, options, env, slf) {
13
- const token = tokens[idx];
14
- return "<code" + slf.renderAttrs(token) + ">" + escapeHtml(token.content) + "</code>";
15
- };
16
- default_rules.code_block = function(tokens, idx, options, env, slf) {
17
- const token = tokens[idx];
18
- return "<pre" + slf.renderAttrs(token) + "><code>" + escapeHtml(tokens[idx].content) + "</code></pre>\n";
19
- };
20
- default_rules.fence = function(tokens, idx, options, env, slf) {
21
- const token = tokens[idx];
22
- const info = token.info ? unescapeAll(token.info).trim() : "";
23
- let langName = "";
24
- let langAttrs = "";
25
- if (info) {
26
- const arr = info.split(/(\s+)/g);
27
- langName = arr[0];
28
- langAttrs = arr.slice(2).join("");
29
- }
30
- let highlighted;
31
- if (options.highlight) highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml(token.content);
32
- else highlighted = escapeHtml(token.content);
33
- if (highlighted.indexOf("<pre") === 0) return highlighted + "\n";
34
- if (info) {
35
- const i = token.attrIndex("class");
36
- const tmpAttrs = token.attrs ? token.attrs.slice() : [];
37
- if (i < 0) tmpAttrs.push(["class", options.langPrefix + langName]);
38
- else {
39
- tmpAttrs[i] = tmpAttrs[i].slice();
40
- tmpAttrs[i][1] += " " + options.langPrefix + langName;
41
- }
42
- const tmpToken = { attrs: tmpAttrs };
43
- return `<pre><code${slf.renderAttrs(tmpToken)}>${highlighted}</code></pre>\n`;
44
- }
45
- return `<pre><code${slf.renderAttrs(token)}>${highlighted}</code></pre>\n`;
46
- };
47
- default_rules.image = function(tokens, idx, options, env, slf) {
48
- const token = tokens[idx];
49
- token.attrs[token.attrIndex("alt")][1] = slf.renderInlineAsText(token.children, options, env);
50
- return slf.renderToken(tokens, idx, options);
51
- };
52
- default_rules.hardbreak = function(tokens, idx, options) {
53
- return options.xhtmlOut ? "<br />\n" : "<br>\n";
54
- };
55
- default_rules.softbreak = function(tokens, idx, options) {
56
- return options.breaks ? options.xhtmlOut ? "<br />\n" : "<br>\n" : "\n";
57
- };
58
- default_rules.text = function(tokens, idx) {
59
- return escapeHtml(tokens[idx].content);
60
- };
61
- default_rules.html_block = function(tokens, idx) {
62
- return tokens[idx].content;
63
- };
64
- default_rules.html_inline = function(tokens, idx) {
65
- return tokens[idx].content;
66
- };
67
- /**
68
- * new Renderer()
69
- *
70
- * Creates new [[Renderer]] instance and fill [[Renderer#rules]] with defaults.
71
- **/
72
- function Renderer() {
73
- /**
74
- * Renderer#rules -> Object
75
- *
76
- * Contains render rules for tokens. Can be updated and extended.
77
- *
78
- * ##### Example
79
- *
80
- * ```javascript
81
- * var md = require('markdown-it')();
82
- *
83
- * md.renderer.rules.strong_open = function () { return '<b>'; };
84
- * md.renderer.rules.strong_close = function () { return '</b>'; };
85
- *
86
- * var result = md.renderInline(...);
87
- * ```
88
- *
89
- * Each rule is called as independent static function with fixed signature:
90
- *
91
- * ```javascript
92
- * function my_token_render(tokens, idx, options, env, renderer) {
93
- * // ...
94
- * return renderedHTML;
95
- * }
96
- * ```
97
- *
98
- * See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)
99
- * for more details and examples.
100
- **/
101
- this.rules = assign({}, default_rules);
102
- }
103
- /**
104
- * Renderer.renderAttrs(token) -> String
105
- *
106
- * Render token attributes to string.
107
- **/
108
- Renderer.prototype.renderAttrs = function renderAttrs(token) {
109
- let i, l, result;
110
- if (!token.attrs) return "";
111
- result = "";
112
- for (i = 0, l = token.attrs.length; i < l; i++) result += " " + escapeHtml(token.attrs[i][0]) + "=\"" + escapeHtml(token.attrs[i][1]) + "\"";
113
- return result;
114
- };
115
- /**
116
- * Renderer.renderToken(tokens, idx, options) -> String
117
- * - tokens (Array): list of tokens
118
- * - idx (Numbed): token index to render
119
- * - options (Object): params of parser instance
120
- *
121
- * Default token renderer. Can be overriden by custom function
122
- * in [[Renderer#rules]].
123
- **/
124
- Renderer.prototype.renderToken = function renderToken(tokens, idx, options) {
125
- const token = tokens[idx];
126
- let result = "";
127
- if (token.hidden) return "";
128
- if (token.block && token.nesting !== -1 && idx && tokens[idx - 1].hidden) result += "\n";
129
- result += (token.nesting === -1 ? "</" : "<") + token.tag;
130
- result += this.renderAttrs(token);
131
- if (token.nesting === 0 && options.xhtmlOut) result += " /";
132
- let needLf = false;
133
- if (token.block) {
134
- needLf = true;
135
- if (token.nesting === 1) {
136
- if (idx + 1 < tokens.length) {
137
- const nextToken = tokens[idx + 1];
138
- if (nextToken.type === "inline" || nextToken.hidden) needLf = false;
139
- else if (nextToken.nesting === -1 && nextToken.tag === token.tag) needLf = false;
140
- }
141
- }
142
- }
143
- result += needLf ? ">\n" : ">";
144
- return result;
145
- };
146
- /**
147
- * Renderer.renderInline(tokens, options, env) -> String
148
- * - tokens (Array): list on block tokens to render
149
- * - options (Object): params of parser instance
150
- * - env (Object): additional data from parsed input (references, for example)
151
- *
152
- * The same as [[Renderer.render]], but for single token of `inline` type.
153
- **/
154
- Renderer.prototype.renderInline = function(tokens, options, env) {
155
- let result = "";
156
- const rules = this.rules;
157
- for (let i = 0, len = tokens.length; i < len; i++) {
158
- const type = tokens[i].type;
159
- if (typeof rules[type] !== "undefined") result += rules[type](tokens, i, options, env, this);
160
- else result += this.renderToken(tokens, i, options);
161
- }
162
- return result;
163
- };
164
- /** internal
165
- * Renderer.renderInlineAsText(tokens, options, env) -> String
166
- * - tokens (Array): list on block tokens to render
167
- * - options (Object): params of parser instance
168
- * - env (Object): additional data from parsed input (references, for example)
169
- *
170
- * Special kludge for image `alt` attributes to conform CommonMark spec.
171
- * Don't try to use it! Spec requires to show `alt` content with stripped markup,
172
- * instead of simple escaping.
173
- **/
174
- Renderer.prototype.renderInlineAsText = function(tokens, options, env) {
175
- let result = "";
176
- for (let i = 0, len = tokens.length; i < len; i++) switch (tokens[i].type) {
177
- case "text":
178
- result += tokens[i].content;
179
- break;
180
- case "image":
181
- result += this.renderInlineAsText(tokens[i].children, options, env);
182
- break;
183
- case "html_inline":
184
- case "html_block":
185
- result += tokens[i].content;
186
- break;
187
- case "softbreak":
188
- case "hardbreak":
189
- result += "\n";
190
- break;
191
- default:
192
- }
193
- return result;
194
- };
195
- /**
196
- * Renderer.render(tokens, options, env) -> String
197
- * - tokens (Array): list on block tokens to render
198
- * - options (Object): params of parser instance
199
- * - env (Object): additional data from parsed input (references, for example)
200
- *
201
- * Takes token stream and generates HTML. Probably, you will never need to call
202
- * this method directly.
203
- **/
204
- Renderer.prototype.render = function(tokens, options, env) {
205
- let result = "";
206
- const rules = this.rules;
207
- for (let i = 0, len = tokens.length; i < len; i++) {
208
- const type = tokens[i].type;
209
- if (type === "inline") result += this.renderInline(tokens[i].children, options, env);
210
- else if (typeof rules[type] !== "undefined") result += rules[type](tokens, i, options, env, this);
211
- else result += this.renderToken(tokens, i, options, env);
212
- }
213
- return result;
214
- };
215
-
216
- //#endregion
217
- export { Renderer as default };
218
- //# sourceMappingURL=renderer.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderer.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs"],"sourcesContent":["/**\n * class Renderer\n *\n * Generates HTML from parsed token stream. Each instance has independent\n * copy of rules. Those can be rewritten with ease. Also, you can add new\n * rules if you create plugin and adds new token types.\n **/\n\nimport { assign, unescapeAll, escapeHtml } from './common/utils.mjs'\n\nconst default_rules = {}\n\ndefault_rules.code_inline = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n return '<code' + slf.renderAttrs(token) + '>' +\n escapeHtml(token.content) +\n '</code>'\n}\n\ndefault_rules.code_block = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n return '<pre' + slf.renderAttrs(token) + '><code>' +\n escapeHtml(tokens[idx].content) +\n '</code></pre>\\n'\n}\n\ndefault_rules.fence = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n const info = token.info ? unescapeAll(token.info).trim() : ''\n let langName = ''\n let langAttrs = ''\n\n if (info) {\n const arr = info.split(/(\\s+)/g)\n langName = arr[0]\n langAttrs = arr.slice(2).join('')\n }\n\n let highlighted\n if (options.highlight) {\n highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml(token.content)\n } else {\n highlighted = escapeHtml(token.content)\n }\n\n if (highlighted.indexOf('<pre') === 0) {\n return highlighted + '\\n'\n }\n\n // If language exists, inject class gently, without modifying original token.\n // May be, one day we will add .deepClone() for token and simplify this part, but\n // now we prefer to keep things local.\n if (info) {\n const i = token.attrIndex('class')\n const tmpAttrs = token.attrs ? token.attrs.slice() : []\n\n if (i < 0) {\n tmpAttrs.push(['class', options.langPrefix + langName])\n } else {\n tmpAttrs[i] = tmpAttrs[i].slice()\n tmpAttrs[i][1] += ' ' + options.langPrefix + langName\n }\n\n // Fake token just to render attributes\n const tmpToken = {\n attrs: tmpAttrs\n }\n\n return `<pre><code${slf.renderAttrs(tmpToken)}>${highlighted}</code></pre>\\n`\n }\n\n return `<pre><code${slf.renderAttrs(token)}>${highlighted}</code></pre>\\n`\n}\n\ndefault_rules.image = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n // \"alt\" attr MUST be set, even if empty. Because it's mandatory and\n // should be placed on proper position for tests.\n //\n // Replace content with actual value\n\n token.attrs[token.attrIndex('alt')][1] =\n slf.renderInlineAsText(token.children, options, env)\n\n return slf.renderToken(tokens, idx, options)\n}\n\ndefault_rules.hardbreak = function (tokens, idx, options /*, env */) {\n return options.xhtmlOut ? '<br />\\n' : '<br>\\n'\n}\ndefault_rules.softbreak = function (tokens, idx, options /*, env */) {\n return options.breaks ? (options.xhtmlOut ? '<br />\\n' : '<br>\\n') : '\\n'\n}\n\ndefault_rules.text = function (tokens, idx /*, options, env */) {\n return escapeHtml(tokens[idx].content)\n}\n\ndefault_rules.html_block = function (tokens, idx /*, options, env */) {\n return tokens[idx].content\n}\ndefault_rules.html_inline = function (tokens, idx /*, options, env */) {\n return tokens[idx].content\n}\n\n/**\n * new Renderer()\n *\n * Creates new [[Renderer]] instance and fill [[Renderer#rules]] with defaults.\n **/\nfunction Renderer () {\n /**\n * Renderer#rules -> Object\n *\n * Contains render rules for tokens. Can be updated and extended.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.renderer.rules.strong_open = function () { return '<b>'; };\n * md.renderer.rules.strong_close = function () { return '</b>'; };\n *\n * var result = md.renderInline(...);\n * ```\n *\n * Each rule is called as independent static function with fixed signature:\n *\n * ```javascript\n * function my_token_render(tokens, idx, options, env, renderer) {\n * // ...\n * return renderedHTML;\n * }\n * ```\n *\n * See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)\n * for more details and examples.\n **/\n this.rules = assign({}, default_rules)\n}\n\n/**\n * Renderer.renderAttrs(token) -> String\n *\n * Render token attributes to string.\n **/\nRenderer.prototype.renderAttrs = function renderAttrs (token) {\n let i, l, result\n\n if (!token.attrs) { return '' }\n\n result = ''\n\n for (i = 0, l = token.attrs.length; i < l; i++) {\n result += ' ' + escapeHtml(token.attrs[i][0]) + '=\"' + escapeHtml(token.attrs[i][1]) + '\"'\n }\n\n return result\n}\n\n/**\n * Renderer.renderToken(tokens, idx, options) -> String\n * - tokens (Array): list of tokens\n * - idx (Numbed): token index to render\n * - options (Object): params of parser instance\n *\n * Default token renderer. Can be overriden by custom function\n * in [[Renderer#rules]].\n **/\nRenderer.prototype.renderToken = function renderToken (tokens, idx, options) {\n const token = tokens[idx]\n let result = ''\n\n // Tight list paragraphs\n if (token.hidden) {\n return ''\n }\n\n // Insert a newline between hidden paragraph and subsequent opening\n // block-level tag.\n //\n // For example, here we should insert a newline before blockquote:\n // - a\n // >\n //\n if (token.block && token.nesting !== -1 && idx && tokens[idx - 1].hidden) {\n result += '\\n'\n }\n\n // Add token name, e.g. `<img`\n result += (token.nesting === -1 ? '</' : '<') + token.tag\n\n // Encode attributes, e.g. `<img src=\"foo\"`\n result += this.renderAttrs(token)\n\n // Add a slash for self-closing tags, e.g. `<img src=\"foo\" /`\n if (token.nesting === 0 && options.xhtmlOut) {\n result += ' /'\n }\n\n // Check if we need to add a newline after this tag\n let needLf = false\n if (token.block) {\n needLf = true\n\n if (token.nesting === 1) {\n if (idx + 1 < tokens.length) {\n const nextToken = tokens[idx + 1]\n\n if (nextToken.type === 'inline' || nextToken.hidden) {\n // Block-level tag containing an inline tag.\n //\n needLf = false\n } else if (nextToken.nesting === -1 && nextToken.tag === token.tag) {\n // Opening tag + closing tag of the same type. E.g. `<li></li>`.\n //\n needLf = false\n }\n }\n }\n }\n\n result += needLf ? '>\\n' : '>'\n\n return result\n}\n\n/**\n * Renderer.renderInline(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * The same as [[Renderer.render]], but for single token of `inline` type.\n **/\nRenderer.prototype.renderInline = function (tokens, options, env) {\n let result = ''\n const rules = this.rules\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n const type = tokens[i].type\n\n if (typeof rules[type] !== 'undefined') {\n result += rules[type](tokens, i, options, env, this)\n } else {\n result += this.renderToken(tokens, i, options)\n }\n }\n\n return result\n}\n\n/** internal\n * Renderer.renderInlineAsText(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * Special kludge for image `alt` attributes to conform CommonMark spec.\n * Don't try to use it! Spec requires to show `alt` content with stripped markup,\n * instead of simple escaping.\n **/\nRenderer.prototype.renderInlineAsText = function (tokens, options, env) {\n let result = ''\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n switch (tokens[i].type) {\n case 'text':\n result += tokens[i].content\n break\n case 'image':\n result += this.renderInlineAsText(tokens[i].children, options, env)\n break\n case 'html_inline':\n case 'html_block':\n result += tokens[i].content\n break\n case 'softbreak':\n case 'hardbreak':\n result += '\\n'\n break\n default:\n // all other tokens are skipped\n }\n }\n\n return result\n}\n\n/**\n * Renderer.render(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * Takes token stream and generates HTML. Probably, you will never need to call\n * this method directly.\n **/\nRenderer.prototype.render = function (tokens, options, env) {\n let result = ''\n const rules = this.rules\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n const type = tokens[i].type\n\n if (type === 'inline') {\n result += this.renderInline(tokens[i].children, options, env)\n } else if (typeof rules[type] !== 'undefined') {\n result += rules[type](tokens, i, options, env, this)\n } else {\n result += this.renderToken(tokens, i, options, env)\n }\n }\n\n return result\n}\n\nexport default Renderer\n"],"x_google_ignoreList":[0],"mappings":"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"}