@shell-shock/preset-cli 0.9.19 → 0.9.22

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 (386) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +0 -16
  2. package/dist/components/banner-builtin.cjs +1 -1
  3. package/dist/components/banner-builtin.mjs +1 -1
  4. package/dist/components/banner-builtin.mjs.map +1 -1
  5. package/dist/components/command-entry.cjs +8 -5
  6. package/dist/components/command-entry.mjs +7 -4
  7. package/dist/components/command-entry.mjs.map +1 -1
  8. package/dist/components/command-router.cjs +1 -1
  9. package/dist/components/command-router.mjs +1 -1
  10. package/dist/components/command-router.mjs.map +1 -1
  11. package/dist/components/upgrade-builtin.cjs +1 -1
  12. package/dist/components/upgrade-builtin.mjs +1 -1
  13. package/dist/components/upgrade-builtin.mjs.map +1 -1
  14. package/dist/components/virtual-command-entry.cjs +5 -2
  15. package/dist/components/virtual-command-entry.mjs +5 -2
  16. package/dist/components/virtual-command-entry.mjs.map +1 -1
  17. package/dist/helpers/get-global-options.mjs.map +1 -1
  18. package/dist/index.cjs +8 -3
  19. package/dist/index.d.cts.map +1 -1
  20. package/dist/index.d.mts.map +1 -1
  21. package/dist/index.mjs +7 -3
  22. package/dist/index.mjs.map +1 -1
  23. package/dist/types/plugin.d.cts +3 -3
  24. package/dist/types/plugin.d.cts.map +1 -1
  25. package/dist/types/plugin.d.mts +3 -3
  26. package/dist/types/plugin.d.mts.map +1 -1
  27. package/package.json +22 -74
  28. package/dist/_virtual/_rolldown/runtime.mjs +0 -42
  29. 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
  30. 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
  31. 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
  32. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts +0 -17
  33. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts.map +0 -1
  34. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts +0 -17
  35. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts.map +0 -1
  36. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.cjs +0 -8
  37. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs +0 -8
  38. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs.map +0 -1
  39. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +0 -167
  40. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +0 -167
  41. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +0 -1
  42. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +0 -373
  43. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +0 -374
  44. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +0 -1
  45. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +0 -60
  46. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +0 -59
  47. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +0 -1
  48. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +0 -6
  49. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +0 -6
  50. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +0 -1
  51. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +0 -6
  52. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +0 -6
  53. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +0 -1
  54. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +0 -59
  55. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +0 -59
  56. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +0 -1
  57. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +0 -338
  58. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +0 -333
  59. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +0 -1
  60. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +0 -6
  61. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +0 -6
  62. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +0 -1
  63. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.cjs +0 -14
  64. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs +0 -15
  65. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs.map +0 -1
  66. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.cjs +0 -655
  67. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs +0 -651
  68. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs.map +0 -1
  69. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.cjs +0 -48
  70. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs +0 -47
  71. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs.map +0 -1
  72. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.cjs +0 -24
  73. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs +0 -24
  74. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs.map +0 -1
  75. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +0 -4095
  76. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +0 -4093
  77. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +0 -1
  78. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +0 -449
  79. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +0 -450
  80. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +0 -1
  81. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +0 -47
  82. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +0 -48
  83. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +0 -1
  84. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +0 -94
  85. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +0 -94
  86. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +0 -1
  87. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +0 -78
  88. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +0 -78
  89. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +0 -1
  90. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +0 -123
  91. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +0 -123
  92. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +0 -1
  93. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +0 -246
  94. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +0 -244
  95. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +0 -1
  96. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +0 -80
  97. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +0 -80
  98. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +0 -1
  99. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +0 -80
  100. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +0 -80
  101. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +0 -1
  102. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +0 -45
  103. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +0 -45
  104. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +0 -1
  105. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +0 -45
  106. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +0 -45
  107. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +0 -1
  108. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +0 -94
  109. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +0 -92
  110. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +0 -1
  111. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +0 -1
  112. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +0 -3
  113. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +0 -69
  114. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -69
  115. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +0 -1
  116. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +0 -9
  117. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +0 -8
  118. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +0 -1
  119. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +0 -205
  120. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +0 -189
  121. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +0 -1
  122. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +0 -19
  123. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +0 -15
  124. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +0 -1
  125. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +0 -61
  126. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -62
  127. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +0 -1
  128. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +0 -35
  129. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -35
  130. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +0 -1
  131. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +0 -43
  132. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -44
  133. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +0 -1
  134. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +0 -488
  135. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +0 -489
  136. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +0 -1
  137. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +0 -148
  138. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +0 -149
  139. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +0 -1
  140. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +0 -51
  141. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +0 -52
  142. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +0 -1
  143. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +0 -126
  144. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +0 -127
  145. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +0 -1
  146. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +0 -57
  147. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -57
  148. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +0 -1
  149. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +0 -23
  150. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +0 -23
  151. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +0 -1
  152. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +0 -31
  153. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +0 -31
  154. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +0 -1
  155. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +0 -217
  156. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +0 -218
  157. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +0 -1
  158. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +0 -274
  159. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +0 -274
  160. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +0 -1
  161. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +0 -107
  162. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -108
  163. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +0 -1
  164. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +0 -27
  165. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +0 -27
  166. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +0 -1
  167. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +0 -48
  168. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -48
  169. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +0 -1
  170. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +0 -35
  171. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -36
  172. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +0 -1
  173. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +0 -26
  174. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -27
  175. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +0 -1
  176. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +0 -72
  177. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -73
  178. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +0 -1
  179. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +0 -53
  180. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -53
  181. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +0 -1
  182. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +0 -157
  183. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +0 -158
  184. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +0 -1
  185. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +0 -32
  186. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -32
  187. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +0 -1
  188. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +0 -140
  189. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -141
  190. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +0 -1
  191. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +0 -112
  192. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -113
  193. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +0 -1
  194. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +0 -139
  195. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +0 -140
  196. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +0 -1
  197. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +0 -15
  198. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +0 -15
  199. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +0 -1
  200. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +0 -12
  201. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -12
  202. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +0 -1
  203. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +0 -81
  204. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -82
  205. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +0 -1
  206. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +0 -13
  207. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -13
  208. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +0 -1
  209. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +0 -45
  210. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -45
  211. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +0 -1
  212. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +0 -112
  213. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -113
  214. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +0 -1
  215. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +0 -14
  216. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -15
  217. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +0 -1
  218. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +0 -22
  219. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -22
  220. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +0 -1
  221. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +0 -55
  222. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -55
  223. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +0 -1
  224. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +0 -41
  225. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -41
  226. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +0 -1
  227. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +0 -62
  228. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -62
  229. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +0 -1
  230. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +0 -64
  231. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -64
  232. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +0 -1
  233. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +0 -45
  234. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -46
  235. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +0 -1
  236. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +0 -48
  237. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -49
  238. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +0 -1
  239. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +0 -22
  240. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -22
  241. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +0 -1
  242. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +0 -34
  243. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -35
  244. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +0 -1
  245. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +0 -82
  246. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -83
  247. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +0 -1
  248. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +0 -84
  249. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -85
  250. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +0 -1
  251. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +0 -42
  252. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -42
  253. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +0 -1
  254. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +0 -26
  255. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -27
  256. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +0 -1
  257. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +0 -74
  258. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -75
  259. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +0 -1
  260. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +0 -80
  261. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -80
  262. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +0 -1
  263. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +0 -41
  264. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -41
  265. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +0 -1
  266. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +0 -157
  267. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +0 -157
  268. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +0 -1
  269. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +0 -21
  270. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +0 -17
  271. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +0 -1
  272. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +0 -74
  273. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +0 -74
  274. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +0 -1
  275. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +0 -57
  276. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +0 -57
  277. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +0 -1
  278. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +0 -18
  279. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +0 -18
  280. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +0 -1
  281. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +0 -175
  282. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +0 -175
  283. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +0 -1
  284. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +0 -19
  285. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +0 -15
  286. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +0 -1
  287. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +0 -104
  288. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +0 -104
  289. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +0 -1
  290. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +0 -73
  291. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +0 -68
  292. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +0 -1
  293. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +0 -266
  294. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +0 -262
  295. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +0 -1
  296. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +0 -575
  297. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +0 -543
  298. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +0 -1
  299. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +0 -27
  300. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +0 -21
  301. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +0 -1
  302. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +0 -105
  303. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +0 -94
  304. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +0 -1
  305. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +0 -33
  306. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +0 -34
  307. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +0 -1
  308. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +0 -99
  309. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +0 -93
  310. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +0 -1
  311. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +0 -2544
  312. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +0 -2545
  313. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +0 -1
  314. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +0 -296
  315. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +0 -297
  316. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +0 -1
  317. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +0 -26
  318. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +0 -28
  319. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +0 -1
  320. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +0 -2069
  321. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +0 -2069
  322. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +0 -1
  323. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +0 -156
  324. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +0 -157
  325. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +0 -1
  326. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +0 -166
  327. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +0 -167
  328. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +0 -1
  329. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +0 -299
  330. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +0 -295
  331. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +0 -1
  332. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.cjs +0 -65
  333. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs +0 -66
  334. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs.map +0 -1
  335. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.cjs +0 -12
  336. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs +0 -13
  337. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs.map +0 -1
  338. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +0 -6
  339. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +0 -6
  340. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +0 -1
  341. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +0 -6
  342. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +0 -6
  343. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +0 -1
  344. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +0 -6
  345. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +0 -6
  346. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +0 -1
  347. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +0 -6
  348. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +0 -6
  349. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +0 -1
  350. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +0 -6
  351. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +0 -6
  352. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +0 -1
  353. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +0 -25
  354. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +0 -21
  355. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +0 -1
  356. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +0 -6
  357. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +0 -6
  358. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +0 -1
  359. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +0 -302
  360. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +0 -303
  361. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +0 -1
  362. package/dist/packages/plugin-changelog/dist/components/changelog-command.cjs +0 -106
  363. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +0 -106
  364. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +0 -1
  365. package/dist/packages/plugin-changelog/dist/components/index.cjs +0 -1
  366. package/dist/packages/plugin-changelog/dist/components/index.mjs +0 -3
  367. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.cjs +0 -51
  368. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs +0 -51
  369. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs.map +0 -1
  370. package/dist/packages/plugin-changelog/dist/index.cjs +0 -65
  371. package/dist/packages/plugin-changelog/dist/index.d.cts +0 -2
  372. package/dist/packages/plugin-changelog/dist/index.d.mts +0 -2
  373. package/dist/packages/plugin-changelog/dist/index.mjs +0 -64
  374. package/dist/packages/plugin-changelog/dist/index.mjs.map +0 -1
  375. package/dist/packages/plugin-changelog/dist/types/plugin.d.cts +0 -91
  376. package/dist/packages/plugin-changelog/dist/types/plugin.d.cts.map +0 -1
  377. package/dist/packages/plugin-changelog/dist/types/plugin.d.mts +0 -91
  378. package/dist/packages/plugin-changelog/dist/types/plugin.d.mts.map +0 -1
  379. package/dist/packages/unified/dist/html-DzwMMQv6.cjs +0 -612
  380. package/dist/packages/unified/dist/html-DzwMMQv6.mjs +0 -613
  381. package/dist/packages/unified/dist/html-DzwMMQv6.mjs.map +0 -1
  382. package/dist/packages/unified/dist/markdown/index.cjs +0 -1
  383. package/dist/packages/unified/dist/markdown/index.mjs +0 -3
  384. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.cjs +0 -46
  385. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs +0 -47
  386. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"regex.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs"],"sourcesContent":["export default /[ \\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000]/"],"x_google_ignoreList":[0],"mappings":";AAAA,oBAAe"}
