cngpac 0.0.1
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/LICENSE +201 -0
- package/dist/bin.mjs +24025 -0
- package/dist/src/_virtual/_rolldown/runtime.mjs +35 -0
- package/dist/src/changelog.d.mts +71 -0
- package/dist/src/changelog.mjs +92 -0
- package/dist/src/changenote.d.mts +41 -0
- package/dist/src/changenote.mjs +184 -0
- package/dist/src/cli/commands/change.d.mts +4 -0
- package/dist/src/cli/commands/change.mjs +75 -0
- package/dist/src/formatter.d.mts +31 -0
- package/dist/src/formatter.mjs +50 -0
- package/dist/src/git.d.mts +20 -0
- package/dist/src/git.mjs +121 -0
- package/dist/src/index.d.mts +19 -0
- package/dist/src/index.mjs +20 -0
- package/dist/src/node_modules/.pnpm/@clack_core@1.2.0/node_modules/@clack/core/dist/index.mjs +530 -0
- package/dist/src/node_modules/.pnpm/@clack_prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs +110 -0
- package/dist/src/node_modules/.pnpm/@kwsites_file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/index.mjs +13 -0
- package/dist/src/node_modules/.pnpm/@kwsites_file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/src/index.mjs +59 -0
- package/dist/src/node_modules/.pnpm/@kwsites_promise-deferred@1.1.1/node_modules/@kwsites/promise-deferred/dist/index.mjs +55 -0
- package/dist/src/node_modules/.pnpm/@octokit_auth-token@6.0.0/node_modules/@octokit/auth-token/dist-bundle/index.mjs +32 -0
- package/dist/src/node_modules/.pnpm/@octokit_core@7.0.6/node_modules/@octokit/core/dist-src/index.mjs +94 -0
- package/dist/src/node_modules/.pnpm/@octokit_core@7.0.6/node_modules/@octokit/core/dist-src/version.mjs +4 -0
- package/dist/src/node_modules/.pnpm/@octokit_endpoint@11.0.3/node_modules/@octokit/endpoint/dist-bundle/index.mjs +223 -0
- package/dist/src/node_modules/.pnpm/@octokit_graphql@9.0.3/node_modules/@octokit/graphql/dist-bundle/index.mjs +90 -0
- package/dist/src/node_modules/.pnpm/@octokit_plugin-paginate-rest@14.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-paginate-rest/dist-bundle/index.mjs +86 -0
- package/dist/src/node_modules/.pnpm/@octokit_plugin-request-log@6.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-request-log/dist-src/index.mjs +22 -0
- package/dist/src/node_modules/.pnpm/@octokit_plugin-request-log@6.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-request-log/dist-src/version.mjs +4 -0
- package/dist/src/node_modules/.pnpm/@octokit_plugin-rest-endpoint-methods@17.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/endpoints-to-methods.mjs +94 -0
- package/dist/src/node_modules/.pnpm/@octokit_plugin-rest-endpoint-methods@17.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.mjs +1295 -0
- package/dist/src/node_modules/.pnpm/@octokit_plugin-rest-endpoint-methods@17.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.mjs +17 -0
- package/dist/src/node_modules/.pnpm/@octokit_plugin-rest-endpoint-methods@17.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.mjs +4 -0
- package/dist/src/node_modules/.pnpm/@octokit_request-error@7.1.0/node_modules/@octokit/request-error/dist-src/index.mjs +30 -0
- package/dist/src/node_modules/.pnpm/@octokit_request@10.0.8/node_modules/@octokit/request/dist-bundle/index.mjs +146 -0
- package/dist/src/node_modules/.pnpm/@octokit_rest@22.0.1/node_modules/@octokit/rest/dist-src/index.mjs +9 -0
- package/dist/src/node_modules/.pnpm/@octokit_rest@22.0.1/node_modules/@octokit/rest/dist-src/version.mjs +4 -0
- package/dist/src/node_modules/.pnpm/@simple-git_args-pathspec@1.0.2/node_modules/@simple-git/args-pathspec/dist/index.mjs +14 -0
- package/dist/src/node_modules/.pnpm/@simple-git_argv-parser@1.0.3/node_modules/@simple-git/argv-parser/dist/index.mjs +369 -0
- package/dist/src/node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.mjs +13 -0
- package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/index.mjs +43 -0
- package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/add.mjs +28 -0
- package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/register.mjs +16 -0
- package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/remove.mjs +11 -0
- package/dist/src/node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.mjs +2135 -0
- package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.mjs +200 -0
- package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.mjs +206 -0
- package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.mjs +15 -0
- package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.mjs +212 -0
- package/dist/src/node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.mjs +19 -0
- package/dist/src/node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.mjs +4 -0
- package/dist/src/node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.mjs +7 -0
- package/dist/src/node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.mjs +76 -0
- package/dist/src/node_modules/.pnpm/fast-content-type-parse@3.0.0/node_modules/fast-content-type-parse/index.mjs +115 -0
- package/dist/src/node_modules/.pnpm/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.mjs +138 -0
- package/dist/src/node_modules/.pnpm/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.mjs +12 -0
- package/dist/src/node_modules/.pnpm/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.mjs +12 -0
- package/dist/src/node_modules/.pnpm/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.mjs +165 -0
- package/dist/src/node_modules/.pnpm/fault@2.0.1/node_modules/fault/index.mjs +38 -0
- package/dist/src/node_modules/.pnpm/format@0.2.2/node_modules/format/format.mjs +87 -0
- package/dist/src/node_modules/.pnpm/glob@13.0.6/node_modules/glob/dist/esm/index.min.mjs +3125 -0
- package/dist/src/node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.mjs +13 -0
- package/dist/src/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs +8 -0
- package/dist/src/node_modules/.pnpm/json-with-bigint@3.5.8/node_modules/json-with-bigint/json-with-bigint.mjs +137 -0
- package/dist/src/node_modules/.pnpm/localstorage-polyfill@1.0.1/node_modules/localstorage-polyfill/localStorage.mjs +39 -0
- package/dist/src/node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.mjs +29 -0
- package/dist/src/node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.mjs +976 -0
- package/dist/src/node_modules/.pnpm/mdast-util-frontmatter@2.0.1/node_modules/mdast-util-frontmatter/lib/index.mjs +162 -0
- package/dist/src/node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.mjs +36 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/configure.mjs +48 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.mjs +27 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.mjs +20 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.mjs +62 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.mjs +61 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.mjs +51 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.mjs +47 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.mjs +20 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.mjs +50 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.mjs +69 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/index.mjs +47 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.mjs +40 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.mjs +50 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.mjs +93 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list-item.mjs +35 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list.mjs +48 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/paragraph.mjs +22 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.mjs +20 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/strong.mjs +51 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/text.mjs +17 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.mjs +19 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.mjs +161 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/join.mjs +18 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/unsafe.mjs +223 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/association.mjs +31 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.mjs +15 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.mjs +19 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet.mjs +15 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.mjs +15 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-fence.mjs +15 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.mjs +15 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-quote.mjs +15 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.mjs +15 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule.mjs +15 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-strong.mjs +15 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.mjs +16 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-flow.mjs +56 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.mjs +75 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.mjs +14 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-info.mjs +74 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.mjs +15 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.mjs +24 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.mjs +17 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/indent-lines.mjs +32 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.mjs +27 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/safe.mjs +116 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/track.mjs +59 -0
- package/dist/src/node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.mjs +83 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.mjs +224 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.mjs +213 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.mjs +60 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.mjs +130 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.mjs +62 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.mjs +141 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.mjs +418 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.mjs +147 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.mjs +187 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.mjs +137 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.mjs +223 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.mjs +59 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.mjs +189 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.mjs +777 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.mjs +617 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.mjs +479 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.mjs +95 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.mjs +50 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.mjs +32 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.mjs +177 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.mjs +155 -0
- package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.mjs +98 -0
- package/dist/src/node_modules/.pnpm/micromark-extension-frontmatter@2.0.0/node_modules/micromark-extension-frontmatter/lib/syntax.mjs +352 -0
- package/dist/src/node_modules/.pnpm/micromark-extension-frontmatter@2.0.0/node_modules/micromark-extension-frontmatter/lib/to-matters.mjs +109 -0
- package/dist/src/node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.mjs +186 -0
- package/dist/src/node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.mjs +134 -0
- package/dist/src/node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.mjs +61 -0
- package/dist/src/node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.mjs +148 -0
- package/dist/src/node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.mjs +43 -0
- package/dist/src/node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.mjs +229 -0
- package/dist/src/node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.mjs +71 -0
- package/dist/src/node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.mjs +25 -0
- package/dist/src/node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.mjs +73 -0
- package/dist/src/node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.mjs +22 -0
- package/dist/src/node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.mjs +40 -0
- package/dist/src/node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.mjs +100 -0
- package/dist/src/node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.mjs +25 -0
- package/dist/src/node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.mjs +31 -0
- package/dist/src/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.mjs +158 -0
- package/dist/src/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.mjs +231 -0
- package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.mjs +101 -0
- package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.mjs +473 -0
- package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.mjs +70 -0
- package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.mjs +220 -0
- package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.mjs +51 -0
- package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.mjs +178 -0
- package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.mjs +52 -0
- package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.mjs +17 -0
- package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.mjs +102 -0
- package/dist/src/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.mjs +121 -0
- package/dist/src/node_modules/.pnpm/remark-frontmatter@5.0.0/node_modules/remark-frontmatter/lib/index.mjs +35 -0
- package/dist/src/node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.mjs +37 -0
- package/dist/src/node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.mjs +36 -0
- package/dist/src/node_modules/.pnpm/simple-git@3.35.2/node_modules/simple-git/dist/esm/index.mjs +3563 -0
- package/dist/src/node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.mjs +57 -0
- package/dist/src/node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.mjs +72 -0
- package/dist/src/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.mjs +157 -0
- package/dist/src/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.mjs +13 -0
- package/dist/src/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.mjs +1088 -0
- package/dist/src/node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.mjs +110 -0
- package/dist/src/node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.mjs +65 -0
- package/dist/src/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.node.mjs +10 -0
- package/dist/src/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.mjs +328 -0
- package/dist/src/node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.mjs +287 -0
- package/dist/src/node_modules/.pnpm/universal-user-agent@7.0.3/node_modules/universal-user-agent/index.mjs +8 -0
- package/dist/src/node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.mjs +247 -0
- package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.mjs +525 -0
- package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.mjs +2 -0
- package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minproc.mjs +2 -0
- package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.mjs +3 -0
- package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.shared.mjs +24 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.mjs +62 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.mjs +49 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.mjs +98 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.mjs +66 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/composer.mjs +207 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.mjs +93 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.mjs +179 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.mjs +48 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.mjs +41 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.mjs +166 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs +211 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.mjs +110 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.mjs +32 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs +30 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.mjs +16 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.mjs +16 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/Document.mjs +295 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.mjs +67 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.mjs +43 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.mjs +69 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/directives.mjs +170 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/errors.mjs +56 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/index.mjs +67 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/log.mjs +17 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.mjs +101 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.mjs +127 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.mjs +40 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.mjs +40 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.mjs +33 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.mjs +118 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.mjs +115 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.mjs +59 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.mjs +53 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.mjs +41 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.mjs +274 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.mjs +54 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.mjs +94 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst.mjs +85 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.mjs +523 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.mjs +50 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/parser.mjs +861 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/public-api.mjs +97 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.mjs +36 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.mjs +22 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.mjs +19 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.mjs +22 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.mjs +19 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.mjs +23 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.mjs +46 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.mjs +45 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.mjs +34 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.mjs +68 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/tags.mjs +103 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs +53 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs +31 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.mjs +49 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.mjs +79 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs +45 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs +71 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs +67 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs +56 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.mjs +74 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs +87 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.mjs +119 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.mjs +115 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.mjs +124 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.mjs +23 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.mjs +67 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.mjs +24 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.mjs +104 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.mjs +229 -0
- package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/visit.mjs +194 -0
- package/dist/src/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.mjs +106 -0
- package/dist/src/pkg.d.mts +24 -0
- package/dist/src/pkg.mjs +39 -0
- package/dist/src/prepare.d.mts +14 -0
- package/dist/src/prepare.mjs +41 -0
- package/dist/src/publishers/npm.d.mts +21 -0
- package/dist/src/publishers/npm.mjs +42 -0
- package/dist/src/releasers/github.d.mts +10 -0
- package/dist/src/releasers/github.mjs +20 -0
- package/dist/src/saver.d.mts +42 -0
- package/dist/src/saver.mjs +39 -0
- package/dist/src/types.d.mts +150 -0
- package/dist/src/utils.d.mts +7 -0
- package/dist/src/utils.mjs +47 -0
- package/dist/src/version.d.mts +9 -0
- package/dist/src/version.mjs +18 -0
- package/package.json +156 -0
- package/templates/cngpac.config.ts +33 -0
- package/templates/version.yml +30 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import "../../../../devlop@1.1.0/node_modules/devlop/lib/default.mjs";
|
|
2
|
+
import { toMatters } from "../../../../micromark-extension-frontmatter@2.0.0/node_modules/micromark-extension-frontmatter/lib/to-matters.mjs";
|
|
3
|
+
import escapeStringRegexp from "../../../../escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.mjs";
|
|
4
|
+
//#region node_modules/.pnpm/mdast-util-frontmatter@2.0.1/node_modules/mdast-util-frontmatter/lib/index.js
|
|
5
|
+
/**
|
|
6
|
+
* @typedef {import('mdast').Literal} Literal
|
|
7
|
+
*
|
|
8
|
+
* @typedef {import('mdast-util-from-markdown').CompileContext} CompileContext
|
|
9
|
+
* @typedef {import('mdast-util-from-markdown').Extension} FromMarkdownExtension
|
|
10
|
+
* @typedef {import('mdast-util-from-markdown').Handle} FromMarkdownHandle
|
|
11
|
+
* @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension
|
|
12
|
+
*
|
|
13
|
+
* @typedef {import('micromark-extension-frontmatter').Info} Info
|
|
14
|
+
* @typedef {import('micromark-extension-frontmatter').Matter} Matter
|
|
15
|
+
* @typedef {import('micromark-extension-frontmatter').Options} Options
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Create an extension for `mdast-util-from-markdown`.
|
|
19
|
+
*
|
|
20
|
+
* @param {Options | null | undefined} [options]
|
|
21
|
+
* Configuration (optional).
|
|
22
|
+
* @returns {FromMarkdownExtension}
|
|
23
|
+
* Extension for `mdast-util-from-markdown`.
|
|
24
|
+
*/
|
|
25
|
+
function frontmatterFromMarkdown(options) {
|
|
26
|
+
const matters = toMatters(options);
|
|
27
|
+
/** @type {FromMarkdownExtension['enter']} */
|
|
28
|
+
const enter = {};
|
|
29
|
+
/** @type {FromMarkdownExtension['exit']} */
|
|
30
|
+
const exit = {};
|
|
31
|
+
let index = -1;
|
|
32
|
+
while (++index < matters.length) {
|
|
33
|
+
const matter = matters[index];
|
|
34
|
+
enter[matter.type] = opener(matter);
|
|
35
|
+
exit[matter.type] = close;
|
|
36
|
+
exit[matter.type + "Value"] = value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
enter,
|
|
40
|
+
exit
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @param {Matter} matter
|
|
45
|
+
* @returns {FromMarkdownHandle} enter
|
|
46
|
+
*/
|
|
47
|
+
function opener(matter) {
|
|
48
|
+
return open;
|
|
49
|
+
/**
|
|
50
|
+
* @this {CompileContext}
|
|
51
|
+
* @type {FromMarkdownHandle}
|
|
52
|
+
*/
|
|
53
|
+
function open(token) {
|
|
54
|
+
this.enter({
|
|
55
|
+
type: matter.type,
|
|
56
|
+
value: ""
|
|
57
|
+
}, token);
|
|
58
|
+
this.buffer();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @this {CompileContext}
|
|
63
|
+
* @type {FromMarkdownHandle}
|
|
64
|
+
*/
|
|
65
|
+
function close(token) {
|
|
66
|
+
const data = this.resume();
|
|
67
|
+
const node = this.stack[this.stack.length - 1];
|
|
68
|
+
"value" in node;
|
|
69
|
+
this.exit(token);
|
|
70
|
+
node.value = data.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, "");
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @this {CompileContext}
|
|
74
|
+
* @type {FromMarkdownHandle}
|
|
75
|
+
*/
|
|
76
|
+
function value(token) {
|
|
77
|
+
this.config.enter.data.call(this, token);
|
|
78
|
+
this.config.exit.data.call(this, token);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Create an extension for `mdast-util-to-markdown`.
|
|
82
|
+
*
|
|
83
|
+
* @param {Options | null | undefined} [options]
|
|
84
|
+
* Configuration (optional).
|
|
85
|
+
* @returns {ToMarkdownExtension}
|
|
86
|
+
* Extension for `mdast-util-to-markdown`.
|
|
87
|
+
*/
|
|
88
|
+
function frontmatterToMarkdown(options) {
|
|
89
|
+
/** @type {ToMarkdownExtension['unsafe']} */
|
|
90
|
+
const unsafe = [];
|
|
91
|
+
/** @type {ToMarkdownExtension['handlers']} */
|
|
92
|
+
const handlers = {};
|
|
93
|
+
const matters = toMatters(options);
|
|
94
|
+
let index = -1;
|
|
95
|
+
while (++index < matters.length) {
|
|
96
|
+
const matter = matters[index];
|
|
97
|
+
handlers[matter.type] = handler(matter);
|
|
98
|
+
const open = fence(matter, "open");
|
|
99
|
+
unsafe.push({
|
|
100
|
+
atBreak: true,
|
|
101
|
+
character: open.charAt(0),
|
|
102
|
+
after: escapeStringRegexp(open.charAt(1))
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
return {
|
|
106
|
+
unsafe,
|
|
107
|
+
handlers
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Create a handle that can serialize a frontmatter node as markdown.
|
|
112
|
+
*
|
|
113
|
+
* @param {Matter} matter
|
|
114
|
+
* Structure.
|
|
115
|
+
* @returns {(node: Literal) => string} enter
|
|
116
|
+
* Handler.
|
|
117
|
+
*/
|
|
118
|
+
function handler(matter) {
|
|
119
|
+
const open = fence(matter, "open");
|
|
120
|
+
const close = fence(matter, "close");
|
|
121
|
+
return handle;
|
|
122
|
+
/**
|
|
123
|
+
* Serialize a frontmatter node as markdown.
|
|
124
|
+
*
|
|
125
|
+
* @param {Literal} node
|
|
126
|
+
* Node to serialize.
|
|
127
|
+
* @returns {string}
|
|
128
|
+
* Serialized node.
|
|
129
|
+
*/
|
|
130
|
+
function handle(node) {
|
|
131
|
+
return open + (node.value ? "\n" + node.value : "") + "\n" + close;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Get an `open` or `close` fence.
|
|
136
|
+
*
|
|
137
|
+
* @param {Matter} matter
|
|
138
|
+
* Structure.
|
|
139
|
+
* @param {'close' | 'open'} prop
|
|
140
|
+
* Field to get.
|
|
141
|
+
* @returns {string}
|
|
142
|
+
* Fence.
|
|
143
|
+
*/
|
|
144
|
+
function fence(matter, prop) {
|
|
145
|
+
return matter.marker ? pick(matter.marker, prop).repeat(3) : pick(matter.fence, prop);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Take `open` or `close` fields when schema is an info object, or use the
|
|
149
|
+
* given value when it is a string.
|
|
150
|
+
*
|
|
151
|
+
* @param {Info | string} schema
|
|
152
|
+
* Info object or value.
|
|
153
|
+
* @param {'close' | 'open'} prop
|
|
154
|
+
* Field to get.
|
|
155
|
+
* @returns {string}
|
|
156
|
+
* Thing to use for the opening or closing.
|
|
157
|
+
*/
|
|
158
|
+
function pick(schema, prop) {
|
|
159
|
+
return typeof schema === "string" ? schema : schema[prop];
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
export { frontmatterFromMarkdown, frontmatterToMarkdown };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { convert } from "../../../../unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.mjs";
|
|
2
|
+
//#region node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js
|
|
3
|
+
/**
|
|
4
|
+
* @typedef {import('mdast').Html} Html
|
|
5
|
+
* @typedef {import('mdast').PhrasingContent} PhrasingContent
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Check if the given value is *phrasing content*.
|
|
9
|
+
*
|
|
10
|
+
* > 👉 **Note**: Excludes `html`, which can be both phrasing or flow.
|
|
11
|
+
*
|
|
12
|
+
* @param node
|
|
13
|
+
* Thing to check, typically `Node`.
|
|
14
|
+
* @returns
|
|
15
|
+
* Whether `value` is phrasing content.
|
|
16
|
+
*/
|
|
17
|
+
const phrasing = convert([
|
|
18
|
+
"break",
|
|
19
|
+
"delete",
|
|
20
|
+
"emphasis",
|
|
21
|
+
"footnote",
|
|
22
|
+
"footnoteReference",
|
|
23
|
+
"image",
|
|
24
|
+
"imageReference",
|
|
25
|
+
"inlineCode",
|
|
26
|
+
"inlineMath",
|
|
27
|
+
"link",
|
|
28
|
+
"linkReference",
|
|
29
|
+
"mdxJsxTextElement",
|
|
30
|
+
"mdxTextExpression",
|
|
31
|
+
"strong",
|
|
32
|
+
"text",
|
|
33
|
+
"textDirective"
|
|
34
|
+
]);
|
|
35
|
+
//#endregion
|
|
36
|
+
export { phrasing };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/configure.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Options, State} from './types.js'
|
|
4
|
+
*/
|
|
5
|
+
const own = {}.hasOwnProperty;
|
|
6
|
+
/**
|
|
7
|
+
* @param {State} base
|
|
8
|
+
* @param {Options} extension
|
|
9
|
+
* @returns {State}
|
|
10
|
+
*/
|
|
11
|
+
function configure(base, extension) {
|
|
12
|
+
let index = -1;
|
|
13
|
+
/** @type {keyof Options} */
|
|
14
|
+
let key;
|
|
15
|
+
if (extension.extensions) while (++index < extension.extensions.length) configure(base, extension.extensions[index]);
|
|
16
|
+
for (key in extension) if (own.call(extension, key)) switch (key) {
|
|
17
|
+
case "extensions": break;
|
|
18
|
+
case "unsafe":
|
|
19
|
+
list(base[key], extension[key]);
|
|
20
|
+
break;
|
|
21
|
+
case "join":
|
|
22
|
+
list(base[key], extension[key]);
|
|
23
|
+
break;
|
|
24
|
+
case "handlers":
|
|
25
|
+
map(base[key], extension[key]);
|
|
26
|
+
break;
|
|
27
|
+
default: base.options[key] = extension[key];
|
|
28
|
+
}
|
|
29
|
+
return base;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @template T
|
|
33
|
+
* @param {Array<T>} left
|
|
34
|
+
* @param {Array<T> | null | undefined} right
|
|
35
|
+
*/
|
|
36
|
+
function list(left, right) {
|
|
37
|
+
if (right) left.push(...right);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @template T
|
|
41
|
+
* @param {Record<string, T>} left
|
|
42
|
+
* @param {Record<string, T> | null | undefined} right
|
|
43
|
+
*/
|
|
44
|
+
function map(left, right) {
|
|
45
|
+
if (right) Object.assign(left, right);
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
export { configure };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Blockquote, Parents} from 'mdast'
|
|
4
|
+
* @import {Info, Map, State} from 'mdast-util-to-markdown'
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {Blockquote} node
|
|
8
|
+
* @param {Parents | undefined} _
|
|
9
|
+
* @param {State} state
|
|
10
|
+
* @param {Info} info
|
|
11
|
+
* @returns {string}
|
|
12
|
+
*/
|
|
13
|
+
function blockquote(node, _, state, info) {
|
|
14
|
+
const exit = state.enter("blockquote");
|
|
15
|
+
const tracker = state.createTracker(info);
|
|
16
|
+
tracker.move("> ");
|
|
17
|
+
tracker.shift(2);
|
|
18
|
+
const value = state.indentLines(state.containerFlow(node, tracker.current()), map);
|
|
19
|
+
exit();
|
|
20
|
+
return value;
|
|
21
|
+
}
|
|
22
|
+
/** @type {Map} */
|
|
23
|
+
function map(line, _, blank) {
|
|
24
|
+
return ">" + (blank ? "" : " ") + line;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { blockquote };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { patternInScope } from "../util/pattern-in-scope.mjs";
|
|
2
|
+
//#region node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.js
|
|
3
|
+
/**
|
|
4
|
+
* @import {Break, Parents} from 'mdast'
|
|
5
|
+
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @param {Break} _
|
|
9
|
+
* @param {Parents | undefined} _1
|
|
10
|
+
* @param {State} state
|
|
11
|
+
* @param {Info} info
|
|
12
|
+
* @returns {string}
|
|
13
|
+
*/
|
|
14
|
+
function hardBreak(_, _1, state, info) {
|
|
15
|
+
let index = -1;
|
|
16
|
+
while (++index < state.unsafe.length) if (state.unsafe[index].character === "\n" && patternInScope(state.stack, state.unsafe[index])) return /[ \t]/.test(info.before) ? "" : " ";
|
|
17
|
+
return "\\\n";
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { hardBreak };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { longestStreak } from "../../../../../longest-streak@3.1.0/node_modules/longest-streak/index.mjs";
|
|
2
|
+
import { formatCodeAsIndented } from "../util/format-code-as-indented.mjs";
|
|
3
|
+
import { checkFence } from "../util/check-fence.mjs";
|
|
4
|
+
//#region node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.js
|
|
5
|
+
/**
|
|
6
|
+
* @import {Info, Map, State} from 'mdast-util-to-markdown'
|
|
7
|
+
* @import {Code, Parents} from 'mdast'
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @param {Code} node
|
|
11
|
+
* @param {Parents | undefined} _
|
|
12
|
+
* @param {State} state
|
|
13
|
+
* @param {Info} info
|
|
14
|
+
* @returns {string}
|
|
15
|
+
*/
|
|
16
|
+
function code(node, _, state, info) {
|
|
17
|
+
const marker = checkFence(state);
|
|
18
|
+
const raw = node.value || "";
|
|
19
|
+
const suffix = marker === "`" ? "GraveAccent" : "Tilde";
|
|
20
|
+
if (formatCodeAsIndented(node, state)) {
|
|
21
|
+
const exit = state.enter("codeIndented");
|
|
22
|
+
const value = state.indentLines(raw, map);
|
|
23
|
+
exit();
|
|
24
|
+
return value;
|
|
25
|
+
}
|
|
26
|
+
const tracker = state.createTracker(info);
|
|
27
|
+
const sequence = marker.repeat(Math.max(longestStreak(raw, marker) + 1, 3));
|
|
28
|
+
const exit = state.enter("codeFenced");
|
|
29
|
+
let value = tracker.move(sequence);
|
|
30
|
+
if (node.lang) {
|
|
31
|
+
const subexit = state.enter(`codeFencedLang${suffix}`);
|
|
32
|
+
value += tracker.move(state.safe(node.lang, {
|
|
33
|
+
before: value,
|
|
34
|
+
after: " ",
|
|
35
|
+
encode: ["`"],
|
|
36
|
+
...tracker.current()
|
|
37
|
+
}));
|
|
38
|
+
subexit();
|
|
39
|
+
}
|
|
40
|
+
if (node.lang && node.meta) {
|
|
41
|
+
const subexit = state.enter(`codeFencedMeta${suffix}`);
|
|
42
|
+
value += tracker.move(" ");
|
|
43
|
+
value += tracker.move(state.safe(node.meta, {
|
|
44
|
+
before: value,
|
|
45
|
+
after: "\n",
|
|
46
|
+
encode: ["`"],
|
|
47
|
+
...tracker.current()
|
|
48
|
+
}));
|
|
49
|
+
subexit();
|
|
50
|
+
}
|
|
51
|
+
value += tracker.move("\n");
|
|
52
|
+
if (raw) value += tracker.move(raw + "\n");
|
|
53
|
+
value += tracker.move(sequence);
|
|
54
|
+
exit();
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
/** @type {Map} */
|
|
58
|
+
function map(line, _, blank) {
|
|
59
|
+
return (blank ? "" : " ") + line;
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
export { code };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { checkQuote } from "../util/check-quote.mjs";
|
|
2
|
+
//#region node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.js
|
|
3
|
+
/**
|
|
4
|
+
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
5
|
+
* @import {Definition, Parents} from 'mdast'
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @param {Definition} node
|
|
9
|
+
* @param {Parents | undefined} _
|
|
10
|
+
* @param {State} state
|
|
11
|
+
* @param {Info} info
|
|
12
|
+
* @returns {string}
|
|
13
|
+
*/
|
|
14
|
+
function definition(node, _, state, info) {
|
|
15
|
+
const quote = checkQuote(state);
|
|
16
|
+
const suffix = quote === "\"" ? "Quote" : "Apostrophe";
|
|
17
|
+
const exit = state.enter("definition");
|
|
18
|
+
let subexit = state.enter("label");
|
|
19
|
+
const tracker = state.createTracker(info);
|
|
20
|
+
let value = tracker.move("[");
|
|
21
|
+
value += tracker.move(state.safe(state.associationId(node), {
|
|
22
|
+
before: value,
|
|
23
|
+
after: "]",
|
|
24
|
+
...tracker.current()
|
|
25
|
+
}));
|
|
26
|
+
value += tracker.move("]: ");
|
|
27
|
+
subexit();
|
|
28
|
+
if (!node.url || /[\0- \u007F]/.test(node.url)) {
|
|
29
|
+
subexit = state.enter("destinationLiteral");
|
|
30
|
+
value += tracker.move("<");
|
|
31
|
+
value += tracker.move(state.safe(node.url, {
|
|
32
|
+
before: value,
|
|
33
|
+
after: ">",
|
|
34
|
+
...tracker.current()
|
|
35
|
+
}));
|
|
36
|
+
value += tracker.move(">");
|
|
37
|
+
} else {
|
|
38
|
+
subexit = state.enter("destinationRaw");
|
|
39
|
+
value += tracker.move(state.safe(node.url, {
|
|
40
|
+
before: value,
|
|
41
|
+
after: node.title ? " " : "\n",
|
|
42
|
+
...tracker.current()
|
|
43
|
+
}));
|
|
44
|
+
}
|
|
45
|
+
subexit();
|
|
46
|
+
if (node.title) {
|
|
47
|
+
subexit = state.enter(`title${suffix}`);
|
|
48
|
+
value += tracker.move(" " + quote);
|
|
49
|
+
value += tracker.move(state.safe(node.title, {
|
|
50
|
+
before: value,
|
|
51
|
+
after: quote,
|
|
52
|
+
...tracker.current()
|
|
53
|
+
}));
|
|
54
|
+
value += tracker.move(quote);
|
|
55
|
+
subexit();
|
|
56
|
+
}
|
|
57
|
+
exit();
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
//#endregion
|
|
61
|
+
export { definition };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { checkEmphasis } from "../util/check-emphasis.mjs";
|
|
2
|
+
import { encodeCharacterReference } from "../util/encode-character-reference.mjs";
|
|
3
|
+
import { encodeInfo } from "../util/encode-info.mjs";
|
|
4
|
+
//#region node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
|
|
5
|
+
/**
|
|
6
|
+
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
7
|
+
* @import {Emphasis, Parents} from 'mdast'
|
|
8
|
+
*/
|
|
9
|
+
emphasis.peek = emphasisPeek;
|
|
10
|
+
/**
|
|
11
|
+
* @param {Emphasis} node
|
|
12
|
+
* @param {Parents | undefined} _
|
|
13
|
+
* @param {State} state
|
|
14
|
+
* @param {Info} info
|
|
15
|
+
* @returns {string}
|
|
16
|
+
*/
|
|
17
|
+
function emphasis(node, _, state, info) {
|
|
18
|
+
const marker = checkEmphasis(state);
|
|
19
|
+
const exit = state.enter("emphasis");
|
|
20
|
+
const tracker = state.createTracker(info);
|
|
21
|
+
const before = tracker.move(marker);
|
|
22
|
+
let between = tracker.move(state.containerPhrasing(node, {
|
|
23
|
+
after: marker,
|
|
24
|
+
before,
|
|
25
|
+
...tracker.current()
|
|
26
|
+
}));
|
|
27
|
+
const betweenHead = between.charCodeAt(0);
|
|
28
|
+
const open = encodeInfo(info.before.charCodeAt(info.before.length - 1), betweenHead, marker);
|
|
29
|
+
if (open.inside) between = encodeCharacterReference(betweenHead) + between.slice(1);
|
|
30
|
+
const betweenTail = between.charCodeAt(between.length - 1);
|
|
31
|
+
const close = encodeInfo(info.after.charCodeAt(0), betweenTail, marker);
|
|
32
|
+
if (close.inside) between = between.slice(0, -1) + encodeCharacterReference(betweenTail);
|
|
33
|
+
const after = tracker.move(marker);
|
|
34
|
+
exit();
|
|
35
|
+
state.attentionEncodeSurroundingInfo = {
|
|
36
|
+
after: close.outside,
|
|
37
|
+
before: open.outside
|
|
38
|
+
};
|
|
39
|
+
return before + between + after;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @param {Emphasis} _
|
|
43
|
+
* @param {Parents | undefined} _1
|
|
44
|
+
* @param {State} state
|
|
45
|
+
* @returns {string}
|
|
46
|
+
*/
|
|
47
|
+
function emphasisPeek(_, _1, state) {
|
|
48
|
+
return state.options.emphasis || "*";
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { emphasis };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { encodeCharacterReference } from "../util/encode-character-reference.mjs";
|
|
2
|
+
import { formatHeadingAsSetext } from "../util/format-heading-as-setext.mjs";
|
|
3
|
+
//#region node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.js
|
|
4
|
+
/**
|
|
5
|
+
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
6
|
+
* @import {Heading, Parents} from 'mdast'
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @param {Heading} node
|
|
10
|
+
* @param {Parents | undefined} _
|
|
11
|
+
* @param {State} state
|
|
12
|
+
* @param {Info} info
|
|
13
|
+
* @returns {string}
|
|
14
|
+
*/
|
|
15
|
+
function heading(node, _, state, info) {
|
|
16
|
+
const rank = Math.max(Math.min(6, node.depth || 1), 1);
|
|
17
|
+
const tracker = state.createTracker(info);
|
|
18
|
+
if (formatHeadingAsSetext(node, state)) {
|
|
19
|
+
const exit = state.enter("headingSetext");
|
|
20
|
+
const subexit = state.enter("phrasing");
|
|
21
|
+
const value = state.containerPhrasing(node, {
|
|
22
|
+
...tracker.current(),
|
|
23
|
+
before: "\n",
|
|
24
|
+
after: "\n"
|
|
25
|
+
});
|
|
26
|
+
subexit();
|
|
27
|
+
exit();
|
|
28
|
+
return value + "\n" + (rank === 1 ? "=" : "-").repeat(value.length - (Math.max(value.lastIndexOf("\r"), value.lastIndexOf("\n")) + 1));
|
|
29
|
+
}
|
|
30
|
+
const sequence = "#".repeat(rank);
|
|
31
|
+
const exit = state.enter("headingAtx");
|
|
32
|
+
const subexit = state.enter("phrasing");
|
|
33
|
+
tracker.move(sequence + " ");
|
|
34
|
+
let value = state.containerPhrasing(node, {
|
|
35
|
+
before: "# ",
|
|
36
|
+
after: "\n",
|
|
37
|
+
...tracker.current()
|
|
38
|
+
});
|
|
39
|
+
if (/^[\t ]/.test(value)) value = encodeCharacterReference(value.charCodeAt(0)) + value.slice(1);
|
|
40
|
+
value = value ? sequence + " " + value : sequence;
|
|
41
|
+
if (state.options.closeAtx) value += " " + sequence;
|
|
42
|
+
subexit();
|
|
43
|
+
exit();
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { heading };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Html} from 'mdast'
|
|
4
|
+
*/
|
|
5
|
+
html.peek = htmlPeek;
|
|
6
|
+
/**
|
|
7
|
+
* @param {Html} node
|
|
8
|
+
* @returns {string}
|
|
9
|
+
*/
|
|
10
|
+
function html(node) {
|
|
11
|
+
return node.value || "";
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @returns {string}
|
|
15
|
+
*/
|
|
16
|
+
function htmlPeek() {
|
|
17
|
+
return "<";
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { html };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
|
|
2
|
+
/**
|
|
3
|
+
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
4
|
+
* @import {ImageReference, Parents} from 'mdast'
|
|
5
|
+
*/
|
|
6
|
+
imageReference.peek = imageReferencePeek;
|
|
7
|
+
/**
|
|
8
|
+
* @param {ImageReference} node
|
|
9
|
+
* @param {Parents | undefined} _
|
|
10
|
+
* @param {State} state
|
|
11
|
+
* @param {Info} info
|
|
12
|
+
* @returns {string}
|
|
13
|
+
*/
|
|
14
|
+
function imageReference(node, _, state, info) {
|
|
15
|
+
const type = node.referenceType;
|
|
16
|
+
const exit = state.enter("imageReference");
|
|
17
|
+
let subexit = state.enter("label");
|
|
18
|
+
const tracker = state.createTracker(info);
|
|
19
|
+
let value = tracker.move("![");
|
|
20
|
+
const alt = state.safe(node.alt, {
|
|
21
|
+
before: value,
|
|
22
|
+
after: "]",
|
|
23
|
+
...tracker.current()
|
|
24
|
+
});
|
|
25
|
+
value += tracker.move(alt + "][");
|
|
26
|
+
subexit();
|
|
27
|
+
const stack = state.stack;
|
|
28
|
+
state.stack = [];
|
|
29
|
+
subexit = state.enter("reference");
|
|
30
|
+
const reference = state.safe(state.associationId(node), {
|
|
31
|
+
before: value,
|
|
32
|
+
after: "]",
|
|
33
|
+
...tracker.current()
|
|
34
|
+
});
|
|
35
|
+
subexit();
|
|
36
|
+
state.stack = stack;
|
|
37
|
+
exit();
|
|
38
|
+
if (type === "full" || !alt || alt !== reference) value += tracker.move(reference + "]");
|
|
39
|
+
else if (type === "shortcut") value = value.slice(0, -1);
|
|
40
|
+
else value += tracker.move("]");
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @returns {string}
|
|
45
|
+
*/
|
|
46
|
+
function imageReferencePeek() {
|
|
47
|
+
return "!";
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { imageReference };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { checkQuote } from "../util/check-quote.mjs";
|
|
2
|
+
//#region node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.js
|
|
3
|
+
/**
|
|
4
|
+
* @import {Info, State} from 'mdast-util-to-markdown'
|
|
5
|
+
* @import {Image, Parents} from 'mdast'
|
|
6
|
+
*/
|
|
7
|
+
image.peek = imagePeek;
|
|
8
|
+
/**
|
|
9
|
+
* @param {Image} node
|
|
10
|
+
* @param {Parents | undefined} _
|
|
11
|
+
* @param {State} state
|
|
12
|
+
* @param {Info} info
|
|
13
|
+
* @returns {string}
|
|
14
|
+
*/
|
|
15
|
+
function image(node, _, state, info) {
|
|
16
|
+
const quote = checkQuote(state);
|
|
17
|
+
const suffix = quote === "\"" ? "Quote" : "Apostrophe";
|
|
18
|
+
const exit = state.enter("image");
|
|
19
|
+
let subexit = state.enter("label");
|
|
20
|
+
const tracker = state.createTracker(info);
|
|
21
|
+
let value = tracker.move("![");
|
|
22
|
+
value += tracker.move(state.safe(node.alt, {
|
|
23
|
+
before: value,
|
|
24
|
+
after: "]",
|
|
25
|
+
...tracker.current()
|
|
26
|
+
}));
|
|
27
|
+
value += tracker.move("](");
|
|
28
|
+
subexit();
|
|
29
|
+
if (!node.url && node.title || /[\0- \u007F]/.test(node.url)) {
|
|
30
|
+
subexit = state.enter("destinationLiteral");
|
|
31
|
+
value += tracker.move("<");
|
|
32
|
+
value += tracker.move(state.safe(node.url, {
|
|
33
|
+
before: value,
|
|
34
|
+
after: ">",
|
|
35
|
+
...tracker.current()
|
|
36
|
+
}));
|
|
37
|
+
value += tracker.move(">");
|
|
38
|
+
} else {
|
|
39
|
+
subexit = state.enter("destinationRaw");
|
|
40
|
+
value += tracker.move(state.safe(node.url, {
|
|
41
|
+
before: value,
|
|
42
|
+
after: node.title ? " " : ")",
|
|
43
|
+
...tracker.current()
|
|
44
|
+
}));
|
|
45
|
+
}
|
|
46
|
+
subexit();
|
|
47
|
+
if (node.title) {
|
|
48
|
+
subexit = state.enter(`title${suffix}`);
|
|
49
|
+
value += tracker.move(" " + quote);
|
|
50
|
+
value += tracker.move(state.safe(node.title, {
|
|
51
|
+
before: value,
|
|
52
|
+
after: quote,
|
|
53
|
+
...tracker.current()
|
|
54
|
+
}));
|
|
55
|
+
value += tracker.move(quote);
|
|
56
|
+
subexit();
|
|
57
|
+
}
|
|
58
|
+
value += tracker.move(")");
|
|
59
|
+
exit();
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @returns {string}
|
|
64
|
+
*/
|
|
65
|
+
function imagePeek() {
|
|
66
|
+
return "!";
|
|
67
|
+
}
|
|
68
|
+
//#endregion
|
|
69
|
+
export { image };
|