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
@@ -1,24 +1,8 @@
1
1
  /**
2
- * `putitoutthere verify bundle-cli` — assert a maturin bundled-CLI wheel
3
- * contains its cross-compiled binary at `<stage_to>/<bin>` (#451, epic #442).
4
- *
5
- * Extraction of the inline "bundle_cli — verify wheel contains
6
- * <stage_to>/<bin>" bash block in `.github/workflows/_matrix.yml`. That step
7
- * guards the #282/#358 contract: a `[package.bundle_cli]` build must stage
8
- * its per-target binary into the wheel, so a consumer who declares a bundled
9
- * CLI actually ships one. Without it, a build that silently failed to stage
10
- * the binary would still produce a wheel and go green — the release surprise
11
- * the no-surprises commitment exists to catch.
12
- *
13
- * The binary's expected path is `<stage_suffix>/<bin><ext>` where
14
- * `stage_suffix` is `stage_to` with `[tool.maturin].python-source`
15
- * subtracted (maturin strips that dir from the wheel layout) and `ext` is
16
- * `.exe` on a Windows target. The wheel is a zip; its entries are read with
17
- * the pure-Node reader `verify wheel` (#450) already ships — no `unzip`, so
18
- * this runs on every platform the maturin matrix builds on, Windows
19
- * included — and the match mirrors the bash `grep -qE
20
- * "(^|/)<stage_suffix>/<expected>$"`. Async throughout. Returns the
21
- * process exit code (0 ok, 1 on a miss).
2
+ * `putitoutthere verify bundle-cli` — assert a maturin bundled-CLI wheel ships
3
+ * its cross-compiled binary at `<stage_suffix>/<bin><ext>` (`.exe` on Windows)
4
+ * (#451, #282/#358): without it a build that failed to stage the binary still
5
+ * produces a wheel and goes green. Zip reads use `verify wheel`'s reader (#450).
22
6
  */
23
7
  import type { VerifyBundleCliOptions } from './types.js';
24
8
  export declare function verifyBundleCli(opts: VerifyBundleCliOptions): Promise<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AASH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEzD,wBAAsB,eAAe,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC,CA4CnF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEzD,wBAAsB,eAAe,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC,CA4CnF"}
@@ -1,24 +1,8 @@
1
1
  /**
2
- * `putitoutthere verify bundle-cli` — assert a maturin bundled-CLI wheel
3
- * contains its cross-compiled binary at `<stage_to>/<bin>` (#451, epic #442).
4
- *
5
- * Extraction of the inline "bundle_cli — verify wheel contains
6
- * <stage_to>/<bin>" bash block in `.github/workflows/_matrix.yml`. That step
7
- * guards the #282/#358 contract: a `[package.bundle_cli]` build must stage
8
- * its per-target binary into the wheel, so a consumer who declares a bundled
9
- * CLI actually ships one. Without it, a build that silently failed to stage
10
- * the binary would still produce a wheel and go green — the release surprise
11
- * the no-surprises commitment exists to catch.
12
- *
13
- * The binary's expected path is `<stage_suffix>/<bin><ext>` where
14
- * `stage_suffix` is `stage_to` with `[tool.maturin].python-source`
15
- * subtracted (maturin strips that dir from the wheel layout) and `ext` is
16
- * `.exe` on a Windows target. The wheel is a zip; its entries are read with
17
- * the pure-Node reader `verify wheel` (#450) already ships — no `unzip`, so
18
- * this runs on every platform the maturin matrix builds on, Windows
19
- * included — and the match mirrors the bash `grep -qE
20
- * "(^|/)<stage_suffix>/<expected>$"`. Async throughout. Returns the
21
- * process exit code (0 ok, 1 on a miss).
2
+ * `putitoutthere verify bundle-cli` — assert a maturin bundled-CLI wheel ships
3
+ * its cross-compiled binary at `<stage_suffix>/<bin><ext>` (`.exe` on Windows)
4
+ * (#451, #282/#358): without it a build that failed to stage the binary still
5
+ * produces a wheel and goes green. Zip reads use `verify wheel`'s reader (#450).
22
6
  */
23
7
  import { readFile } from 'node:fs/promises';
24
8
  import { basename, isAbsolute, join, resolve } from 'node:path';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/verify/bundle-cli/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAG3D,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,IAA4B;IAChE,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAChF,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,MAAM,KAAK,GAAG,MAAM,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAClD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACn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ACD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,kBAAkB,MAAM,eAAe,IAAI,IAAI,CAAC,CAAC;IACtE,OAAO,CAAC,CAAC;AACX,CAAC"}
