@shell-shock/preset-cli 0.9.18 → 0.9.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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,74 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs
|
|
3
|
-
const decodeCache = {};
|
|
4
|
-
function getDecodeCache(exclude) {
|
|
5
|
-
let cache = decodeCache[exclude];
|
|
6
|
-
if (cache) return cache;
|
|
7
|
-
cache = decodeCache[exclude] = [];
|
|
8
|
-
for (let i = 0; i < 128; i++) {
|
|
9
|
-
const ch = String.fromCharCode(i);
|
|
10
|
-
cache.push(ch);
|
|
11
|
-
}
|
|
12
|
-
for (let i = 0; i < exclude.length; i++) {
|
|
13
|
-
const ch = exclude.charCodeAt(i);
|
|
14
|
-
cache[ch] = "%" + ("0" + ch.toString(16).toUpperCase()).slice(-2);
|
|
15
|
-
}
|
|
16
|
-
return cache;
|
|
17
|
-
}
|
|
18
|
-
function decode(string, exclude) {
|
|
19
|
-
if (typeof exclude !== "string") exclude = decode.defaultChars;
|
|
20
|
-
const cache = getDecodeCache(exclude);
|
|
21
|
-
return string.replace(/(%[a-f0-9]{2})+/gi, function(seq) {
|
|
22
|
-
let result = "";
|
|
23
|
-
for (let i = 0, l = seq.length; i < l; i += 3) {
|
|
24
|
-
const b1 = parseInt(seq.slice(i + 1, i + 3), 16);
|
|
25
|
-
if (b1 < 128) {
|
|
26
|
-
result += cache[b1];
|
|
27
|
-
continue;
|
|
28
|
-
}
|
|
29
|
-
if ((b1 & 224) === 192 && i + 3 < l) {
|
|
30
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
31
|
-
if ((b2 & 192) === 128) {
|
|
32
|
-
const chr = b1 << 6 & 1984 | b2 & 63;
|
|
33
|
-
if (chr < 128) result += "��";
|
|
34
|
-
else result += String.fromCharCode(chr);
|
|
35
|
-
i += 3;
|
|
36
|
-
continue;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
if ((b1 & 240) === 224 && i + 6 < l) {
|
|
40
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
41
|
-
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
42
|
-
if ((b2 & 192) === 128 && (b3 & 192) === 128) {
|
|
43
|
-
const chr = b1 << 12 & 61440 | b2 << 6 & 4032 | b3 & 63;
|
|
44
|
-
if (chr < 2048 || chr >= 55296 && chr <= 57343) result += "���";
|
|
45
|
-
else result += String.fromCharCode(chr);
|
|
46
|
-
i += 6;
|
|
47
|
-
continue;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
if ((b1 & 248) === 240 && i + 9 < l) {
|
|
51
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
52
|
-
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
53
|
-
const b4 = parseInt(seq.slice(i + 10, i + 12), 16);
|
|
54
|
-
if ((b2 & 192) === 128 && (b3 & 192) === 128 && (b4 & 192) === 128) {
|
|
55
|
-
let chr = b1 << 18 & 1835008 | b2 << 12 & 258048 | b3 << 6 & 4032 | b4 & 63;
|
|
56
|
-
if (chr < 65536 || chr > 1114111) result += "����";
|
|
57
|
-
else {
|
|
58
|
-
chr -= 65536;
|
|
59
|
-
result += String.fromCharCode(55296 + (chr >> 10), 56320 + (chr & 1023));
|
|
60
|
-
}
|
|
61
|
-
i += 9;
|
|
62
|
-
continue;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
result += "�";
|
|
66
|
-
}
|
|
67
|
-
return result;
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
decode.defaultChars = ";/?:@&=+$,#";
|
|
71
|
-
decode.componentChars = "";
|
|
72
|
-
|
|
73
|
-
//#endregion
|
|
74
|
-
exports.default = decode;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs
|
|
2
|
-
const decodeCache = {};
|
|
3
|
-
function getDecodeCache(exclude) {
|
|
4
|
-
let cache = decodeCache[exclude];
|
|
5
|
-
if (cache) return cache;
|
|
6
|
-
cache = decodeCache[exclude] = [];
|
|
7
|
-
for (let i = 0; i < 128; i++) {
|
|
8
|
-
const ch = String.fromCharCode(i);
|
|
9
|
-
cache.push(ch);
|
|
10
|
-
}
|
|
11
|
-
for (let i = 0; i < exclude.length; i++) {
|
|
12
|
-
const ch = exclude.charCodeAt(i);
|
|
13
|
-
cache[ch] = "%" + ("0" + ch.toString(16).toUpperCase()).slice(-2);
|
|
14
|
-
}
|
|
15
|
-
return cache;
|
|
16
|
-
}
|
|
17
|
-
function decode(string, exclude) {
|
|
18
|
-
if (typeof exclude !== "string") exclude = decode.defaultChars;
|
|
19
|
-
const cache = getDecodeCache(exclude);
|
|
20
|
-
return string.replace(/(%[a-f0-9]{2})+/gi, function(seq) {
|
|
21
|
-
let result = "";
|
|
22
|
-
for (let i = 0, l = seq.length; i < l; i += 3) {
|
|
23
|
-
const b1 = parseInt(seq.slice(i + 1, i + 3), 16);
|
|
24
|
-
if (b1 < 128) {
|
|
25
|
-
result += cache[b1];
|
|
26
|
-
continue;
|
|
27
|
-
}
|
|
28
|
-
if ((b1 & 224) === 192 && i + 3 < l) {
|
|
29
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
30
|
-
if ((b2 & 192) === 128) {
|
|
31
|
-
const chr = b1 << 6 & 1984 | b2 & 63;
|
|
32
|
-
if (chr < 128) result += "��";
|
|
33
|
-
else result += String.fromCharCode(chr);
|
|
34
|
-
i += 3;
|
|
35
|
-
continue;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
if ((b1 & 240) === 224 && i + 6 < l) {
|
|
39
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
40
|
-
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
41
|
-
if ((b2 & 192) === 128 && (b3 & 192) === 128) {
|
|
42
|
-
const chr = b1 << 12 & 61440 | b2 << 6 & 4032 | b3 & 63;
|
|
43
|
-
if (chr < 2048 || chr >= 55296 && chr <= 57343) result += "���";
|
|
44
|
-
else result += String.fromCharCode(chr);
|
|
45
|
-
i += 6;
|
|
46
|
-
continue;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
if ((b1 & 248) === 240 && i + 9 < l) {
|
|
50
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
51
|
-
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
52
|
-
const b4 = parseInt(seq.slice(i + 10, i + 12), 16);
|
|
53
|
-
if ((b2 & 192) === 128 && (b3 & 192) === 128 && (b4 & 192) === 128) {
|
|
54
|
-
let chr = b1 << 18 & 1835008 | b2 << 12 & 258048 | b3 << 6 & 4032 | b4 & 63;
|
|
55
|
-
if (chr < 65536 || chr > 1114111) result += "����";
|
|
56
|
-
else {
|
|
57
|
-
chr -= 65536;
|
|
58
|
-
result += String.fromCharCode(55296 + (chr >> 10), 56320 + (chr & 1023));
|
|
59
|
-
}
|
|
60
|
-
i += 9;
|
|
61
|
-
continue;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
result += "�";
|
|
65
|
-
}
|
|
66
|
-
return result;
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
decode.defaultChars = ";/?:@&=+$,#";
|
|
70
|
-
decode.componentChars = "";
|
|
71
|
-
|
|
72
|
-
//#endregion
|
|
73
|
-
export { decode as default };
|
|
74
|
-
//# sourceMappingURL=decode.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decode.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs"],"sourcesContent":["/* eslint-disable no-bitwise */\n\nconst decodeCache = {}\n\nfunction getDecodeCache (exclude) {\n let cache = decodeCache[exclude]\n if (cache) { return cache }\n\n cache = decodeCache[exclude] = []\n\n for (let i = 0; i < 128; i++) {\n const ch = String.fromCharCode(i)\n cache.push(ch)\n }\n\n for (let i = 0; i < exclude.length; i++) {\n const ch = exclude.charCodeAt(i)\n cache[ch] = '%' + ('0' + ch.toString(16).toUpperCase()).slice(-2)\n }\n\n return cache\n}\n\n// Decode percent-encoded string.\n//\nfunction decode (string, exclude) {\n if (typeof exclude !== 'string') {\n exclude = decode.defaultChars\n }\n\n const cache = getDecodeCache(exclude)\n\n return string.replace(/(%[a-f0-9]{2})+/gi, function (seq) {\n let result = ''\n\n for (let i = 0, l = seq.length; i < l; i += 3) {\n const b1 = parseInt(seq.slice(i + 1, i + 3), 16)\n\n if (b1 < 0x80) {\n result += cache[b1]\n continue\n }\n\n if ((b1 & 0xE0) === 0xC0 && (i + 3 < l)) {\n // 110xxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n\n if ((b2 & 0xC0) === 0x80) {\n const chr = ((b1 << 6) & 0x7C0) | (b2 & 0x3F)\n\n if (chr < 0x80) {\n result += '\\ufffd\\ufffd'\n } else {\n result += String.fromCharCode(chr)\n }\n\n i += 3\n continue\n }\n }\n\n if ((b1 & 0xF0) === 0xE0 && (i + 6 < l)) {\n // 1110xxxx 10xxxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n const b3 = parseInt(seq.slice(i + 7, i + 9), 16)\n\n if ((b2 & 0xC0) === 0x80 && (b3 & 0xC0) === 0x80) {\n const chr = ((b1 << 12) & 0xF000) | ((b2 << 6) & 0xFC0) | (b3 & 0x3F)\n\n if (chr < 0x800 || (chr >= 0xD800 && chr <= 0xDFFF)) {\n result += '\\ufffd\\ufffd\\ufffd'\n } else {\n result += String.fromCharCode(chr)\n }\n\n i += 6\n continue\n }\n }\n\n if ((b1 & 0xF8) === 0xF0 && (i + 9 < l)) {\n // 111110xx 10xxxxxx 10xxxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n const b3 = parseInt(seq.slice(i + 7, i + 9), 16)\n const b4 = parseInt(seq.slice(i + 10, i + 12), 16)\n\n if ((b2 & 0xC0) === 0x80 && (b3 & 0xC0) === 0x80 && (b4 & 0xC0) === 0x80) {\n let chr = ((b1 << 18) & 0x1C0000) | ((b2 << 12) & 0x3F000) | ((b3 << 6) & 0xFC0) | (b4 & 0x3F)\n\n if (chr < 0x10000 || chr > 0x10FFFF) {\n result += '\\ufffd\\ufffd\\ufffd\\ufffd'\n } else {\n chr -= 0x10000\n result += String.fromCharCode(0xD800 + (chr >> 10), 0xDC00 + (chr & 0x3FF))\n }\n\n i += 9\n continue\n }\n }\n\n result += '\\ufffd'\n }\n\n return result\n })\n}\n\ndecode.defaultChars = ';/?:@&=+$,#'\ndecode.componentChars = ''\n\nexport default decode\n"],"x_google_ignoreList":[0],"mappings":";AAEA,MAAM,cAAc,EAAE;AAEtB,SAAS,eAAgB,SAAS;CAChC,IAAI,QAAQ,YAAY;AACxB,KAAI,MAAS,QAAO;AAEpB,SAAQ,YAAY,WAAW,EAAE;AAEjC,MAAK,IAAI,IAAI,GAAG,IAAI,KAAK,KAAK;EAC5B,MAAM,KAAK,OAAO,aAAa,EAAE;AACjC,QAAM,KAAK,GAAG;;AAGhB,MAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAK;EACvC,MAAM,KAAK,QAAQ,WAAW,EAAE;AAChC,QAAM,MAAM,OAAO,MAAM,GAAG,SAAS,GAAG,CAAC,aAAa,EAAE,MAAM,GAAG;;AAGnE,QAAO;;AAKT,SAAS,OAAQ,QAAQ,SAAS;AAChC,KAAI,OAAO,YAAY,SACrB,WAAU,OAAO;CAGnB,MAAM,QAAQ,eAAe,QAAQ;AAErC,QAAO,OAAO,QAAQ,qBAAqB,SAAU,KAAK;EACxD,IAAI,SAAS;AAEb,OAAK,IAAI,IAAI,GAAG,IAAI,IAAI,QAAQ,IAAI,GAAG,KAAK,GAAG;GAC7C,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,EAAE,EAAE,GAAG;AAEhD,OAAI,KAAK,KAAM;AACb,cAAU,MAAM;AAChB;;AAGF,QAAK,KAAK,SAAU,OAAS,IAAI,IAAI,GAAI;IAEvC,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,EAAE,EAAE,GAAG;AAEhD,SAAK,KAAK,SAAU,KAAM;KACxB,MAAM,MAAQ,MAAM,IAAK,OAAU,KAAK;AAExC,SAAI,MAAM,IACR,WAAU;SAEV,WAAU,OAAO,aAAa,IAAI;AAGpC,UAAK;AACL;;;AAIJ,QAAK,KAAK,SAAU,OAAS,IAAI,IAAI,GAAI;IAEvC,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,EAAE,EAAE,GAAG;IAChD,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,EAAE,EAAE,GAAG;AAEhD,SAAK,KAAK,SAAU,QAAS,KAAK,SAAU,KAAM;KAChD,MAAM,MAAQ,MAAM,KAAM,QAAY,MAAM,IAAK,OAAU,KAAK;AAEhE,SAAI,MAAM,QAAU,OAAO,SAAU,OAAO,MAC1C,WAAU;SAEV,WAAU,OAAO,aAAa,IAAI;AAGpC,UAAK;AACL;;;AAIJ,QAAK,KAAK,SAAU,OAAS,IAAI,IAAI,GAAI;IAEvC,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,EAAE,EAAE,GAAG;IAChD,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,GAAG,IAAI,EAAE,EAAE,GAAG;IAChD,MAAM,KAAK,SAAS,IAAI,MAAM,IAAI,IAAI,IAAI,GAAG,EAAE,GAAG;AAElD,SAAK,KAAK,SAAU,QAAS,KAAK,SAAU,QAAS,KAAK,SAAU,KAAM;KACxE,IAAI,MAAQ,MAAM,KAAM,UAAc,MAAM,KAAM,SAAa,MAAM,IAAK,OAAU,KAAK;AAEzF,SAAI,MAAM,SAAW,MAAM,QACzB,WAAU;UACL;AACL,aAAO;AACP,gBAAU,OAAO,aAAa,SAAU,OAAO,KAAK,SAAU,MAAM,MAAO;;AAG7E,UAAK;AACL;;;AAIJ,aAAU;;AAGZ,SAAO;GACP;;AAGJ,OAAO,eAAe;AACtB,OAAO,iBAAiB"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs
|
|
3
|
-
const encodeCache = {};
|
|
4
|
-
function getEncodeCache(exclude) {
|
|
5
|
-
let cache = encodeCache[exclude];
|
|
6
|
-
if (cache) return cache;
|
|
7
|
-
cache = encodeCache[exclude] = [];
|
|
8
|
-
for (let i = 0; i < 128; i++) {
|
|
9
|
-
const ch = String.fromCharCode(i);
|
|
10
|
-
if (/^[0-9a-z]$/i.test(ch)) cache.push(ch);
|
|
11
|
-
else cache.push("%" + ("0" + i.toString(16).toUpperCase()).slice(-2));
|
|
12
|
-
}
|
|
13
|
-
for (let i = 0; i < exclude.length; i++) cache[exclude.charCodeAt(i)] = exclude[i];
|
|
14
|
-
return cache;
|
|
15
|
-
}
|
|
16
|
-
function encode(string, exclude, keepEscaped) {
|
|
17
|
-
if (typeof exclude !== "string") {
|
|
18
|
-
keepEscaped = exclude;
|
|
19
|
-
exclude = encode.defaultChars;
|
|
20
|
-
}
|
|
21
|
-
if (typeof keepEscaped === "undefined") keepEscaped = true;
|
|
22
|
-
const cache = getEncodeCache(exclude);
|
|
23
|
-
let result = "";
|
|
24
|
-
for (let i = 0, l = string.length; i < l; i++) {
|
|
25
|
-
const code = string.charCodeAt(i);
|
|
26
|
-
if (keepEscaped && code === 37 && i + 2 < l) {
|
|
27
|
-
if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {
|
|
28
|
-
result += string.slice(i, i + 3);
|
|
29
|
-
i += 2;
|
|
30
|
-
continue;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
if (code < 128) {
|
|
34
|
-
result += cache[code];
|
|
35
|
-
continue;
|
|
36
|
-
}
|
|
37
|
-
if (code >= 55296 && code <= 57343) {
|
|
38
|
-
if (code >= 55296 && code <= 56319 && i + 1 < l) {
|
|
39
|
-
const nextCode = string.charCodeAt(i + 1);
|
|
40
|
-
if (nextCode >= 56320 && nextCode <= 57343) {
|
|
41
|
-
result += encodeURIComponent(string[i] + string[i + 1]);
|
|
42
|
-
i++;
|
|
43
|
-
continue;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
result += "%EF%BF%BD";
|
|
47
|
-
continue;
|
|
48
|
-
}
|
|
49
|
-
result += encodeURIComponent(string[i]);
|
|
50
|
-
}
|
|
51
|
-
return result;
|
|
52
|
-
}
|
|
53
|
-
encode.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
54
|
-
encode.componentChars = "-_.!~*'()";
|
|
55
|
-
|
|
56
|
-
//#endregion
|
|
57
|
-
exports.default = encode;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs
|
|
2
|
-
const encodeCache = {};
|
|
3
|
-
function getEncodeCache(exclude) {
|
|
4
|
-
let cache = encodeCache[exclude];
|
|
5
|
-
if (cache) return cache;
|
|
6
|
-
cache = encodeCache[exclude] = [];
|
|
7
|
-
for (let i = 0; i < 128; i++) {
|
|
8
|
-
const ch = String.fromCharCode(i);
|
|
9
|
-
if (/^[0-9a-z]$/i.test(ch)) cache.push(ch);
|
|
10
|
-
else cache.push("%" + ("0" + i.toString(16).toUpperCase()).slice(-2));
|
|
11
|
-
}
|
|
12
|
-
for (let i = 0; i < exclude.length; i++) cache[exclude.charCodeAt(i)] = exclude[i];
|
|
13
|
-
return cache;
|
|
14
|
-
}
|
|
15
|
-
function encode(string, exclude, keepEscaped) {
|
|
16
|
-
if (typeof exclude !== "string") {
|
|
17
|
-
keepEscaped = exclude;
|
|
18
|
-
exclude = encode.defaultChars;
|
|
19
|
-
}
|
|
20
|
-
if (typeof keepEscaped === "undefined") keepEscaped = true;
|
|
21
|
-
const cache = getEncodeCache(exclude);
|
|
22
|
-
let result = "";
|
|
23
|
-
for (let i = 0, l = string.length; i < l; i++) {
|
|
24
|
-
const code = string.charCodeAt(i);
|
|
25
|
-
if (keepEscaped && code === 37 && i + 2 < l) {
|
|
26
|
-
if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {
|
|
27
|
-
result += string.slice(i, i + 3);
|
|
28
|
-
i += 2;
|
|
29
|
-
continue;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
if (code < 128) {
|
|
33
|
-
result += cache[code];
|
|
34
|
-
continue;
|
|
35
|
-
}
|
|
36
|
-
if (code >= 55296 && code <= 57343) {
|
|
37
|
-
if (code >= 55296 && code <= 56319 && i + 1 < l) {
|
|
38
|
-
const nextCode = string.charCodeAt(i + 1);
|
|
39
|
-
if (nextCode >= 56320 && nextCode <= 57343) {
|
|
40
|
-
result += encodeURIComponent(string[i] + string[i + 1]);
|
|
41
|
-
i++;
|
|
42
|
-
continue;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
result += "%EF%BF%BD";
|
|
46
|
-
continue;
|
|
47
|
-
}
|
|
48
|
-
result += encodeURIComponent(string[i]);
|
|
49
|
-
}
|
|
50
|
-
return result;
|
|
51
|
-
}
|
|
52
|
-
encode.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
53
|
-
encode.componentChars = "-_.!~*'()";
|
|
54
|
-
|
|
55
|
-
//#endregion
|
|
56
|
-
export { encode as default };
|
|
57
|
-
//# sourceMappingURL=encode.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"encode.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs"],"sourcesContent":["const encodeCache = {}\n\n// Create a lookup array where anything but characters in `chars` string\n// and alphanumeric chars is percent-encoded.\n//\nfunction getEncodeCache (exclude) {\n let cache = encodeCache[exclude]\n if (cache) { return cache }\n\n cache = encodeCache[exclude] = []\n\n for (let i = 0; i < 128; i++) {\n const ch = String.fromCharCode(i)\n\n if (/^[0-9a-z]$/i.test(ch)) {\n // always allow unencoded alphanumeric characters\n cache.push(ch)\n } else {\n cache.push('%' + ('0' + i.toString(16).toUpperCase()).slice(-2))\n }\n }\n\n for (let i = 0; i < exclude.length; i++) {\n cache[exclude.charCodeAt(i)] = exclude[i]\n }\n\n return cache\n}\n\n// Encode unsafe characters with percent-encoding, skipping already\n// encoded sequences.\n//\n// - string - string to encode\n// - exclude - list of characters to ignore (in addition to a-zA-Z0-9)\n// - keepEscaped - don't encode '%' in a correct escape sequence (default: true)\n//\nfunction encode (string, exclude, keepEscaped) {\n if (typeof exclude !== 'string') {\n // encode(string, keepEscaped)\n keepEscaped = exclude\n exclude = encode.defaultChars\n }\n\n if (typeof keepEscaped === 'undefined') {\n keepEscaped = true\n }\n\n const cache = getEncodeCache(exclude)\n let result = ''\n\n for (let i = 0, l = string.length; i < l; i++) {\n const code = string.charCodeAt(i)\n\n if (keepEscaped && code === 0x25 /* % */ && i + 2 < l) {\n if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {\n result += string.slice(i, i + 3)\n i += 2\n continue\n }\n }\n\n if (code < 128) {\n result += cache[code]\n continue\n }\n\n if (code >= 0xD800 && code <= 0xDFFF) {\n if (code >= 0xD800 && code <= 0xDBFF && i + 1 < l) {\n const nextCode = string.charCodeAt(i + 1)\n if (nextCode >= 0xDC00 && nextCode <= 0xDFFF) {\n result += encodeURIComponent(string[i] + string[i + 1])\n i++\n continue\n }\n }\n result += '%EF%BF%BD'\n continue\n }\n\n result += encodeURIComponent(string[i])\n }\n\n return result\n}\n\nencode.defaultChars = \";/?:@&=+$,-_.!~*'()#\"\nencode.componentChars = \"-_.!~*'()\"\n\nexport default encode\n"],"x_google_ignoreList":[0],"mappings":";AAAA,MAAM,cAAc,EAAE;AAKtB,SAAS,eAAgB,SAAS;CAChC,IAAI,QAAQ,YAAY;AACxB,KAAI,MAAS,QAAO;AAEpB,SAAQ,YAAY,WAAW,EAAE;AAEjC,MAAK,IAAI,IAAI,GAAG,IAAI,KAAK,KAAK;EAC5B,MAAM,KAAK,OAAO,aAAa,EAAE;AAEjC,MAAI,cAAc,KAAK,GAAG,CAExB,OAAM,KAAK,GAAG;MAEd,OAAM,KAAK,OAAO,MAAM,EAAE,SAAS,GAAG,CAAC,aAAa,EAAE,MAAM,GAAG,CAAC;;AAIpE,MAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,IAClC,OAAM,QAAQ,WAAW,EAAE,IAAI,QAAQ;AAGzC,QAAO;;AAUT,SAAS,OAAQ,QAAQ,SAAS,aAAa;AAC7C,KAAI,OAAO,YAAY,UAAU;AAE/B,gBAAc;AACd,YAAU,OAAO;;AAGnB,KAAI,OAAO,gBAAgB,YACzB,eAAc;CAGhB,MAAM,QAAQ,eAAe,QAAQ;CACrC,IAAI,SAAS;AAEb,MAAK,IAAI,IAAI,GAAG,IAAI,OAAO,QAAQ,IAAI,GAAG,KAAK;EAC7C,MAAM,OAAO,OAAO,WAAW,EAAE;AAEjC,MAAI,eAAe,SAAS,MAAgB,IAAI,IAAI,GAClD;OAAI,iBAAiB,KAAK,OAAO,MAAM,IAAI,GAAG,IAAI,EAAE,CAAC,EAAE;AACrD,cAAU,OAAO,MAAM,GAAG,IAAI,EAAE;AAChC,SAAK;AACL;;;AAIJ,MAAI,OAAO,KAAK;AACd,aAAU,MAAM;AAChB;;AAGF,MAAI,QAAQ,SAAU,QAAQ,OAAQ;AACpC,OAAI,QAAQ,SAAU,QAAQ,SAAU,IAAI,IAAI,GAAG;IACjD,MAAM,WAAW,OAAO,WAAW,IAAI,EAAE;AACzC,QAAI,YAAY,SAAU,YAAY,OAAQ;AAC5C,eAAU,mBAAmB,OAAO,KAAK,OAAO,IAAI,GAAG;AACvD;AACA;;;AAGJ,aAAU;AACV;;AAGF,YAAU,mBAAmB,OAAO,GAAG;;AAGzC,QAAO;;AAGT,OAAO,eAAe;AACtB,OAAO,iBAAiB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs
|
|
3
|
-
function format(url) {
|
|
4
|
-
let result = "";
|
|
5
|
-
result += url.protocol || "";
|
|
6
|
-
result += url.slashes ? "//" : "";
|
|
7
|
-
result += url.auth ? url.auth + "@" : "";
|
|
8
|
-
if (url.hostname && url.hostname.indexOf(":") !== -1) result += "[" + url.hostname + "]";
|
|
9
|
-
else result += url.hostname || "";
|
|
10
|
-
result += url.port ? ":" + url.port : "";
|
|
11
|
-
result += url.pathname || "";
|
|
12
|
-
result += url.search || "";
|
|
13
|
-
result += url.hash || "";
|
|
14
|
-
return result;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
exports.default = format;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs
|
|
2
|
-
function format(url) {
|
|
3
|
-
let result = "";
|
|
4
|
-
result += url.protocol || "";
|
|
5
|
-
result += url.slashes ? "//" : "";
|
|
6
|
-
result += url.auth ? url.auth + "@" : "";
|
|
7
|
-
if (url.hostname && url.hostname.indexOf(":") !== -1) result += "[" + url.hostname + "]";
|
|
8
|
-
else result += url.hostname || "";
|
|
9
|
-
result += url.port ? ":" + url.port : "";
|
|
10
|
-
result += url.pathname || "";
|
|
11
|
-
result += url.search || "";
|
|
12
|
-
result += url.hash || "";
|
|
13
|
-
return result;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
export { format as default };
|
|
18
|
-
//# sourceMappingURL=format.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs"],"sourcesContent":["export default function format (url) {\n let result = ''\n\n result += url.protocol || ''\n result += url.slashes ? '//' : ''\n result += url.auth ? url.auth + '@' : ''\n\n if (url.hostname && url.hostname.indexOf(':') !== -1) {\n // ipv6 address\n result += '[' + url.hostname + ']'\n } else {\n result += url.hostname || ''\n }\n\n result += url.port ? ':' + url.port : ''\n result += url.pathname || ''\n result += url.search || ''\n result += url.hash || ''\n\n return result\n};\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAwB,OAAQ,KAAK;CACnC,IAAI,SAAS;AAEb,WAAU,IAAI,YAAY;AAC1B,WAAU,IAAI,UAAU,OAAO;AAC/B,WAAU,IAAI,OAAO,IAAI,OAAO,MAAM;AAEtC,KAAI,IAAI,YAAY,IAAI,SAAS,QAAQ,IAAI,KAAK,GAEhD,WAAU,MAAM,IAAI,WAAW;KAE/B,WAAU,IAAI,YAAY;AAG5B,WAAU,IAAI,OAAO,MAAM,IAAI,OAAO;AACtC,WAAU,IAAI,YAAY;AAC1B,WAAU,IAAI,UAAU;AACxB,WAAU,IAAI,QAAQ;AAEtB,QAAO"}
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs
|
|
3
|
-
function Url() {
|
|
4
|
-
this.protocol = null;
|
|
5
|
-
this.slashes = null;
|
|
6
|
-
this.auth = null;
|
|
7
|
-
this.port = null;
|
|
8
|
-
this.hostname = null;
|
|
9
|
-
this.hash = null;
|
|
10
|
-
this.search = null;
|
|
11
|
-
this.pathname = null;
|
|
12
|
-
}
|
|
13
|
-
const protocolPattern = /^([a-z0-9.+-]+:)/i;
|
|
14
|
-
const portPattern = /:[0-9]*$/;
|
|
15
|
-
const simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/;
|
|
16
|
-
const unwise = [
|
|
17
|
-
"{",
|
|
18
|
-
"}",
|
|
19
|
-
"|",
|
|
20
|
-
"\\",
|
|
21
|
-
"^",
|
|
22
|
-
"`"
|
|
23
|
-
].concat([
|
|
24
|
-
"<",
|
|
25
|
-
">",
|
|
26
|
-
"\"",
|
|
27
|
-
"`",
|
|
28
|
-
" ",
|
|
29
|
-
"\r",
|
|
30
|
-
"\n",
|
|
31
|
-
" "
|
|
32
|
-
]);
|
|
33
|
-
const autoEscape = ["'"].concat(unwise);
|
|
34
|
-
const nonHostChars = [
|
|
35
|
-
"%",
|
|
36
|
-
"/",
|
|
37
|
-
"?",
|
|
38
|
-
";",
|
|
39
|
-
"#"
|
|
40
|
-
].concat(autoEscape);
|
|
41
|
-
const hostEndingChars = [
|
|
42
|
-
"/",
|
|
43
|
-
"?",
|
|
44
|
-
"#"
|
|
45
|
-
];
|
|
46
|
-
const hostnameMaxLen = 255;
|
|
47
|
-
const hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/;
|
|
48
|
-
const hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/;
|
|
49
|
-
const hostlessProtocol = {
|
|
50
|
-
javascript: true,
|
|
51
|
-
"javascript:": true
|
|
52
|
-
};
|
|
53
|
-
const slashedProtocol = {
|
|
54
|
-
http: true,
|
|
55
|
-
https: true,
|
|
56
|
-
ftp: true,
|
|
57
|
-
gopher: true,
|
|
58
|
-
file: true,
|
|
59
|
-
"http:": true,
|
|
60
|
-
"https:": true,
|
|
61
|
-
"ftp:": true,
|
|
62
|
-
"gopher:": true,
|
|
63
|
-
"file:": true
|
|
64
|
-
};
|
|
65
|
-
function urlParse(url, slashesDenoteHost) {
|
|
66
|
-
if (url && url instanceof Url) return url;
|
|
67
|
-
const u = new Url();
|
|
68
|
-
u.parse(url, slashesDenoteHost);
|
|
69
|
-
return u;
|
|
70
|
-
}
|
|
71
|
-
Url.prototype.parse = function(url, slashesDenoteHost) {
|
|
72
|
-
let lowerProto, hec, slashes;
|
|
73
|
-
let rest = url;
|
|
74
|
-
rest = rest.trim();
|
|
75
|
-
if (!slashesDenoteHost && url.split("#").length === 1) {
|
|
76
|
-
const simplePath = simplePathPattern.exec(rest);
|
|
77
|
-
if (simplePath) {
|
|
78
|
-
this.pathname = simplePath[1];
|
|
79
|
-
if (simplePath[2]) this.search = simplePath[2];
|
|
80
|
-
return this;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
let proto = protocolPattern.exec(rest);
|
|
84
|
-
if (proto) {
|
|
85
|
-
proto = proto[0];
|
|
86
|
-
lowerProto = proto.toLowerCase();
|
|
87
|
-
this.protocol = proto;
|
|
88
|
-
rest = rest.substr(proto.length);
|
|
89
|
-
}
|
|
90
|
-
if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
|
|
91
|
-
slashes = rest.substr(0, 2) === "//";
|
|
92
|
-
if (slashes && !(proto && hostlessProtocol[proto])) {
|
|
93
|
-
rest = rest.substr(2);
|
|
94
|
-
this.slashes = true;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
if (!hostlessProtocol[proto] && (slashes || proto && !slashedProtocol[proto])) {
|
|
98
|
-
let hostEnd = -1;
|
|
99
|
-
for (let i = 0; i < hostEndingChars.length; i++) {
|
|
100
|
-
hec = rest.indexOf(hostEndingChars[i]);
|
|
101
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec;
|
|
102
|
-
}
|
|
103
|
-
let auth, atSign;
|
|
104
|
-
if (hostEnd === -1) atSign = rest.lastIndexOf("@");
|
|
105
|
-
else atSign = rest.lastIndexOf("@", hostEnd);
|
|
106
|
-
if (atSign !== -1) {
|
|
107
|
-
auth = rest.slice(0, atSign);
|
|
108
|
-
rest = rest.slice(atSign + 1);
|
|
109
|
-
this.auth = auth;
|
|
110
|
-
}
|
|
111
|
-
hostEnd = -1;
|
|
112
|
-
for (let i = 0; i < nonHostChars.length; i++) {
|
|
113
|
-
hec = rest.indexOf(nonHostChars[i]);
|
|
114
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec;
|
|
115
|
-
}
|
|
116
|
-
if (hostEnd === -1) hostEnd = rest.length;
|
|
117
|
-
if (rest[hostEnd - 1] === ":") hostEnd--;
|
|
118
|
-
const host = rest.slice(0, hostEnd);
|
|
119
|
-
rest = rest.slice(hostEnd);
|
|
120
|
-
this.parseHost(host);
|
|
121
|
-
this.hostname = this.hostname || "";
|
|
122
|
-
const ipv6Hostname = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
|
|
123
|
-
if (!ipv6Hostname) {
|
|
124
|
-
const hostparts = this.hostname.split(/\./);
|
|
125
|
-
for (let i = 0, l = hostparts.length; i < l; i++) {
|
|
126
|
-
const part = hostparts[i];
|
|
127
|
-
if (!part) continue;
|
|
128
|
-
if (!part.match(hostnamePartPattern)) {
|
|
129
|
-
let newpart = "";
|
|
130
|
-
for (let j = 0, k = part.length; j < k; j++) if (part.charCodeAt(j) > 127) newpart += "x";
|
|
131
|
-
else newpart += part[j];
|
|
132
|
-
if (!newpart.match(hostnamePartPattern)) {
|
|
133
|
-
const validParts = hostparts.slice(0, i);
|
|
134
|
-
const notHost = hostparts.slice(i + 1);
|
|
135
|
-
const bit = part.match(hostnamePartStart);
|
|
136
|
-
if (bit) {
|
|
137
|
-
validParts.push(bit[1]);
|
|
138
|
-
notHost.unshift(bit[2]);
|
|
139
|
-
}
|
|
140
|
-
if (notHost.length) rest = notHost.join(".") + rest;
|
|
141
|
-
this.hostname = validParts.join(".");
|
|
142
|
-
break;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
if (this.hostname.length > hostnameMaxLen) this.hostname = "";
|
|
148
|
-
if (ipv6Hostname) this.hostname = this.hostname.substr(1, this.hostname.length - 2);
|
|
149
|
-
}
|
|
150
|
-
const hash = rest.indexOf("#");
|
|
151
|
-
if (hash !== -1) {
|
|
152
|
-
this.hash = rest.substr(hash);
|
|
153
|
-
rest = rest.slice(0, hash);
|
|
154
|
-
}
|
|
155
|
-
const qm = rest.indexOf("?");
|
|
156
|
-
if (qm !== -1) {
|
|
157
|
-
this.search = rest.substr(qm);
|
|
158
|
-
rest = rest.slice(0, qm);
|
|
159
|
-
}
|
|
160
|
-
if (rest) this.pathname = rest;
|
|
161
|
-
if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) this.pathname = "";
|
|
162
|
-
return this;
|
|
163
|
-
};
|
|
164
|
-
Url.prototype.parseHost = function(host) {
|
|
165
|
-
let port = portPattern.exec(host);
|
|
166
|
-
if (port) {
|
|
167
|
-
port = port[0];
|
|
168
|
-
if (port !== ":") this.port = port.substr(1);
|
|
169
|
-
host = host.substr(0, host.length - port.length);
|
|
170
|
-
}
|
|
171
|
-
if (host) this.hostname = host;
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
//#endregion
|
|
175
|
-
exports.default = urlParse;
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs
|
|
2
|
-
function Url() {
|
|
3
|
-
this.protocol = null;
|
|
4
|
-
this.slashes = null;
|
|
5
|
-
this.auth = null;
|
|
6
|
-
this.port = null;
|
|
7
|
-
this.hostname = null;
|
|
8
|
-
this.hash = null;
|
|
9
|
-
this.search = null;
|
|
10
|
-
this.pathname = null;
|
|
11
|
-
}
|
|
12
|
-
const protocolPattern = /^([a-z0-9.+-]+:)/i;
|
|
13
|
-
const portPattern = /:[0-9]*$/;
|
|
14
|
-
const simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/;
|
|
15
|
-
const unwise = [
|
|
16
|
-
"{",
|
|
17
|
-
"}",
|
|
18
|
-
"|",
|
|
19
|
-
"\\",
|
|
20
|
-
"^",
|
|
21
|
-
"`"
|
|
22
|
-
].concat([
|
|
23
|
-
"<",
|
|
24
|
-
">",
|
|
25
|
-
"\"",
|
|
26
|
-
"`",
|
|
27
|
-
" ",
|
|
28
|
-
"\r",
|
|
29
|
-
"\n",
|
|
30
|
-
" "
|
|
31
|
-
]);
|
|
32
|
-
const autoEscape = ["'"].concat(unwise);
|
|
33
|
-
const nonHostChars = [
|
|
34
|
-
"%",
|
|
35
|
-
"/",
|
|
36
|
-
"?",
|
|
37
|
-
";",
|
|
38
|
-
"#"
|
|
39
|
-
].concat(autoEscape);
|
|
40
|
-
const hostEndingChars = [
|
|
41
|
-
"/",
|
|
42
|
-
"?",
|
|
43
|
-
"#"
|
|
44
|
-
];
|
|
45
|
-
const hostnameMaxLen = 255;
|
|
46
|
-
const hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/;
|
|
47
|
-
const hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/;
|
|
48
|
-
const hostlessProtocol = {
|
|
49
|
-
javascript: true,
|
|
50
|
-
"javascript:": true
|
|
51
|
-
};
|
|
52
|
-
const slashedProtocol = {
|
|
53
|
-
http: true,
|
|
54
|
-
https: true,
|
|
55
|
-
ftp: true,
|
|
56
|
-
gopher: true,
|
|
57
|
-
file: true,
|
|
58
|
-
"http:": true,
|
|
59
|
-
"https:": true,
|
|
60
|
-
"ftp:": true,
|
|
61
|
-
"gopher:": true,
|
|
62
|
-
"file:": true
|
|
63
|
-
};
|
|
64
|
-
function urlParse(url, slashesDenoteHost) {
|
|
65
|
-
if (url && url instanceof Url) return url;
|
|
66
|
-
const u = new Url();
|
|
67
|
-
u.parse(url, slashesDenoteHost);
|
|
68
|
-
return u;
|
|
69
|
-
}
|
|
70
|
-
Url.prototype.parse = function(url, slashesDenoteHost) {
|
|
71
|
-
let lowerProto, hec, slashes;
|
|
72
|
-
let rest = url;
|
|
73
|
-
rest = rest.trim();
|
|
74
|
-
if (!slashesDenoteHost && url.split("#").length === 1) {
|
|
75
|
-
const simplePath = simplePathPattern.exec(rest);
|
|
76
|
-
if (simplePath) {
|
|
77
|
-
this.pathname = simplePath[1];
|
|
78
|
-
if (simplePath[2]) this.search = simplePath[2];
|
|
79
|
-
return this;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
let proto = protocolPattern.exec(rest);
|
|
83
|
-
if (proto) {
|
|
84
|
-
proto = proto[0];
|
|
85
|
-
lowerProto = proto.toLowerCase();
|
|
86
|
-
this.protocol = proto;
|
|
87
|
-
rest = rest.substr(proto.length);
|
|
88
|
-
}
|
|
89
|
-
if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
|
|
90
|
-
slashes = rest.substr(0, 2) === "//";
|
|
91
|
-
if (slashes && !(proto && hostlessProtocol[proto])) {
|
|
92
|
-
rest = rest.substr(2);
|
|
93
|
-
this.slashes = true;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
if (!hostlessProtocol[proto] && (slashes || proto && !slashedProtocol[proto])) {
|
|
97
|
-
let hostEnd = -1;
|
|
98
|
-
for (let i = 0; i < hostEndingChars.length; i++) {
|
|
99
|
-
hec = rest.indexOf(hostEndingChars[i]);
|
|
100
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec;
|
|
101
|
-
}
|
|
102
|
-
let auth, atSign;
|
|
103
|
-
if (hostEnd === -1) atSign = rest.lastIndexOf("@");
|
|
104
|
-
else atSign = rest.lastIndexOf("@", hostEnd);
|
|
105
|
-
if (atSign !== -1) {
|
|
106
|
-
auth = rest.slice(0, atSign);
|
|
107
|
-
rest = rest.slice(atSign + 1);
|
|
108
|
-
this.auth = auth;
|
|
109
|
-
}
|
|
110
|
-
hostEnd = -1;
|
|
111
|
-
for (let i = 0; i < nonHostChars.length; i++) {
|
|
112
|
-
hec = rest.indexOf(nonHostChars[i]);
|
|
113
|
-
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec;
|
|
114
|
-
}
|
|
115
|
-
if (hostEnd === -1) hostEnd = rest.length;
|
|
116
|
-
if (rest[hostEnd - 1] === ":") hostEnd--;
|
|
117
|
-
const host = rest.slice(0, hostEnd);
|
|
118
|
-
rest = rest.slice(hostEnd);
|
|
119
|
-
this.parseHost(host);
|
|
120
|
-
this.hostname = this.hostname || "";
|
|
121
|
-
const ipv6Hostname = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
|
|
122
|
-
if (!ipv6Hostname) {
|
|
123
|
-
const hostparts = this.hostname.split(/\./);
|
|
124
|
-
for (let i = 0, l = hostparts.length; i < l; i++) {
|
|
125
|
-
const part = hostparts[i];
|
|
126
|
-
if (!part) continue;
|
|
127
|
-
if (!part.match(hostnamePartPattern)) {
|
|
128
|
-
let newpart = "";
|
|
129
|
-
for (let j = 0, k = part.length; j < k; j++) if (part.charCodeAt(j) > 127) newpart += "x";
|
|
130
|
-
else newpart += part[j];
|
|
131
|
-
if (!newpart.match(hostnamePartPattern)) {
|
|
132
|
-
const validParts = hostparts.slice(0, i);
|
|
133
|
-
const notHost = hostparts.slice(i + 1);
|
|
134
|
-
const bit = part.match(hostnamePartStart);
|
|
135
|
-
if (bit) {
|
|
136
|
-
validParts.push(bit[1]);
|
|
137
|
-
notHost.unshift(bit[2]);
|
|
138
|
-
}
|
|
139
|
-
if (notHost.length) rest = notHost.join(".") + rest;
|
|
140
|
-
this.hostname = validParts.join(".");
|
|
141
|
-
break;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
if (this.hostname.length > hostnameMaxLen) this.hostname = "";
|
|
147
|
-
if (ipv6Hostname) this.hostname = this.hostname.substr(1, this.hostname.length - 2);
|
|
148
|
-
}
|
|
149
|
-
const hash = rest.indexOf("#");
|
|
150
|
-
if (hash !== -1) {
|
|
151
|
-
this.hash = rest.substr(hash);
|
|
152
|
-
rest = rest.slice(0, hash);
|
|
153
|
-
}
|
|
154
|
-
const qm = rest.indexOf("?");
|
|
155
|
-
if (qm !== -1) {
|
|
156
|
-
this.search = rest.substr(qm);
|
|
157
|
-
rest = rest.slice(0, qm);
|
|
158
|
-
}
|
|
159
|
-
if (rest) this.pathname = rest;
|
|
160
|
-
if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) this.pathname = "";
|
|
161
|
-
return this;
|
|
162
|
-
};
|
|
163
|
-
Url.prototype.parseHost = function(host) {
|
|
164
|
-
let port = portPattern.exec(host);
|
|
165
|
-
if (port) {
|
|
166
|
-
port = port[0];
|
|
167
|
-
if (port !== ":") this.port = port.substr(1);
|
|
168
|
-
host = host.substr(0, host.length - port.length);
|
|
169
|
-
}
|
|
170
|
-
if (host) this.hostname = host;
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
//#endregion
|
|
174
|
-
export { urlParse as default };
|
|
175
|
-
//# sourceMappingURL=parse.mjs.map
|