@shell-shock/preset-cli 0.9.19 → 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.
- package/dist/_virtual/_rolldown/runtime.cjs +1 -45
- package/dist/components/banner-builtin.cjs +5 -93
- package/dist/components/banner-builtin.mjs +5 -90
- package/dist/components/banner-builtin.mjs.map +1 -1
- package/dist/components/command-entry.cjs +56 -356
- package/dist/components/command-entry.mjs +56 -353
- package/dist/components/command-entry.mjs.map +1 -1
- package/dist/components/command-router.cjs +4 -60
- package/dist/components/command-router.mjs +4 -57
- package/dist/components/command-router.mjs.map +1 -1
- package/dist/components/index.cjs +1 -15
- package/dist/components/index.mjs +1 -7
- package/dist/components/upgrade-builtin.cjs +14 -135
- package/dist/components/upgrade-builtin.mjs +14 -132
- package/dist/components/upgrade-builtin.mjs.map +1 -1
- package/dist/components/virtual-command-entry.cjs +1 -113
- package/dist/components/virtual-command-entry.mjs +1 -110
- package/dist/components/virtual-command-entry.mjs.map +1 -1
- package/dist/helpers/get-global-options.cjs +1 -39
- package/dist/helpers/get-global-options.mjs +1 -38
- package/dist/helpers/get-global-options.mjs.map +1 -1
- package/dist/index.cjs +1 -173
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -165
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/types/plugin.d.cts +3 -3
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +3 -3
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/types/plugin.mjs +1 -1
- package/package.json +22 -74
- package/dist/_virtual/_rolldown/runtime.mjs +0 -42
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts +0 -17
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts +0 -17
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.cjs +0 -8
- package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs +0 -8
- package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +0 -167
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +0 -167
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +0 -373
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +0 -374
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +0 -60
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +0 -59
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +0 -59
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +0 -59
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +0 -338
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +0 -333
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +0 -6
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +0 -6
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.cjs +0 -14
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs +0 -15
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.cjs +0 -655
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs +0 -651
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.cjs +0 -48
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs +0 -47
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.cjs +0 -24
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs +0 -24
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs.map +0 -1
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +0 -4095
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +0 -4093
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +0 -1
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +0 -449
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +0 -450
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +0 -47
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +0 -48
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +0 -94
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +0 -94
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +0 -78
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +0 -78
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +0 -123
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +0 -123
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +0 -246
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +0 -244
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +0 -94
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +0 -92
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +0 -3
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +0 -69
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -69
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +0 -9
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +0 -8
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +0 -205
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +0 -189
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +0 -19
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +0 -61
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -62
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +0 -43
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -44
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +0 -488
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +0 -489
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +0 -148
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +0 -149
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +0 -51
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +0 -52
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +0 -126
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +0 -127
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +0 -57
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -57
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +0 -23
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +0 -23
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +0 -31
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +0 -31
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +0 -217
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +0 -218
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +0 -274
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +0 -274
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +0 -107
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -108
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -36
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +0 -26
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +0 -72
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -73
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +0 -53
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -53
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +0 -157
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +0 -158
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +0 -32
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -32
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +0 -140
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -141
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +0 -112
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -113
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +0 -139
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +0 -140
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +0 -12
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -12
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +0 -81
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -82
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +0 -13
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -13
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +0 -112
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -113
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +0 -14
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +0 -55
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -55
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +0 -62
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -62
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +0 -64
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -64
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -46
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -49
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +0 -34
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +0 -82
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -83
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +0 -84
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -85
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +0 -42
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -42
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +0 -26
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +0 -74
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -75
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +0 -157
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +0 -157
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +0 -21
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +0 -17
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +0 -74
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +0 -74
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +0 -57
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +0 -57
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +0 -18
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +0 -18
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +0 -175
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +0 -175
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +0 -1
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +0 -19
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +0 -15
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +0 -104
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +0 -104
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +0 -73
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +0 -68
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +0 -266
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +0 -262
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +0 -575
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +0 -543
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +0 -27
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +0 -21
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +0 -105
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +0 -94
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +0 -33
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +0 -34
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +0 -99
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +0 -93
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +0 -2544
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +0 -2545
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +0 -296
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +0 -297
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +0 -26
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +0 -28
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +0 -2069
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +0 -2069
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +0 -156
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +0 -157
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +0 -166
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +0 -167
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +0 -1
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +0 -299
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +0 -295
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.cjs +0 -65
- package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs +0 -66
- package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.cjs +0 -12
- package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs +0 -13
- package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +0 -25
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +0 -21
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +0 -302
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +0 -303
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/components/changelog-command.cjs +0 -106
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +0 -106
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/components/index.cjs +0 -1
- package/dist/packages/plugin-changelog/dist/components/index.mjs +0 -3
- package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.cjs +0 -51
- package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs +0 -51
- package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/index.cjs +0 -65
- package/dist/packages/plugin-changelog/dist/index.d.cts +0 -2
- package/dist/packages/plugin-changelog/dist/index.d.mts +0 -2
- package/dist/packages/plugin-changelog/dist/index.mjs +0 -64
- package/dist/packages/plugin-changelog/dist/index.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/types/plugin.d.cts +0 -91
- package/dist/packages/plugin-changelog/dist/types/plugin.d.cts.map +0 -1
- package/dist/packages/plugin-changelog/dist/types/plugin.d.mts +0 -91
- package/dist/packages/plugin-changelog/dist/types/plugin.d.mts.map +0 -1
- package/dist/packages/unified/dist/html-DzwMMQv6.cjs +0 -612
- package/dist/packages/unified/dist/html-DzwMMQv6.mjs +0 -613
- package/dist/packages/unified/dist/html-DzwMMQv6.mjs.map +0 -1
- package/dist/packages/unified/dist/markdown/index.cjs +0 -1
- package/dist/packages/unified/dist/markdown/index.mjs +0 -3
- package/dist/packages/unified/dist/markdown-CLMRZZ3Y.cjs +0 -46
- package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs +0 -47
- package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs.map +0 -1
|
@@ -1,449 +0,0 @@
|
|
|
1
|
-
const require_re = require('./lib/re.cjs');
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs
|
|
4
|
-
function assign(obj) {
|
|
5
|
-
Array.prototype.slice.call(arguments, 1).forEach(function(source) {
|
|
6
|
-
if (!source) return;
|
|
7
|
-
Object.keys(source).forEach(function(key) {
|
|
8
|
-
obj[key] = source[key];
|
|
9
|
-
});
|
|
10
|
-
});
|
|
11
|
-
return obj;
|
|
12
|
-
}
|
|
13
|
-
function _class(obj) {
|
|
14
|
-
return Object.prototype.toString.call(obj);
|
|
15
|
-
}
|
|
16
|
-
function isString(obj) {
|
|
17
|
-
return _class(obj) === "[object String]";
|
|
18
|
-
}
|
|
19
|
-
function isObject(obj) {
|
|
20
|
-
return _class(obj) === "[object Object]";
|
|
21
|
-
}
|
|
22
|
-
function isRegExp(obj) {
|
|
23
|
-
return _class(obj) === "[object RegExp]";
|
|
24
|
-
}
|
|
25
|
-
function isFunction(obj) {
|
|
26
|
-
return _class(obj) === "[object Function]";
|
|
27
|
-
}
|
|
28
|
-
function escapeRE(str) {
|
|
29
|
-
return str.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
30
|
-
}
|
|
31
|
-
const defaultOptions = {
|
|
32
|
-
fuzzyLink: true,
|
|
33
|
-
fuzzyEmail: true,
|
|
34
|
-
fuzzyIP: false
|
|
35
|
-
};
|
|
36
|
-
function isOptionsObj(obj) {
|
|
37
|
-
return Object.keys(obj || {}).reduce(function(acc, k) {
|
|
38
|
-
return acc || defaultOptions.hasOwnProperty(k);
|
|
39
|
-
}, false);
|
|
40
|
-
}
|
|
41
|
-
const defaultSchemas = {
|
|
42
|
-
"http:": { validate: function(text, pos, self) {
|
|
43
|
-
const tail = text.slice(pos);
|
|
44
|
-
if (!self.re.http) self.re.http = new RegExp("^\\/\\/" + self.re.src_auth + self.re.src_host_port_strict + self.re.src_path, "i");
|
|
45
|
-
if (self.re.http.test(tail)) return tail.match(self.re.http)[0].length;
|
|
46
|
-
return 0;
|
|
47
|
-
} },
|
|
48
|
-
"https:": "http:",
|
|
49
|
-
"ftp:": "http:",
|
|
50
|
-
"//": { validate: function(text, pos, self) {
|
|
51
|
-
const tail = text.slice(pos);
|
|
52
|
-
if (!self.re.no_http) self.re.no_http = new RegExp("^" + self.re.src_auth + "(?:localhost|(?:(?:" + self.re.src_domain + ")\\.)+" + self.re.src_domain_root + ")" + self.re.src_port + self.re.src_host_terminator + self.re.src_path, "i");
|
|
53
|
-
if (self.re.no_http.test(tail)) {
|
|
54
|
-
if (pos >= 3 && text[pos - 3] === ":") return 0;
|
|
55
|
-
if (pos >= 3 && text[pos - 3] === "/") return 0;
|
|
56
|
-
return tail.match(self.re.no_http)[0].length;
|
|
57
|
-
}
|
|
58
|
-
return 0;
|
|
59
|
-
} },
|
|
60
|
-
"mailto:": { validate: function(text, pos, self) {
|
|
61
|
-
const tail = text.slice(pos);
|
|
62
|
-
if (!self.re.mailto) self.re.mailto = new RegExp("^" + self.re.src_email_name + "@" + self.re.src_host_strict, "i");
|
|
63
|
-
if (self.re.mailto.test(tail)) return tail.match(self.re.mailto)[0].length;
|
|
64
|
-
return 0;
|
|
65
|
-
} }
|
|
66
|
-
};
|
|
67
|
-
const tlds_2ch_src_re = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]";
|
|
68
|
-
const tlds_default = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
|
|
69
|
-
function resetScanCache(self) {
|
|
70
|
-
self.__index__ = -1;
|
|
71
|
-
self.__text_cache__ = "";
|
|
72
|
-
}
|
|
73
|
-
function createValidator(re) {
|
|
74
|
-
return function(text, pos) {
|
|
75
|
-
const tail = text.slice(pos);
|
|
76
|
-
if (re.test(tail)) return tail.match(re)[0].length;
|
|
77
|
-
return 0;
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
function createNormalizer() {
|
|
81
|
-
return function(match, self) {
|
|
82
|
-
self.normalize(match);
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function compile(self) {
|
|
86
|
-
const re = self.re = require_re.default(self.__opts__);
|
|
87
|
-
const tlds = self.__tlds__.slice();
|
|
88
|
-
self.onCompile();
|
|
89
|
-
if (!self.__tlds_replaced__) tlds.push(tlds_2ch_src_re);
|
|
90
|
-
tlds.push(re.src_xn);
|
|
91
|
-
re.src_tlds = tlds.join("|");
|
|
92
|
-
function untpl(tpl) {
|
|
93
|
-
return tpl.replace("%TLDS%", re.src_tlds);
|
|
94
|
-
}
|
|
95
|
-
re.email_fuzzy = RegExp(untpl(re.tpl_email_fuzzy), "i");
|
|
96
|
-
re.link_fuzzy = RegExp(untpl(re.tpl_link_fuzzy), "i");
|
|
97
|
-
re.link_no_ip_fuzzy = RegExp(untpl(re.tpl_link_no_ip_fuzzy), "i");
|
|
98
|
-
re.host_fuzzy_test = RegExp(untpl(re.tpl_host_fuzzy_test), "i");
|
|
99
|
-
const aliases = [];
|
|
100
|
-
self.__compiled__ = {};
|
|
101
|
-
function schemaError(name, val) {
|
|
102
|
-
throw new Error("(LinkifyIt) Invalid schema \"" + name + "\": " + val);
|
|
103
|
-
}
|
|
104
|
-
Object.keys(self.__schemas__).forEach(function(name) {
|
|
105
|
-
const val = self.__schemas__[name];
|
|
106
|
-
if (val === null) return;
|
|
107
|
-
const compiled = {
|
|
108
|
-
validate: null,
|
|
109
|
-
link: null
|
|
110
|
-
};
|
|
111
|
-
self.__compiled__[name] = compiled;
|
|
112
|
-
if (isObject(val)) {
|
|
113
|
-
if (isRegExp(val.validate)) compiled.validate = createValidator(val.validate);
|
|
114
|
-
else if (isFunction(val.validate)) compiled.validate = val.validate;
|
|
115
|
-
else schemaError(name, val);
|
|
116
|
-
if (isFunction(val.normalize)) compiled.normalize = val.normalize;
|
|
117
|
-
else if (!val.normalize) compiled.normalize = createNormalizer();
|
|
118
|
-
else schemaError(name, val);
|
|
119
|
-
return;
|
|
120
|
-
}
|
|
121
|
-
if (isString(val)) {
|
|
122
|
-
aliases.push(name);
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
schemaError(name, val);
|
|
126
|
-
});
|
|
127
|
-
aliases.forEach(function(alias) {
|
|
128
|
-
if (!self.__compiled__[self.__schemas__[alias]]) return;
|
|
129
|
-
self.__compiled__[alias].validate = self.__compiled__[self.__schemas__[alias]].validate;
|
|
130
|
-
self.__compiled__[alias].normalize = self.__compiled__[self.__schemas__[alias]].normalize;
|
|
131
|
-
});
|
|
132
|
-
self.__compiled__[""] = {
|
|
133
|
-
validate: null,
|
|
134
|
-
normalize: createNormalizer()
|
|
135
|
-
};
|
|
136
|
-
const slist = Object.keys(self.__compiled__).filter(function(name) {
|
|
137
|
-
return name.length > 0 && self.__compiled__[name];
|
|
138
|
-
}).map(escapeRE).join("|");
|
|
139
|
-
self.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + re.src_ZPCc + "))(" + slist + ")", "i");
|
|
140
|
-
self.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + re.src_ZPCc + "))(" + slist + ")", "ig");
|
|
141
|
-
self.re.schema_at_start = RegExp("^" + self.re.schema_search.source, "i");
|
|
142
|
-
self.re.pretest = RegExp("(" + self.re.schema_test.source + ")|(" + self.re.host_fuzzy_test.source + ")|@", "i");
|
|
143
|
-
resetScanCache(self);
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* class Match
|
|
147
|
-
*
|
|
148
|
-
* Match result. Single element of array, returned by [[LinkifyIt#match]]
|
|
149
|
-
**/
|
|
150
|
-
function Match(self, shift) {
|
|
151
|
-
const start = self.__index__;
|
|
152
|
-
const end = self.__last_index__;
|
|
153
|
-
const text = self.__text_cache__.slice(start, end);
|
|
154
|
-
/**
|
|
155
|
-
* Match#schema -> String
|
|
156
|
-
*
|
|
157
|
-
* Prefix (protocol) for matched string.
|
|
158
|
-
**/
|
|
159
|
-
this.schema = self.__schema__.toLowerCase();
|
|
160
|
-
/**
|
|
161
|
-
* Match#index -> Number
|
|
162
|
-
*
|
|
163
|
-
* First position of matched string.
|
|
164
|
-
**/
|
|
165
|
-
this.index = start + shift;
|
|
166
|
-
/**
|
|
167
|
-
* Match#lastIndex -> Number
|
|
168
|
-
*
|
|
169
|
-
* Next position after matched string.
|
|
170
|
-
**/
|
|
171
|
-
this.lastIndex = end + shift;
|
|
172
|
-
/**
|
|
173
|
-
* Match#raw -> String
|
|
174
|
-
*
|
|
175
|
-
* Matched string.
|
|
176
|
-
**/
|
|
177
|
-
this.raw = text;
|
|
178
|
-
/**
|
|
179
|
-
* Match#text -> String
|
|
180
|
-
*
|
|
181
|
-
* Notmalized text of matched string.
|
|
182
|
-
**/
|
|
183
|
-
this.text = text;
|
|
184
|
-
/**
|
|
185
|
-
* Match#url -> String
|
|
186
|
-
*
|
|
187
|
-
* Normalized url of matched string.
|
|
188
|
-
**/
|
|
189
|
-
this.url = text;
|
|
190
|
-
}
|
|
191
|
-
function createMatch(self, shift) {
|
|
192
|
-
const match = new Match(self, shift);
|
|
193
|
-
self.__compiled__[match.schema].normalize(match, self);
|
|
194
|
-
return match;
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* class LinkifyIt
|
|
198
|
-
**/
|
|
199
|
-
/**
|
|
200
|
-
* new LinkifyIt(schemas, options)
|
|
201
|
-
* - schemas (Object): Optional. Additional schemas to validate (prefix/validator)
|
|
202
|
-
* - options (Object): { fuzzyLink|fuzzyEmail|fuzzyIP: true|false }
|
|
203
|
-
*
|
|
204
|
-
* Creates new linkifier instance with optional additional schemas.
|
|
205
|
-
* Can be called without `new` keyword for convenience.
|
|
206
|
-
*
|
|
207
|
-
* By default understands:
|
|
208
|
-
*
|
|
209
|
-
* - `http(s)://...` , `ftp://...`, `mailto:...` & `//...` links
|
|
210
|
-
* - "fuzzy" links and emails (example.com, foo@bar.com).
|
|
211
|
-
*
|
|
212
|
-
* `schemas` is an object, where each key/value describes protocol/rule:
|
|
213
|
-
*
|
|
214
|
-
* - __key__ - link prefix (usually, protocol name with `:` at the end, `skype:`
|
|
215
|
-
* for example). `linkify-it` makes shure that prefix is not preceeded with
|
|
216
|
-
* alphanumeric char and symbols. Only whitespaces and punctuation allowed.
|
|
217
|
-
* - __value__ - rule to check tail after link prefix
|
|
218
|
-
* - _String_ - just alias to existing rule
|
|
219
|
-
* - _Object_
|
|
220
|
-
* - _validate_ - validator function (should return matched length on success),
|
|
221
|
-
* or `RegExp`.
|
|
222
|
-
* - _normalize_ - optional function to normalize text & url of matched result
|
|
223
|
-
* (for example, for @twitter mentions).
|
|
224
|
-
*
|
|
225
|
-
* `options`:
|
|
226
|
-
*
|
|
227
|
-
* - __fuzzyLink__ - recognige URL-s without `http(s):` prefix. Default `true`.
|
|
228
|
-
* - __fuzzyIP__ - allow IPs in fuzzy links above. Can conflict with some texts
|
|
229
|
-
* like version numbers. Default `false`.
|
|
230
|
-
* - __fuzzyEmail__ - recognize emails without `mailto:` prefix.
|
|
231
|
-
*
|
|
232
|
-
**/
|
|
233
|
-
function LinkifyIt(schemas, options) {
|
|
234
|
-
if (!(this instanceof LinkifyIt)) return new LinkifyIt(schemas, options);
|
|
235
|
-
if (!options) {
|
|
236
|
-
if (isOptionsObj(schemas)) {
|
|
237
|
-
options = schemas;
|
|
238
|
-
schemas = {};
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
this.__opts__ = assign({}, defaultOptions, options);
|
|
242
|
-
this.__index__ = -1;
|
|
243
|
-
this.__last_index__ = -1;
|
|
244
|
-
this.__schema__ = "";
|
|
245
|
-
this.__text_cache__ = "";
|
|
246
|
-
this.__schemas__ = assign({}, defaultSchemas, schemas);
|
|
247
|
-
this.__compiled__ = {};
|
|
248
|
-
this.__tlds__ = tlds_default;
|
|
249
|
-
this.__tlds_replaced__ = false;
|
|
250
|
-
this.re = {};
|
|
251
|
-
compile(this);
|
|
252
|
-
}
|
|
253
|
-
/** chainable
|
|
254
|
-
* LinkifyIt#add(schema, definition)
|
|
255
|
-
* - schema (String): rule name (fixed pattern prefix)
|
|
256
|
-
* - definition (String|RegExp|Object): schema definition
|
|
257
|
-
*
|
|
258
|
-
* Add new rule definition. See constructor description for details.
|
|
259
|
-
**/
|
|
260
|
-
LinkifyIt.prototype.add = function add(schema, definition) {
|
|
261
|
-
this.__schemas__[schema] = definition;
|
|
262
|
-
compile(this);
|
|
263
|
-
return this;
|
|
264
|
-
};
|
|
265
|
-
/** chainable
|
|
266
|
-
* LinkifyIt#set(options)
|
|
267
|
-
* - options (Object): { fuzzyLink|fuzzyEmail|fuzzyIP: true|false }
|
|
268
|
-
*
|
|
269
|
-
* Set recognition options for links without schema.
|
|
270
|
-
**/
|
|
271
|
-
LinkifyIt.prototype.set = function set(options) {
|
|
272
|
-
this.__opts__ = assign(this.__opts__, options);
|
|
273
|
-
return this;
|
|
274
|
-
};
|
|
275
|
-
/**
|
|
276
|
-
* LinkifyIt#test(text) -> Boolean
|
|
277
|
-
*
|
|
278
|
-
* Searches linkifiable pattern and returns `true` on success or `false` on fail.
|
|
279
|
-
**/
|
|
280
|
-
LinkifyIt.prototype.test = function test(text) {
|
|
281
|
-
this.__text_cache__ = text;
|
|
282
|
-
this.__index__ = -1;
|
|
283
|
-
if (!text.length) return false;
|
|
284
|
-
let m, ml, me, len, shift, next, re, tld_pos, at_pos;
|
|
285
|
-
if (this.re.schema_test.test(text)) {
|
|
286
|
-
re = this.re.schema_search;
|
|
287
|
-
re.lastIndex = 0;
|
|
288
|
-
while ((m = re.exec(text)) !== null) {
|
|
289
|
-
len = this.testSchemaAt(text, m[2], re.lastIndex);
|
|
290
|
-
if (len) {
|
|
291
|
-
this.__schema__ = m[2];
|
|
292
|
-
this.__index__ = m.index + m[1].length;
|
|
293
|
-
this.__last_index__ = m.index + m[0].length + len;
|
|
294
|
-
break;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
if (this.__opts__.fuzzyLink && this.__compiled__["http:"]) {
|
|
299
|
-
tld_pos = text.search(this.re.host_fuzzy_test);
|
|
300
|
-
if (tld_pos >= 0) {
|
|
301
|
-
if (this.__index__ < 0 || tld_pos < this.__index__) {
|
|
302
|
-
if ((ml = text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null) {
|
|
303
|
-
shift = ml.index + ml[1].length;
|
|
304
|
-
if (this.__index__ < 0 || shift < this.__index__) {
|
|
305
|
-
this.__schema__ = "";
|
|
306
|
-
this.__index__ = shift;
|
|
307
|
-
this.__last_index__ = ml.index + ml[0].length;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
if (this.__opts__.fuzzyEmail && this.__compiled__["mailto:"]) {
|
|
314
|
-
at_pos = text.indexOf("@");
|
|
315
|
-
if (at_pos >= 0) {
|
|
316
|
-
if ((me = text.match(this.re.email_fuzzy)) !== null) {
|
|
317
|
-
shift = me.index + me[1].length;
|
|
318
|
-
next = me.index + me[0].length;
|
|
319
|
-
if (this.__index__ < 0 || shift < this.__index__ || shift === this.__index__ && next > this.__last_index__) {
|
|
320
|
-
this.__schema__ = "mailto:";
|
|
321
|
-
this.__index__ = shift;
|
|
322
|
-
this.__last_index__ = next;
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
return this.__index__ >= 0;
|
|
328
|
-
};
|
|
329
|
-
/**
|
|
330
|
-
* LinkifyIt#pretest(text) -> Boolean
|
|
331
|
-
*
|
|
332
|
-
* Very quick check, that can give false positives. Returns true if link MAY BE
|
|
333
|
-
* can exists. Can be used for speed optimization, when you need to check that
|
|
334
|
-
* link NOT exists.
|
|
335
|
-
**/
|
|
336
|
-
LinkifyIt.prototype.pretest = function pretest(text) {
|
|
337
|
-
return this.re.pretest.test(text);
|
|
338
|
-
};
|
|
339
|
-
/**
|
|
340
|
-
* LinkifyIt#testSchemaAt(text, name, position) -> Number
|
|
341
|
-
* - text (String): text to scan
|
|
342
|
-
* - name (String): rule (schema) name
|
|
343
|
-
* - position (Number): text offset to check from
|
|
344
|
-
*
|
|
345
|
-
* Similar to [[LinkifyIt#test]] but checks only specific protocol tail exactly
|
|
346
|
-
* at given position. Returns length of found pattern (0 on fail).
|
|
347
|
-
**/
|
|
348
|
-
LinkifyIt.prototype.testSchemaAt = function testSchemaAt(text, schema, pos) {
|
|
349
|
-
if (!this.__compiled__[schema.toLowerCase()]) return 0;
|
|
350
|
-
return this.__compiled__[schema.toLowerCase()].validate(text, pos, this);
|
|
351
|
-
};
|
|
352
|
-
/**
|
|
353
|
-
* LinkifyIt#match(text) -> Array|null
|
|
354
|
-
*
|
|
355
|
-
* Returns array of found link descriptions or `null` on fail. We strongly
|
|
356
|
-
* recommend to use [[LinkifyIt#test]] first, for best speed.
|
|
357
|
-
*
|
|
358
|
-
* ##### Result match description
|
|
359
|
-
*
|
|
360
|
-
* - __schema__ - link schema, can be empty for fuzzy links, or `//` for
|
|
361
|
-
* protocol-neutral links.
|
|
362
|
-
* - __index__ - offset of matched text
|
|
363
|
-
* - __lastIndex__ - index of next char after mathch end
|
|
364
|
-
* - __raw__ - matched text
|
|
365
|
-
* - __text__ - normalized text
|
|
366
|
-
* - __url__ - link, generated from matched text
|
|
367
|
-
**/
|
|
368
|
-
LinkifyIt.prototype.match = function match(text) {
|
|
369
|
-
const result = [];
|
|
370
|
-
let shift = 0;
|
|
371
|
-
if (this.__index__ >= 0 && this.__text_cache__ === text) {
|
|
372
|
-
result.push(createMatch(this, shift));
|
|
373
|
-
shift = this.__last_index__;
|
|
374
|
-
}
|
|
375
|
-
let tail = shift ? text.slice(shift) : text;
|
|
376
|
-
while (this.test(tail)) {
|
|
377
|
-
result.push(createMatch(this, shift));
|
|
378
|
-
tail = tail.slice(this.__last_index__);
|
|
379
|
-
shift += this.__last_index__;
|
|
380
|
-
}
|
|
381
|
-
if (result.length) return result;
|
|
382
|
-
return null;
|
|
383
|
-
};
|
|
384
|
-
/**
|
|
385
|
-
* LinkifyIt#matchAtStart(text) -> Match|null
|
|
386
|
-
*
|
|
387
|
-
* Returns fully-formed (not fuzzy) link if it starts at the beginning
|
|
388
|
-
* of the string, and null otherwise.
|
|
389
|
-
**/
|
|
390
|
-
LinkifyIt.prototype.matchAtStart = function matchAtStart(text) {
|
|
391
|
-
this.__text_cache__ = text;
|
|
392
|
-
this.__index__ = -1;
|
|
393
|
-
if (!text.length) return null;
|
|
394
|
-
const m = this.re.schema_at_start.exec(text);
|
|
395
|
-
if (!m) return null;
|
|
396
|
-
const len = this.testSchemaAt(text, m[2], m[0].length);
|
|
397
|
-
if (!len) return null;
|
|
398
|
-
this.__schema__ = m[2];
|
|
399
|
-
this.__index__ = m.index + m[1].length;
|
|
400
|
-
this.__last_index__ = m.index + m[0].length + len;
|
|
401
|
-
return createMatch(this, 0);
|
|
402
|
-
};
|
|
403
|
-
/** chainable
|
|
404
|
-
* LinkifyIt#tlds(list [, keepOld]) -> this
|
|
405
|
-
* - list (Array): list of tlds
|
|
406
|
-
* - keepOld (Boolean): merge with current list if `true` (`false` by default)
|
|
407
|
-
*
|
|
408
|
-
* Load (or merge) new tlds list. Those are user for fuzzy links (without prefix)
|
|
409
|
-
* to avoid false positives. By default this algorythm used:
|
|
410
|
-
*
|
|
411
|
-
* - hostname with any 2-letter root zones are ok.
|
|
412
|
-
* - biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф
|
|
413
|
-
* are ok.
|
|
414
|
-
* - encoded (`xn--...`) root zones are ok.
|
|
415
|
-
*
|
|
416
|
-
* If list is replaced, then exact match for 2-chars root zones will be checked.
|
|
417
|
-
**/
|
|
418
|
-
LinkifyIt.prototype.tlds = function tlds(list, keepOld) {
|
|
419
|
-
list = Array.isArray(list) ? list : [list];
|
|
420
|
-
if (!keepOld) {
|
|
421
|
-
this.__tlds__ = list.slice();
|
|
422
|
-
this.__tlds_replaced__ = true;
|
|
423
|
-
compile(this);
|
|
424
|
-
return this;
|
|
425
|
-
}
|
|
426
|
-
this.__tlds__ = this.__tlds__.concat(list).sort().filter(function(el, idx, arr) {
|
|
427
|
-
return el !== arr[idx - 1];
|
|
428
|
-
}).reverse();
|
|
429
|
-
compile(this);
|
|
430
|
-
return this;
|
|
431
|
-
};
|
|
432
|
-
/**
|
|
433
|
-
* LinkifyIt#normalize(match)
|
|
434
|
-
*
|
|
435
|
-
* Default normalizer (if schema does not define it's own).
|
|
436
|
-
**/
|
|
437
|
-
LinkifyIt.prototype.normalize = function normalize(match) {
|
|
438
|
-
if (!match.schema) match.url = "http://" + match.url;
|
|
439
|
-
if (match.schema === "mailto:" && !/^mailto:/i.test(match.url)) match.url = "mailto:" + match.url;
|
|
440
|
-
};
|
|
441
|
-
/**
|
|
442
|
-
* LinkifyIt#onCompile()
|
|
443
|
-
*
|
|
444
|
-
* Override to modify basic RegExp-s.
|
|
445
|
-
**/
|
|
446
|
-
LinkifyIt.prototype.onCompile = function onCompile() {};
|
|
447
|
-
|
|
448
|
-
//#endregion
|
|
449
|
-
exports.default = LinkifyIt;
|