@@ -1,16 +1,8 @@
1
1
  /**
2
- * Read `[tool.maturin].python-source` (or the legacy `python_source`
3
- * spelling) from a package's `pyproject.toml`, normalized (#451).
4
- *
5
- * The engine analogue of the inline `python3 - <<PY … tomllib …` block in
6
- * `.github/workflows/_matrix.yml`'s "bundle_cli — verify wheel contains …"
7
- * step. maturin strips this directory from the wheel layout, so it is
8
- * subtracted from the front of `stage_to` before the binary path is built
9
- * (see `computeStageSuffix`). Missing file, missing table, or missing key
10
- * all resolve to `""` — the same "unset ⇒ leave stage_suffix unchanged"
11
- * behaviour as the bash. Both spellings are honoured because maturin has
12
- * accepted either across releases. Normalization mirrors the bash: drop a
13
- * single leading `./` and any trailing slashes.
2
+ * Read `[tool.maturin].python-source` (or the legacy `python_source`) from a
3
+ * package's `pyproject.toml`, normalized (#451). maturin strips this dir from
4
+ * the wheel layout, so it is subtracted from `stage_to`. Missing file, table or
5
+ * key all resolve to `""`; both spellings exist because maturin accepted either.
14
6
  */
15
7
  export declare function readPythonSource(pkgDir: string): Promise<string>;
16
8
  //# sourceMappingURL=read-python-source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"read-python-source.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/read-python-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAaH,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAUtE"}
1
+ {"version":3,"file":"read-python-source.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/read-python-source.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAUtE"}
@@ -1,16 +1,8 @@
1
1
  /**
2
- * Read `[tool.maturin].python-source` (or the legacy `python_source`
3
- * spelling) from a package's `pyproject.toml`, normalized (#451).
4
- *
5
- * The engine analogue of the inline `python3 - <<PY … tomllib …` block in
6
- * `.github/workflows/_matrix.yml`'s "bundle_cli — verify wheel contains …"
7
- * step. maturin strips this directory from the wheel layout, so it is
8
- * subtracted from the front of `stage_to` before the binary path is built
9
- * (see `computeStageSuffix`). Missing file, missing table, or missing key
10
- * all resolve to `""` — the same "unset ⇒ leave stage_suffix unchanged"
11
- * behaviour as the bash. Both spellings are honoured because maturin has
12
- * accepted either across releases. Normalization mirrors the bash: drop a
13
- * single leading `./` and any trailing slashes.
2
+ * Read `[tool.maturin].python-source` (or the legacy `python_source`) from a
3
+ * package's `pyproject.toml`, normalized (#451). maturin strips this dir from
4
+ * the wheel layout, so it is subtracted from `stage_to`. Missing file, table or
5
+ * key all resolve to `""`; both spellings exist because maturin accepted either.
14
6
  */
15
7
  import { readFile } from 'node:fs/promises';
16
8
  import { join } from 'node:path';
