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.
Files changed (278) hide show
  1. package/LICENSE +201 -0
  2. package/dist/bin.mjs +24025 -0
  3. package/dist/src/_virtual/_rolldown/runtime.mjs +35 -0
  4. package/dist/src/changelog.d.mts +71 -0
  5. package/dist/src/changelog.mjs +92 -0
  6. package/dist/src/changenote.d.mts +41 -0
  7. package/dist/src/changenote.mjs +184 -0
  8. package/dist/src/cli/commands/change.d.mts +4 -0
  9. package/dist/src/cli/commands/change.mjs +75 -0
  10. package/dist/src/formatter.d.mts +31 -0
  11. package/dist/src/formatter.mjs +50 -0
  12. package/dist/src/git.d.mts +20 -0
  13. package/dist/src/git.mjs +121 -0
  14. package/dist/src/index.d.mts +19 -0
  15. package/dist/src/index.mjs +20 -0
  16. package/dist/src/node_modules/.pnpm/@clack_core@1.2.0/node_modules/@clack/core/dist/index.mjs +530 -0
  17. package/dist/src/node_modules/.pnpm/@clack_prompts@1.2.0/node_modules/@clack/prompts/dist/index.mjs +110 -0
  18. package/dist/src/node_modules/.pnpm/@kwsites_file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/index.mjs +13 -0
  19. package/dist/src/node_modules/.pnpm/@kwsites_file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/src/index.mjs +59 -0
  20. package/dist/src/node_modules/.pnpm/@kwsites_promise-deferred@1.1.1/node_modules/@kwsites/promise-deferred/dist/index.mjs +55 -0
  21. package/dist/src/node_modules/.pnpm/@octokit_auth-token@6.0.0/node_modules/@octokit/auth-token/dist-bundle/index.mjs +32 -0
  22. package/dist/src/node_modules/.pnpm/@octokit_core@7.0.6/node_modules/@octokit/core/dist-src/index.mjs +94 -0
  23. package/dist/src/node_modules/.pnpm/@octokit_core@7.0.6/node_modules/@octokit/core/dist-src/version.mjs +4 -0
  24. package/dist/src/node_modules/.pnpm/@octokit_endpoint@11.0.3/node_modules/@octokit/endpoint/dist-bundle/index.mjs +223 -0
  25. package/dist/src/node_modules/.pnpm/@octokit_graphql@9.0.3/node_modules/@octokit/graphql/dist-bundle/index.mjs +90 -0
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. package/dist/src/node_modules/.pnpm/@octokit_request-error@7.1.0/node_modules/@octokit/request-error/dist-src/index.mjs +30 -0
  34. package/dist/src/node_modules/.pnpm/@octokit_request@10.0.8/node_modules/@octokit/request/dist-bundle/index.mjs +146 -0
  35. package/dist/src/node_modules/.pnpm/@octokit_rest@22.0.1/node_modules/@octokit/rest/dist-src/index.mjs +9 -0
  36. package/dist/src/node_modules/.pnpm/@octokit_rest@22.0.1/node_modules/@octokit/rest/dist-src/version.mjs +4 -0
  37. package/dist/src/node_modules/.pnpm/@simple-git_args-pathspec@1.0.2/node_modules/@simple-git/args-pathspec/dist/index.mjs +14 -0
  38. package/dist/src/node_modules/.pnpm/@simple-git_argv-parser@1.0.3/node_modules/@simple-git/argv-parser/dist/index.mjs +369 -0
  39. package/dist/src/node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.mjs +13 -0
  40. package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/index.mjs +43 -0
  41. package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/add.mjs +28 -0
  42. package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/register.mjs +16 -0
  43. package/dist/src/node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/remove.mjs +11 -0
  44. package/dist/src/node_modules/.pnpm/character-entities@2.0.2/node_modules/character-entities/index.mjs +2135 -0
  45. package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.mjs +200 -0
  46. package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.mjs +206 -0
  47. package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.mjs +15 -0
  48. package/dist/src/node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.mjs +212 -0
  49. package/dist/src/node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.mjs +19 -0
  50. package/dist/src/node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.mjs +4 -0
  51. package/dist/src/node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.mjs +7 -0
  52. package/dist/src/node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.mjs +76 -0
  53. package/dist/src/node_modules/.pnpm/fast-content-type-parse@3.0.0/node_modules/fast-content-type-parse/index.mjs +115 -0
  54. package/dist/src/node_modules/.pnpm/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/index.mjs +138 -0
  55. package/dist/src/node_modules/.pnpm/fast-string-truncated-width@1.2.1/node_modules/fast-string-truncated-width/dist/utils.mjs +12 -0
  56. package/dist/src/node_modules/.pnpm/fast-string-width@1.1.0/node_modules/fast-string-width/dist/index.mjs +12 -0
  57. package/dist/src/node_modules/.pnpm/fast-wrap-ansi@0.1.6/node_modules/fast-wrap-ansi/lib/main.mjs +165 -0
  58. package/dist/src/node_modules/.pnpm/fault@2.0.1/node_modules/fault/index.mjs +38 -0
  59. package/dist/src/node_modules/.pnpm/format@0.2.2/node_modules/format/format.mjs +87 -0
  60. package/dist/src/node_modules/.pnpm/glob@13.0.6/node_modules/glob/dist/esm/index.min.mjs +3125 -0
  61. package/dist/src/node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.mjs +13 -0
  62. package/dist/src/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs +8 -0
  63. package/dist/src/node_modules/.pnpm/json-with-bigint@3.5.8/node_modules/json-with-bigint/json-with-bigint.mjs +137 -0
  64. package/dist/src/node_modules/.pnpm/localstorage-polyfill@1.0.1/node_modules/localstorage-polyfill/localStorage.mjs +39 -0
  65. package/dist/src/node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.mjs +29 -0
  66. package/dist/src/node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.mjs +976 -0
  67. package/dist/src/node_modules/.pnpm/mdast-util-frontmatter@2.0.1/node_modules/mdast-util-frontmatter/lib/index.mjs +162 -0
  68. package/dist/src/node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.mjs +36 -0
  69. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/configure.mjs +48 -0
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.mjs +161 -0
  91. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/join.mjs +18 -0
  92. package/dist/src/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/unsafe.mjs +223 -0
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. package/dist/src/node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.mjs +83 -0
  117. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.mjs +224 -0
  118. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.mjs +213 -0
  119. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.mjs +60 -0
  120. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.mjs +130 -0
  121. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.mjs +62 -0
  122. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.mjs +141 -0
  123. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.mjs +418 -0
  124. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.mjs +147 -0
  125. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.mjs +187 -0
  126. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.mjs +137 -0
  127. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.mjs +223 -0
  128. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.mjs +59 -0
  129. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.mjs +189 -0
  130. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.mjs +777 -0
  131. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.mjs +617 -0
  132. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.mjs +479 -0
  133. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.mjs +95 -0
  134. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.mjs +50 -0
  135. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.mjs +32 -0
  136. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.mjs +177 -0
  137. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.mjs +155 -0
  138. package/dist/src/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.mjs +98 -0
  139. package/dist/src/node_modules/.pnpm/micromark-extension-frontmatter@2.0.0/node_modules/micromark-extension-frontmatter/lib/syntax.mjs +352 -0
  140. package/dist/src/node_modules/.pnpm/micromark-extension-frontmatter@2.0.0/node_modules/micromark-extension-frontmatter/lib/to-matters.mjs +109 -0
  141. package/dist/src/node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.mjs +186 -0
  142. package/dist/src/node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.mjs +134 -0
  143. package/dist/src/node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.mjs +61 -0
  144. package/dist/src/node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.mjs +148 -0
  145. package/dist/src/node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.mjs +43 -0
  146. package/dist/src/node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.mjs +229 -0
  147. package/dist/src/node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.mjs +71 -0
  148. package/dist/src/node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.mjs +25 -0
  149. package/dist/src/node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.mjs +73 -0
  150. 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
  151. package/dist/src/node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.mjs +40 -0
  152. 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
  153. package/dist/src/node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.mjs +25 -0
  154. package/dist/src/node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.mjs +31 -0
  155. package/dist/src/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.mjs +158 -0
  156. package/dist/src/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.mjs +231 -0
  157. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.mjs +101 -0
  158. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.mjs +473 -0
  159. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.mjs +70 -0
  160. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.mjs +220 -0
  161. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.mjs +51 -0
  162. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.mjs +178 -0
  163. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.mjs +52 -0
  164. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.mjs +17 -0
  165. package/dist/src/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.mjs +102 -0
  166. package/dist/src/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.mjs +121 -0
  167. package/dist/src/node_modules/.pnpm/remark-frontmatter@5.0.0/node_modules/remark-frontmatter/lib/index.mjs +35 -0
  168. package/dist/src/node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.mjs +37 -0
  169. package/dist/src/node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.mjs +36 -0
  170. package/dist/src/node_modules/.pnpm/simple-git@3.35.2/node_modules/simple-git/dist/esm/index.mjs +3563 -0
  171. package/dist/src/node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.mjs +57 -0
  172. package/dist/src/node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.mjs +72 -0
  173. package/dist/src/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.mjs +157 -0
  174. package/dist/src/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.mjs +13 -0
  175. package/dist/src/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.mjs +1088 -0
  176. package/dist/src/node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.mjs +110 -0
  177. package/dist/src/node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.mjs +65 -0
  178. 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
  179. package/dist/src/node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.mjs +328 -0
  180. package/dist/src/node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.mjs +287 -0
  181. package/dist/src/node_modules/.pnpm/universal-user-agent@7.0.3/node_modules/universal-user-agent/index.mjs +8 -0
  182. package/dist/src/node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.mjs +247 -0
  183. package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.mjs +525 -0
  184. package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.mjs +2 -0
  185. package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minproc.mjs +2 -0
  186. package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.mjs +3 -0
  187. package/dist/src/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.shared.mjs +24 -0
  188. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.mjs +62 -0
  189. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.mjs +49 -0
  190. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.mjs +98 -0
  191. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.mjs +66 -0
  192. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/composer.mjs +207 -0
  193. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.mjs +93 -0
  194. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.mjs +179 -0
  195. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.mjs +48 -0
  196. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.mjs +41 -0
  197. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.mjs +166 -0
  198. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs +211 -0
  199. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.mjs +110 -0
  200. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.mjs +32 -0
  201. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs +30 -0
  202. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.mjs +16 -0
  203. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.mjs +16 -0
  204. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/Document.mjs +295 -0
  205. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.mjs +67 -0
  206. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.mjs +43 -0
  207. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.mjs +69 -0
  208. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/doc/directives.mjs +170 -0
  209. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/errors.mjs +56 -0
  210. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/index.mjs +67 -0
  211. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/log.mjs +17 -0
  212. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.mjs +101 -0
  213. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.mjs +127 -0
  214. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.mjs +40 -0
  215. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.mjs +40 -0
  216. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.mjs +33 -0
  217. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.mjs +118 -0
  218. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.mjs +115 -0
  219. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.mjs +59 -0
  220. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.mjs +53 -0
  221. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.mjs +41 -0
  222. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.mjs +274 -0
  223. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.mjs +54 -0
  224. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.mjs +94 -0
  225. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst.mjs +85 -0
  226. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.mjs +523 -0
  227. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.mjs +50 -0
  228. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/parser.mjs +861 -0
  229. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/public-api.mjs +97 -0
  230. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.mjs +36 -0
  231. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.mjs +22 -0
  232. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.mjs +19 -0
  233. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.mjs +22 -0
  234. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.mjs +19 -0
  235. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.mjs +23 -0
  236. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.mjs +46 -0
  237. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.mjs +45 -0
  238. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.mjs +34 -0
  239. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.mjs +68 -0
  240. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/tags.mjs +103 -0
  241. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs +53 -0
  242. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs +31 -0
  243. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.mjs +49 -0
  244. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.mjs +79 -0
  245. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs +45 -0
  246. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs +71 -0
  247. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs +67 -0
  248. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs +56 -0
  249. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.mjs +74 -0
  250. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs +87 -0
  251. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.mjs +119 -0
  252. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.mjs +115 -0
  253. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.mjs +124 -0
  254. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.mjs +23 -0
  255. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.mjs +67 -0
  256. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.mjs +24 -0
  257. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.mjs +104 -0
  258. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.mjs +229 -0
  259. package/dist/src/node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/visit.mjs +194 -0
  260. package/dist/src/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.mjs +106 -0
  261. package/dist/src/pkg.d.mts +24 -0
  262. package/dist/src/pkg.mjs +39 -0
  263. package/dist/src/prepare.d.mts +14 -0
  264. package/dist/src/prepare.mjs +41 -0
  265. package/dist/src/publishers/npm.d.mts +21 -0
  266. package/dist/src/publishers/npm.mjs +42 -0
  267. package/dist/src/releasers/github.d.mts +10 -0
  268. package/dist/src/releasers/github.mjs +20 -0
  269. package/dist/src/saver.d.mts +42 -0
  270. package/dist/src/saver.mjs +39 -0
  271. package/dist/src/types.d.mts +150 -0
  272. package/dist/src/utils.d.mts +7 -0
  273. package/dist/src/utils.mjs +47 -0
  274. package/dist/src/version.d.mts +9 -0
  275. package/dist/src/version.mjs +18 -0
  276. package/package.json +156 -0
  277. package/templates/cngpac.config.ts +33 -0
  278. package/templates/version.yml +30 -0
