@shell-shock/preset-cli 0.9.10 → 0.9.12
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 +16 -0
- package/dist/_virtual/_rolldown/runtime.mjs +45 -0
- package/dist/components/upgrade-builtin.cjs +1 -1
- package/dist/components/upgrade-builtin.mjs +1 -1
- package/dist/components/upgrade-builtin.mjs.map +1 -1
- package/dist/index.cjs +1 -2
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.cjs +94 -0
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs +94 -0
- 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 +1 -0
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +167 -0
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +167 -0
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.cjs +36 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.mjs +36 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.cjs +32 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.mjs +33 -0
- package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.cjs +133 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.mjs +134 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.cjs +32 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.mjs +31 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.cjs +169 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.mjs +167 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.cjs +98 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.mjs +95 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.cjs +23 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.mjs +23 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.mjs.map +1 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.cjs +36 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.mjs +36 -0
- package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +373 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +374 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +60 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +59 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +59 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +59 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +338 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +333 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +6 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +6 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +4095 -0
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +4093 -0
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +1 -0
- package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.cjs +10 -0
- package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs +10 -0
- package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +449 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +450 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +47 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +48 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +94 -0
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +94 -0
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +78 -0
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +78 -0
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +123 -0
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +123 -0
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +246 -0
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +244 -0
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +94 -0
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +92 -0
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +3 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +69 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +69 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +9 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +8 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +205 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +189 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +19 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +61 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +43 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +44 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +488 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +489 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +148 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +149 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +51 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +52 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +126 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +127 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +57 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +57 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +23 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +23 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +31 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +31 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +217 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +218 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +274 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +274 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +107 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +108 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +48 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +48 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +36 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +26 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +72 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +73 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +53 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +53 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +158 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +32 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +32 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +140 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +141 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +112 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +113 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +139 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +140 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +12 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +12 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +81 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +82 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +13 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +13 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +112 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +113 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +14 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +55 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +55 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +64 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +64 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +46 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +48 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +49 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +34 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +82 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +83 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +84 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +85 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +42 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +42 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +26 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +74 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +75 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +21 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +17 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +74 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +74 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +57 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +57 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +18 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +18 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +175 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +175 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +1 -0
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +19 -0
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +15 -0
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +104 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +104 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +73 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +68 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +266 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +262 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +575 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +543 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +27 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +21 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +105 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +94 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +33 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +34 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +99 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +93 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +2544 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +2545 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +296 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +297 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +26 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +28 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +2069 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +2069 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +156 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +157 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +166 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +167 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +1 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +299 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +295 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +25 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +21 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +15 -0
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +17 -0
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +1 -0
- package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/changelog-command.cjs +5 -4
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +4 -3
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +1 -1
- package/dist/{plugin-changelog → packages/plugin-changelog}/dist/index.cjs +1 -1
- package/dist/packages/unified/dist/html-Di3_LwV3.cjs +337 -0
- package/dist/packages/unified/dist/html-Di3_LwV3.mjs +338 -0
- package/dist/packages/unified/dist/html-Di3_LwV3.mjs.map +1 -0
- package/dist/packages/unified/dist/markdown/index.cjs +1 -0
- package/dist/packages/unified/dist/markdown/index.mjs +3 -0
- package/dist/packages/unified/dist/markdown-OuY_JOk0.cjs +82 -0
- package/dist/packages/unified/dist/markdown-OuY_JOk0.mjs +83 -0
- package/dist/packages/unified/dist/markdown-OuY_JOk0.mjs.map +1 -0
- package/package.json +39 -12
- package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs +0 -10
- package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs.map +0 -1
- package/dist/unified/dist/markdown-Bs-BRrSC.cjs +0 -10
- /package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/index.cjs +0 -0
|
@@ -0,0 +1,449 @@
|
|
|
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;
|