putitoutthere 0.3.26 → 0.3.28

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 (402) hide show
  1. package/dist/action.d.ts +2 -6
  2. package/dist/action.d.ts.map +1 -1
  3. package/dist/action.js +17 -23
  4. package/dist/action.js.map +1 -1
  5. package/dist/advance-floating-major.d.ts +3 -15
  6. package/dist/advance-floating-major.d.ts.map +1 -1
  7. package/dist/advance-floating-major.js +3 -15
  8. package/dist/advance-floating-major.js.map +1 -1
  9. package/dist/advance-v0.d.ts +3 -11
  10. package/dist/advance-v0.d.ts.map +1 -1
  11. package/dist/advance-v0.js +3 -11
  12. package/dist/advance-v0.js.map +1 -1
  13. package/dist/build-requires-declares.d.ts.map +1 -1
  14. package/dist/build-requires-declares.js +3 -16
  15. package/dist/build-requires-declares.js.map +1 -1
  16. package/dist/cargo-dep-entries.d.ts +4 -12
  17. package/dist/cargo-dep-entries.d.ts.map +1 -1
  18. package/dist/cargo-dep-entries.js +4 -12
  19. package/dist/cargo-dep-entries.js.map +1 -1
  20. package/dist/cascade.d.ts +4 -22
  21. package/dist/cascade.d.ts.map +1 -1
  22. package/dist/cascade.js +4 -22
  23. package/dist/cascade.js.map +1 -1
  24. package/dist/check-crate-size.d.ts +4 -14
  25. package/dist/check-crate-size.d.ts.map +1 -1
  26. package/dist/check-crate-size.js +4 -14
  27. package/dist/check-crate-size.js.map +1 -1
  28. package/dist/check.d.ts +4 -23
  29. package/dist/check.d.ts.map +1 -1
  30. package/dist/check.js +4 -23
  31. package/dist/check.js.map +1 -1
  32. package/dist/cli.d.ts +3 -41
  33. package/dist/cli.d.ts.map +1 -1
  34. package/dist/cli.js +14 -41
  35. package/dist/cli.js.map +1 -1
  36. package/dist/completeness.d.ts +4 -13
  37. package/dist/completeness.d.ts.map +1 -1
  38. package/dist/completeness.js +4 -13
  39. package/dist/completeness.js.map +1 -1
  40. package/dist/config.d.ts +4 -12
  41. package/dist/config.d.ts.map +1 -1
  42. package/dist/config.js +4 -12
  43. package/dist/config.js.map +1 -1
  44. package/dist/emit-plan-outputs.d.ts +4 -18
  45. package/dist/emit-plan-outputs.d.ts.map +1 -1
  46. package/dist/emit-plan-outputs.js +4 -18
  47. package/dist/emit-plan-outputs.js.map +1 -1
  48. package/dist/emit-release-outputs.d.ts +4 -17
  49. package/dist/emit-release-outputs.d.ts.map +1 -1
  50. package/dist/emit-release-outputs.js +4 -17
  51. package/dist/emit-release-outputs.js.map +1 -1
  52. package/dist/ensure-tag.d.ts +13 -9
  53. package/dist/ensure-tag.d.ts.map +1 -1
  54. package/dist/ensure-tag.js +25 -13
  55. package/dist/ensure-tag.js.map +1 -1
  56. package/dist/env.d.ts +8 -23
  57. package/dist/env.d.ts.map +1 -1
  58. package/dist/env.js +11 -40
  59. package/dist/env.js.map +1 -1
  60. package/dist/error-codes.d.ts +14 -27
  61. package/dist/error-codes.d.ts.map +1 -1
  62. package/dist/error-codes.js +15 -27
  63. package/dist/error-codes.js.map +1 -1
  64. package/dist/fold-action-bundle.d.ts +4 -20
  65. package/dist/fold-action-bundle.d.ts.map +1 -1
  66. package/dist/fold-action-bundle.js +4 -20
  67. package/dist/fold-action-bundle.js.map +1 -1
  68. package/dist/force-move-tag.d.ts +4 -13
  69. package/dist/force-move-tag.d.ts.map +1 -1
  70. package/dist/force-move-tag.js +4 -13
  71. package/dist/force-move-tag.js.map +1 -1
  72. package/dist/git.d.ts +15 -16
  73. package/dist/git.d.ts.map +1 -1
  74. package/dist/git.js +19 -16
  75. package/dist/git.js.map +1 -1
  76. package/dist/glob.d.ts +3 -10
  77. package/dist/glob.d.ts.map +1 -1
  78. package/dist/glob.js +3 -10
  79. package/dist/glob.js.map +1 -1
  80. package/dist/handlers/classify-npm-view-failure.d.ts +4 -30
  81. package/dist/handlers/classify-npm-view-failure.d.ts.map +1 -1
  82. package/dist/handlers/classify-npm-view-failure.js +7 -38
  83. package/dist/handlers/classify-npm-view-failure.js.map +1 -1
  84. package/dist/handlers/crates.d.ts +4 -35
  85. package/dist/handlers/crates.d.ts.map +1 -1
  86. package/dist/handlers/crates.js +8 -47
  87. package/dist/handlers/crates.js.map +1 -1
  88. package/dist/handlers/first-file-under.d.ts +3 -11
  89. package/dist/handlers/first-file-under.d.ts.map +1 -1
  90. package/dist/handlers/first-file-under.js +3 -11
  91. package/dist/handlers/first-file-under.js.map +1 -1
  92. package/dist/handlers/match-first-publish-tp-rejection.d.ts +4 -16
  93. package/dist/handlers/match-first-publish-tp-rejection.d.ts.map +1 -1
  94. package/dist/handlers/match-first-publish-tp-rejection.js +4 -16
  95. package/dist/handlers/match-first-publish-tp-rejection.js.map +1 -1
  96. package/dist/handlers/match-npm-name-too-similar.d.ts +4 -25
  97. package/dist/handlers/match-npm-name-too-similar.d.ts.map +1 -1
  98. package/dist/handlers/match-npm-name-too-similar.js +4 -25
  99. package/dist/handlers/match-npm-name-too-similar.js.map +1 -1
  100. package/dist/handlers/match-tlog-duplicate.d.ts +4 -13
  101. package/dist/handlers/match-tlog-duplicate.d.ts.map +1 -1
  102. package/dist/handlers/match-tlog-duplicate.js +4 -13
  103. package/dist/handlers/match-tlog-duplicate.js.map +1 -1
  104. package/dist/handlers/npm-platform.d.ts +11 -46
  105. package/dist/handlers/npm-platform.d.ts.map +1 -1
  106. package/dist/handlers/npm-platform.js +11 -46
  107. package/dist/handlers/npm-platform.js.map +1 -1
  108. package/dist/handlers/npm.d.ts +3 -7
  109. package/dist/handlers/npm.d.ts.map +1 -1
  110. package/dist/handlers/npm.js +11 -45
  111. package/dist/handlers/npm.js.map +1 -1
  112. package/dist/handlers/pypi.d.ts +5 -37
  113. package/dist/handlers/pypi.d.ts.map +1 -1
  114. package/dist/handlers/pypi.js +5 -37
  115. package/dist/handlers/pypi.js.map +1 -1
  116. package/dist/handlers/scan-dirty-outside-manifest.d.ts +4 -11
  117. package/dist/handlers/scan-dirty-outside-manifest.d.ts.map +1 -1
  118. package/dist/handlers/scan-dirty-outside-manifest.js +4 -11
  119. package/dist/handlers/scan-dirty-outside-manifest.js.map +1 -1
  120. package/dist/is-within-dir.d.ts +3 -5
  121. package/dist/is-within-dir.d.ts.map +1 -1
  122. package/dist/is-within-dir.js +3 -5
  123. package/dist/is-within-dir.js.map +1 -1
  124. package/dist/log.d.ts +6 -33
  125. package/dist/log.d.ts.map +1 -1
  126. package/dist/log.js +10 -57
  127. package/dist/log.js.map +1 -1
  128. package/dist/manylinux-for-triple.d.ts +4 -6
  129. package/dist/manylinux-for-triple.d.ts.map +1 -1
  130. package/dist/manylinux-for-triple.js +4 -6
  131. package/dist/manylinux-for-triple.js.map +1 -1
  132. package/dist/must-get.d.ts +3 -14
  133. package/dist/must-get.d.ts.map +1 -1
  134. package/dist/must-get.js +3 -14
  135. package/dist/must-get.js.map +1 -1
  136. package/dist/normalize-artifacts.d.ts +4 -19
  137. package/dist/normalize-artifacts.d.ts.map +1 -1
  138. package/dist/normalize-artifacts.js +4 -19
  139. package/dist/normalize-artifacts.js.map +1 -1
  140. package/dist/normalize-dist-name.d.ts +4 -13
  141. package/dist/normalize-dist-name.d.ts.map +1 -1
  142. package/dist/normalize-dist-name.js +4 -13
  143. package/dist/normalize-dist-name.js.map +1 -1
  144. package/dist/packages-by-name.d.ts +4 -12
  145. package/dist/packages-by-name.d.ts.map +1 -1
  146. package/dist/packages-by-name.js +4 -12
  147. package/dist/packages-by-name.js.map +1 -1
  148. package/dist/parse-reconcile-expect.d.ts +2 -5
  149. package/dist/parse-reconcile-expect.d.ts.map +1 -1
  150. package/dist/parse-reconcile-expect.js +2 -5
  151. package/dist/parse-reconcile-expect.js.map +1 -1
  152. package/dist/plan-skew.d.ts +4 -8
  153. package/dist/plan-skew.d.ts.map +1 -1
  154. package/dist/plan-skew.js +4 -8
  155. package/dist/plan-skew.js.map +1 -1
  156. package/dist/plan-status-types.d.ts +3 -6
  157. package/dist/plan-status-types.d.ts.map +1 -1
  158. package/dist/plan-status-types.js +3 -6
  159. package/dist/plan-status-types.js.map +1 -1
  160. package/dist/plan-status.d.ts +5 -18
  161. package/dist/plan-status.d.ts.map +1 -1
  162. package/dist/plan-status.js +5 -18
  163. package/dist/plan-status.js.map +1 -1
  164. package/dist/plan.d.ts +4 -8
  165. package/dist/plan.d.ts.map +1 -1
  166. package/dist/plan.js +8 -22
  167. package/dist/plan.js.map +1 -1
  168. package/dist/preflight.d.ts +16 -62
  169. package/dist/preflight.d.ts.map +1 -1
  170. package/dist/preflight.js +16 -62
  171. package/dist/preflight.js.map +1 -1
  172. package/dist/publish-progress.d.ts +4 -17
  173. package/dist/publish-progress.d.ts.map +1 -1
  174. package/dist/publish-progress.js +4 -17
  175. package/dist/publish-progress.js.map +1 -1
  176. package/dist/publish.d.ts +4 -18
  177. package/dist/publish.d.ts.map +1 -1
  178. package/dist/publish.js +4 -18
  179. package/dist/publish.js.map +1 -1
  180. package/dist/pypi-version-source.d.ts +3 -31
  181. package/dist/pypi-version-source.d.ts.map +1 -1
  182. package/dist/pypi-version-source.js +3 -31
  183. package/dist/pypi-version-source.js.map +1 -1
  184. package/dist/python-versions.d.ts +4 -13
  185. package/dist/python-versions.d.ts.map +1 -1
  186. package/dist/python-versions.js +4 -13
  187. package/dist/python-versions.js.map +1 -1
  188. package/dist/reconcile-expect.d.ts +4 -20
  189. package/dist/reconcile-expect.d.ts.map +1 -1
  190. package/dist/reconcile-expect.js +4 -20
  191. package/dist/reconcile-expect.js.map +1 -1
  192. package/dist/reconcile-skip-warnings.d.ts +21 -0
  193. package/dist/reconcile-skip-warnings.d.ts.map +1 -0
  194. package/dist/reconcile-skip-warnings.js +24 -0
  195. package/dist/reconcile-skip-warnings.js.map +1 -0
  196. package/dist/reconcile-types.d.ts +30 -3
  197. package/dist/reconcile-types.d.ts.map +1 -1
  198. package/dist/reconcile-types.js +3 -3
  199. package/dist/reconcile.d.ts +11 -2
  200. package/dist/reconcile.d.ts.map +1 -1
  201. package/dist/reconcile.js +31 -8
  202. package/dist/reconcile.js.map +1 -1
  203. package/dist/release-github/gh-release-create.d.ts +4 -7
  204. package/dist/release-github/gh-release-create.d.ts.map +1 -1
  205. package/dist/release-github/gh-release-create.js +4 -7
  206. package/dist/release-github/gh-release-create.js.map +1 -1
  207. package/dist/release-github/gh-release-exists.d.ts +4 -8
  208. package/dist/release-github/gh-release-exists.d.ts.map +1 -1
  209. package/dist/release-github/gh-release-exists.js +4 -8
  210. package/dist/release-github/gh-release-exists.js.map +1 -1
  211. package/dist/release-github/index.d.ts +4 -29
  212. package/dist/release-github/index.d.ts.map +1 -1
  213. package/dist/release-github/index.js +4 -29
  214. package/dist/release-github/index.js.map +1 -1
  215. package/dist/release-packages.d.ts +4 -16
  216. package/dist/release-packages.d.ts.map +1 -1
  217. package/dist/release-packages.js +4 -16
  218. package/dist/release-packages.js.map +1 -1
  219. package/dist/replace-cargo-version.d.ts +3 -30
  220. package/dist/replace-cargo-version.d.ts.map +1 -1
  221. package/dist/replace-cargo-version.js +3 -30
  222. package/dist/replace-cargo-version.js.map +1 -1
  223. package/dist/replace-dep-version-req.d.ts +8 -32
  224. package/dist/replace-dep-version-req.d.ts.map +1 -1
  225. package/dist/replace-dep-version-req.js +8 -32
  226. package/dist/replace-dep-version-req.js.map +1 -1
  227. package/dist/repo-relative-paths.d.ts +3 -14
  228. package/dist/repo-relative-paths.d.ts.map +1 -1
  229. package/dist/repo-relative-paths.js +3 -14
  230. package/dist/repo-relative-paths.js.map +1 -1
  231. package/dist/resolve/run-resolve.d.ts +4 -9
  232. package/dist/resolve/run-resolve.d.ts.map +1 -1
  233. package/dist/resolve/run-resolve.js +4 -9
  234. package/dist/resolve/run-resolve.js.map +1 -1
  235. package/dist/resolve-dep-dirs.d.ts +4 -14
  236. package/dist/resolve-dep-dirs.d.ts.map +1 -1
  237. package/dist/resolve-dep-dirs.js +4 -14
  238. package/dist/resolve-dep-dirs.js.map +1 -1
  239. package/dist/resolve-tag-commit.d.ts +4 -12
  240. package/dist/resolve-tag-commit.d.ts.map +1 -1
  241. package/dist/resolve-tag-commit.js +4 -12
  242. package/dist/resolve-tag-commit.js.map +1 -1
  243. package/dist/retry.d.ts +4 -16
  244. package/dist/retry.d.ts.map +1 -1
  245. package/dist/retry.js +4 -16
  246. package/dist/retry.js.map +1 -1
  247. package/dist/status-classify.d.ts +3 -6
  248. package/dist/status-classify.d.ts.map +1 -1
  249. package/dist/status-classify.js +3 -6
  250. package/dist/status-classify.js.map +1 -1
  251. package/dist/status.d.ts +4 -18
  252. package/dist/status.d.ts.map +1 -1
  253. package/dist/status.js +4 -18
  254. package/dist/status.js.map +1 -1
  255. package/dist/tag-template.d.ts +4 -14
  256. package/dist/tag-template.d.ts.map +1 -1
  257. package/dist/tag-template.js +4 -14
  258. package/dist/tag-template.js.map +1 -1
  259. package/dist/to-error.d.ts +4 -13
  260. package/dist/to-error.d.ts.map +1 -1
  261. package/dist/to-error.js +4 -13
  262. package/dist/to-error.js.map +1 -1
  263. package/dist/trailer.d.ts +4 -17
  264. package/dist/trailer.d.ts.map +1 -1
  265. package/dist/trailer.js +4 -17
  266. package/dist/trailer.js.map +1 -1
  267. package/dist/types.d.ts +11 -32
  268. package/dist/types.d.ts.map +1 -1
  269. package/dist/types.js +3 -6
  270. package/dist/types.js.map +1 -1
  271. package/dist/unpublished-kinds.d.ts +4 -15
  272. package/dist/unpublished-kinds.d.ts.map +1 -1
  273. package/dist/unpublished-kinds.js +4 -15
  274. package/dist/unpublished-kinds.js.map +1 -1
  275. package/dist/utils/bound-capture.d.ts +4 -8
  276. package/dist/utils/bound-capture.d.ts.map +1 -1
  277. package/dist/utils/bound-capture.js +4 -8
  278. package/dist/utils/bound-capture.js.map +1 -1
  279. package/dist/utils/elide-middle.d.ts +4 -19
  280. package/dist/utils/elide-middle.d.ts.map +1 -1
  281. package/dist/utils/elide-middle.js +4 -19
  282. package/dist/utils/elide-middle.js.map +1 -1
  283. package/dist/utils/find-exec-error.d.ts.map +1 -1
  284. package/dist/utils/find-exec-error.js +4 -12
  285. package/dist/utils/find-exec-error.js.map +1 -1
  286. package/dist/utils/flush-stdio.d.ts +4 -11
  287. package/dist/utils/flush-stdio.d.ts.map +1 -1
  288. package/dist/utils/flush-stdio.js +4 -11
  289. package/dist/utils/flush-stdio.js.map +1 -1
  290. package/dist/utils/list-files-recursive.d.ts +3 -7
  291. package/dist/utils/list-files-recursive.d.ts.map +1 -1
  292. package/dist/utils/list-files-recursive.js +3 -7
  293. package/dist/utils/list-files-recursive.js.map +1 -1
  294. package/dist/utils/to-posix-path.d.ts +4 -7
  295. package/dist/utils/to-posix-path.d.ts.map +1 -1
  296. package/dist/utils/to-posix-path.js +4 -7
  297. package/dist/utils/to-posix-path.js.map +1 -1
  298. package/dist/verbose.d.ts +4 -10
  299. package/dist/verbose.d.ts.map +1 -1
  300. package/dist/verbose.js +4 -10
  301. package/dist/verbose.js.map +1 -1
  302. package/dist/verify/bundle-cli/compute-stage-suffix.d.ts +4 -11
  303. package/dist/verify/bundle-cli/compute-stage-suffix.d.ts.map +1 -1
  304. package/dist/verify/bundle-cli/compute-stage-suffix.js +4 -11
  305. package/dist/verify/bundle-cli/compute-stage-suffix.js.map +1 -1
  306. package/dist/verify/bundle-cli/index.d.ts +4 -20
  307. package/dist/verify/bundle-cli/index.d.ts.map +1 -1
  308. package/dist/verify/bundle-cli/index.js +4 -20
  309. package/dist/verify/bundle-cli/index.js.map +1 -1
  310. package/dist/verify/bundle-cli/read-python-source.d.ts +4 -12
  311. package/dist/verify/bundle-cli/read-python-source.d.ts.map +1 -1
  312. package/dist/verify/bundle-cli/read-python-source.js +4 -12
  313. package/dist/verify/bundle-cli/read-python-source.js.map +1 -1
  314. package/dist/verify/crate/find-crate-file.d.ts +2 -6
  315. package/dist/verify/crate/find-crate-file.d.ts.map +1 -1
  316. package/dist/verify/crate/find-crate-file.js +2 -6
  317. package/dist/verify/crate/find-crate-file.js.map +1 -1
  318. package/dist/verify/crate/has-crate-source.d.ts +3 -5
  319. package/dist/verify/crate/has-crate-source.d.ts.map +1 -1
  320. package/dist/verify/crate/has-crate-source.js +3 -5
  321. package/dist/verify/crate/has-crate-source.js.map +1 -1
  322. package/dist/verify/crate/index.d.ts +4 -16
  323. package/dist/verify/crate/index.d.ts.map +1 -1
  324. package/dist/verify/crate/index.js +4 -16
  325. package/dist/verify/crate/index.js.map +1 -1
  326. package/dist/verify/npm-tarball/download.d.ts +3 -9
  327. package/dist/verify/npm-tarball/download.d.ts.map +1 -1
  328. package/dist/verify/npm-tarball/download.js +3 -9
  329. package/dist/verify/npm-tarball/download.js.map +1 -1
  330. package/dist/verify/npm-tarball/index.d.ts +4 -13
  331. package/dist/verify/npm-tarball/index.d.ts.map +1 -1
  332. package/dist/verify/npm-tarball/index.js +4 -13
  333. package/dist/verify/npm-tarball/index.js.map +1 -1
  334. package/dist/verify/npm-tarball/local-dir-state.d.ts +4 -8
  335. package/dist/verify/npm-tarball/local-dir-state.d.ts.map +1 -1
  336. package/dist/verify/npm-tarball/local-dir-state.js +4 -8
  337. package/dist/verify/npm-tarball/local-dir-state.js.map +1 -1
  338. package/dist/verify/npm-tarball/main.d.ts +4 -14
  339. package/dist/verify/npm-tarball/main.d.ts.map +1 -1
  340. package/dist/verify/npm-tarball/main.js +4 -14
  341. package/dist/verify/npm-tarball/main.js.map +1 -1
  342. package/dist/verify/npm-tarball/resolve-url.d.ts +4 -11
  343. package/dist/verify/npm-tarball/resolve-url.d.ts.map +1 -1
  344. package/dist/verify/npm-tarball/resolve-url.js +4 -11
  345. package/dist/verify/npm-tarball/resolve-url.js.map +1 -1
  346. package/dist/verify/npm-tarball/triple.d.ts +4 -26
  347. package/dist/verify/npm-tarball/triple.d.ts.map +1 -1
  348. package/dist/verify/npm-tarball/triple.js +4 -26
  349. package/dist/verify/npm-tarball/triple.js.map +1 -1
  350. package/dist/verify/posture.d.ts +4 -13
  351. package/dist/verify/posture.d.ts.map +1 -1
  352. package/dist/verify/posture.js +4 -13
  353. package/dist/verify/posture.js.map +1 -1
  354. package/dist/verify/wheel/index.d.ts +4 -17
  355. package/dist/verify/wheel/index.d.ts.map +1 -1
  356. package/dist/verify/wheel/index.js +4 -17
  357. package/dist/verify/wheel/index.js.map +1 -1
  358. package/dist/verify/wheel/manylinux-tag-patterns.d.ts +4 -6
  359. package/dist/verify/wheel/manylinux-tag-patterns.d.ts.map +1 -1
  360. package/dist/verify/wheel/manylinux-tag-patterns.js +4 -6
  361. package/dist/verify/wheel/manylinux-tag-patterns.js.map +1 -1
  362. package/dist/verify/wheel/read-wheel-version.d.ts +4 -8
  363. package/dist/verify/wheel/read-wheel-version.d.ts.map +1 -1
  364. package/dist/verify/wheel/read-wheel-version.js +4 -8
  365. package/dist/verify/wheel/read-wheel-version.js.map +1 -1
  366. package/dist/verify/wheel/read-zip-entry.d.ts +3 -8
  367. package/dist/verify/wheel/read-zip-entry.d.ts.map +1 -1
  368. package/dist/verify/wheel/read-zip-entry.js +3 -8
  369. package/dist/verify/wheel/read-zip-entry.js.map +1 -1
  370. package/dist/version.d.ts +4 -12
  371. package/dist/version.d.ts.map +1 -1
  372. package/dist/version.js +4 -12
  373. package/dist/version.js.map +1 -1
  374. package/dist/wheel-abi.d.ts +5 -28
  375. package/dist/wheel-abi.d.ts.map +1 -1
  376. package/dist/wheel-abi.js +5 -28
  377. package/dist/wheel-abi.js.map +1 -1
  378. package/dist/write-crate-version.d.ts +4 -17
  379. package/dist/write-crate-version.d.ts.map +1 -1
  380. package/dist/write-crate-version.js +4 -17
  381. package/dist/write-crate-version.js.map +1 -1
  382. package/dist/write-dependent-version-reqs.d.ts +8 -43
  383. package/dist/write-dependent-version-reqs.d.ts.map +1 -1
  384. package/dist/write-dependent-version-reqs.js +8 -43
  385. package/dist/write-dependent-version-reqs.js.map +1 -1
  386. package/dist/write-embedded-crate-versions.d.ts +9 -40
  387. package/dist/write-embedded-crate-versions.d.ts.map +1 -1
  388. package/dist/write-embedded-crate-versions.js +9 -40
  389. package/dist/write-embedded-crate-versions.js.map +1 -1
  390. package/dist/write-launcher.d.ts +7 -23
  391. package/dist/write-launcher.d.ts.map +1 -1
  392. package/dist/write-launcher.js +11 -37
  393. package/dist/write-launcher.js.map +1 -1
  394. package/dist/write-resolved-cargo-version.d.ts +4 -12
  395. package/dist/write-resolved-cargo-version.d.ts.map +1 -1
  396. package/dist/write-resolved-cargo-version.js +4 -12
  397. package/dist/write-resolved-cargo-version.js.map +1 -1
  398. package/dist/write-version.d.ts +8 -29
  399. package/dist/write-version.d.ts.map +1 -1
  400. package/dist/write-version.js +8 -29
  401. package/dist/write-version.js.map +1 -1
  402. package/package.json +3 -3