@@ -0,0 +1,17 @@
1
+ import { VERSION } from "./version.mjs";
2
+ import { endpointsToMethods } from "./endpoints-to-methods.mjs";
3
+ //#region 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.js
4
+ function restEndpointMethods(octokit) {
5
+ return { rest: endpointsToMethods(octokit) };
6
+ }
7
+ restEndpointMethods.VERSION = VERSION;
8
+ function legacyRestEndpointMethods(octokit) {
9
+ const api = endpointsToMethods(octokit);
10
+ return {
11
+ ...api,
12
+ rest: api
13
+ };
14
+ }
15
+ legacyRestEndpointMethods.VERSION = VERSION;
16
+ //#endregion
17
+ export { legacyRestEndpointMethods };
@@ -0,0 +1,4 @@
1
+ //#region 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.js
2
+ const VERSION = "17.0.0";
3
+ //#endregion
4
+ export { VERSION };
@@ -0,0 +1,30 @@
1
+ //#region node_modules/.pnpm/@octokit+request-error@7.1.0/node_modules/@octokit/request-error/dist-src/index.js
2
+ var RequestError = class extends Error {
3
+ name;
4
+ /**
5
+ * http status code
6
+ */
7
+ status;
8
+ /**
9
+ * Request options that lead to the error.
10
+ */
11
+ request;
12
+ /**
13
+ * Response object if a response was received
14
+ */
15
+ response;
16
+ constructor(message, statusCode, options) {
17
+ super(message, { cause: options.cause });
18
+ this.name = "HttpError";
19
+ this.status = Number.parseInt(statusCode);
20
+ if (Number.isNaN(this.status)) this.status = 0;
21
+ /* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist */
22
+ if ("response" in options) this.response = options.response;
23
+ const requestCopy = Object.assign({}, options.request);
24
+ if (options.request.headers.authorization) requestCopy.headers = Object.assign({}, options.request.headers, { authorization: options.request.headers.authorization.replace(/(?<! ) .*$/, " [REDACTED]") });
25
+ requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
26
+ this.request = requestCopy;
27
+ }
28
+ };
29
+ //#endregion
30
+ export { RequestError };
@@ -0,0 +1,146 @@
1
+ import { getUserAgent } from "../../../../../universal-user-agent@7.0.3/node_modules/universal-user-agent/index.mjs";
2
+ import { endpoint } from "../../../../../@octokit_endpoint@11.0.3/node_modules/@octokit/endpoint/dist-bundle/index.mjs";
3
+ import { require_fast_content_type_parse } from "../../../../../fast-content-type-parse@3.0.0/node_modules/fast-content-type-parse/index.mjs";
4
+ import { JSONParse, JSONStringify } from "../../../../../json-with-bigint@3.5.8/node_modules/json-with-bigint/json-with-bigint.mjs";
5
+ import { RequestError } from "../../../../../@octokit_request-error@7.1.0/node_modules/@octokit/request-error/dist-src/index.mjs";
6
+ //#region node_modules/.pnpm/@octokit+request@10.0.8/node_modules/@octokit/request/dist-bundle/index.js
7
+ var import_fast_content_type_parse = require_fast_content_type_parse();
8
+ var VERSION = "10.0.8";
9
+ var defaults_default = { headers: { "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}` } };
10
+ function isPlainObject(value) {
11
+ if (typeof value !== "object" || value === null) return false;
12
+ if (Object.prototype.toString.call(value) !== "[object Object]") return false;
13
+ const proto = Object.getPrototypeOf(value);
14
+ if (proto === null) return true;
15
+ const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor;
16
+ return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
17
+ }
18
+ var noop = () => "";
19
+ async function fetchWrapper(requestOptions) {
20
+ const fetch = requestOptions.request?.fetch || globalThis.fetch;
21
+ if (!fetch) throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");
22
+ const log = requestOptions.request?.log || console;
23
+ const parseSuccessResponseBody = requestOptions.request?.parseSuccessResponseBody !== false;
24
+ const body = isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body) ? JSONStringify(requestOptions.body) : requestOptions.body;
25
+ const requestHeaders = Object.fromEntries(Object.entries(requestOptions.headers).map(([name, value]) => [name, String(value)]));
26
+ let fetchResponse;
27
+ try {
28
+ fetchResponse = await fetch(requestOptions.url, {
29
+ method: requestOptions.method,
30
+ body,
31
+ redirect: requestOptions.request?.redirect,
32
+ headers: requestHeaders,
33
+ signal: requestOptions.request?.signal,
34
+ ...requestOptions.body && { duplex: "half" }
35
+ });
36
+ } catch (error) {
37
+ let message = "Unknown Error";
38
+ if (error instanceof Error) {
39
+ if (error.name === "AbortError") {
40
+ error.status = 500;
41
+ throw error;
42
+ }
43
+ message = error.message;
44
+ if (error.name === "TypeError" && "cause" in error) {
45
+ if (error.cause instanceof Error) message = error.cause.message;
46
+ else if (typeof error.cause === "string") message = error.cause;
47
+ }
48
+ }
49
+ const requestError = new RequestError(message, 500, { request: requestOptions });
50
+ requestError.cause = error;
51
+ throw requestError;
52
+ }
53
+ const status = fetchResponse.status;
54
+ const url = fetchResponse.url;
55
+ const responseHeaders = {};
56
+ for (const [key, value] of fetchResponse.headers) responseHeaders[key] = value;
57
+ const octokitResponse = {
58
+ url,
59
+ status,
60
+ headers: responseHeaders,
61
+ data: ""
62
+ };
63
+ if ("deprecation" in responseHeaders) {
64
+ const matches = responseHeaders.link && responseHeaders.link.match(/<([^<>]+)>; rel="deprecation"/);
65
+ const deprecationLink = matches && matches.pop();
66
+ log.warn(`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${responseHeaders.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`);
67
+ }
68
+ if (status === 204 || status === 205) return octokitResponse;
69
+ if (requestOptions.method === "HEAD") {
70
+ if (status < 400) return octokitResponse;
71
+ throw new RequestError(fetchResponse.statusText, status, {
72
+ response: octokitResponse,
73
+ request: requestOptions
74
+ });
75
+ }
76
+ if (status === 304) {
77
+ octokitResponse.data = await getResponseData(fetchResponse);
78
+ throw new RequestError("Not modified", status, {
79
+ response: octokitResponse,
80
+ request: requestOptions
81
+ });
82
+ }
83
+ if (status >= 400) {
84
+ octokitResponse.data = await getResponseData(fetchResponse);
85
+ throw new RequestError(toErrorMessage(octokitResponse.data), status, {
86
+ response: octokitResponse,
87
+ request: requestOptions
88
+ });
89
+ }
90
+ octokitResponse.data = parseSuccessResponseBody ? await getResponseData(fetchResponse) : fetchResponse.body;
91
+ return octokitResponse;
92
+ }
93
+ async function getResponseData(response) {
94
+ const contentType = response.headers.get("content-type");
95
+ if (!contentType) return response.text().catch(noop);
96
+ const mimetype = (0, import_fast_content_type_parse.safeParse)(contentType);
97
+ if (isJSONResponse(mimetype)) {
98
+ let text = "";
99
+ try {
100
+ text = await response.text();
101
+ return JSONParse(text);
102
+ } catch (err) {
103
+ return text;
104
+ }
105
+ } else if (mimetype.type.startsWith("text/") || mimetype.parameters.charset?.toLowerCase() === "utf-8") return response.text().catch(noop);
106
+ else return response.arrayBuffer().catch(
107
+ /* v8 ignore next -- @preserve */
108
+ () => /* @__PURE__ */ new ArrayBuffer(0)
109
+ );
110
+ }
111
+ function isJSONResponse(mimetype) {
112
+ return mimetype.type === "application/json" || mimetype.type === "application/scim+json";
113
+ }
114
+ function toErrorMessage(data) {
115
+ if (typeof data === "string") return data;
116
+ if (data instanceof ArrayBuffer) return "Unknown error";
117
+ if ("message" in data) {
118
+ const suffix = "documentation_url" in data ? ` - ${data.documentation_url}` : "";
119
+ return Array.isArray(data.errors) ? `${data.message}: ${data.errors.map((v) => JSON.stringify(v)).join(", ")}${suffix}` : `${data.message}${suffix}`;
120
+ }
121
+ return `Unknown error: ${JSON.stringify(data)}`;
122
+ }
123
+ function withDefaults(oldEndpoint, newDefaults) {
124
+ const endpoint2 = oldEndpoint.defaults(newDefaults);
125
+ const newApi = function(route, parameters) {
126
+ const endpointOptions = endpoint2.merge(route, parameters);
127
+ if (!endpointOptions.request || !endpointOptions.request.hook) return fetchWrapper(endpoint2.parse(endpointOptions));
128
+ const request2 = (route2, parameters2) => {
129
+ return fetchWrapper(endpoint2.parse(endpoint2.merge(route2, parameters2)));
130
+ };
131
+ Object.assign(request2, {
132
+ endpoint: endpoint2,
133
+ defaults: withDefaults.bind(null, endpoint2)
134
+ });
135
+ return endpointOptions.request.hook(request2, endpointOptions);
136
+ };
137
+ return Object.assign(newApi, {
138
+ endpoint: endpoint2,
139
+ defaults: withDefaults.bind(null, endpoint2)
140
+ });
141
+ }
142
+ var request = withDefaults(endpoint, defaults_default);
143
+ /* v8 ignore next -- @preserve */
144
+ /* v8 ignore else -- @preserve */
145
+ //#endregion
146
+ export { request };
@@ -0,0 +1,9 @@
1
+ import { Octokit as Octokit$1 } from "../../../../../@octokit_core@7.0.6/node_modules/@octokit/core/dist-src/index.mjs";
2
+ import { requestLog } from "../../../../../@octokit_plugin-request-log@6.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-request-log/dist-src/index.mjs";
3
+ import { paginateRest } from "../../../../../@octokit_plugin-paginate-rest@14.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-paginate-rest/dist-bundle/index.mjs";
4
+ import { legacyRestEndpointMethods } from "../../../../../@octokit_plugin-rest-endpoint-methods@17.0.0_@octokit_core@7.0.6/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.mjs";
5
+ import { VERSION } from "./version.mjs";
6
+ //#region node_modules/.pnpm/@octokit+rest@22.0.1/node_modules/@octokit/rest/dist-src/index.js
7
+ const Octokit = Octokit$1.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults({ userAgent: `octokit-rest.js/${VERSION}` });
8
+ //#endregion
9
+ export { Octokit };
@@ -0,0 +1,4 @@
1
+ //#region node_modules/.pnpm/@octokit+rest@22.0.1/node_modules/@octokit/rest/dist-src/version.js
2
+ const VERSION = "22.0.1";
3
+ //#endregion
4
+ export { VERSION };
@@ -0,0 +1,14 @@
1
+ //#region node_modules/.pnpm/@simple-git+args-pathspec@1.0.2/node_modules/@simple-git/args-pathspec/dist/index.mjs
2
+ const t = /* @__PURE__ */ new WeakMap();
3
+ function c(...n) {
4
+ const e = new String(n);
5
+ return t.set(e, n), e;
6
+ }
7
+ function r(n) {
8
+ return n instanceof String && t.has(n);
9
+ }
10
+ function o(n) {
11
+ return t.get(n) ?? [];
12
+ }
13
+ //#endregion
14
+ export { c, o, r };
@@ -0,0 +1,369 @@
1
+ import { o, r } from "../../../../../@simple-git_args-pathspec@1.0.2/node_modules/@simple-git/args-pathspec/dist/index.mjs";
2
+ //#region node_modules/.pnpm/@simple-git+argv-parser@1.0.3/node_modules/@simple-git/argv-parser/dist/index.mjs
3
+ function* w(e, t) {
4
+ const n = t === "global";
5
+ for (const o of e) o.isGlobal === n && (yield o);
6
+ }
7
+ const x = /* @__PURE__ */ new Set([
8
+ "--add",
9
+ "--edit",
10
+ "--remove-section",
11
+ "--rename-section",
12
+ "--replace-all",
13
+ "--unset",
14
+ "--unset-all",
15
+ "-e"
16
+ ]), S = /* @__PURE__ */ new Set([
17
+ "--get",
18
+ "--get-all",
19
+ "--get-color",
20
+ "--get-colorbool",
21
+ "--get-regexp",
22
+ "--get-urlmatch",
23
+ "--list",
24
+ "-l"
25
+ ]), k = /* @__PURE__ */ new Set([
26
+ "edit",
27
+ "remove-section",
28
+ "rename-section",
29
+ "set",
30
+ "unset"
31
+ ]), y = /* @__PURE__ */ new Set([
32
+ "get",
33
+ "get-color",
34
+ "get-colorbool",
35
+ "list"
36
+ ]);
37
+ function C(e, t) {
38
+ for (const { name: o } of w(e, "task")) {
39
+ if (x.has(o)) return f(!0, t);
40
+ if (S.has(o)) return f(!1, t);
41
+ }
42
+ const n = t.at(0)?.toLowerCase();
43
+ return n === void 0 ? null : k.has(n) ? f(!0, t.slice(1)) : y.has(n) ? f(!1, t.slice(1)) : t.length === 1 ? f(!1, t) : f(!0, t);
44
+ }
45
+ function f(e = !1, t = []) {
46
+ const n = t.at(0)?.toLowerCase();
47
+ return n === void 0 ? null : {
48
+ isWrite: e,
49
+ isRead: !e,
50
+ key: n,
51
+ value: t.at(1)
52
+ };
53
+ }
54
+ function N(e, t) {
55
+ return t.isWrite && t.value !== void 0 ? {
56
+ key: t.key,
57
+ value: t.value,
58
+ scope: e
59
+ } : {
60
+ key: t.key,
61
+ scope: e
62
+ };
63
+ }
64
+ function P(e) {
65
+ const t = e?.indexOf("=") || -1;
66
+ return !e || t < 0 ? null : {
67
+ key: e.slice(0, t).trim().toLowerCase(),
68
+ value: e.slice(t + 1)
69
+ };
70
+ }
71
+ function U(e) {
72
+ for (const { name: t } of w(e, "task")) switch (t) {
73
+ case "--global": return "global";
74
+ case "--system": return "system";
75
+ case "--worktree": return "worktree";
76
+ case "--local": return "local";
77
+ case "--file":
78
+ case "-f": return "file";
79
+ }
80
+ return "local";
81
+ }
82
+ function A({ name: e }) {
83
+ if (e === "-c" || e === "--config") return "inline";
84
+ if (e === "--config-env") return "env";
85
+ }
86
+ function* F(e) {
87
+ for (const t of e) {
88
+ const n = A(t), o = n && P(t.value);
89
+ o && (yield {
90
+ ...o,
91
+ scope: n
92
+ });
93
+ }
94
+ }
95
+ function M(e, t, n) {
96
+ const o = {
97
+ read: [],
98
+ write: [...F(t)]
99
+ };
100
+ return e === "config" && G(o, U(t), C(t, n)), o;
101
+ }
102
+ function G(e, t, n) {
103
+ if (n === null) return;
104
+ const o = N(t, n);
105
+ n.isWrite ? e.write.push(o) : e.read.push(o);
106
+ }
107
+ const v = { short: /* @__PURE__ */ new Map([["c", !0]]) }, O = {
108
+ short: new Map([
109
+ ["C", !0],
110
+ ["P", !1],
111
+ ["h", !1],
112
+ ["p", !1],
113
+ ["v", !1],
114
+ ...v.short.entries()
115
+ ]),
116
+ long: /* @__PURE__ */ new Set([
117
+ "attr-source",
118
+ "config-env",
119
+ "exec-path",
120
+ "git-dir",
121
+ "list-cmds",
122
+ "namespace",
123
+ "super-prefix",
124
+ "work-tree"
125
+ ])
126
+ }, E = {
127
+ clone: {
128
+ short: /* @__PURE__ */ new Map([
129
+ ["b", !0],
130
+ ["j", !0],
131
+ ["l", !1],
132
+ ["n", !1],
133
+ ["o", !0],
134
+ ["q", !1],
135
+ ["s", !1],
136
+ ["u", !0]
137
+ ]),
138
+ long: /* @__PURE__ */ new Set([
139
+ "branch",
140
+ "config",
141
+ "jobs",
142
+ "origin",
143
+ "upload-pack",
144
+ "u"
145
+ ])
146
+ },
147
+ commit: {
148
+ short: /* @__PURE__ */ new Map([
149
+ ["C", !0],
150
+ ["F", !0],
151
+ ["c", !0],
152
+ ["m", !0],
153
+ ["t", !0]
154
+ ]),
155
+ long: /* @__PURE__ */ new Set([
156
+ "file",
157
+ "message",
158
+ "reedit-message",
159
+ "reuse-message",
160
+ "template"
161
+ ])
162
+ },
163
+ config: {
164
+ short: /* @__PURE__ */ new Map([
165
+ ["e", !1],
166
+ ["f", !0],
167
+ ["l", !1]
168
+ ]),
169
+ long: /* @__PURE__ */ new Set([
170
+ "blob",
171
+ "comment",
172
+ "default",
173
+ "file",
174
+ "type",
175
+ "value"
176
+ ])
177
+ },
178
+ fetch: {
179
+ short: /* @__PURE__ */ new Map(),
180
+ long: /* @__PURE__ */ new Set(["upload-pack"])
181
+ },
182
+ pull: {
183
+ short: /* @__PURE__ */ new Map(),
184
+ long: /* @__PURE__ */ new Set(["upload-pack"])
185
+ },
186
+ push: {
187
+ short: /* @__PURE__ */ new Map(),
188
+ long: /* @__PURE__ */ new Set(["exec", "receive-pack"])
189
+ }
190
+ }, I = {
191
+ short: /* @__PURE__ */ new Map(),
192
+ long: /* @__PURE__ */ new Set()
193
+ };
194
+ function L(e) {
195
+ const t = E[e ?? ""] ?? I;
196
+ return {
197
+ short: new Map([...v.short.entries(), ...t.short.entries()]),
198
+ long: t.long
199
+ };
200
+ }
201
+ function b(e, t = O) {
202
+ if (e.startsWith("--")) {
203
+ const n = e.indexOf("=");
204
+ if (n > 2) return [{
205
+ name: e.slice(0, n),
206
+ value: e.slice(n + 1),
207
+ needsNext: !1
208
+ }];
209
+ const o = e.slice(2);
210
+ return [{
211
+ name: e,
212
+ needsNext: t.long.has(o)
213
+ }];
214
+ }
215
+ if (e.length === 2) {
216
+ const n = e.charAt(1);
217
+ return [{
218
+ name: e,
219
+ needsNext: t.short.get(n) === !0
220
+ }];
221
+ }
222
+ return R(e, t.short);
223
+ }
224
+ function R(e, t) {
225
+ const n = e.slice(1).split(""), o = [];
226
+ for (let a = 0; a < n.length; a++) {
227
+ const s = n[a], r = t.get(s);
228
+ if (r === void 0) return [{
229
+ name: e,
230
+ needsNext: !1
231
+ }];
232
+ if (r) {
233
+ const l = n.slice(a + 1).join("");
234
+ if (l && ![...l].every((h) => t.has(h))) return o.push({
235
+ name: `-${s}`,
236
+ value: l,
237
+ needsNext: !1
238
+ }), o;
239
+ }
240
+ o.push({
241
+ name: `-${s}`,
242
+ needsNext: r
243
+ });
244
+ }
245
+ return o;
246
+ }
247
+ function W(e, t = []) {
248
+ let n = 0;
249
+ for (; n < e.length;) {
250
+ const o = String(e[n]);
251
+ if (!o.startsWith("-") || o.length < 2) break;
252
+ const a = b(o);
253
+ let s = n + 1;
254
+ for (const r of a) {
255
+ const l = {
256
+ name: r.name,
257
+ value: r.value,
258
+ absorbedNext: !1,
259
+ isGlobal: !0
260
+ };
261
+ r.needsNext && l.value === void 0 && s < e.length && (l.value = String(e[s]), l.absorbedNext = !0, s++), t.push(l);
262
+ }
263
+ n = s;
264
+ }
265
+ return {
266
+ flags: t,
267
+ taskIndex: n
268
+ };
269
+ }
270
+ function _(e, t, n = []) {
271
+ const o$1 = L(t), a = [], s = [];
272
+ let r$1 = 0;
273
+ for (; r$1 < e.length;) {
274
+ const l = e[r$1];
275
+ if (r(l)) {
276
+ s.push(...o(l)), r$1++;
277
+ continue;
278
+ }
279
+ const u = String(l);
280
+ if (u === "--") {
281
+ for (let c = r$1 + 1; c < e.length; c++) {
282
+ const i = e[c];
283
+ r(i) ? s.push(...o(i)) : s.push(String(i));
284
+ }
285
+ break;
286
+ }
287
+ if (!u.startsWith("-") || u.length < 2) {
288
+ a.push(u), r$1++;
289
+ continue;
290
+ }
291
+ const h = b(u, o$1);
292
+ let d = r$1 + 1;
293
+ for (const c of h) {
294
+ const i = {
295
+ name: c.name,
296
+ value: c.value,
297
+ absorbedNext: !1,
298
+ isGlobal: !1
299
+ };
300
+ c.needsNext && i.value === void 0 && d < e.length && !r(e[d]) && (i.value = String(e[d]), i.absorbedNext = !0, d++), n.push(i);
301
+ }
302
+ r$1 = d;
303
+ }
304
+ return {
305
+ flags: n,
306
+ positionals: a,
307
+ pathspecs: s
308
+ };
309
+ }
310
+ function* T({ write: e }) {
311
+ for (const t of e) for (const n of $) {
312
+ const o = n(t.key);
313
+ o && (yield o);
314
+ }
315
+ }
316
+ function g(e, t, n = String(e)) {
317
+ const o = typeof e == "string" ? new RegExp(`\\s*${e}`, "i") : e;
318
+ return function(s) {
319
+ if (o.test(s)) return {
320
+ category: t,
321
+ message: `Configuring ${n} is not permitted without enabling ${t}`
322
+ };
323
+ };
324
+ }
325
+ const $ = [
326
+ g(/^\s*protocol(.[a-z]+)?.allow/i, "allowUnsafeProtocolOverride", "protocol.allow"),
327
+ g("core.sshCommand", "allowUnsafeSshCommand"),
328
+ g("core.fsmonitor", "allowUnsafeFsMonitor"),
329
+ g("core.gitProxy", "allowUnsafeGitProxy"),
330
+ g("core.hooksPath", "allowUnsafeHooksPath"),
331
+ g("diff.external", "allowUnsafeDiffExternal")
332
+ ];
333
+ function* j(e, t) {
334
+ for (const n of t) /^--(upload|receive)-pack/.test(n.name) && (yield {
335
+ category: "allowUnsafePack",
336
+ message: "Use of --upload-pack or --receive-pack is not permitted without enabling allowUnsafePack"
337
+ }), e === "clone" && (/^-\w*u/.test(n.name) || n.name === "--u") && (yield {
338
+ category: "allowUnsafePack",
339
+ message: "Use of clone with option -u is not permitted without enabling allowUnsafePack"
340
+ }), e === "push" && /^--exec/.test(n.name) && (yield {
341
+ category: "allowUnsafePack",
342
+ message: "Use of push with option --exec is not permitted without enabling allowUnsafePack"
343
+ });
344
+ }
345
+ function B(e, t, n) {
346
+ const o = [...j(e, t), ...T(n)];
347
+ return {
348
+ categories: o.reduce((s, r) => s.add(r.category), /* @__PURE__ */ new Set()),
349
+ vulnerabilities: o
350
+ };
351
+ }
352
+ function V(...e) {
353
+ const { flags: t, taskIndex: n } = W(e), o = n < e.length ? String(e[n]).toLowerCase() : null, { positionals: s, pathspecs: r } = _(o !== null ? e.slice(n + 1) : [], o, t), l = M(o, t, s);
354
+ return {
355
+ task: o,
356
+ flags: t.map(D),
357
+ paths: r,
358
+ config: l,
359
+ vulnerabilities: B(o, t, l)
360
+ };
361
+ }
362
+ function D({ value: e, name: t }) {
363
+ return e !== void 0 ? {
364
+ name: t,
365
+ value: e
366
+ } : { name: t };
367
+ }
368
+ //#endregion
369
+ export { V };
@@ -0,0 +1,13 @@
1
+ //#region node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.js
2
+ /**
3
+ * Throw a given error.
4
+ *
5
+ * @param {Error|null|undefined} [error]
6
+ * Maybe error.
7
+ * @returns {asserts error is null|undefined}
8
+ */
9
+ function bail(error) {
10
+ if (error) throw error;
11
+ }
12
+ //#endregion
13
+ export { bail };
@@ -0,0 +1,43 @@
1
+ import { register } from "./lib/register.mjs";
2
+ import { addHook } from "./lib/add.mjs";
3
+ import { removeHook } from "./lib/remove.mjs";
4
+ //#region node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/index.js
5
+ const bind = Function.bind;
6
+ const bindable = bind.bind(bind);
7
+ function bindApi(hook, state, name) {
8
+ const removeHookRef = bindable(removeHook, null).apply(null, name ? [state, name] : [state]);
9
+ hook.api = { remove: removeHookRef };
10
+ hook.remove = removeHookRef;
11
+ [
12
+ "before",
13
+ "error",
14
+ "after",
15
+ "wrap"
16
+ ].forEach((kind) => {
17
+ const args = name ? [
18
+ state,
19
+ kind,
20
+ name
21
+ ] : [state, kind];
22
+ hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args);
23
+ });
24
+ }
25
+ function Singular() {
26
+ const singularHookName = Symbol("Singular");
27
+ const singularHookState = { registry: {} };
28
+ const singularHook = register.bind(null, singularHookState, singularHookName);
29
+ bindApi(singularHook, singularHookState, singularHookName);
30
+ return singularHook;
31
+ }
32
+ function Collection() {
33
+ const state = { registry: {} };
34
+ const hook = register.bind(null, state);
35
+ bindApi(hook, state);
36
+ return hook;
37
+ }
38
+ var before_after_hook_default = {
39
+ Singular,
40
+ Collection
41
+ };
42
+ //#endregion
43
+ export { before_after_hook_default as default };
@@ -0,0 +1,28 @@
1
+ //#region node_modules/.pnpm/before-after-hook@4.0.0/node_modules/before-after-hook/lib/add.js
2
+ function addHook(state, kind, name, hook) {
3
+ const orig = hook;
4
+ if (!state.registry[name]) state.registry[name] = [];
5
+ if (kind === "before") hook = (method, options) => {
6
+ return Promise.resolve().then(orig.bind(null, options)).then(method.bind(null, options));
7
+ };
8
+ if (kind === "after") hook = (method, options) => {
9
+ let result;
10
+ return Promise.resolve().then(method.bind(null, options)).then((result_) => {
11
+ result = result_;
12
+ return orig(result, options);
13
+ }).then(() => {
14
+ return result;
15
+ });
16
+ };
17
+ if (kind === "error") hook = (method, options) => {
18
+ return Promise.resolve().then(method.bind(null, options)).catch((error) => {
19
+ return orig(error, options);
20
+ });
21
+ };
22
+ state.registry[name].push({
23
+ hook,
24
+ orig
25
+ });
26
+ }
27
+ //#endregion
28
+ export { addHook };