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,200 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import { require_common } from "./common.mjs";
|
|
3
|
+
//#region node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js
|
|
4
|
+
var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
/**
|
|
6
|
+
* This is the web browser implementation of `debug()`.
|
|
7
|
+
*/
|
|
8
|
+
exports.formatArgs = formatArgs;
|
|
9
|
+
exports.save = save;
|
|
10
|
+
exports.load = load;
|
|
11
|
+
exports.useColors = useColors;
|
|
12
|
+
exports.storage = localstorage();
|
|
13
|
+
exports.destroy = (() => {
|
|
14
|
+
let warned = false;
|
|
15
|
+
return () => {
|
|
16
|
+
if (!warned) {
|
|
17
|
+
warned = true;
|
|
18
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
})();
|
|
22
|
+
/**
|
|
23
|
+
* Colors.
|
|
24
|
+
*/
|
|
25
|
+
exports.colors = [
|
|
26
|
+
"#0000CC",
|
|
27
|
+
"#0000FF",
|
|
28
|
+
"#0033CC",
|
|
29
|
+
"#0033FF",
|
|
30
|
+
"#0066CC",
|
|
31
|
+
"#0066FF",
|
|
32
|
+
"#0099CC",
|
|
33
|
+
"#0099FF",
|
|
34
|
+
"#00CC00",
|
|
35
|
+
"#00CC33",
|
|
36
|
+
"#00CC66",
|
|
37
|
+
"#00CC99",
|
|
38
|
+
"#00CCCC",
|
|
39
|
+
"#00CCFF",
|
|
40
|
+
"#3300CC",
|
|
41
|
+
"#3300FF",
|
|
42
|
+
"#3333CC",
|
|
43
|
+
"#3333FF",
|
|
44
|
+
"#3366CC",
|
|
45
|
+
"#3366FF",
|
|
46
|
+
"#3399CC",
|
|
47
|
+
"#3399FF",
|
|
48
|
+
"#33CC00",
|
|
49
|
+
"#33CC33",
|
|
50
|
+
"#33CC66",
|
|
51
|
+
"#33CC99",
|
|
52
|
+
"#33CCCC",
|
|
53
|
+
"#33CCFF",
|
|
54
|
+
"#6600CC",
|
|
55
|
+
"#6600FF",
|
|
56
|
+
"#6633CC",
|
|
57
|
+
"#6633FF",
|
|
58
|
+
"#66CC00",
|
|
59
|
+
"#66CC33",
|
|
60
|
+
"#9900CC",
|
|
61
|
+
"#9900FF",
|
|
62
|
+
"#9933CC",
|
|
63
|
+
"#9933FF",
|
|
64
|
+
"#99CC00",
|
|
65
|
+
"#99CC33",
|
|
66
|
+
"#CC0000",
|
|
67
|
+
"#CC0033",
|
|
68
|
+
"#CC0066",
|
|
69
|
+
"#CC0099",
|
|
70
|
+
"#CC00CC",
|
|
71
|
+
"#CC00FF",
|
|
72
|
+
"#CC3300",
|
|
73
|
+
"#CC3333",
|
|
74
|
+
"#CC3366",
|
|
75
|
+
"#CC3399",
|
|
76
|
+
"#CC33CC",
|
|
77
|
+
"#CC33FF",
|
|
78
|
+
"#CC6600",
|
|
79
|
+
"#CC6633",
|
|
80
|
+
"#CC9900",
|
|
81
|
+
"#CC9933",
|
|
82
|
+
"#CCCC00",
|
|
83
|
+
"#CCCC33",
|
|
84
|
+
"#FF0000",
|
|
85
|
+
"#FF0033",
|
|
86
|
+
"#FF0066",
|
|
87
|
+
"#FF0099",
|
|
88
|
+
"#FF00CC",
|
|
89
|
+
"#FF00FF",
|
|
90
|
+
"#FF3300",
|
|
91
|
+
"#FF3333",
|
|
92
|
+
"#FF3366",
|
|
93
|
+
"#FF3399",
|
|
94
|
+
"#FF33CC",
|
|
95
|
+
"#FF33FF",
|
|
96
|
+
"#FF6600",
|
|
97
|
+
"#FF6633",
|
|
98
|
+
"#FF9900",
|
|
99
|
+
"#FF9933",
|
|
100
|
+
"#FFCC00",
|
|
101
|
+
"#FFCC33"
|
|
102
|
+
];
|
|
103
|
+
/**
|
|
104
|
+
* Currently only WebKit-based Web Inspectors, Firefox >= v31,
|
|
105
|
+
* and the Firebug extension (any Firefox version) are known
|
|
106
|
+
* to support "%c" CSS customizations.
|
|
107
|
+
*
|
|
108
|
+
* TODO: add a `localStorage` variable to explicitly enable/disable colors
|
|
109
|
+
*/
|
|
110
|
+
function useColors() {
|
|
111
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) return true;
|
|
112
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return false;
|
|
113
|
+
let m;
|
|
114
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Colorize log arguments if enabled.
|
|
118
|
+
*
|
|
119
|
+
* @api public
|
|
120
|
+
*/
|
|
121
|
+
function formatArgs(args) {
|
|
122
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module.exports.humanize(this.diff);
|
|
123
|
+
if (!this.useColors) return;
|
|
124
|
+
const c = "color: " + this.color;
|
|
125
|
+
args.splice(1, 0, c, "color: inherit");
|
|
126
|
+
let index = 0;
|
|
127
|
+
let lastC = 0;
|
|
128
|
+
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
129
|
+
if (match === "%%") return;
|
|
130
|
+
index++;
|
|
131
|
+
if (match === "%c") lastC = index;
|
|
132
|
+
});
|
|
133
|
+
args.splice(lastC, 0, c);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Invokes `console.debug()` when available.
|
|
137
|
+
* No-op when `console.debug` is not a "function".
|
|
138
|
+
* If `console.debug` is not available, falls back
|
|
139
|
+
* to `console.log`.
|
|
140
|
+
*
|
|
141
|
+
* @api public
|
|
142
|
+
*/
|
|
143
|
+
exports.log = console.debug || console.log || (() => {});
|
|
144
|
+
/**
|
|
145
|
+
* Save `namespaces`.
|
|
146
|
+
*
|
|
147
|
+
* @param {String} namespaces
|
|
148
|
+
* @api private
|
|
149
|
+
*/
|
|
150
|
+
function save(namespaces) {
|
|
151
|
+
try {
|
|
152
|
+
if (namespaces) exports.storage.setItem("debug", namespaces);
|
|
153
|
+
else exports.storage.removeItem("debug");
|
|
154
|
+
} catch (error) {}
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Load `namespaces`.
|
|
158
|
+
*
|
|
159
|
+
* @return {String} returns the previously persisted debug modes
|
|
160
|
+
* @api private
|
|
161
|
+
*/
|
|
162
|
+
function load() {
|
|
163
|
+
let r;
|
|
164
|
+
try {
|
|
165
|
+
r = exports.storage.getItem("debug") || exports.storage.getItem("DEBUG");
|
|
166
|
+
} catch (error) {}
|
|
167
|
+
if (!r && typeof process !== "undefined" && "env" in process) r = process.env.DEBUG;
|
|
168
|
+
return r;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Localstorage attempts to return the localstorage.
|
|
172
|
+
*
|
|
173
|
+
* This is necessary because safari throws
|
|
174
|
+
* when a user disables cookies/localstorage
|
|
175
|
+
* and you attempt to access it.
|
|
176
|
+
*
|
|
177
|
+
* @return {LocalStorage}
|
|
178
|
+
* @api private
|
|
179
|
+
*/
|
|
180
|
+
function localstorage() {
|
|
181
|
+
try {
|
|
182
|
+
return localStorage;
|
|
183
|
+
} catch (error) {}
|
|
184
|
+
}
|
|
185
|
+
module.exports = require_common()(exports);
|
|
186
|
+
const { formatters } = module.exports;
|
|
187
|
+
/**
|
|
188
|
+
* Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
|
|
189
|
+
*/
|
|
190
|
+
formatters.j = function(v) {
|
|
191
|
+
try {
|
|
192
|
+
return JSON.stringify(v);
|
|
193
|
+
} catch (error) {
|
|
194
|
+
return "[UnexpectedJSONParseError]: " + error.message;
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
}));
|
|
198
|
+
//#endregion
|
|
199
|
+
export default require_browser();
|
|
200
|
+
export { require_browser };
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import { require_ms } from "../../../../ms@2.1.3/node_modules/ms/index.mjs";
|
|
3
|
+
//#region node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js
|
|
4
|
+
var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
/**
|
|
6
|
+
* This is the common logic for both the Node.js and web browser
|
|
7
|
+
* implementations of `debug()`.
|
|
8
|
+
*/
|
|
9
|
+
function setup(env) {
|
|
10
|
+
createDebug.debug = createDebug;
|
|
11
|
+
createDebug.default = createDebug;
|
|
12
|
+
createDebug.coerce = coerce;
|
|
13
|
+
createDebug.disable = disable;
|
|
14
|
+
createDebug.enable = enable;
|
|
15
|
+
createDebug.enabled = enabled;
|
|
16
|
+
createDebug.humanize = require_ms();
|
|
17
|
+
createDebug.destroy = destroy;
|
|
18
|
+
Object.keys(env).forEach((key) => {
|
|
19
|
+
createDebug[key] = env[key];
|
|
20
|
+
});
|
|
21
|
+
/**
|
|
22
|
+
* The currently active debug mode names, and names to skip.
|
|
23
|
+
*/
|
|
24
|
+
createDebug.names = [];
|
|
25
|
+
createDebug.skips = [];
|
|
26
|
+
/**
|
|
27
|
+
* Map of special "%n" handling functions, for the debug "format" argument.
|
|
28
|
+
*
|
|
29
|
+
* Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
|
|
30
|
+
*/
|
|
31
|
+
createDebug.formatters = {};
|
|
32
|
+
/**
|
|
33
|
+
* Selects a color for a debug namespace
|
|
34
|
+
* @param {String} namespace The namespace string for the debug instance to be colored
|
|
35
|
+
* @return {Number|String} An ANSI color code for the given namespace
|
|
36
|
+
* @api private
|
|
37
|
+
*/
|
|
38
|
+
function selectColor(namespace) {
|
|
39
|
+
let hash = 0;
|
|
40
|
+
for (let i = 0; i < namespace.length; i++) {
|
|
41
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
42
|
+
hash |= 0;
|
|
43
|
+
}
|
|
44
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
45
|
+
}
|
|
46
|
+
createDebug.selectColor = selectColor;
|
|
47
|
+
/**
|
|
48
|
+
* Create a debugger with the given `namespace`.
|
|
49
|
+
*
|
|
50
|
+
* @param {String} namespace
|
|
51
|
+
* @return {Function}
|
|
52
|
+
* @api public
|
|
53
|
+
*/
|
|
54
|
+
function createDebug(namespace) {
|
|
55
|
+
let prevTime;
|
|
56
|
+
let enableOverride = null;
|
|
57
|
+
let namespacesCache;
|
|
58
|
+
let enabledCache;
|
|
59
|
+
function debug(...args) {
|
|
60
|
+
if (!debug.enabled) return;
|
|
61
|
+
const self = debug;
|
|
62
|
+
const curr = Number(/* @__PURE__ */ new Date());
|
|
63
|
+
self.diff = curr - (prevTime || curr);
|
|
64
|
+
self.prev = prevTime;
|
|
65
|
+
self.curr = curr;
|
|
66
|
+
prevTime = curr;
|
|
67
|
+
args[0] = createDebug.coerce(args[0]);
|
|
68
|
+
if (typeof args[0] !== "string") args.unshift("%O");
|
|
69
|
+
let index = 0;
|
|
70
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
71
|
+
if (match === "%%") return "%";
|
|
72
|
+
index++;
|
|
73
|
+
const formatter = createDebug.formatters[format];
|
|
74
|
+
if (typeof formatter === "function") {
|
|
75
|
+
const val = args[index];
|
|
76
|
+
match = formatter.call(self, val);
|
|
77
|
+
args.splice(index, 1);
|
|
78
|
+
index--;
|
|
79
|
+
}
|
|
80
|
+
return match;
|
|
81
|
+
});
|
|
82
|
+
createDebug.formatArgs.call(self, args);
|
|
83
|
+
(self.log || createDebug.log).apply(self, args);
|
|
84
|
+
}
|
|
85
|
+
debug.namespace = namespace;
|
|
86
|
+
debug.useColors = createDebug.useColors();
|
|
87
|
+
debug.color = createDebug.selectColor(namespace);
|
|
88
|
+
debug.extend = extend;
|
|
89
|
+
debug.destroy = createDebug.destroy;
|
|
90
|
+
Object.defineProperty(debug, "enabled", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
configurable: false,
|
|
93
|
+
get: () => {
|
|
94
|
+
if (enableOverride !== null) return enableOverride;
|
|
95
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
96
|
+
namespacesCache = createDebug.namespaces;
|
|
97
|
+
enabledCache = createDebug.enabled(namespace);
|
|
98
|
+
}
|
|
99
|
+
return enabledCache;
|
|
100
|
+
},
|
|
101
|
+
set: (v) => {
|
|
102
|
+
enableOverride = v;
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
if (typeof createDebug.init === "function") createDebug.init(debug);
|
|
106
|
+
return debug;
|
|
107
|
+
}
|
|
108
|
+
function extend(namespace, delimiter) {
|
|
109
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
110
|
+
newDebug.log = this.log;
|
|
111
|
+
return newDebug;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Enables a debug mode by namespaces. This can include modes
|
|
115
|
+
* separated by a colon and wildcards.
|
|
116
|
+
*
|
|
117
|
+
* @param {String} namespaces
|
|
118
|
+
* @api public
|
|
119
|
+
*/
|
|
120
|
+
function enable(namespaces) {
|
|
121
|
+
createDebug.save(namespaces);
|
|
122
|
+
createDebug.namespaces = namespaces;
|
|
123
|
+
createDebug.names = [];
|
|
124
|
+
createDebug.skips = [];
|
|
125
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
126
|
+
for (const ns of split) if (ns[0] === "-") createDebug.skips.push(ns.slice(1));
|
|
127
|
+
else createDebug.names.push(ns);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Checks if the given string matches a namespace template, honoring
|
|
131
|
+
* asterisks as wildcards.
|
|
132
|
+
*
|
|
133
|
+
* @param {String} search
|
|
134
|
+
* @param {String} template
|
|
135
|
+
* @return {Boolean}
|
|
136
|
+
*/
|
|
137
|
+
function matchesTemplate(search, template) {
|
|
138
|
+
let searchIndex = 0;
|
|
139
|
+
let templateIndex = 0;
|
|
140
|
+
let starIndex = -1;
|
|
141
|
+
let matchIndex = 0;
|
|
142
|
+
while (searchIndex < search.length) if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) if (template[templateIndex] === "*") {
|
|
143
|
+
starIndex = templateIndex;
|
|
144
|
+
matchIndex = searchIndex;
|
|
145
|
+
templateIndex++;
|
|
146
|
+
} else {
|
|
147
|
+
searchIndex++;
|
|
148
|
+
templateIndex++;
|
|
149
|
+
}
|
|
150
|
+
else if (starIndex !== -1) {
|
|
151
|
+
templateIndex = starIndex + 1;
|
|
152
|
+
matchIndex++;
|
|
153
|
+
searchIndex = matchIndex;
|
|
154
|
+
} else return false;
|
|
155
|
+
while (templateIndex < template.length && template[templateIndex] === "*") templateIndex++;
|
|
156
|
+
return templateIndex === template.length;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Disable debug output.
|
|
160
|
+
*
|
|
161
|
+
* @return {String} namespaces
|
|
162
|
+
* @api public
|
|
163
|
+
*/
|
|
164
|
+
function disable() {
|
|
165
|
+
const namespaces = [...createDebug.names, ...createDebug.skips.map((namespace) => "-" + namespace)].join(",");
|
|
166
|
+
createDebug.enable("");
|
|
167
|
+
return namespaces;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Returns true if the given mode name is enabled, false otherwise.
|
|
171
|
+
*
|
|
172
|
+
* @param {String} name
|
|
173
|
+
* @return {Boolean}
|
|
174
|
+
* @api public
|
|
175
|
+
*/
|
|
176
|
+
function enabled(name) {
|
|
177
|
+
for (const skip of createDebug.skips) if (matchesTemplate(name, skip)) return false;
|
|
178
|
+
for (const ns of createDebug.names) if (matchesTemplate(name, ns)) return true;
|
|
179
|
+
return false;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Coerce `val`.
|
|
183
|
+
*
|
|
184
|
+
* @param {Mixed} val
|
|
185
|
+
* @return {Mixed}
|
|
186
|
+
* @api private
|
|
187
|
+
*/
|
|
188
|
+
function coerce(val) {
|
|
189
|
+
if (val instanceof Error) return val.stack || val.message;
|
|
190
|
+
return val;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* XXX DO NOT USE. This is a temporary stub function.
|
|
194
|
+
* XXX It WILL be removed in the next major release.
|
|
195
|
+
*/
|
|
196
|
+
function destroy() {
|
|
197
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
198
|
+
}
|
|
199
|
+
createDebug.enable(createDebug.load());
|
|
200
|
+
return createDebug;
|
|
201
|
+
}
|
|
202
|
+
module.exports = setup;
|
|
203
|
+
}));
|
|
204
|
+
//#endregion
|
|
205
|
+
export default require_common();
|
|
206
|
+
export { require_common };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import { require_browser } from "./browser.mjs";
|
|
3
|
+
import { require_node } from "./node.mjs";
|
|
4
|
+
//#region node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js
|
|
5
|
+
var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6
|
+
/**
|
|
7
|
+
* Detect Electron renderer / nwjs process, which is node, but we should
|
|
8
|
+
* treat as a browser.
|
|
9
|
+
*/
|
|
10
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) module.exports = require_browser();
|
|
11
|
+
else module.exports = require_node();
|
|
12
|
+
}));
|
|
13
|
+
//#endregion
|
|
14
|
+
export default require_src();
|
|
15
|
+
export { require_src };
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { __commonJSMin, __require } from "../../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import { require_common } from "./common.mjs";
|
|
3
|
+
import { require_supports_color } from "../../../../supports-color@7.2.0/node_modules/supports-color/index.mjs";
|
|
4
|
+
//#region node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js
|
|
5
|
+
var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6
|
+
/**
|
|
7
|
+
* Module dependencies.
|
|
8
|
+
*/
|
|
9
|
+
const tty = __require("tty");
|
|
10
|
+
const util = __require("util");
|
|
11
|
+
/**
|
|
12
|
+
* This is the Node.js implementation of `debug()`.
|
|
13
|
+
*/
|
|
14
|
+
exports.init = init;
|
|
15
|
+
exports.log = log;
|
|
16
|
+
exports.formatArgs = formatArgs;
|
|
17
|
+
exports.save = save;
|
|
18
|
+
exports.load = load;
|
|
19
|
+
exports.useColors = useColors;
|
|
20
|
+
exports.destroy = util.deprecate(() => {}, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
21
|
+
/**
|
|
22
|
+
* Colors.
|
|
23
|
+
*/
|
|
24
|
+
exports.colors = [
|
|
25
|
+
6,
|
|
26
|
+
2,
|
|
27
|
+
3,
|
|
28
|
+
4,
|
|
29
|
+
5,
|
|
30
|
+
1
|
|
31
|
+
];
|
|
32
|
+
try {
|
|
33
|
+
const supportsColor = require_supports_color();
|
|
34
|
+
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) exports.colors = [
|
|
35
|
+
20,
|
|
36
|
+
21,
|
|
37
|
+
26,
|
|
38
|
+
27,
|
|
39
|
+
32,
|
|
40
|
+
33,
|
|
41
|
+
38,
|
|
42
|
+
39,
|
|
43
|
+
40,
|
|
44
|
+
41,
|
|
45
|
+
42,
|
|
46
|
+
43,
|
|
47
|
+
44,
|
|
48
|
+
45,
|
|
49
|
+
56,
|
|
50
|
+
57,
|
|
51
|
+
62,
|
|
52
|
+
63,
|
|
53
|
+
68,
|
|
54
|
+
69,
|
|
55
|
+
74,
|
|
56
|
+
75,
|
|
57
|
+
76,
|
|
58
|
+
77,
|
|
59
|
+
78,
|
|
60
|
+
79,
|
|
61
|
+
80,
|
|
62
|
+
81,
|
|
63
|
+
92,
|
|
64
|
+
93,
|
|
65
|
+
98,
|
|
66
|
+
99,
|
|
67
|
+
112,
|
|
68
|
+
113,
|
|
69
|
+
128,
|
|
70
|
+
129,
|
|
71
|
+
134,
|
|
72
|
+
135,
|
|
73
|
+
148,
|
|
74
|
+
149,
|
|
75
|
+
160,
|
|
76
|
+
161,
|
|
77
|
+
162,
|
|
78
|
+
163,
|
|
79
|
+
164,
|
|
80
|
+
165,
|
|
81
|
+
166,
|
|
82
|
+
167,
|
|
83
|
+
168,
|
|
84
|
+
169,
|
|
85
|
+
170,
|
|
86
|
+
171,
|
|
87
|
+
172,
|
|
88
|
+
173,
|
|
89
|
+
178,
|
|
90
|
+
179,
|
|
91
|
+
184,
|
|
92
|
+
185,
|
|
93
|
+
196,
|
|
94
|
+
197,
|
|
95
|
+
198,
|
|
96
|
+
199,
|
|
97
|
+
200,
|
|
98
|
+
201,
|
|
99
|
+
202,
|
|
100
|
+
203,
|
|
101
|
+
204,
|
|
102
|
+
205,
|
|
103
|
+
206,
|
|
104
|
+
207,
|
|
105
|
+
208,
|
|
106
|
+
209,
|
|
107
|
+
214,
|
|
108
|
+
215,
|
|
109
|
+
220,
|
|
110
|
+
221
|
|
111
|
+
];
|
|
112
|
+
} catch (error) {}
|
|
113
|
+
/**
|
|
114
|
+
* Build up the default `inspectOpts` object from the environment variables.
|
|
115
|
+
*
|
|
116
|
+
* $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
|
|
117
|
+
*/
|
|
118
|
+
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
119
|
+
return /^debug_/i.test(key);
|
|
120
|
+
}).reduce((obj, key) => {
|
|
121
|
+
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
122
|
+
return k.toUpperCase();
|
|
123
|
+
});
|
|
124
|
+
let val = process.env[key];
|
|
125
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) val = true;
|
|
126
|
+
else if (/^(no|off|false|disabled)$/i.test(val)) val = false;
|
|
127
|
+
else if (val === "null") val = null;
|
|
128
|
+
else val = Number(val);
|
|
129
|
+
obj[prop] = val;
|
|
130
|
+
return obj;
|
|
131
|
+
}, {});
|
|
132
|
+
/**
|
|
133
|
+
* Is stdout a TTY? Colored output is enabled when `true`.
|
|
134
|
+
*/
|
|
135
|
+
function useColors() {
|
|
136
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Adds ANSI color escape codes if enabled.
|
|
140
|
+
*
|
|
141
|
+
* @api public
|
|
142
|
+
*/
|
|
143
|
+
function formatArgs(args) {
|
|
144
|
+
const { namespace: name, useColors } = this;
|
|
145
|
+
if (useColors) {
|
|
146
|
+
const c = this.color;
|
|
147
|
+
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
|
148
|
+
const prefix = ` ${colorCode};1m${name} \u001B[0m`;
|
|
149
|
+
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
150
|
+
args.push(colorCode + "m+" + module.exports.humanize(this.diff) + "\x1B[0m");
|
|
151
|
+
} else args[0] = getDate() + name + " " + args[0];
|
|
152
|
+
}
|
|
153
|
+
function getDate() {
|
|
154
|
+
if (exports.inspectOpts.hideDate) return "";
|
|
155
|
+
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Invokes `util.formatWithOptions()` with the specified arguments and writes to stderr.
|
|
159
|
+
*/
|
|
160
|
+
function log(...args) {
|
|
161
|
+
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Save `namespaces`.
|
|
165
|
+
*
|
|
166
|
+
* @param {String} namespaces
|
|
167
|
+
* @api private
|
|
168
|
+
*/
|
|
169
|
+
function save(namespaces) {
|
|
170
|
+
if (namespaces) process.env.DEBUG = namespaces;
|
|
171
|
+
else delete process.env.DEBUG;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Load `namespaces`.
|
|
175
|
+
*
|
|
176
|
+
* @return {String} returns the previously persisted debug modes
|
|
177
|
+
* @api private
|
|
178
|
+
*/
|
|
179
|
+
function load() {
|
|
180
|
+
return process.env.DEBUG;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Init logic for `debug` instances.
|
|
184
|
+
*
|
|
185
|
+
* Create a new `inspectOpts` object in case `useColors` is set
|
|
186
|
+
* differently for a particular `debug` instance.
|
|
187
|
+
*/
|
|
188
|
+
function init(debug) {
|
|
189
|
+
debug.inspectOpts = {};
|
|
190
|
+
const keys = Object.keys(exports.inspectOpts);
|
|
191
|
+
for (let i = 0; i < keys.length; i++) debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
192
|
+
}
|
|
193
|
+
module.exports = require_common()(exports);
|
|
194
|
+
const { formatters } = module.exports;
|
|
195
|
+
/**
|
|
196
|
+
* Map %o to `util.inspect()`, all on a single line.
|
|
197
|
+
*/
|
|
198
|
+
formatters.o = function(v) {
|
|
199
|
+
this.inspectOpts.colors = this.useColors;
|
|
200
|
+
return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Map %O to `util.inspect()`, allowing multiple lines if needed.
|
|
204
|
+
*/
|
|
205
|
+
formatters.O = function(v) {
|
|
206
|
+
this.inspectOpts.colors = this.useColors;
|
|
207
|
+
return util.inspect(v, this.inspectOpts);
|
|
208
|
+
};
|
|
209
|
+
}));
|
|
210
|
+
//#endregion
|
|
211
|
+
export default require_node();
|
|
212
|
+
export { require_node };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { characterEntities } from "../../../character-entities@2.0.2/node_modules/character-entities/index.mjs";
|
|
2
|
+
//#region node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
3
|
+
const own = {}.hasOwnProperty;
|
|
4
|
+
/**
|
|
5
|
+
* Decode a single character reference (without the `&` or `;`).
|
|
6
|
+
* You probably only need this when you’re building parsers yourself that follow
|
|
7
|
+
* different rules compared to HTML.
|
|
8
|
+
* This is optimized to be tiny in browsers.
|
|
9
|
+
*
|
|
10
|
+
* @param {string} value
|
|
11
|
+
* `notin` (named), `#123` (deci), `#x123` (hexa).
|
|
12
|
+
* @returns {string|false}
|
|
13
|
+
* Decoded reference.
|
|
14
|
+
*/
|
|
15
|
+
function decodeNamedCharacterReference(value) {
|
|
16
|
+
return own.call(characterEntities, value) ? characterEntities[value] : false;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { decodeNamedCharacterReference };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js
|
|
2
|
+
function escapeStringRegexp(string) {
|
|
3
|
+
if (typeof string !== "string") throw new TypeError("Expected a string");
|
|
4
|
+
return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { escapeStringRegexp as default };
|