package/dist/reconcile.js CHANGED
@@ -29,9 +29,18 @@
29
29
  * `package@version`: `computeStatus`'s `latestVersion` reads a mutable,
30
30
  * CDN-cached pointer that can still name the previous release seconds
31
31
  * after a delegated PyPI upload, silently skipping the tag it was run to
32
- * cut. See `reconcile-expect.ts`.
32
+ * cut. See `reconcile-expect.ts`. It is also the only way to tag a FIRST
33
+ * publish promptly — the pointer 404s until it propagates, and a 404
34
+ * there is indistinguishable from "this project does not exist" (#694),
35
+ * so discovery cannot be made to see it at any retry budget.
33
36
  *
34
- * Issue #410, #403 slice 3, #623, #666.
37
+ * Every row discovery declines to act on for a reason that is not
38
+ * evidence of anything comes back in `skipped` (#694). `ok: true,
39
+ * actions: []` used to mean both "everything is already tagged" and "I
40
+ * could not read the registry"; a consumer whose PyPI tag went missing
41
+ * had only the first reading available.
42
+ *
43
+ * Issue #410, #403 slice 3, #623, #666, #694.
35
44
  */
36
45
  import { join } from 'node:path';
37
46
  import { loadConfig } from './config.js';
@@ -50,17 +59,31 @@ export async function reconcile(opts) {
50
59
  const config = await loadConfig(cfgPath);
51
60
  const byName = new Map(config.packages.map((p) => [p.name, p]));
52
61
  if (opts.expect !== undefined) {
62
+ // No skips on this path by construction: the expectation names exact
63
+ // versions and `reconcileExpected` throws on one it cannot confirm,
64
+ // rather than quietly declining to decide.
53
65
  const actions = await reconcileExpected(opts.expect, config, byName, cwd, dryRun, log);
54
- return { ok: true, dryRun, actions };
66
+ return { ok: true, dryRun, actions, skipped: [] };
55
67
  }
56
68
  const rows = await computeStatus({ cwd, configPath: cfgPath });
57
69
  const actions = [];
70
+ const skipped = [];
58
71
  for (const row of rows) {
59
- // Nothing to back-fill without a live version to back-fill to:
72
+ // An unreachable registry is not evidence of anything, so there is
73
+ // nothing to back-fill to — but it is also not evidence that there
74
+ // is nothing to do, which is how the miss in #694 stayed invisible.
75
+ // Record it so the result says "I could not tell" instead of
76
+ // "nothing to do"; the CLI turns each one into a `::warning`.
77
+ if (row.registryUnreachable) {
78
+ skipped.push({ package: row.package, kind: row.kind, reason: 'registry-unreachable' });
79
+ continue;
80
+ }
81
+ // A registry that answers "no such version" HAS answered.
60
82
  // `unreleased` and `tagged, unpublished` name versions that are not
61
- // on the registry, and an unreachable registry is not evidence of
62
- // anything. A missing tag would not fix either.
63
- if (row.registryUnreachable || row.registry === null) {
83
+ // live, and a missing tag would not fix either — so this skip is
84
+ // ordinary, permanent for everything a repo has not shipped, and
85
+ // deliberately unreported.
86
+ if (row.registry === null) {
64
87
  continue;
65
88
  }
66
89
  const pkg = byName.get(row.package);
@@ -80,6 +103,6 @@ export async function reconcile(opts) {
80
103
  }
81
104
  actions.push({ package: pkg.name, kind: pkg.kind, version, tag, commit, source, created: !dryRun });
82
105
  }
83
- return { ok: true, dryRun, actions };
106
+ return { ok: true, dryRun, actions, skipped };
84
107
  }
85
108
  //# sourceMappingURL=reconcile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reconcile.js","sourceRoot":"","sources":["../src/reconcile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAgB,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,YAAY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AAI,EAAE,OAAO,EAAE,CAAC,CAAC;QACnE,kEAAkE;QAClE,mEAAmE;QACnE,sEAAsE;QACtE,2DAA2D;QAC3D,IAAI,CAAC,MAAM,OAAO,CAAC,GAAG,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAAA,SAAS;QAAA,CAAC;QACzD,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,GAAG,CAAC,OAAO,CAAC,CAAC;QACvE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,gBAAgB,CAAC,OAAO,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9E,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,SAAS,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,CAAC,CAAC;QAC3E,CAAC;QACD,OAAO,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;IACtG,CAAC;IAED,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AAChD,CAAC"}
@@ -1,11 +1,8 @@
1
1
  /**
2
- * Create the GitHub Release for `tag` (#444).
3
- *
4
- * `gh release create <tag> --title <tag> --generate-notes` — auto-generated
5
- * notes pull PR titles between this tag and the previous one. stdio is
6
- * inherited so gh's output (the Release URL) reaches the job log, and a
7
- * non-zero exit throws, matching the bash step's `set -euo pipefail`: a
8
- * failed create aborts the run rather than being swallowed.
2
+ * Create the GitHub Release for `tag` (#444): `gh release create <tag> --title
3
+ * <tag> --generate-notes`. stdio is inherited so gh's output (the Release URL)
4
+ * reaches the job log, and a non-zero exit throws so a failed create aborts the
5
+ * run rather than being swallowed.
9
6
  */
10
7
  import type { GhOptions } from './types.js';
11
8
  export declare function ghReleaseCreate(tag: string, opts?: GhOptions): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"gh-release-create.d.ts","sourceRoot":"","sources":["../../src/release-github/gh-release-create.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAsB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,SAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAItF"}
1
+ {"version":3,"file":"gh-release-create.d.ts","sourceRoot":"","sources":["../../src/release-github/gh-release-create.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAsB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,SAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAItF"}
@@ -1,11 +1,8 @@
1
1
  /**
2
- * Create the GitHub Release for `tag` (#444).
3
- *
4
- * `gh release create <tag> --title <tag> --generate-notes` — auto-generated
5
- * notes pull PR titles between this tag and the previous one. stdio is
6
- * inherited so gh's output (the Release URL) reaches the job log, and a
7
- * non-zero exit throws, matching the bash step's `set -euo pipefail`: a
8
- * failed create aborts the run rather than being swallowed.
2
+ * Create the GitHub Release for `tag` (#444): `gh release create <tag> --title
3
+ * <tag> --generate-notes`. stdio is inherited so gh's output (the Release URL)
4
+ * reaches the job log, and a non-zero exit throws so a failed create aborts the
5
+ * run rather than being swallowed.
9
6
  */
10
7
  import { execInherit } from '../utils/exec-inherit.js';
11
8
  export async function ghReleaseCreate(tag, opts = {}) {
@@ -1 +1 @@
1
- {"version":3,"file":"gh-release-create.js","sourceRoot":"","sources":["../../src/release-github/gh-release-create.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,GAAW,EAAE,OAAkB,EAAE;IACrE,MAAM,WAAW,CAAC,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,CAAC,EAAE;QACtF,GAAG,EAAE,IAAI,CAAC,GAAG;KACd,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"gh-release-create.js","sourceRoot":"","sources":["../../src/release-github/gh-release-create.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,GAAW,EAAE,OAAkB,EAAE;IACrE,MAAM,WAAW,CAAC,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,CAAC,EAAE;QACtF,GAAG,EAAE,IAAI,CAAC,GAAG;KACd,CAAC,CAAC;AACL,CAAC"}
@@ -1,12 +1,8 @@
1
1
  /**
2
- * Whether a GitHub Release already exists for `tag` (#444).
3
- *
4
- * Wraps `gh release view`, which exits non-zero when the Release is absent.
5
- * That non-zero is the idempotency guard: a re-run of `release-github`
6
- * finds the Release present and skips creation instead of erroring. stdout
7
- * and stderr are discarded (the bash step redirected them to `/dev/null`),
8
- * and any error — including a genuinely missing Release — resolves to
9
- * `false`, matching the bash `gh release view … >/dev/null 2>&1` condition.
2
+ * Whether a GitHub Release already exists for `tag` (#444). Wraps `gh release
3
+ * view`, whose non-zero exit on an absent Release is the idempotency guard: a
4
+ * re-run skips creation instead of erroring. Any error — including a genuinely
5
+ * missing Release — resolves to `false`.
10
6
  */
11
7
  import type { GhOptions } from './types.js';
12
8
  export declare function ghReleaseExists(tag: string, opts?: GhOptions): Promise<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"gh-release-exists.d.ts","sourceRoot":"","sources":["../../src/release-github/gh-release-exists.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAsB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,SAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAOzF"}
1
+ {"version":3,"file":"gh-release-exists.d.ts","sourceRoot":"","sources":["../../src/release-github/gh-release-exists.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAsB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,SAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAOzF"}
@@ -1,12 +1,8 @@
1
1
  /**
2
- * Whether a GitHub Release already exists for `tag` (#444).
3
- *
4
- * Wraps `gh release view`, which exits non-zero when the Release is absent.
5
- * That non-zero is the idempotency guard: a re-run of `release-github`
6
- * finds the Release present and skips creation instead of erroring. stdout
7
- * and stderr are discarded (the bash step redirected them to `/dev/null`),
8
- * and any error — including a genuinely missing Release — resolves to
9
- * `false`, matching the bash `gh release view … >/dev/null 2>&1` condition.
2
+ * Whether a GitHub Release already exists for `tag` (#444). Wraps `gh release
3
+ * view`, whose non-zero exit on an absent Release is the idempotency guard: a
4
+ * re-run skips creation instead of erroring. Any error — including a genuinely
5
+ * missing Release — resolves to `false`.
10
6
  */
11
7
  import { execCapture } from '../utils/exec-capture.js';
12
8
  export async function ghReleaseExists(tag, opts = {}) {
@@ -1 +1 @@
1
- {"version":3,"file":"gh-release-exists.js","sourceRoot":"","sources":["../../src/release-github/gh-release-exists.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,GAAW,EAAE,OAAkB,EAAE;IACrE,IAAI,CAAC;QACH,MAAM,WAAW,CAAC,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;QACrE,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"gh-release-exists.js","sourceRoot":"","sources":["../../src/release-github/gh-release-exists.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,GAAW,EAAE,OAAkB,EAAE;IACrE,IAAI,CAAC;QACH,MAAM,WAAW,CAAC,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;QACrE,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
@@ -1,33 +1,8 @@
1
1
  /**
2
- * `putitoutthere release-github` — cut a GitHub Release for each new tag on
3
- * HEAD (#444, epic #442).
4
- *
5
- * Extraction of the inline "Create GitHub Release(s) for new tag(s)" bash
6
- * step in `.github/workflows/release.yml`. The engine creates annotated
7
- * git tags and publishes to PyPI / npm / crates.io but does NOT cut GitHub
8
- * Releases; this backfills them so the project's /releases page tracks the
9
- * tag history.
10
- *
11
- * The contract — previously pinned only by a YAML-text test (#437), now
12
- * ordinary tested code:
13
- *
14
- * - **no-fetch** — never `git fetch`. Local tag state is already complete:
15
- * checkout (`fetch-depth: 0`) fetched every remote tag, and the tags
16
- * iterated here were created locally by the engine in this same job. A
17
- * blanket `git fetch --tags` would reject any tag that moved since
18
- * checkout — a consumer's floating major tag, force-moved mid-run by
19
- * their promotion automation — failing the job after a fully successful
20
- * publish (#436).
21
- * - **ref-scoped-push** — `git push origin refs/tags/<tag>` per tag,
22
- * idempotent and invisible to every other tag, completing the engine's
23
- * warn-only tag push (#407) in the same run so `gh release create`
24
- * always sees its tag on the remote.
25
- * - **idempotent-create** — the `gh release view` guard skips a Release
26
- * that already exists instead of erroring on a re-run.
27
- *
28
- * Returns the process exit code (always 0 on the happy path; a git/gh
29
- * failure throws out of the loop and the CLI's top-level catch surfaces it
30
- * as exit 1, matching the bash `set -euo pipefail`).
2
+ * `putitoutthere release-github` — cut a GitHub Release for each new tag on HEAD
3
+ * (#444, #437). Never `git fetch`: a blanket `git fetch --tags` would reject a
4
+ * tag moved since checkout and fail the job after a fully successful publish
5
+ * (#436). Pushes are ref-scoped per tag (#407); creation is idempotent.
31
6
  */
32
7
  import type { ReleaseGithubOptions } from './types.js';
33
8
  export declare function releaseGithub(opts: ReleaseGithubOptions): Promise<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/release-github/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAKH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,wBAAsB,aAAa,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,CAiB/E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/release-github/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,wBAAsB,aAAa,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,CAiB/E"}
@@ -1,33 +1,8 @@
1
1
  /**
2
- * `putitoutthere release-github` — cut a GitHub Release for each new tag on
3
- * HEAD (#444, epic #442).
4
- *
5
- * Extraction of the inline "Create GitHub Release(s) for new tag(s)" bash
6
- * step in `.github/workflows/release.yml`. The engine creates annotated
7
- * git tags and publishes to PyPI / npm / crates.io but does NOT cut GitHub
8
- * Releases; this backfills them so the project's /releases page tracks the
9
- * tag history.
10
- *
11
- * The contract — previously pinned only by a YAML-text test (#437), now
12
- * ordinary tested code:
13
- *
14
- * - **no-fetch** — never `git fetch`. Local tag state is already complete:
15
- * checkout (`fetch-depth: 0`) fetched every remote tag, and the tags
16
- * iterated here were created locally by the engine in this same job. A
17
- * blanket `git fetch --tags` would reject any tag that moved since
18
- * checkout — a consumer's floating major tag, force-moved mid-run by
19
- * their promotion automation — failing the job after a fully successful
20
- * publish (#436).
21
- * - **ref-scoped-push** — `git push origin refs/tags/<tag>` per tag,
22
- * idempotent and invisible to every other tag, completing the engine's
23
- * warn-only tag push (#407) in the same run so `gh release create`
24
- * always sees its tag on the remote.
25
- * - **idempotent-create** — the `gh release view` guard skips a Release
26
- * that already exists instead of erroring on a re-run.
27
- *
28
- * Returns the process exit code (always 0 on the happy path; a git/gh
29
- * failure throws out of the loop and the CLI's top-level catch surfaces it
30
- * as exit 1, matching the bash `set -euo pipefail`).
2
+ * `putitoutthere release-github` — cut a GitHub Release for each new tag on HEAD
3
+ * (#444, #437). Never `git fetch`: a blanket `git fetch --tags` would reject a
4
+ * tag moved since checkout and fail the job after a fully successful publish
5
+ * (#436). Pushes are ref-scoped per tag (#407); creation is idempotent.
31
6
  */
32
7
  import { pushTagRef, tagsPointingAtHead } from '../git.js';
33
8
  import { ghReleaseCreate } from './gh-release-create.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/release-github/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,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IAC5D,MAAM,OAAO,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC;IAClC,MAAM,IAAI,GAAG,MAAM,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAC/C,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAC;QACzE,OAAO,CAAC,CAAC;IACX,CAAC;IACD,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,MAAM,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAC/B,IAAI,MAAM,eAAe,CAAC,GAAG,EAAE,OAAO,CAAC,EAAE,CAAC;YACxC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,kBAAkB,GAAG,8BAA8B,CAAC,CAAC;YAC1E,SAAS;QACX,CAAC;QACD,MAAM,eAAe,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QACpC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,8BAA8B,GAAG,IAAI,CAAC,CAAC;IAC9D,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC"}
@@ -1,20 +1,8 @@
1
1
  /**
2
- * `release_packages` manual-release spec parser.
3
- *
4
- * The spec is the value of the reusable workflow's `release_packages`
5
- * input. It lets a consumer trigger a release of explicitly named
6
- * packages without any new code — the motivating case being a
7
- * re-release after a putitoutthere bug fix, where the consumer's repo
8
- * has no new commits but the packages still need to ship again.
9
- *
10
- * Grammar:
11
- * spec = entry *( "," entry )
12
- * entry = package-name [ "@" version-spec ]
13
- * version-spec = "patch" | "minor" | "major" | semver
14
- *
15
- * A bare package name defaults to a `patch` bump. `semver` is strict
16
- * `X.Y.Z` (see `version.ts`). Whitespace around entries and the comma
17
- * separator is tolerated.
2
+ * `release_packages` manual-release spec parser — the reusable workflow's
3
+ * `release_packages` input, which re-releases explicitly named packages when
4
+ * the consumer's repo has no new commits. Grammar: comma-separated
5
+ * `name[@patch|minor|major|X.Y.Z]`; a bare name defaults to a `patch` bump.
18
6
  */
19
7
  import type { Bump } from './types.js';
20
8
  export interface ReleasePackagesEntry {
@@ -1 +1 @@
1
- {"version":3,"file":"release-packages.d.ts","sourceRoot":"","sources":["../src/release-packages.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAMD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,GAAG,SAAS,GACvB,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,GAAG,IAAI,CAiD1C"}
1
+ {"version":3,"file":"release-packages.d.ts","sourceRoot":"","sources":["../src/release-packages.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAMD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,GAAG,SAAS,GACvB,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,GAAG,IAAI,CAiD1C"}
@@ -1,20 +1,8 @@
1
1
  /**
2
- * `release_packages` manual-release spec parser.
3
- *
4
- * The spec is the value of the reusable workflow's `release_packages`
5
- * input. It lets a consumer trigger a release of explicitly named
6
- * packages without any new code — the motivating case being a
7
- * re-release after a putitoutthere bug fix, where the consumer's repo
8
- * has no new commits but the packages still need to ship again.
9
- *
10
- * Grammar:
11
- * spec = entry *( "," entry )
12
- * entry = package-name [ "@" version-spec ]
13
- * version-spec = "patch" | "minor" | "major" | semver
14
- *
15
- * A bare package name defaults to a `patch` bump. `semver` is strict
16
- * `X.Y.Z` (see `version.ts`). Whitespace around entries and the comma
17
- * separator is tolerated.
2
+ * `release_packages` manual-release spec parser — the reusable workflow's
3
+ * `release_packages` input, which re-releases explicitly named packages when
4
+ * the consumer's repo has no new commits. Grammar: comma-separated
5
+ * `name[@patch|minor|major|X.Y.Z]`; a bare name defaults to a `patch` bump.
18
6
  */
19
7
  import { parseSemver } from './version.js';
20
8
  // Same identifier shape the trailer parser and config loader accept.
@@ -1 +1 @@
1
- {"version":3,"file":"release-packages.js","sourceRoot":"","sources":["../src/release-packages.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAW3C,qEAAqE;AACrE,MAAM,YAAY,GAAG,8BAA8B,CAAC;AACpD,MAAM,KAAK,GAAG,IAAI,GAAG,CAAO,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AAEzD;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAClC,IAAwB;IAExB,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QAAA,OAAO,IAAI,CAAC;IAAA,CAAC;IACtC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IAC5B,IAAI,OAAO,KAAK,EAAE,EAAE,CAAC;QAAA,OAAO,IAAI,CAAC;IAAA,CAAC;IAElC,MAAM,GAAG,GAAG,IAAI,GAAG,EAAgC,CAAC;IACpD,KAAK,MAAM,GAAG,IAAI,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;QACxB,IAAI,IAAI,KAAK,EAAE,EAAE,CAAC;YAChB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CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAChD,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
@@ -1,35 +1,8 @@
1
1
  /**
2
2
  * Rewrite the `version = "..."` assignment inside a manifest's `[package]`
3
- * table, preserving everything else byte-for-byte.
4
- *
5
- * String surgery rather than a TOML round-trip, matching
6
- * `replaceWorkspacePackageVersion` and `replaceDepVersionReq`: re-emitting
7
- * parsed TOML discards the comments and formatting of a file the consumer
8
- * owns.
9
- *
10
- * Lives in its own module rather than inside `handlers/crates.ts` so both
11
- * the crates publish path and `writeResolvedCargoVersion` can reach it
12
- * without an import cycle between the handler and the resolver it now
13
- * delegates to. #639.
14
- *
15
- * **The match is bounded to the `[package]` table.** The original expression
16
- *
17
- * /(\[package\][\s\S]*?)(^\s*version\s*=\s*")([^"]*)(")/m
18
- *
19
- * was lazy and anchored only on the `[package]` *header*, so on a manifest
20
- * with no literal `[package].version` — one that inherits via
21
- * `version.workspace = true` — it walked past the table boundary and matched
22
- * the next `version = "..."` in the file, typically a dependency's
23
- * requirement in a section table. It then rewrote that requirement to the
24
- * release version, naming a release of someone else's crate that does not
25
- * exist, and reported success.
26
- *
27
- * Callers that need to handle inheritance go through
28
- * `writeResolvedCargoVersion`, which detects it first and rewrites
29
- * `[workspace.package].version` at the workspace root instead. This function
30
- * stays literal-only on purpose; bounding the table means it now fails loud
31
- * on a manifest it cannot legitimately rewrite instead of corrupting a
32
- * neighbouring field.
3
+ * table byte-preservingly (string surgery: re-emitting parsed TOML discards
4
+ * the consumer's comments). **Bounded to the `[package]` table** — an earlier
5
+ * lazy regex walked past it and silently rewrote a dependency's req (#639).
33
6
  */
34
7
  export declare function replaceCargoVersion(source: string, version: string): string;
35
8
  //# sourceMappingURL=replace-cargo-version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cargo-version.d.ts","sourceRoot":"","sources":["../src/replace-cargo-version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAuBH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAgB3E"}
1
+ {"version":3,"file":"replace-cargo-version.d.ts","sourceRoot":"","sources":["../src/replace-cargo-version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAuBH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAgB3E"}
@@ -1,35 +1,8 @@
1
1
  /**
2
2
  * Rewrite the `version = "..."` assignment inside a manifest's `[package]`
3
- * table, preserving everything else byte-for-byte.
4
- *
5
- * String surgery rather than a TOML round-trip, matching
6
- * `replaceWorkspacePackageVersion` and `replaceDepVersionReq`: re-emitting
7
- * parsed TOML discards the comments and formatting of a file the consumer
8
- * owns.
9
- *
10
- * Lives in its own module rather than inside `handlers/crates.ts` so both
11
- * the crates publish path and `writeResolvedCargoVersion` can reach it
12
- * without an import cycle between the handler and the resolver it now
13
- * delegates to. #639.
14
- *
15
- * **The match is bounded to the `[package]` table.** The original expression
16
- *
17
- * /(\[package\][\s\S]*?)(^\s*version\s*=\s*")([^"]*)(")/m
18
- *
19
- * was lazy and anchored only on the `[package]` *header*, so on a manifest
20
- * with no literal `[package].version` — one that inherits via
21
- * `version.workspace = true` — it walked past the table boundary and matched
22
- * the next `version = "..."` in the file, typically a dependency's
23
- * requirement in a section table. It then rewrote that requirement to the
24
- * release version, naming a release of someone else's crate that does not
25
- * exist, and reported success.
26
- *
27
- * Callers that need to handle inheritance go through
28
- * `writeResolvedCargoVersion`, which detects it first and rewrites
29
- * `[workspace.package].version` at the workspace root instead. This function
30
- * stays literal-only on purpose; bounding the table means it now fails loud
31
- * on a manifest it cannot legitimately rewrite instead of corrupting a
32
- * neighbouring field.
3
+ * table byte-preservingly (string surgery: re-emitting parsed TOML discards
4
+ * the consumer's comments). **Bounded to the `[package]` table** — an earlier
5
+ * lazy regex walked past it and silently rewrote a dependency's req (#639).
33
6
  */
34
7
  /**
35
8
  * The `[package]` table's body: its header line, then every following line
@@ -1 +1 @@
1
- {"version":3,"file":"replace-cargo-version.js","sourceRoot":"","sources":["../src/replace-cargo-version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH;;;;;;;;;GASG;AACH,MAAM,aAAa,GAAG,kDAAkD,CAAC;AAEzE;;;;GAIG;AACH,MAAM,YAAY,GAAG,uCAAuC,CAAC;AAE7D,MAAM,UAAU,GAAG,8CAA8C,CAAC;AAElE,MAAM,UAAU,mBAAmB,CAAC,MAAc,EAAE,OAAe;IACjE,MAAM,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACzC,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QAAA,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC;IAAA,CAAC;IAClD,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAW,CAAC;IAEhC,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAAA,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC;IAAA,CAAC;IACjD,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAW,CAAC;IAE9B,2EAA2E;IAC3E,2EAA2E;IAC3E,wEAAwE;IACxE,2EAA2E;IAC3E,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAC9D,MAAM,UAAU,GAAG,SAAS,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;IAC5E,OAAO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,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;AACvF,CAAC"}
@@ -1,39 +1,15 @@
1
1
  /**
2
- * Rewrite the `version = "…"` requirement on a **path** dependency,
3
- * preserving the rest of the manifest byte-for-byte. #621.
4
- *
5
- * Bumping an embedded crate without moving the requirements that point at
6
- * it is worse than leaving it stale: cargo stops resolving entirely.
7
- *
8
- * error: failed to select a version for the requirement `demo-core = "^0.2"`
9
- * candidate versions found which didn't match: 0.4.2
10
- *
11
- * That is a hard failure (exit 101) before anything compiles, and a
12
- * `version` key alongside `path` is *mandatory* for any crate that also
13
- * publishes to crates.io — so the shape that needs this is exactly the
14
- * shape polyglot repos have.
15
- *
16
- * String surgery rather than a TOML round-trip, matching
17
- * `replaceCargoVersion` and `replaceWorkspacePackageVersion`: re-emitting
18
- * parsed TOML discards comments and formatting from a file the consumer
19
- * owns.
20
- *
21
- * Only entries that also carry a `path` key are touched. A registry
22
- * dependency that happens to share the key name keeps its requirement —
23
- * rewriting pyo3's `0.22` to the release version would pin a version that
24
- * does not exist.
2
+ * Rewrite the `version = "…"` requirement on a **path** dependency, preserving
3
+ * the rest of the manifest byte-for-byte (#621). A stale requirement stops cargo
4
+ * dead at exit 101 — "failed to select a version for the requirement
5
+ * demo-core = ^0.2". Only path-carrying entries are touched: rewriting pyo3's
6
+ * `0.22` would pin a version that does not exist.
25
7
  */
26
8
  /**
27
9
  * Rewrite every `version` requirement declared for `depKey` **that also
28
- * declares a `path`**, in either dependency-entry syntax:
29
- *
30
- * - inline table — `demo-core = { path = "../core", version = "0.2" }`
31
- * - section table — `[dependencies.demo-core]` / `path` / `version`
32
- *
33
- * Both forms are scanned across the whole manifest, so a dependency
34
- * declared in several tables (normal plus dev, plus a `cfg`-gated one)
35
- * has every occurrence rewritten. Returns the source unchanged when the
36
- * key declares no path-plus-version entry.
10
+ * declares a `path`**, in either syntax — inline table
11
+ * (`demo-core = { path = "../core", version = "0.2" }`) or section table
12
+ * (`[dependencies.demo-core]`) — across every table in the manifest.
37
13
  */
38
14
  export declare function replaceDepVersionReq(source: string, depKey: string, version: string): string;
39
15
  //# sourceMappingURL=replace-dep-version-req.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replace-dep-version-req.d.ts","sourceRoot":"","sources":["../src/replace-dep-version-req.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAOH;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAG5F"}
1
+ {"version":3,"file":"replace-dep-version-req.d.ts","sourceRoot":"","sources":["../src/replace-dep-version-req.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAG5F"}
@@ -1,27 +1,9 @@
1
1
  /**
2
- * Rewrite the `version = "…"` requirement on a **path** dependency,
3
- * preserving the rest of the manifest byte-for-byte. #621.
4
- *
5
- * Bumping an embedded crate without moving the requirements that point at
6
- * it is worse than leaving it stale: cargo stops resolving entirely.
7
- *
8
- * error: failed to select a version for the requirement `demo-core = "^0.2"`
9
- * candidate versions found which didn't match: 0.4.2
10
- *
11
- * That is a hard failure (exit 101) before anything compiles, and a
12
- * `version` key alongside `path` is *mandatory* for any crate that also
13
- * publishes to crates.io — so the shape that needs this is exactly the
14
- * shape polyglot repos have.
15
- *
16
- * String surgery rather than a TOML round-trip, matching
17
- * `replaceCargoVersion` and `replaceWorkspacePackageVersion`: re-emitting
18
- * parsed TOML discards comments and formatting from a file the consumer
19
- * owns.
20
- *
21
- * Only entries that also carry a `path` key are touched. A registry
22
- * dependency that happens to share the key name keeps its requirement —
23
- * rewriting pyo3's `0.22` to the release version would pin a version that
24
- * does not exist.
2
+ * Rewrite the `version = "…"` requirement on a **path** dependency, preserving
3
+ * the rest of the manifest byte-for-byte (#621). A stale requirement stops cargo
4
+ * dead at exit 101 — "failed to select a version for the requirement
5
+ * demo-core = ^0.2". Only path-carrying entries are touched: rewriting pyo3's
6
+ * `0.22` would pin a version that does not exist.
25
7
  */
26
8
  /** Escape a dependency key for literal use inside a RegExp. */
27
9
  function escapeRe(s) {
@@ -29,15 +11,9 @@ function escapeRe(s) {
29
11
  }
30
12
  /**
31
13
  * Rewrite every `version` requirement declared for `depKey` **that also
32
- * declares a `path`**, in either dependency-entry syntax:
33
- *
34
- * - inline table — `demo-core = { path = "../core", version = "0.2" }`
35
- * - section table — `[dependencies.demo-core]` / `path` / `version`
36
- *
37
- * Both forms are scanned across the whole manifest, so a dependency
38
- * declared in several tables (normal plus dev, plus a `cfg`-gated one)
39
- * has every occurrence rewritten. Returns the source unchanged when the
40
- * key declares no path-plus-version entry.
14
+ * declares a `path`**, in either syntax — inline table
15
+ * (`demo-core = { path = "../core", version = "0.2" }`) or section table
16
+ * (`[dependencies.demo-core]`) — across every table in the manifest.
41
17
  */
42
18
  export function replaceDepVersionReq(source, depKey, version) {
43
19
  const key = escapeRe(depKey);
@@ -1 +1 @@
1
- {"version":3,"file":"replace-dep-version-req.js","sourceRoot":"","sources":["../src/replace-dep-version-req.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,+DAA+D;AAC/D,SAAS,QAAQ,CAAC,CAAS;IACzB,OAAO,CAAC,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;AAClD,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,oBAAoB,CAAC,MAAc,EAAE,MAAc,EAAE,OAAe;IAClF,MAAM,GAAG,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,sBAAsB,C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;AAClF,CAAC"}
@@ -1,19 +1,8 @@
1
1
  /**
2
2
  * Absolute paths rendered the way `git status --porcelain` renders them:
3
- * relative to the repository root, forward-slashed. #639.
4
- *
5
- * The crates pre-publish dirty-tree check compares engine-managed paths
6
- * against porcelain output, and porcelain names every file relative to the
7
- * repo root with forward slashes on every platform. Comparing an absolute,
8
- * platform-separated path against that never matches, so the conversion has
9
- * to happen first — and it happens for three different sets of paths (the
10
- * manifests `writeVersion` wrote, the sibling package directories, the
11
- * artifacts root), which is why it lives here rather than inline three times.
12
- *
13
- * Paths that do not sit under `cwd` are dropped rather than returned in
14
- * `../…` form: porcelain can never name a file outside the repository, so
15
- * such an entry could only ever fail to match, and keeping it would suggest
16
- * to a reader that it might match something.
3
+ * relative to the repo root, forward-slashed on every platform (#639). Paths
4
+ * outside `cwd` are dropped rather than returned in `../…` form — porcelain
5
+ * can never name a file outside the repo, so they could only fail to match.
17
6
  */
18
7
  /** Windows separators to the forward slashes git and this repo speak in. */
19
8
  export declare function toPosixPath(p: string): string;
@@ -1 +1 @@
1
- {"version":3,"file":"repo-relative-paths.d.ts","sourceRoot":"","sources":["../src/repo-relative-paths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE7C;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GACnC,MAAM,EAAE,CAQV"}
1
+ {"version":3,"file":"repo-relative-paths.d.ts","sourceRoot":"","sources":["../src/repo-relative-paths.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE7C;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GACnC,MAAM,EAAE,CAQV"}
@@ -1,19 +1,8 @@
1
1
  /**
2
2
  * Absolute paths rendered the way `git status --porcelain` renders them:
3
- * relative to the repository root, forward-slashed. #639.
4
- *
5
- * The crates pre-publish dirty-tree check compares engine-managed paths
6
- * against porcelain output, and porcelain names every file relative to the
7
- * repo root with forward slashes on every platform. Comparing an absolute,
8
- * platform-separated path against that never matches, so the conversion has
9
- * to happen first — and it happens for three different sets of paths (the
10
- * manifests `writeVersion` wrote, the sibling package directories, the
11
- * artifacts root), which is why it lives here rather than inline three times.
12
- *
13
- * Paths that do not sit under `cwd` are dropped rather than returned in
14
- * `../…` form: porcelain can never name a file outside the repository, so
15
- * such an entry could only ever fail to match, and keeping it would suggest
16
- * to a reader that it might match something.
3
+ * relative to the repo root, forward-slashed on every platform (#639). Paths
4
+ * outside `cwd` are dropped rather than returned in `../…` form — porcelain
5
+ * can never name a file outside the repo, so they could only fail to match.
17
6
  */
18
7
  import { relative } from 'node:path';
19
8
  /** Windows separators to the forward slashes git and this repo speak in. */
@@ -1 +1 @@
1
- {"version":3,"file":"repo-relative-paths.js","sourceRoot":"","sources":["../src/repo-relative-paths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,4EAA4E;AAC5E,MAAM,UAAU,WAAW,CAAC,CAAS;IACnC,OAAO,CAAC,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;AACjC,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAC/B,GAAW,EACX,KAAoC;IAEpC,MAAM,GAAG,GAAa,EAAE,CAAC;IACzB,KAAK,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,EAAE,CAAC;QAC5B,MAAM,GAAG,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAC7B,IAAI,GAAG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