@@ -1 +1 @@
1
- {"version":3,"file":"read-python-source.js","sourceRoot":"","sources":["../../../src/verify/bundle-cli/read-python-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAMxD,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,MAAc;IACnD,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IACjD,IAAI,CAAC,CAAC,MAAM,UAAU,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC;QACnC,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,MAAM,GAAG,GAAG,SAAS,CAAC,MAAM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O,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/C,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AACtD,CAAC"}
@@ -1,12 +1,8 @@
1
1
  /**
2
2
  * The path to a non-empty `<name>-<version>.crate` under `registryRoot`, or
3
3
  * null when none exists (or the only match is empty) (#449).
4
- *
5
- * The synchronous analogue of the bash
6
- * `find "$REG_ROOT" -name "${name}-${version}.crate" -type f -print -quit`
7
- * followed by the `[ -z … ] || [ ! -s … ]` non-empty guard. `cargo-http-
8
- * registry` stores `.crate` files nested under the root, so the search
9
- * recurses.
4
+ * `cargo-http-registry` stores `.crate` files nested under the root, so the
5
+ * search recurses.
10
6
  */
11
7
  export declare function findCrateFile(registryRoot: string, name: string, version: string): Promise<string | null>;
12
8
  //# sourceMappingURL=find-crate-file.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-crate-file.d.ts","sourceRoot":"","sources":["../../../src/verify/crate/find-crate-file.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,wBAAsB,aAAa,CACjC,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQxB"}
1
+ {"version":3,"file":"find-crate-file.d.ts","sourceRoot":"","sources":["../../../src/verify/crate/find-crate-file.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,wBAAsB,aAAa,CACjC,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQxB"}
@@ -1,12 +1,8 @@
1
1
  /**
2
2
  * The path to a non-empty `<name>-<version>.crate` under `registryRoot`, or
3
3
  * null when none exists (or the only match is empty) (#449).
4
- *
5
- * The synchronous analogue of the bash
6
- * `find "$REG_ROOT" -name "${name}-${version}.crate" -type f -print -quit`
7
- * followed by the `[ -z … ] || [ ! -s … ]` non-empty guard. `cargo-http-
8
- * registry` stores `.crate` files nested under the root, so the search
9
- * recurses.
4
+ * `cargo-http-registry` stores `.crate` files nested under the root, so the
5
+ * search recurses.
10
6
  */
11
7
  import { stat } from 'node:fs/promises';
12
8
  import { basename } from 'node:path';
@@ -1 +1 @@
1
- {"version":3,"file":"find-crate-file.js","sourceRoot":"","sources":["../../../src/verify/crate/find-crate-file.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,YAAoB,EACpB,IAAY,EACZ,OAAe;IAEf,MAAM,MAAM,GAAG,GAAG,IAAI,IAAI,OAAO,QAAQ,CAAC;IAC1C,KAAK,MAAM,IAAI,IAAI,MAAM,kBAAkB,CAAC,YAAY,CAAC,EAAE,CAAC;QAC1D,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
1
+ {"version":3,"file":"find-crate-file.js","sourceRoot":"","sources":["../../../src/verify/crate/find-crate-file.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,YAAoB,EACpB,IAAY,EACZ,OAAe;IAEf,MAAM,MAAM,GAAG,GAAG,IAAI,IAAI,OAAO,QAAQ,CAAC;IAC1C,KAAK,MAAM,IAAI,IAAI,MAAM,kBAAkB,CAAC,YAAY,CAAC,EAAE,CAAC;QAC1D,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC;YAC7D,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -1,10 +1,8 @@
1
1
  /**
2
2
  * Whether the extracted crate tree surfaces `src/lib.rs` or `src/main.rs`
3
- * (#449). cargo packs into `<name>-<version>/{Cargo.toml,src/…}`, so any
4
- * file path ending in `/src/lib.rs` or `/src/main.rs` counts — the
5
- * analogue of the bash `find … -path` check on those two source entries.
6
- * This is the crates-side of the npm verify's "files[] dir is populated"
7
- * check: proof the publish shipped the source tree, not an empty tarball.
3
+ * (#449). cargo packs into `<name>-<version>/{Cargo.toml,src/…}`, so any path
4
+ * ending `/src/lib.rs` or `/src/main.rs` counts. This is proof the publish
5
+ * shipped the source tree, not an empty tarball.
8
6
  */
9
7
  export declare function hasCrateSource(dir: string): Promise<boolean>;
10
8
  //# sourceMappingURL=has-crate-source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"has-crate-source.d.ts","sourceRoot":"","sources":["../../../src/verify/crate/has-crate-source.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CASlE"}
1
+ {"version":3,"file":"has-crate-source.d.ts","sourceRoot":"","sources":["../../../src/verify/crate/has-crate-source.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CASlE"}
@@ -1,10 +1,8 @@
1
1
  /**
2
2
  * Whether the extracted crate tree surfaces `src/lib.rs` or `src/main.rs`
3
- * (#449). cargo packs into `<name>-<version>/{Cargo.toml,src/…}`, so any
4
- * file path ending in `/src/lib.rs` or `/src/main.rs` counts — the
5
- * analogue of the bash `find … -path` check on those two source entries.
6
- * This is the crates-side of the npm verify's "files[] dir is populated"
7
- * check: proof the publish shipped the source tree, not an empty tarball.
3
+ * (#449). cargo packs into `<name>-<version>/{Cargo.toml,src/…}`, so any path
4
+ * ending `/src/lib.rs` or `/src/main.rs` counts. This is proof the publish
5
+ * shipped the source tree, not an empty tarball.
8
6
  */
9
7
  import { basename, dirname } from 'node:path';
10
8
  import { listFilesRecursive } from '../../utils/list-files-recursive.js';
@@ -1 +1 @@
1
- {"version":3,"file":"has-crate-source.js","sourceRoot":"","sources":["../../../src/verify/crate/has-crate-source.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,GAAW;IAC9C,8DAA8D;IAC9D,wEAAwE;IACxE,oEAAoE;IACpE,mEAAmE;IACnE,OAAO,CAAC,MAAM,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;QAChD,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;QACzB,OAAO,CAAC,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,SAAS,CAAC,IAAI,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC;IACrF,CAAC,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"has-crate-source.js","sourceRoot":"","sources":["../../../src/verify/crate/has-crate-source.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,GAAW;IAC9C,8DAA8D;IAC9D,wEAAwE;IACxE,oEAAoE;IACpE,mEAAmE;IACnE,OAAO,CAAC,MAAM,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;QAChD,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;QACzB,OAAO,CAAC,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,SAAS,CAAC,IAAI,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC;IACrF,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -1,20 +1,8 @@
1
1
  /**
2
- * `putitoutthere verify crate` — assert each published `.crate` ships its
3
- * source tree (#449, epic #442).
4
- *
5
- * Extraction of the inline "Verify published .crate tarballs honor expected
6
- * files" bash block (#334) in `.github/workflows/e2e-fixture-job.yml`. The
7
- * crates-side sibling of `verify npm-tarball` (#443): where npm downloads
8
- * the tarball over HTTP, crates reads the `.crate` straight off the
9
- * `cargo-http-registry` disk root the engine just published to — same host,
10
- * same job, no fetch. For each crates row it finds `<name>-<version>.crate`
11
- * under the registry root, asserts it is present and non-empty, extracts it
12
- * with the real `tar`, and asserts `src/lib.rs` or `src/main.rs` surfaces.
13
- *
14
- * The diagnostic this gate gives (the rust-vanilla-first-publish fixture):
15
- * without it, a publish that silently no-op'd or produced an empty `.crate`
16
- * would still go green. Async throughout, per the engine convention.
17
- * Returns the process exit code (0 ok, 1 on any miss).
2
+ * `putitoutthere verify crate` — assert each published `.crate` ships its source
3
+ * tree (#449, #334): read it off the `cargo-http-registry` disk root just
4
+ * published to (no fetch, unlike `verify npm-tarball`, #443), extract with real
5
+ * `tar`, assert `src/lib.rs` or `src/main.rs`. An empty `.crate` would go green.
18
6
  */
19
7
  import type { VerifyCrateOptions } from './types.js';
20
8
  export declare function verifyCrate(opts: VerifyCrateOptions): Promise<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verify/crate/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAQH,OAAO,KAAK,EAAY,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAE/D,wBAAsB,WAAW,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CA+B3E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verify/crate/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH,OAAO,KAAK,EAAY,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAE/D,wBAAsB,WAAW,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CA+B3E"}
@@ -1,20 +1,8 @@
1
1
  /**
2
- * `putitoutthere verify crate` — assert each published `.crate` ships its
3
- * source tree (#449, epic #442).
4
- *
5
- * Extraction of the inline "Verify published .crate tarballs honor expected
6
- * files" bash block (#334) in `.github/workflows/e2e-fixture-job.yml`. The
7
- * crates-side sibling of `verify npm-tarball` (#443): where npm downloads
8
- * the tarball over HTTP, crates reads the `.crate` straight off the
9
- * `cargo-http-registry` disk root the engine just published to — same host,
10
- * same job, no fetch. For each crates row it finds `<name>-<version>.crate`
11
- * under the registry root, asserts it is present and non-empty, extracts it
12
- * with the real `tar`, and asserts `src/lib.rs` or `src/main.rs` surfaces.
13
- *
14
- * The diagnostic this gate gives (the rust-vanilla-first-publish fixture):
15
- * without it, a publish that silently no-op'd or produced an empty `.crate`
16
- * would still go green. Async throughout, per the engine convention.
17
- * Returns the process exit code (0 ok, 1 on any miss).
2
+ * `putitoutthere verify crate` — assert each published `.crate` ships its source
3
+ * tree (#449, #334): read it off the `cargo-http-registry` disk root just
4
+ * published to (no fetch, unlike `verify npm-tarball`, #443), extract with real
5
+ * `tar`, assert `src/lib.rs` or `src/main.rs`. An empty `.crate` would go green.
18
6
  */
19
7
  import { rm } from 'node:fs/promises';
20
8
  import { extractCrate } from './extract-crate.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/verify/crate/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAEtC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,IAAwB;IACxD,MAAM,IAAI,GAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;IACxF,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC;QAC7D,OAAO,CAAC,CAAC;IACX,CAAC;IAED,IAAI,IAAI,GAAG,CAAC,CAAC;IACb,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,MAAM,SAAS,GAAG,MAAM,aAAa,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;QAChF,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;YACvB,OAAO,CAAC,MA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E,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACxD,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -1,14 +1,8 @@
1
1
  /**
2
- * Download a published npm tarball and extract it, returning the path to
3
- * the unpacked `package/` directory (#443).
4
- *
5
- * `curl --retry 5 --retry-all-errors` absorbs the tarball-blob CDN race
6
- * that is independent of the packument race `resolveNpmTarballUrl` handles:
7
- * a cold-edge tarball miss surfaces as HTTP 404, which curl's default
2
+ * Download a published npm tarball and extract it, returning the unpacked
3
+ * `package/` directory (#443). `curl --retry 5 --retry-all-errors` absorbs the
4
+ * tarball-blob CDN race: a cold-edge miss is an HTTP 404, which curl's default
8
5
  * `--retry` ignores, so `--retry-all-errors` is load-bearing (PR #323).
9
- * `retryDelay` seconds matches the call site's original schedule.
10
- *
11
- * Caller owns cleanup of the returned `root`.
12
6
  */
13
7
  export interface ExtractedTarball {
14
8
  /** Temp dir to `rm` when done. */
@@ -1 +1 @@
1
- {"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/download.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAQH,MAAM,WAAW,gBAAgB;IAC/B,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAUnG"}
1
+ {"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/download.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH,MAAM,WAAW,gBAAgB;IAC/B,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAUnG"}
@@ -1,14 +1,8 @@
1
1
  /**
2
- * Download a published npm tarball and extract it, returning the path to
3
- * the unpacked `package/` directory (#443).
4
- *
5
- * `curl --retry 5 --retry-all-errors` absorbs the tarball-blob CDN race
6
- * that is independent of the packument race `resolveNpmTarballUrl` handles:
7
- * a cold-edge tarball miss surfaces as HTTP 404, which curl's default
2
+ * Download a published npm tarball and extract it, returning the unpacked
3
+ * `package/` directory (#443). `curl --retry 5 --retry-all-errors` absorbs the
4
+ * tarball-blob CDN race: a cold-edge miss is an HTTP 404, which curl's default
8
5
  * `--retry` ignores, so `--retry-all-errors` is load-bearing (PR #323).
9
- * `retryDelay` seconds matches the call site's original schedule.
10
- *
11
- * Caller owns cleanup of the returned `root`.
12
6
  */
13
7
  import { mkdir, mkdtemp } from 'node:fs/promises';
14
8
  import { tmpdir } from 'node:os';
@@ -1 +1 @@
1
- {"version":3,"file":"download.js","sourceRoot":"","sources":["../../../src/verify/npm-tarball/download.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAS1D,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,GAAW,EAAE,UAAkB;IACtE,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,eAAe,CAAC,CAAC,CAAC;IAC5D,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IAClC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IAC1C,MAAM,WAAW,CAAC,MAAM,EAAE;QACxB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CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC;IACzD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,CAAC;AAC1D,CAAC"}
@@ -1,17 +1,8 @@
1
1
  /**
2
- * `putitoutthere verify npm-tarball` — assert a published npm tarball
3
- * honors the shape it declared (#443, epic #442).
4
- *
5
- * Extraction of the two inline bash blocks in
6
- * `.github/workflows/e2e-fixture-job.yml` into one tested engine command,
7
- * invoked from both former sites. Default mode verifies main/noarch
8
- * `package.json` `files[]` directories are present in the tarball;
9
- * `--per-triple` verifies synthesized platform packages ship a
10
- * non-`package.json` file.
11
- *
12
- * Reads the same plan matrix the workflow already carries; downloads each
13
- * tarball back from the registry (`npm view` → `curl` → `tar`) and inspects
14
- * it. Returns the process exit code (0 ok, 1 on any mismatch).
2
+ * `putitoutthere verify npm-tarball` — assert a published npm tarball honors the
3
+ * shape it declared (#443, epic #442). Default mode verifies the main/noarch
4
+ * `package.json` `files[]` dirs are in the tarball; `--per-triple` verifies a
5
+ * platform package ships a non-`package.json` file. Downloads each back.
15
6
  */
16
7
  import type { VerifyNpmTarballOptions } from './types.js';
17
8
  export declare function verifyNpmTarball(opts: VerifyNpmTarballOptions): Promise<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAc,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAEtE,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC,MAAM,CAAC,CAGrF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAc,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAEtE,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC,MAAM,CAAC,CAGrF"}
@@ -1,17 +1,8 @@
1
1
  /**
2
- * `putitoutthere verify npm-tarball` — assert a published npm tarball
3
- * honors the shape it declared (#443, epic #442).
4
- *
5
- * Extraction of the two inline bash blocks in
6
- * `.github/workflows/e2e-fixture-job.yml` into one tested engine command,
7
- * invoked from both former sites. Default mode verifies main/noarch
8
- * `package.json` `files[]` directories are present in the tarball;
9
- * `--per-triple` verifies synthesized platform packages ship a
10
- * non-`package.json` file.
11
- *
12
- * Reads the same plan matrix the workflow already carries; downloads each
13
- * tarball back from the registry (`npm view` → `curl` → `tar`) and inspects
14
- * it. Returns the process exit code (0 ok, 1 on any mismatch).
2
+ * `putitoutthere verify npm-tarball` — assert a published npm tarball honors the
3
+ * shape it declared (#443, epic #442). Default mode verifies the main/noarch
4
+ * `package.json` `files[]` dirs are in the tarball; `--per-triple` verifies a
5
+ * platform package ships a non-`package.json` file. Downloads each back.
15
6
  */
16
7
  import { verifyNpmTarballMain } from './main.js';
17
8
  import { verifyNpmTarballTriple } from './triple.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/verify/npm-tarball/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,IAA6B;IAClE,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAiB,CAAC;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,sBAAsB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAChG,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/verify/npm-tarball/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,IAA6B;IAClE,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAiB,CAAC;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,sBAAsB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAChG,CAAC"}
@@ -1,12 +1,8 @@
1
1
  /**
2
- * Diagnostic string for a declared `files[]` directory that is missing
3
- * from a published tarball: is it present in the local source tree, and
4
- * with how many files? (#443)
5
- *
6
- * A present-locally-but-absent-in-tarball state is the fingerprint of the
7
- * cachetta 0.3.x bug — the build produced the dir, the publish shipped
8
- * without it. Absent locally points at a different misconfiguration. The
9
- * string is appended to the tarball-missing `::error::`.
2
+ * Diagnostic string for a declared `files[]` directory missing from a published
3
+ * tarball: is it present in the local source tree, and with how many files?
4
+ * (#443) Present-locally-but-absent-in-tarball is the cachetta 0.3.x
5
+ * fingerprint — the build produced the dir, the publish shipped without it.
10
6
  */
11
7
  export declare function localDirState(localPath: string): Promise<string>;
12
8
  //# sourceMappingURL=local-dir-state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"local-dir-state.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/local-dir-state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,wBAAsB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAMtE"}
1
+ {"version":3,"file":"local-dir-state.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/local-dir-state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,wBAAsB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAMtE"}
@@ -1,12 +1,8 @@
1
1
  /**
2
- * Diagnostic string for a declared `files[]` directory that is missing
3
- * from a published tarball: is it present in the local source tree, and
4
- * with how many files? (#443)
5
- *
6
- * A present-locally-but-absent-in-tarball state is the fingerprint of the
7
- * cachetta 0.3.x bug — the build produced the dir, the publish shipped
8
- * without it. Absent locally points at a different misconfiguration. The
9
- * string is appended to the tarball-missing `::error::`.
2
+ * Diagnostic string for a declared `files[]` directory missing from a published
3
+ * tarball: is it present in the local source tree, and with how many files?
4
+ * (#443) Present-locally-but-absent-in-tarball is the cachetta 0.3.x
5
+ * fingerprint — the build produced the dir, the publish shipped without it.
10
6
  */
11
7
  import { stat } from 'node:fs/promises';
12
8
  import { listFilesRecursive } from '../../utils/list-files-recursive.js';
@@ -1 +1 @@
1
- {"version":3,"file":"local-dir-state.js","sourceRoot":"","sources":["../../../src/verify/npm-tarball/local-dir-state.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,SAAiB;IACnD,IAAI,CAAC,MAAM,UAAU,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC;QAC3E,MAAM,KAAK,GAAG,MAAM,kBAAkB,CAAC,SAAS,CAAC,CAAC;QAClD,OAAO,SAAS,SAAS,cAAc,KAAK,CAAC,MAAM,cAAc,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;IACtF,CAAC;IACD,OAAO,SAAS,SAAS,WAAW,CAAC;AACvC,CAAC"}
1
+ {"version":3,"file":"local-dir-state.js","sourceRoot":"","sources":["../../../src/verify/npm-tarball/local-dir-state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,SAAiB;IACnD,IAAI,CAAC,MAAM,UAAU,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC;QAC3E,MAAM,KAAK,GAAG,MAAM,kBAAkB,CAAC,SAAS,CAAC,CAAC;QAClD,OAAO,SAAS,SAAS,cAAc,KAAK,CAAC,MAAM,cAAc,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;IACtF,CAAC;IACD,OAAO,SAAS,SAAS,WAAW,CAAC;AACvC,CAAC"}
@@ -1,18 +1,8 @@
1
1
  /**
2
- * Verify each published main/noarch npm tarball contains the directory
3
- * entries its `package.json` `files[]` declares (#443).
4
- *
5
- * The load-bearing check: the build job produces `dist/`, the publish job
6
- * ships from a fresh source tree, and `npm publish` returns 0 even when
7
- * that tree is missing the compiled output — so the registry receives a
8
- * tarball without `dist/` and nothing upstream complains. This step
9
- * downloads the published tarball back and asserts the declared dirs are
10
- * present and non-empty. Extracted verbatim from the "Verify published npm
11
- * tarballs honor package.json files" bash block.
12
- *
13
- * `files[]` entries without a dot are treated as directories (`dist`,
14
- * `lib`); dotted entries (`README.md`) are individual files and need no
15
- * per-tree assertion. Returns the process exit code (0 ok, 1 on any miss).
2
+ * Verify each published main/noarch npm tarball contains the directory entries
3
+ * its `package.json` `files[]` declares (#443) — `npm publish` returns 0 even
4
+ * when the tree it ships from lacks the compiled output. Dotless `files[]`
5
+ * entries are treated as directories; dotted ones are individual files.
16
6
  */
17
7
  import type { TarballRow, VerifyNpmTarballOptions } from './types.js';
18
8
  export declare function verifyNpmTarballMain(rows: TarballRow[], opts: VerifyNpmTarballOptions): Promise<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/main.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAUH,OAAO,KAAK,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAEtE,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,UAAU,EAAE,EAClB,IAAI,EAAE,uBAAuB,GAC5B,OAAO,CAAC,MAAM,CAAC,CA2DjB"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/main.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAUH,OAAO,KAAK,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAEtE,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,UAAU,EAAE,EAClB,IAAI,EAAE,uBAAuB,GAC5B,OAAO,CAAC,MAAM,CAAC,CA2DjB"}
@@ -1,18 +1,8 @@
1
1
  /**
2
- * Verify each published main/noarch npm tarball contains the directory
3
- * entries its `package.json` `files[]` declares (#443).
4
- *
5
- * The load-bearing check: the build job produces `dist/`, the publish job
6
- * ships from a fresh source tree, and `npm publish` returns 0 even when
7
- * that tree is missing the compiled output — so the registry receives a
8
- * tarball without `dist/` and nothing upstream complains. This step
9
- * downloads the published tarball back and asserts the declared dirs are
10
- * present and non-empty. Extracted verbatim from the "Verify published npm
11
- * tarballs honor package.json files" bash block.
12
- *
13
- * `files[]` entries without a dot are treated as directories (`dist`,
14
- * `lib`); dotted entries (`README.md`) are individual files and need no
15
- * per-tree assertion. Returns the process exit code (0 ok, 1 on any miss).
2
+ * Verify each published main/noarch npm tarball contains the directory entries
3
+ * its `package.json` `files[]` declares (#443) — `npm publish` returns 0 even
4
+ * when the tree it ships from lacks the compiled output. Dotless `files[]`
5
+ * entries are treated as directories; dotted ones are individual files.
16
6
  */
17
7
  import { readFile, rm, stat } from 'node:fs/promises';
18
8
  import { join } from 'node:path';
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../../../src/verify/npm-tarball/main.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGxD,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,IAAkB,EAClB,IAA6B;IAE7B,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,KAAK,MAAM,IAAI,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC;IACvG,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,+CAA+C,CAAC,CAAC;QACtE,OAAO,CAAC,CAAC;IACX,CAAC;IAED,sEAAsE;IACtE,qEAAqE;IACrE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;IAC/B,MAAM,MAAM,GAA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MAAM,GAAG,CAAC,iHAAiH,CACvO,CAAC;YACF,IAAI,GAAG,CAAC,CAAC;YACT,SAAS;QACX,CAAC;QAED,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,MAAM,kBAAkB,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAC9D,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC;YACrB,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;YACnC,kEAAkE;YAClE,kEAAkE;YAClE,0DAA0D;YAC1D,IAAI,CAAC,MAAM,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,MAAM,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACtH,MAAM,KAAK,GAAG,CAAC,MAAM,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;gBACxD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,MAAM,KAAK,aAAa,CAAC,CAAC;YACnE,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,aAAa,OAAO,IAAI,OAAO,sBAAsB,CAAC,MAAM,MAAM,aAAa,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,CAC1G,CAAC;gBACF,IAAI,GAAG,CAAC,CAAC;YACX,CAAC;QACH,CAAC;QACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACnD,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -1,16 +1,9 @@
1
1
  /**
2
2
  * Resolve a published package's tarball URL via `npm view … dist.tarball`,
3
- * absorbing packument lag with a bounded retry schedule (#443).
4
- *
5
- * `npm view`'s packument index propagates across the registry CDN
6
- * asynchronously, so an immediate read after publish can return empty
7
- * before the metadata lands. `sleeps` (seconds) drives the backoff: N
8
- * sleeps means N+1 attempts, no sleep after the last. Returns the tarball
9
- * URL, or `null` when every attempt came back empty — the caller emits the
10
- * mode-specific `::error::`.
11
- *
12
- * `npm view` is the sole subprocess; `--registry` (when set) is appended
13
- * after the positional args so it stays out of the `name@version` slot.
3
+ * absorbing packument lag with a bounded retry (#443): the packument index
4
+ * propagates across the registry CDN asynchronously, so an immediate read after
5
+ * publish can come back empty. N `sleeps` means N+1 attempts; `null` if all
6
+ * empty. `--registry` goes after the positional args, clear of `name@version`.
14
7
  */
15
8
  interface ResolveOptions {
16
9
  registry?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-url.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/resolve-url.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,UAAU,cAAc;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAgBD,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAexB"}
1
+ {"version":3,"file":"resolve-url.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/resolve-url.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,UAAU,cAAc;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAgBD,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAexB"}
@@ -1,16 +1,9 @@
1
1
  /**
2
2
  * Resolve a published package's tarball URL via `npm view … dist.tarball`,
3
- * absorbing packument lag with a bounded retry schedule (#443).
4
- *
5
- * `npm view`'s packument index propagates across the registry CDN
6
- * asynchronously, so an immediate read after publish can return empty
7
- * before the metadata lands. `sleeps` (seconds) drives the backoff: N
8
- * sleeps means N+1 attempts, no sleep after the last. Returns the tarball
9
- * URL, or `null` when every attempt came back empty — the caller emits the
10
- * mode-specific `::error::`.
11
- *
12
- * `npm view` is the sole subprocess; `--registry` (when set) is appended
13
- * after the positional args so it stays out of the `name@version` slot.
3
+ * absorbing packument lag with a bounded retry (#443): the packument index
4
+ * propagates across the registry CDN asynchronously, so an immediate read after
5
+ * publish can come back empty. N `sleeps` means N+1 attempts; `null` if all
6
+ * empty. `--registry` goes after the positional args, clear of `name@version`.
14
7
  */
15
8
  import { execCapture } from '../../utils/exec-capture.js';
16
9
  async function viewTarballUrl(spec, registry) {
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-url.js","sourceRoot":"","sources":["../../../src/verify/npm-tarball/resolve-url.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAO1D,KAAK,UAAU,cAAc,CAAC,IAAY,EAAE,QAAiB;IAC3D,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAC3F,OAAO,CAAC,MAAM,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACxD,CAAC;IAAC,MAAM,CAAC;QACP,gEAAgE;QAChE,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC;AAED,SAAS,KAAK,CAAC,EAAU;IACvB,OAAO,IAAI,OAAO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