@@ -1,25 +0,0 @@
1
- const require_runtime = require('../../../../../_virtual/_rolldown/runtime.cjs');
2
- const require_regex = require('./properties/Any/regex.cjs');
3
- const require_regex$1 = require('./categories/Cc/regex.cjs');
4
- const require_regex$2 = require('./categories/Cf/regex.cjs');
5
- const require_regex$3 = require('./categories/P/regex.cjs');
6
- const require_regex$4 = require('./categories/S/regex.cjs');
7
- const require_regex$5 = require('./categories/Z/regex.cjs');
8
-
9
- //#region ../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs
10
- var uc_micro_exports = /* @__PURE__ */ require_runtime.__exportAll({
11
- Any: () => require_regex.default,
12
- Cc: () => require_regex$1.default,
13
- Cf: () => require_regex$2.default,
14
- P: () => require_regex$3.default,
15
- S: () => require_regex$4.default,
16
- Z: () => require_regex$5.default
17
- });
18
-
19
- //#endregion
20
- Object.defineProperty(exports, 'uc_micro_exports', {
21
- enumerable: true,
22
- get: function () {
23
- return uc_micro_exports;
24
- }
25
- });
@@ -1,21 +0,0 @@
1
- import { __exportAll } from "../../../../../_virtual/_rolldown/runtime.mjs";
2
- import regex_default from "./properties/Any/regex.mjs";
3
- import regex_default$1 from "./categories/Cc/regex.mjs";
4
- import regex_default$2 from "./categories/Cf/regex.mjs";
5
- import regex_default$3 from "./categories/P/regex.mjs";
6
- import regex_default$4 from "./categories/S/regex.mjs";
7
- import regex_default$5 from "./categories/Z/regex.mjs";
8
-
9
- //#region ../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs
10
- var uc_micro_exports = /* @__PURE__ */ __exportAll({
11
- Any: () => regex_default,
12
- Cc: () => regex_default$1,
13
- Cf: () => regex_default$2,
14
- P: () => regex_default$3,
15
- S: () => regex_default$4,
16
- Z: () => regex_default$5
17
- });
18
-
19
- //#endregion
20
- export { uc_micro_exports };
21
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs"],"sourcesContent":["import Any from './properties/Any/regex.mjs';\nimport Cc from './categories/Cc/regex.mjs';\nimport Cf from './categories/Cf/regex.mjs';\nimport P from './categories/P/regex.mjs';\nimport S from './categories/S/regex.mjs';\nimport Z from './categories/Z/regex.mjs';\n\nexport { Any, Cc, Cf, P, S, Z };\n"],"x_google_ignoreList":[0],"mappings":""}
@@ -1,6 +0,0 @@
1
-
2
- //#region ../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs
3
- var regex_default = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
4
-
5
- //#endregion
6
- exports.default = regex_default;
@@ -1,6 +0,0 @@
1
- //#region ../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs
2
- var regex_default = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
3
-
4
- //#endregion
5
- export { regex_default as default };
6
- //# sourceMappingURL=regex.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"regex.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs"],"sourcesContent":["export default /[\\0-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/"],"x_google_ignoreList":[0],"mappings":";AAAA,oBAAe"}
@@ -1,302 +0,0 @@
1
- const require_index = require('../../../strip-ansi@7.2.0/node_modules/strip-ansi/index.cjs');
2
- const require_index$1 = require('../../../string-width@8.2.0/node_modules/string-width/index.cjs');
3
- const require_index$2 = require('../../../ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs');
4
-
5
- //#region ../../node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.js
6
- const ANSI_ESCAPE = "\x1B";
7
- const ANSI_ESCAPE_CSI = "›";
8
- const ESCAPES = new Set([ANSI_ESCAPE, ANSI_ESCAPE_CSI]);
9
- const ANSI_ESCAPE_BELL = "\x07";
10
- const ANSI_CSI = "[";
11
- const ANSI_OSC = "]";
12
- const ANSI_SGR_TERMINATOR = "m";
13
- const ANSI_SGR_RESET = 0;
14
- const ANSI_SGR_RESET_FOREGROUND = 39;
15
- const ANSI_SGR_RESET_BACKGROUND = 49;
16
- const ANSI_SGR_RESET_UNDERLINE_COLOR = 59;
17
- const ANSI_SGR_FOREGROUND_EXTENDED = 38;
18
- const ANSI_SGR_BACKGROUND_EXTENDED = 48;
19
- const ANSI_SGR_UNDERLINE_COLOR_EXTENDED = 58;
20
- const ANSI_SGR_COLOR_MODE_256 = 5;
21
- const ANSI_SGR_COLOR_MODE_RGB = 2;
22
- const ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
23
- const ANSI_ESCAPE_REGEX = new RegExp(`^\\u001B(?:\\${ANSI_CSI}(?<sgr>[0-9;]*)${ANSI_SGR_TERMINATOR}|${ANSI_ESCAPE_LINK}(?<uri>[^\\u0007\\u001B]*)(?:\\u0007|\\u001B\\\\))`);
24
- const ANSI_ESCAPE_CSI_REGEX = new RegExp(`^\\u009B(?<sgr>[0-9;]*)${ANSI_SGR_TERMINATOR}`);
25
- const ANSI_SGR_MODIFIER_CLOSE_CODES = new Set(require_index$2.default.codes.values());
26
- ANSI_SGR_MODIFIER_CLOSE_CODES.delete(ANSI_SGR_RESET);
27
- const segmenter = new Intl.Segmenter();
28
- const getGraphemes = (string) => Array.from(segmenter.segment(string), ({ segment }) => segment);
29
- const TAB_SIZE = 8;
30
- const wrapAnsiCode = (code) => `${ANSI_ESCAPE}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
31
- const wrapAnsiHyperlink = (url) => `${ANSI_ESCAPE}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
32
- const getSgrTokens = (sgrParameters) => {
33
- const codes = sgrParameters.split(";").map((sgrParameter) => sgrParameter === "" ? ANSI_SGR_RESET : Number.parseInt(sgrParameter, 10));
34
- const sgrTokens = [];
35
- for (let index = 0; index < codes.length; index++) {
36
- const code = codes[index];
37
- if (!Number.isFinite(code)) continue;
38
- if (code === ANSI_SGR_FOREGROUND_EXTENDED || code === ANSI_SGR_BACKGROUND_EXTENDED || code === ANSI_SGR_UNDERLINE_COLOR_EXTENDED) {
39
- if (index + 1 >= codes.length) break;
40
- const mode = codes[index + 1];
41
- if (mode === ANSI_SGR_COLOR_MODE_256 && Number.isFinite(codes[index + 2])) {
42
- sgrTokens.push([
43
- code,
44
- mode,
45
- codes[index + 2]
46
- ]);
47
- index += 2;
48
- continue;
49
- }
50
- const red = codes[index + 2];
51
- const green = codes[index + 3];
52
- const blue = codes[index + 4];
53
- if (mode === ANSI_SGR_COLOR_MODE_RGB && Number.isFinite(red) && Number.isFinite(green) && Number.isFinite(blue)) {
54
- sgrTokens.push([
55
- code,
56
- mode,
57
- red,
58
- green,
59
- blue
60
- ]);
61
- index += 4;
62
- continue;
63
- }
64
- break;
65
- }
66
- sgrTokens.push([code]);
67
- }
68
- return sgrTokens;
69
- };
70
- const removeActiveStyle = (activeStyles, family) => {
71
- const activeStyleIndex = activeStyles.findIndex((activeStyle) => activeStyle.family === family);
72
- if (activeStyleIndex !== -1) activeStyles.splice(activeStyleIndex, 1);
73
- };
74
- const upsertActiveStyle = (activeStyles, nextActiveStyle) => {
75
- removeActiveStyle(activeStyles, nextActiveStyle.family);
76
- activeStyles.push(nextActiveStyle);
77
- };
78
- const removeModifierStylesByClose = (activeStyles, closeCode) => {
79
- for (let index = activeStyles.length - 1; index >= 0; index--) {
80
- const activeStyle = activeStyles[index];
81
- if (activeStyle.family.startsWith("modifier-") && activeStyle.close === closeCode) activeStyles.splice(index, 1);
82
- }
83
- };
84
- const getColorStyle = (code, sgrToken) => {
85
- if (code >= 30 && code <= 37 || code >= 90 && code <= 97 || code === ANSI_SGR_FOREGROUND_EXTENDED && sgrToken.length > 1) return {
86
- family: "foreground",
87
- open: sgrToken.join(";"),
88
- close: ANSI_SGR_RESET_FOREGROUND
89
- };
90
- if (code >= 40 && code <= 47 || code >= 100 && code <= 107 || code === ANSI_SGR_BACKGROUND_EXTENDED && sgrToken.length > 1) return {
91
- family: "background",
92
- open: sgrToken.join(";"),
93
- close: ANSI_SGR_RESET_BACKGROUND
94
- };
95
- if (code === ANSI_SGR_UNDERLINE_COLOR_EXTENDED && sgrToken.length > 1) return {
96
- family: "underlineColor",
97
- open: sgrToken.join(";"),
98
- close: ANSI_SGR_RESET_UNDERLINE_COLOR
99
- };
100
- };
101
- const applySgrResetCode = (code, activeStyles) => {
102
- if (code === ANSI_SGR_RESET) {
103
- activeStyles.length = 0;
104
- return true;
105
- }
106
- if (code === ANSI_SGR_RESET_FOREGROUND) {
107
- removeActiveStyle(activeStyles, "foreground");
108
- return true;
109
- }
110
- if (code === ANSI_SGR_RESET_BACKGROUND) {
111
- removeActiveStyle(activeStyles, "background");
112
- return true;
113
- }
114
- if (code === ANSI_SGR_RESET_UNDERLINE_COLOR) {
115
- removeActiveStyle(activeStyles, "underlineColor");
116
- return true;
117
- }
118
- if (ANSI_SGR_MODIFIER_CLOSE_CODES.has(code)) {
119
- removeModifierStylesByClose(activeStyles, code);
120
- return true;
121
- }
122
- return false;
123
- };
124
- const applySgrToken = (sgrToken, activeStyles) => {
125
- const [code] = sgrToken;
126
- if (applySgrResetCode(code, activeStyles)) return;
127
- const colorStyle = getColorStyle(code, sgrToken);
128
- if (colorStyle) {
129
- upsertActiveStyle(activeStyles, colorStyle);
130
- return;
131
- }
132
- const close = require_index$2.default.codes.get(code);
133
- if (close !== void 0 && close !== ANSI_SGR_RESET) upsertActiveStyle(activeStyles, {
134
- family: `modifier-${code}`,
135
- open: sgrToken.join(";"),
136
- close
137
- });
138
- };
139
- const applySgrParameters = (sgrParameters, activeStyles) => {
140
- for (const sgrToken of getSgrTokens(sgrParameters)) applySgrToken(sgrToken, activeStyles);
141
- };
142
- const applySgrResets = (sgrParameters, activeStyles) => {
143
- for (const sgrToken of getSgrTokens(sgrParameters)) {
144
- const [code] = sgrToken;
145
- applySgrResetCode(code, activeStyles);
146
- }
147
- };
148
- const applyLeadingSgrResets = (string, activeStyles) => {
149
- let remainder = string;
150
- while (remainder.length > 0) {
151
- if (remainder.startsWith(ANSI_ESCAPE) && remainder[1] !== "\\") {
152
- const match = ANSI_ESCAPE_REGEX.exec(remainder);
153
- if (!match) break;
154
- if (match.groups.sgr !== void 0) applySgrResets(match.groups.sgr, activeStyles);
155
- remainder = remainder.slice(match[0].length);
156
- continue;
157
- }
158
- if (remainder.startsWith(ANSI_ESCAPE_CSI)) {
159
- const match = ANSI_ESCAPE_CSI_REGEX.exec(remainder);
160
- if (!match || match.groups.sgr === void 0) break;
161
- applySgrResets(match.groups.sgr, activeStyles);
162
- remainder = remainder.slice(match[0].length);
163
- continue;
164
- }
165
- break;
166
- }
167
- };
168
- const getClosingSgrSequence = (activeStyles) => [...activeStyles].reverse().map((activeStyle) => wrapAnsiCode(activeStyle.close)).join("");
169
- const getOpeningSgrSequence = (activeStyles) => activeStyles.map((activeStyle) => wrapAnsiCode(activeStyle.open)).join("");
170
- const wordLengths = (string) => string.split(" ").map((word) => require_index$1.default(word));
171
- const wrapWord = (rows, word, columns) => {
172
- const characters = getGraphemes(word);
173
- let isInsideEscape = false;
174
- let isInsideLinkEscape = false;
175
- let visible = require_index$1.default(require_index.default(rows.at(-1)));
176
- for (const [index, character] of characters.entries()) {
177
- const characterLength = require_index$1.default(character);
178
- if (visible + characterLength <= columns) rows[rows.length - 1] += character;
179
- else {
180
- rows.push(character);
181
- visible = 0;
182
- }
183
- if (ESCAPES.has(character) && !(isInsideLinkEscape && character === ANSI_ESCAPE && characters[index + 1] === "\\")) {
184
- isInsideEscape = true;
185
- isInsideLinkEscape = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("") === ANSI_ESCAPE_LINK;
186
- }
187
- if (isInsideEscape) {
188
- if (isInsideLinkEscape) {
189
- if (character === ANSI_ESCAPE_BELL || character === "\\" && index > 0 && characters[index - 1] === ANSI_ESCAPE) {
190
- isInsideEscape = false;
191
- isInsideLinkEscape = false;
192
- }
193
- } else if (character === ANSI_SGR_TERMINATOR) isInsideEscape = false;
194
- continue;
195
- }
196
- visible += characterLength;
197
- if (visible === columns && index < characters.length - 1) {
198
- rows.push("");
199
- visible = 0;
200
- }
201
- }
202
- if (!visible && rows.at(-1).length > 0 && rows.length > 1) rows[rows.length - 2] += rows.pop();
203
- };
204
- const stringVisibleTrimSpacesRight = (string) => {
205
- const words = string.split(" ");
206
- let last = words.length;
207
- while (last > 0) {
208
- if (require_index$1.default(words[last - 1]) > 0) break;
209
- last--;
210
- }
211
- if (last === words.length) return string;
212
- return words.slice(0, last).join(" ") + words.slice(last).join("");
213
- };
214
- const expandTabs = (line) => {
215
- if (!line.includes(" ")) return line;
216
- const segments = line.split(" ");
217
- let visible = 0;
218
- let expandedLine = "";
219
- for (const [index, segment] of segments.entries()) {
220
- expandedLine += segment;
221
- visible += require_index$1.default(segment);
222
- if (index < segments.length - 1) {
223
- const spaces = TAB_SIZE - visible % TAB_SIZE;
224
- expandedLine += " ".repeat(spaces);
225
- visible += spaces;
226
- }
227
- }
228
- return expandedLine;
229
- };
230
- const exec = (string, columns, options = {}) => {
231
- if (options.trim !== false && string.trim() === "") return "";
232
- let returnValue = "";
233
- let escapeUrl;
234
- const activeStyles = [];
235
- const lengths = wordLengths(string);
236
- let rows = [""];
237
- for (const [index, word] of string.split(" ").entries()) {
238
- if (options.trim !== false) rows[rows.length - 1] = rows.at(-1).trimStart();
239
- let rowLength = require_index$1.default(rows.at(-1));
240
- if (index !== 0) {
241
- if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
242
- rows.push("");
243
- rowLength = 0;
244
- }
245
- if (rowLength > 0 || options.trim === false) {
246
- rows[rows.length - 1] += " ";
247
- rowLength++;
248
- }
249
- }
250
- if (options.hard && options.wordWrap !== false && lengths[index] > columns) {
251
- const remainingColumns = columns - rowLength;
252
- const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
253
- if (Math.floor((lengths[index] - 1) / columns) < breaksStartingThisLine) rows.push("");
254
- wrapWord(rows, word, columns);
255
- continue;
256
- }
257
- if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
258
- if (options.wordWrap === false && rowLength < columns) {
259
- wrapWord(rows, word, columns);
260
- continue;
261
- }
262
- rows.push("");
263
- }
264
- if (rowLength + lengths[index] > columns && options.wordWrap === false) {
265
- wrapWord(rows, word, columns);
266
- continue;
267
- }
268
- rows[rows.length - 1] += word;
269
- }
270
- if (options.trim !== false) rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
271
- const preString = rows.join("\n");
272
- const pre = getGraphemes(preString);
273
- let preStringIndex = 0;
274
- for (const [index, character] of pre.entries()) {
275
- returnValue += character;
276
- if (character === ANSI_ESCAPE && pre[index + 1] !== "\\") {
277
- const { groups } = ANSI_ESCAPE_REGEX.exec(preString.slice(preStringIndex)) || { groups: {} };
278
- if (groups.sgr !== void 0) applySgrParameters(groups.sgr, activeStyles);
279
- else if (groups.uri !== void 0) escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
280
- } else if (character === ANSI_ESCAPE_CSI) {
281
- const { groups } = ANSI_ESCAPE_CSI_REGEX.exec(preString.slice(preStringIndex)) || { groups: {} };
282
- if (groups.sgr !== void 0) applySgrParameters(groups.sgr, activeStyles);
283
- }
284
- if (pre[index + 1] === "\n") {
285
- if (escapeUrl) returnValue += wrapAnsiHyperlink("");
286
- returnValue += getClosingSgrSequence(activeStyles);
287
- } else if (character === "\n") {
288
- const openingStyles = [...activeStyles];
289
- applyLeadingSgrResets(preString.slice(preStringIndex + 1), openingStyles);
290
- returnValue += getOpeningSgrSequence(openingStyles);
291
- if (escapeUrl) returnValue += wrapAnsiHyperlink(escapeUrl);
292
- }
293
- preStringIndex += character.length;
294
- }
295
- return returnValue;
296
- };
297
- function wrapAnsi(string, columns, options) {
298
- return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(expandTabs(line), columns, options)).join("\n");
299
- }
300
-
301
- //#endregion
302
- exports.default = wrapAnsi;
@@ -1,303 +0,0 @@
1
- import stripAnsi from "../../../strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs";
2
- import stringWidth from "../../../string-width@8.2.0/node_modules/string-width/index.mjs";
3
- import ansiStyles from "../../../ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs";
4
-
5
- //#region ../../node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.js
6
- const ANSI_ESCAPE = "\x1B";
7
- const ANSI_ESCAPE_CSI = "›";
8
- const ESCAPES = new Set([ANSI_ESCAPE, ANSI_ESCAPE_CSI]);
9
- const ANSI_ESCAPE_BELL = "\x07";
10
- const ANSI_CSI = "[";
11
- const ANSI_OSC = "]";
12
- const ANSI_SGR_TERMINATOR = "m";
13
- const ANSI_SGR_RESET = 0;
14
- const ANSI_SGR_RESET_FOREGROUND = 39;
15
- const ANSI_SGR_RESET_BACKGROUND = 49;
16
- const ANSI_SGR_RESET_UNDERLINE_COLOR = 59;
17
- const ANSI_SGR_FOREGROUND_EXTENDED = 38;
18
- const ANSI_SGR_BACKGROUND_EXTENDED = 48;
19
- const ANSI_SGR_UNDERLINE_COLOR_EXTENDED = 58;
20
- const ANSI_SGR_COLOR_MODE_256 = 5;
21
- const ANSI_SGR_COLOR_MODE_RGB = 2;
22
- const ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
23
- const ANSI_ESCAPE_REGEX = new RegExp(`^\\u001B(?:\\${ANSI_CSI}(?<sgr>[0-9;]*)${ANSI_SGR_TERMINATOR}|${ANSI_ESCAPE_LINK}(?<uri>[^\\u0007\\u001B]*)(?:\\u0007|\\u001B\\\\))`);
24
- const ANSI_ESCAPE_CSI_REGEX = new RegExp(`^\\u009B(?<sgr>[0-9;]*)${ANSI_SGR_TERMINATOR}`);
25
- const ANSI_SGR_MODIFIER_CLOSE_CODES = new Set(ansiStyles.codes.values());
26
- ANSI_SGR_MODIFIER_CLOSE_CODES.delete(ANSI_SGR_RESET);
27
- const segmenter = new Intl.Segmenter();
28
- const getGraphemes = (string) => Array.from(segmenter.segment(string), ({ segment }) => segment);
29
- const TAB_SIZE = 8;
30
- const wrapAnsiCode = (code) => `${ANSI_ESCAPE}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
31
- const wrapAnsiHyperlink = (url) => `${ANSI_ESCAPE}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
32
- const getSgrTokens = (sgrParameters) => {
33
- const codes = sgrParameters.split(";").map((sgrParameter) => sgrParameter === "" ? ANSI_SGR_RESET : Number.parseInt(sgrParameter, 10));
34
- const sgrTokens = [];
35
- for (let index = 0; index < codes.length; index++) {
36
- const code = codes[index];
37
- if (!Number.isFinite(code)) continue;
38
- if (code === ANSI_SGR_FOREGROUND_EXTENDED || code === ANSI_SGR_BACKGROUND_EXTENDED || code === ANSI_SGR_UNDERLINE_COLOR_EXTENDED) {
39
- if (index + 1 >= codes.length) break;
40
- const mode = codes[index + 1];
41
- if (mode === ANSI_SGR_COLOR_MODE_256 && Number.isFinite(codes[index + 2])) {
42
- sgrTokens.push([
43
- code,
44
- mode,
45
- codes[index + 2]
46
- ]);
47
- index += 2;
48
- continue;
49
- }
50
- const red = codes[index + 2];
51
- const green = codes[index + 3];
52
- const blue = codes[index + 4];
53
- if (mode === ANSI_SGR_COLOR_MODE_RGB && Number.isFinite(red) && Number.isFinite(green) && Number.isFinite(blue)) {
54
- sgrTokens.push([
55
- code,
56
- mode,
57
- red,
58
- green,
59
- blue
60
- ]);
61
- index += 4;
62
- continue;
63
- }
64
- break;
65
- }
66
- sgrTokens.push([code]);
67
- }
68
- return sgrTokens;
69
- };
70
- const removeActiveStyle = (activeStyles, family) => {
71
- const activeStyleIndex = activeStyles.findIndex((activeStyle) => activeStyle.family === family);
72
- if (activeStyleIndex !== -1) activeStyles.splice(activeStyleIndex, 1);
73
- };
74
- const upsertActiveStyle = (activeStyles, nextActiveStyle) => {
75
- removeActiveStyle(activeStyles, nextActiveStyle.family);
76
- activeStyles.push(nextActiveStyle);
77
- };
78
- const removeModifierStylesByClose = (activeStyles, closeCode) => {
79
- for (let index = activeStyles.length - 1; index >= 0; index--) {
80
- const activeStyle = activeStyles[index];
81
- if (activeStyle.family.startsWith("modifier-") && activeStyle.close === closeCode) activeStyles.splice(index, 1);
82
- }
83
- };
84
- const getColorStyle = (code, sgrToken) => {
85
- if (code >= 30 && code <= 37 || code >= 90 && code <= 97 || code === ANSI_SGR_FOREGROUND_EXTENDED && sgrToken.length > 1) return {
86
- family: "foreground",
87
- open: sgrToken.join(";"),
88
- close: ANSI_SGR_RESET_FOREGROUND
89
- };
90
- if (code >= 40 && code <= 47 || code >= 100 && code <= 107 || code === ANSI_SGR_BACKGROUND_EXTENDED && sgrToken.length > 1) return {
91
- family: "background",
92
- open: sgrToken.join(";"),
93
- close: ANSI_SGR_RESET_BACKGROUND
94
- };
95
- if (code === ANSI_SGR_UNDERLINE_COLOR_EXTENDED && sgrToken.length > 1) return {
96
- family: "underlineColor",
97
- open: sgrToken.join(";"),
98
- close: ANSI_SGR_RESET_UNDERLINE_COLOR
99
- };
100
- };
101
- const applySgrResetCode = (code, activeStyles) => {
102
- if (code === ANSI_SGR_RESET) {
103
- activeStyles.length = 0;
104
- return true;
105
- }
106
- if (code === ANSI_SGR_RESET_FOREGROUND) {
107
- removeActiveStyle(activeStyles, "foreground");
108
- return true;
109
- }
110
- if (code === ANSI_SGR_RESET_BACKGROUND) {
111
- removeActiveStyle(activeStyles, "background");
112
- return true;
113
- }
114
- if (code === ANSI_SGR_RESET_UNDERLINE_COLOR) {
115
- removeActiveStyle(activeStyles, "underlineColor");
116
- return true;
117
- }
118
- if (ANSI_SGR_MODIFIER_CLOSE_CODES.has(code)) {
119
- removeModifierStylesByClose(activeStyles, code);
120
- return true;
121
- }
122
- return false;
123
- };
124
- const applySgrToken = (sgrToken, activeStyles) => {
125
- const [code] = sgrToken;
126
- if (applySgrResetCode(code, activeStyles)) return;
127
- const colorStyle = getColorStyle(code, sgrToken);
128
- if (colorStyle) {
129
- upsertActiveStyle(activeStyles, colorStyle);
130
- return;
131
- }
132
- const close = ansiStyles.codes.get(code);
133
- if (close !== void 0 && close !== ANSI_SGR_RESET) upsertActiveStyle(activeStyles, {
134
- family: `modifier-${code}`,
135
- open: sgrToken.join(";"),
136
- close
137
- });
138
- };
139
- const applySgrParameters = (sgrParameters, activeStyles) => {
140
- for (const sgrToken of getSgrTokens(sgrParameters)) applySgrToken(sgrToken, activeStyles);
141
- };
142
- const applySgrResets = (sgrParameters, activeStyles) => {
143
- for (const sgrToken of getSgrTokens(sgrParameters)) {
144
- const [code] = sgrToken;
145
- applySgrResetCode(code, activeStyles);
146
- }
147
- };
148
- const applyLeadingSgrResets = (string, activeStyles) => {
149
- let remainder = string;
150
- while (remainder.length > 0) {
151
- if (remainder.startsWith(ANSI_ESCAPE) && remainder[1] !== "\\") {
152
- const match = ANSI_ESCAPE_REGEX.exec(remainder);
153
- if (!match) break;
154
- if (match.groups.sgr !== void 0) applySgrResets(match.groups.sgr, activeStyles);
155
- remainder = remainder.slice(match[0].length);
156
- continue;
157
- }
158
- if (remainder.startsWith(ANSI_ESCAPE_CSI)) {
159
- const match = ANSI_ESCAPE_CSI_REGEX.exec(remainder);
160
- if (!match || match.groups.sgr === void 0) break;
161
- applySgrResets(match.groups.sgr, activeStyles);
162
- remainder = remainder.slice(match[0].length);
163
- continue;
164
- }
165
- break;
166
- }
167
- };
168
- const getClosingSgrSequence = (activeStyles) => [...activeStyles].reverse().map((activeStyle) => wrapAnsiCode(activeStyle.close)).join("");
169
- const getOpeningSgrSequence = (activeStyles) => activeStyles.map((activeStyle) => wrapAnsiCode(activeStyle.open)).join("");
170
- const wordLengths = (string) => string.split(" ").map((word) => stringWidth(word));
171
- const wrapWord = (rows, word, columns) => {
172
- const characters = getGraphemes(word);
173
- let isInsideEscape = false;
174
- let isInsideLinkEscape = false;
175
- let visible = stringWidth(stripAnsi(rows.at(-1)));
176
- for (const [index, character] of characters.entries()) {
177
- const characterLength = stringWidth(character);
178
- if (visible + characterLength <= columns) rows[rows.length - 1] += character;
179
- else {
180
- rows.push(character);
181
- visible = 0;
182
- }
183
- if (ESCAPES.has(character) && !(isInsideLinkEscape && character === ANSI_ESCAPE && characters[index + 1] === "\\")) {
184
- isInsideEscape = true;
185
- isInsideLinkEscape = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("") === ANSI_ESCAPE_LINK;
186
- }
187
- if (isInsideEscape) {
188
- if (isInsideLinkEscape) {
189
- if (character === ANSI_ESCAPE_BELL || character === "\\" && index > 0 && characters[index - 1] === ANSI_ESCAPE) {
190
- isInsideEscape = false;
191
- isInsideLinkEscape = false;
192
- }
193
- } else if (character === ANSI_SGR_TERMINATOR) isInsideEscape = false;
194
- continue;
195
- }
196
- visible += characterLength;
197
- if (visible === columns && index < characters.length - 1) {
198
- rows.push("");
199
- visible = 0;
200
- }
201
- }
202
- if (!visible && rows.at(-1).length > 0 && rows.length > 1) rows[rows.length - 2] += rows.pop();
203
- };
204
- const stringVisibleTrimSpacesRight = (string) => {
205
- const words = string.split(" ");
206
- let last = words.length;
207
- while (last > 0) {
208
- if (stringWidth(words[last - 1]) > 0) break;
209
- last--;
210
- }
211
- if (last === words.length) return string;
212
- return words.slice(0, last).join(" ") + words.slice(last).join("");
213
- };
214
- const expandTabs = (line) => {
215
- if (!line.includes(" ")) return line;
216
- const segments = line.split(" ");
217
- let visible = 0;
218
- let expandedLine = "";
219
- for (const [index, segment] of segments.entries()) {
220
- expandedLine += segment;
221
- visible += stringWidth(segment);
222
- if (index < segments.length - 1) {
223
- const spaces = TAB_SIZE - visible % TAB_SIZE;
224
- expandedLine += " ".repeat(spaces);
225
- visible += spaces;
226
- }
227
- }
228
- return expandedLine;
229
- };
230
- const exec = (string, columns, options = {}) => {
231
- if (options.trim !== false && string.trim() === "") return "";
232
- let returnValue = "";
233
- let escapeUrl;
234
- const activeStyles = [];
235
- const lengths = wordLengths(string);
236
- let rows = [""];
237
- for (const [index, word] of string.split(" ").entries()) {
238
- if (options.trim !== false) rows[rows.length - 1] = rows.at(-1).trimStart();
239
- let rowLength = stringWidth(rows.at(-1));
240
- if (index !== 0) {
241
- if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
242
- rows.push("");
243
- rowLength = 0;
244
- }
245
- if (rowLength > 0 || options.trim === false) {
246
- rows[rows.length - 1] += " ";
247
- rowLength++;
248
- }
249
- }
250
- if (options.hard && options.wordWrap !== false && lengths[index] > columns) {
251
- const remainingColumns = columns - rowLength;
252
- const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
253
- if (Math.floor((lengths[index] - 1) / columns) < breaksStartingThisLine) rows.push("");
254
- wrapWord(rows, word, columns);
255
- continue;
256
- }
257
- if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
258
- if (options.wordWrap === false && rowLength < columns) {
259
- wrapWord(rows, word, columns);
260
- continue;
261
- }
262
- rows.push("");
263
- }
264
- if (rowLength + lengths[index] > columns && options.wordWrap === false) {
265
- wrapWord(rows, word, columns);
266
- continue;
267
- }
268
- rows[rows.length - 1] += word;
269
- }
270
- if (options.trim !== false) rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
271
- const preString = rows.join("\n");
272
- const pre = getGraphemes(preString);
273
- let preStringIndex = 0;
274
- for (const [index, character] of pre.entries()) {
275
- returnValue += character;
276
- if (character === ANSI_ESCAPE && pre[index + 1] !== "\\") {
277
- const { groups } = ANSI_ESCAPE_REGEX.exec(preString.slice(preStringIndex)) || { groups: {} };
278
- if (groups.sgr !== void 0) applySgrParameters(groups.sgr, activeStyles);
279
- else if (groups.uri !== void 0) escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
280
- } else if (character === ANSI_ESCAPE_CSI) {
281
- const { groups } = ANSI_ESCAPE_CSI_REGEX.exec(preString.slice(preStringIndex)) || { groups: {} };
282
- if (groups.sgr !== void 0) applySgrParameters(groups.sgr, activeStyles);
283
- }
284
- if (pre[index + 1] === "\n") {
285
- if (escapeUrl) returnValue += wrapAnsiHyperlink("");
286
- returnValue += getClosingSgrSequence(activeStyles);
287
- } else if (character === "\n") {
288
- const openingStyles = [...activeStyles];
289
- applyLeadingSgrResets(preString.slice(preStringIndex + 1), openingStyles);
290
- returnValue += getOpeningSgrSequence(openingStyles);
291
- if (escapeUrl) returnValue += wrapAnsiHyperlink(escapeUrl);
292
- }
293
- preStringIndex += character.length;
294
- }
295
- return returnValue;
296
- };
297
- function wrapAnsi(string, columns, options) {
298
- return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(expandTabs(line), columns, options)).join("\n");
299
- }
300
-
301
- //#endregion
302
- export { wrapAnsi as default };
303
- //# sourceMappingURL=index.mjs.map