packtory 0.0.91 → 0.0.92

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 (650) hide show
  1. package/artifacts/artifacts-builder.js +4 -37
  2. package/artifacts/artifacts-builder.js.map +1 -1
  3. package/artifacts/content-collection.js +2 -59
  4. package/artifacts/content-collection.js.map +1 -1
  5. package/artifacts/folder-writer.js +2 -25
  6. package/artifacts/folder-writer.js.map +1 -1
  7. package/bundle-emitter/emitter.d.ts +0 -8
  8. package/bundle-emitter/emitter.d.ts.map +1 -1
  9. package/bundle-emitter/emitter.js +6 -106
  10. package/bundle-emitter/emitter.js.map +1 -1
  11. package/bundle-emitter/extract-package-tarball.js +2 -13
  12. package/bundle-emitter/extract-package-tarball.js.map +1 -1
  13. package/bundle-emitter/fetch-published-artifacts.js +2 -16
  14. package/bundle-emitter/fetch-published-artifacts.js.map +1 -1
  15. package/bundle-emitter/publication-outcome.d.ts +0 -3
  16. package/bundle-emitter/publication-outcome.d.ts.map +1 -1
  17. package/bundle-emitter/publication-outcome.js +0 -5
  18. package/bundle-emitter/publication-outcome.js.map +1 -1
  19. package/bundle-emitter/publish-error/auto-mode-error-matching.js +2 -28
  20. package/bundle-emitter/publish-error/auto-mode-error-matching.js.map +1 -1
  21. package/bundle-emitter/publish-error/error-shape-helpers.js +0 -9
  22. package/bundle-emitter/publish-error/error-shape-helpers.js.map +1 -1
  23. package/bundle-emitter/publish-error/file-mode-error-matching.js +2 -33
  24. package/bundle-emitter/publish-error/file-mode-error-matching.js.map +1 -1
  25. package/bundle-emitter/publish-error/publish-error-messages.js +0 -24
  26. package/bundle-emitter/publish-error/publish-error-messages.js.map +1 -1
  27. package/bundle-emitter/registry/metadata-auth-retry.js +1 -24
  28. package/bundle-emitter/registry/metadata-auth-retry.js.map +1 -1
  29. package/bundle-emitter/registry/oidc-token-exchange.js +3 -68
  30. package/bundle-emitter/registry/oidc-token-exchange.js.map +1 -1
  31. package/bundle-emitter/registry/package-metadata-fetcher.d.ts +0 -13
  32. package/bundle-emitter/registry/package-metadata-fetcher.d.ts.map +1 -1
  33. package/bundle-emitter/registry/package-metadata-fetcher.js +7 -186
  34. package/bundle-emitter/registry/package-metadata-fetcher.js.map +1 -1
  35. package/bundle-emitter/registry/publish-settings-bridge.js +3 -34
  36. package/bundle-emitter/registry/publish-settings-bridge.js.map +1 -1
  37. package/bundle-emitter/registry/registry-auth-config.js +0 -106
  38. package/bundle-emitter/registry/registry-auth-config.js.map +1 -1
  39. package/bundle-emitter/registry/registry-client.d.ts +1 -13
  40. package/bundle-emitter/registry/registry-client.d.ts.map +1 -1
  41. package/bundle-emitter/registry/registry-client.js +4 -71
  42. package/bundle-emitter/registry/registry-client.js.map +1 -1
  43. package/bundle-emitter/registry/registry-package-path.js +0 -3
  44. package/bundle-emitter/registry/registry-package-path.js.map +1 -1
  45. package/bundle-emitter/registry/registry-response-schemas.js +2 -50
  46. package/bundle-emitter/registry/registry-response-schemas.js.map +1 -1
  47. package/bundle-emitter/registry/tarball-integrity.d.ts +0 -1
  48. package/bundle-emitter/registry/tarball-integrity.d.ts.map +1 -1
  49. package/bundle-emitter/registry/tarball-integrity.js +1 -31
  50. package/bundle-emitter/registry/tarball-integrity.js.map +1 -1
  51. package/bundle-emitter/registry/validate-tarball-host.js +1 -26
  52. package/bundle-emitter/registry/validate-tarball-host.js.map +1 -1
  53. package/bundle-emitter/release-artifact-canonicalizer.js +5 -31
  54. package/bundle-emitter/release-artifact-canonicalizer.js.map +1 -1
  55. package/checks/check-runner.js +0 -8
  56. package/checks/check-runner.js.map +1 -1
  57. package/checks/rule.js +2 -12
  58. package/checks/rule.js.map +1 -1
  59. package/checks/rules/duplicate-detection.js +1 -23
  60. package/checks/rules/duplicate-detection.js.map +1 -1
  61. package/checks/rules/duplicate-messages.js +0 -22
  62. package/checks/rules/duplicate-messages.js.map +1 -1
  63. package/checks/rules/file-ownership.js +0 -15
  64. package/checks/rules/file-ownership.js.map +1 -1
  65. package/checks/rules/max-bundle-size.js +1 -55
  66. package/checks/rules/max-bundle-size.js.map +1 -1
  67. package/checks/rules/no-dev-dependency-imports.js +1 -51
  68. package/checks/rules/no-dev-dependency-imports.js.map +1 -1
  69. package/checks/rules/no-duplicated-files.js +3 -53
  70. package/checks/rules/no-duplicated-files.js.map +1 -1
  71. package/checks/rules/no-side-effects.js +1 -50
  72. package/checks/rules/no-side-effects.js.map +1 -1
  73. package/checks/rules/no-unexposed-executables.js +2 -43
  74. package/checks/rules/no-unexposed-executables.js.map +1 -1
  75. package/checks/rules/no-unused-bundle-dependencies.js +2 -30
  76. package/checks/rules/no-unused-bundle-dependencies.js.map +1 -1
  77. package/checks/rules/registry.js +9 -22
  78. package/checks/rules/registry.js.map +1 -1
  79. package/checks/rules/required-files.js +3 -41
  80. package/checks/rules/required-files.js.map +1 -1
  81. package/checks/rules/type-script-declaration-integrity.js +3 -81
  82. package/checks/rules/type-script-declaration-integrity.js.map +1 -1
  83. package/checks/rules/type-script-declaration-paths.js +1 -55
  84. package/checks/rules/type-script-declaration-paths.js.map +1 -1
  85. package/checks/rules/type-script-declaration-project.js +3 -202
  86. package/checks/rules/type-script-declaration-project.js.map +1 -1
  87. package/checks/rules/type-script-declaration-reachability.js +2 -38
  88. package/checks/rules/type-script-declaration-reachability.js.map +1 -1
  89. package/checks/rules/type-script-declaration-roots.js +0 -29
  90. package/checks/rules/type-script-declaration-roots.js.map +1 -1
  91. package/checks/rules/type-script-integrity.js +2 -72
  92. package/checks/rules/type-script-integrity.js.map +1 -1
  93. package/checks/rules/type-script-package-resolution.js +1 -42
  94. package/checks/rules/type-script-package-resolution.js.map +1 -1
  95. package/checks/rules/type-script-resolution-summary.js +0 -53
  96. package/checks/rules/type-script-resolution-summary.js.map +1 -1
  97. package/checks/rules/unique-target-paths.js +2 -34
  98. package/checks/rules/unique-target-paths.js.map +1 -1
  99. package/common/bundled-dependency-groups.js +0 -27
  100. package/common/bundled-dependency-groups.js.map +1 -1
  101. package/common/code-files.js +0 -28
  102. package/common/code-files.js.map +1 -1
  103. package/common/declaration-companion-paths.js +0 -24
  104. package/common/declaration-companion-paths.js.map +1 -1
  105. package/common/package-name-map.js +0 -7
  106. package/common/package-name-map.js.map +1 -1
  107. package/common/stable-json.js +2 -42
  108. package/common/stable-json.js.map +1 -1
  109. package/common/worklist.js +0 -22
  110. package/common/worklist.js.map +1 -1
  111. package/config/additional-files.js +2 -6
  112. package/config/additional-files.js.map +1 -1
  113. package/config/additional-package-json-attributes-schema.js +2 -6
  114. package/config/additional-package-json-attributes-schema.js.map +1 -1
  115. package/config/automatic-versioning-settings.js +2 -6
  116. package/config/automatic-versioning-settings.js.map +1 -1
  117. package/config/changelog-settings.d.ts +0 -44
  118. package/config/changelog-settings.d.ts.map +1 -1
  119. package/config/changelog-settings.js +3 -120
  120. package/config/changelog-settings.js.map +1 -1
  121. package/config/common-package-settings-schemas.js +3 -19
  122. package/config/common-package-settings-schemas.js.map +1 -1
  123. package/config/config.d.ts +1 -6
  124. package/config/config.d.ts.map +1 -1
  125. package/config/config.js +1 -3
  126. package/config/config.js.map +1 -1
  127. package/config/cross-package-validation.js +0 -17
  128. package/config/cross-package-validation.js.map +1 -1
  129. package/config/dead-code-elimination-settings.d.ts +0 -1
  130. package/config/dead-code-elimination-settings.d.ts.map +1 -1
  131. package/config/dead-code-elimination-settings.js +2 -36
  132. package/config/dead-code-elimination-settings.js.map +1 -1
  133. package/config/dependency-existence-validation.js +1 -19
  134. package/config/dependency-existence-validation.js.map +1 -1
  135. package/config/dependency-policy.js +2 -5
  136. package/config/dependency-policy.js.map +1 -1
  137. package/config/main-package-json-schema.js +2 -13
  138. package/config/main-package-json-schema.js.map +1 -1
  139. package/config/manual-versioning-settings.d.ts +0 -12
  140. package/config/manual-versioning-settings.d.ts.map +1 -1
  141. package/config/manual-versioning-settings.js +2 -29
  142. package/config/manual-versioning-settings.js.map +1 -1
  143. package/config/optional-package-settings-schema.js +7 -16
  144. package/config/optional-package-settings-schema.js.map +1 -1
  145. package/config/package-config.d.ts +0 -4
  146. package/config/package-config.d.ts.map +1 -1
  147. package/config/package-config.js +1 -2
  148. package/config/package-config.js.map +1 -1
  149. package/config/package-graph-builder.js +2 -14
  150. package/config/package-graph-builder.js.map +1 -1
  151. package/config/package-interface.js +2 -25
  152. package/config/package-interface.js.map +1 -1
  153. package/config/package-json.d.ts +0 -2
  154. package/config/package-json.d.ts.map +1 -1
  155. package/config/package-json.js +0 -16
  156. package/config/package-json.js.map +1 -1
  157. package/config/packtory-config-without-registry-schema.js +0 -6
  158. package/config/packtory-config-without-registry-schema.js.map +1 -1
  159. package/config/per-package-settings-schema.js +6 -22
  160. package/config/per-package-settings-schema.js.map +1 -1
  161. package/config/pre-graph-validation.js +5 -20
  162. package/config/pre-graph-validation.js.map +1 -1
  163. package/config/publish-settings.d.ts +0 -3
  164. package/config/publish-settings.d.ts.map +1 -1
  165. package/config/publish-settings.js +3 -25
  166. package/config/publish-settings.js.map +1 -1
  167. package/config/publish-settings.report.js +1 -17
  168. package/config/publish-settings.report.js.map +1 -1
  169. package/config/registry-settings.d.ts +0 -41
  170. package/config/registry-settings.d.ts.map +1 -1
  171. package/config/registry-settings.js +2 -40
  172. package/config/registry-settings.js.map +1 -1
  173. package/config/registry-settings.report.js +0 -46
  174. package/config/registry-settings.report.js.map +1 -1
  175. package/config/root-config-validation.js +0 -141
  176. package/config/root-config-validation.js.map +1 -1
  177. package/config/root.js +2 -6
  178. package/config/root.js.map +1 -1
  179. package/config/sbom-settings.js +1 -4
  180. package/config/sbom-settings.js.map +1 -1
  181. package/config/settings-validation.js +0 -28
  182. package/config/settings-validation.js.map +1 -1
  183. package/config/versioning-settings.d.ts +1 -18
  184. package/config/versioning-settings.d.ts.map +1 -1
  185. package/config/versioning-settings.js +3 -10
  186. package/config/versioning-settings.js.map +1 -1
  187. package/dead-code-eliminator/analyzed-bundle.d.ts +0 -11
  188. package/dead-code-eliminator/analyzed-bundle.d.ts.map +1 -1
  189. package/dead-code-eliminator/analyzed-bundle.js +0 -7
  190. package/dead-code-eliminator/analyzed-bundle.js.map +1 -1
  191. package/dead-code-eliminator/class-purity.js +2 -48
  192. package/dead-code-eliminator/class-purity.js.map +1 -1
  193. package/dead-code-eliminator/code-file-analyzer.js +4 -62
  194. package/dead-code-eliminator/code-file-analyzer.js.map +1 -1
  195. package/dead-code-eliminator/cross-bundle/bundle-index.js +1 -27
  196. package/dead-code-eliminator/cross-bundle/bundle-index.js.map +1 -1
  197. package/dead-code-eliminator/cross-bundle/cross-bundle-seeds.js +3 -18
  198. package/dead-code-eliminator/cross-bundle/cross-bundle-seeds.js.map +1 -1
  199. package/dead-code-eliminator/cross-bundle/import-export-walker.js +4 -75
  200. package/dead-code-eliminator/cross-bundle/import-export-walker.js.map +1 -1
  201. package/dead-code-eliminator/cross-bundle/seed-store.js +1 -22
  202. package/dead-code-eliminator/cross-bundle/seed-store.js.map +1 -1
  203. package/dead-code-eliminator/dependency-metadata.js +3 -205
  204. package/dead-code-eliminator/dependency-metadata.js.map +1 -1
  205. package/dead-code-eliminator/elimination-emitter.js +0 -52
  206. package/dead-code-eliminator/elimination-emitter.js.map +1 -1
  207. package/dead-code-eliminator/eliminator.js +8 -64
  208. package/dead-code-eliminator/eliminator.js.map +1 -1
  209. package/dead-code-eliminator/expression-unwrapping.js +1 -16
  210. package/dead-code-eliminator/expression-unwrapping.js.map +1 -1
  211. package/dead-code-eliminator/imported-expression-origin.js +2 -101
  212. package/dead-code-eliminator/imported-expression-origin.js.map +1 -1
  213. package/dead-code-eliminator/liveness/asset-side-effects.js +1 -9
  214. package/dead-code-eliminator/liveness/asset-side-effects.js.map +1 -1
  215. package/dead-code-eliminator/liveness/boolean-facts.js +2 -98
  216. package/dead-code-eliminator/liveness/boolean-facts.js.map +1 -1
  217. package/dead-code-eliminator/liveness/external-module-resolution.js +2 -172
  218. package/dead-code-eliminator/liveness/external-module-resolution.js.map +1 -1
  219. package/dead-code-eliminator/liveness/external-purity-summary.js +3 -294
  220. package/dead-code-eliminator/liveness/external-purity-summary.js.map +1 -1
  221. package/dead-code-eliminator/liveness/external-purity.js +3 -39
  222. package/dead-code-eliminator/liveness/external-purity.js.map +1 -1
  223. package/dead-code-eliminator/liveness/module-analysis.js +2 -27
  224. package/dead-code-eliminator/liveness/module-analysis.js.map +1 -1
  225. package/dead-code-eliminator/liveness/resource-retention.js +1 -78
  226. package/dead-code-eliminator/liveness/resource-retention.js.map +1 -1
  227. package/dead-code-eliminator/liveness/runtime-code.js +1 -15
  228. package/dead-code-eliminator/liveness/runtime-code.js.map +1 -1
  229. package/dead-code-eliminator/load-bundle.js +5 -70
  230. package/dead-code-eliminator/load-bundle.js.map +1 -1
  231. package/dead-code-eliminator/pure-expression.js +5 -178
  232. package/dead-code-eliminator/pure-expression.js.map +1 -1
  233. package/dead-code-eliminator/reachability/bfs-closure.js +0 -50
  234. package/dead-code-eliminator/reachability/bfs-closure.js.map +1 -1
  235. package/dead-code-eliminator/reachability/binding-extractor.js +2 -100
  236. package/dead-code-eliminator/reachability/binding-extractor.js.map +1 -1
  237. package/dead-code-eliminator/reachability/binding-id.js +0 -32
  238. package/dead-code-eliminator/reachability/binding-id.js.map +1 -1
  239. package/dead-code-eliminator/reachability/identifier-target-collector.js +1 -39
  240. package/dead-code-eliminator/reachability/identifier-target-collector.js.map +1 -1
  241. package/dead-code-eliminator/reachability/impure-statements.js +2 -11
  242. package/dead-code-eliminator/reachability/impure-statements.js.map +1 -1
  243. package/dead-code-eliminator/reachability/local-seed-gathering.js +4 -43
  244. package/dead-code-eliminator/reachability/local-seed-gathering.js.map +1 -1
  245. package/dead-code-eliminator/reachability/reachability.js +4 -38
  246. package/dead-code-eliminator/reachability/reachability.js.map +1 -1
  247. package/dead-code-eliminator/side-effect-classifier.js +4 -39
  248. package/dead-code-eliminator/side-effect-classifier.js.map +1 -1
  249. package/dead-code-eliminator/side-effects-field.js +1 -23
  250. package/dead-code-eliminator/side-effects-field.js.map +1 -1
  251. package/dead-code-eliminator/source-map-recomposition.js +2 -29
  252. package/dead-code-eliminator/source-map-recomposition.js.map +1 -1
  253. package/dead-code-eliminator/statement-classifiers.js +4 -94
  254. package/dead-code-eliminator/statement-classifiers.js.map +1 -1
  255. package/dead-code-eliminator/syntax-kind-sets.js +0 -16
  256. package/dead-code-eliminator/syntax-kind-sets.js.map +1 -1
  257. package/dead-code-eliminator/transform/atom-translator.d.ts +0 -8
  258. package/dead-code-eliminator/transform/atom-translator.d.ts.map +1 -1
  259. package/dead-code-eliminator/transform/atom-translator.js +2 -57
  260. package/dead-code-eliminator/transform/atom-translator.js.map +1 -1
  261. package/dead-code-eliminator/transform/declaration-removal.js +4 -135
  262. package/dead-code-eliminator/transform/declaration-removal.js.map +1 -1
  263. package/dead-code-eliminator/transform/declaration-remover.js +2 -17
  264. package/dead-code-eliminator/transform/declaration-remover.js.map +1 -1
  265. package/dead-code-eliminator/transform/line-index.d.ts +0 -7
  266. package/dead-code-eliminator/transform/line-index.d.ts.map +1 -1
  267. package/dead-code-eliminator/transform/line-index.js +0 -20
  268. package/dead-code-eliminator/transform/line-index.js.map +1 -1
  269. package/dead-code-eliminator/transform/named-declaration-kinds.js +0 -3
  270. package/dead-code-eliminator/transform/named-declaration-kinds.js.map +1 -1
  271. package/dead-code-eliminator/transform/source-map-composer.js +3 -84
  272. package/dead-code-eliminator/transform/source-map-composer.js.map +1 -1
  273. package/dead-code-eliminator/variable-declaration-bindings.js +1 -25
  274. package/dead-code-eliminator/variable-declaration-bindings.js.map +1 -1
  275. package/dependency-scanner/dependency-graph.js +3 -74
  276. package/dependency-scanner/dependency-graph.js.map +1 -1
  277. package/dependency-scanner/external-dependencies.d.ts +0 -9
  278. package/dependency-scanner/external-dependencies.d.ts.map +1 -1
  279. package/dependency-scanner/external-dependencies.js +1 -55
  280. package/dependency-scanner/external-dependencies.js.map +1 -1
  281. package/dependency-scanner/file-host-predicates.js +0 -9
  282. package/dependency-scanner/file-host-predicates.js.map +1 -1
  283. package/dependency-scanner/host-method-binding.js +0 -18
  284. package/dependency-scanner/host-method-binding.js.map +1 -1
  285. package/dependency-scanner/injected-dynamic-imports.js +1 -232
  286. package/dependency-scanner/injected-dynamic-imports.js.map +1 -1
  287. package/dependency-scanner/node-modules-manifest-synthesizer.js +4 -52
  288. package/dependency-scanner/node-modules-manifest-synthesizer.js.map +1 -1
  289. package/dependency-scanner/package-owned-asset-file-path.js +1 -9
  290. package/dependency-scanner/package-owned-asset-file-path.js.map +1 -1
  291. package/dependency-scanner/scanner.js +4 -102
  292. package/dependency-scanner/scanner.js.map +1 -1
  293. package/dependency-scanner/source-file-references.js +6 -174
  294. package/dependency-scanner/source-file-references.js.map +1 -1
  295. package/dependency-scanner/source-map-file-locator.js +2 -66
  296. package/dependency-scanner/source-map-file-locator.js.map +1 -1
  297. package/dependency-scanner/typescript-compiler-options.js +1 -21
  298. package/dependency-scanner/typescript-compiler-options.js.map +1 -1
  299. package/dependency-scanner/typescript-file-host.js +5 -49
  300. package/dependency-scanner/typescript-file-host.js.map +1 -1
  301. package/dependency-scanner/typescript-project-analyzer.js +3 -35
  302. package/dependency-scanner/typescript-project-analyzer.js.map +1 -1
  303. package/dependency-scanner/virtual-package-json-host.js +4 -45
  304. package/dependency-scanner/virtual-package-json-host.js.map +1 -1
  305. package/directed-graph/graph.d.ts +0 -1
  306. package/directed-graph/graph.d.ts.map +1 -1
  307. package/directed-graph/graph.js +1 -240
  308. package/directed-graph/graph.js.map +1 -1
  309. package/file-manager/compare.js +2 -23
  310. package/file-manager/compare.js.map +1 -1
  311. package/file-manager/equal.js +0 -5
  312. package/file-manager/equal.js.map +1 -1
  313. package/file-manager/file-description.d.ts +0 -1
  314. package/file-manager/file-description.d.ts.map +1 -1
  315. package/file-manager/file-description.js +0 -3
  316. package/file-manager/file-description.js.map +1 -1
  317. package/file-manager/permissions.js +1 -28
  318. package/file-manager/permissions.js.map +1 -1
  319. package/git/current-git-head.js +0 -24
  320. package/git/current-git-head.js.map +1 -1
  321. package/git/git-command.js +1 -49
  322. package/git/git-command.js.map +1 -1
  323. package/linker/linked-bundle.d.ts +0 -8
  324. package/linker/linked-bundle.d.ts.map +1 -1
  325. package/linker/linked-bundle.js +0 -5
  326. package/linker/linked-bundle.js.map +1 -1
  327. package/linker/linker.js +5 -51
  328. package/linker/linker.js.map +1 -1
  329. package/linker/replacement-lookup.js +8 -295
  330. package/linker/replacement-lookup.js.map +1 -1
  331. package/linker/resource-graph.js +2 -44
  332. package/linker/resource-graph.js.map +1 -1
  333. package/linker/source-modifier/import-paths.js +3 -76
  334. package/linker/source-modifier/import-paths.js.map +1 -1
  335. package/linker/substitute-bundles.js +3 -140
  336. package/linker/substitute-bundles.js.map +1 -1
  337. package/linker/substituted-resource-graph.js +2 -99
  338. package/linker/substituted-resource-graph.js.map +1 -1
  339. package/npm-oidc-id-token-resolver.js +0 -82
  340. package/npm-oidc-id-token-resolver.js.map +1 -1
  341. package/pack-emitter/pack-emitter.d.ts +0 -20
  342. package/pack-emitter/pack-emitter.d.ts.map +1 -1
  343. package/pack-emitter/pack-emitter.js +0 -27
  344. package/pack-emitter/pack-emitter.js.map +1 -1
  345. package/package-surface/bin-field.js +2 -8
  346. package/package-surface/bin-field.js.map +1 -1
  347. package/package-surface/explicit-bin.js +2 -24
  348. package/package-surface/explicit-bin.js.map +1 -1
  349. package/package-surface/explicit-exports.js +3 -26
  350. package/package-surface/explicit-exports.js.map +1 -1
  351. package/package-surface/export-map.js +2 -9
  352. package/package-surface/export-map.js.map +1 -1
  353. package/package-surface/implicit-bin.js +1 -25
  354. package/package-surface/implicit-bin.js.map +1 -1
  355. package/package-surface/implicit-exports.js +3 -10
  356. package/package-surface/implicit-exports.js.map +1 -1
  357. package/package-surface/implicit-root-exports.js +2 -13
  358. package/package-surface/implicit-root-exports.js.map +1 -1
  359. package/package-surface/package-json-export.js +0 -9
  360. package/package-surface/package-json-export.js.map +1 -1
  361. package/package-surface/package-shape.js +1 -10
  362. package/package-surface/package-shape.js.map +1 -1
  363. package/package-surface/package-surface-index.js +3 -165
  364. package/package-surface/package-surface-index.js.map +1 -1
  365. package/package-surface/public-module-usage.js +3 -46
  366. package/package-surface/public-module-usage.js.map +1 -1
  367. package/package-surface/public-specifiers.js +1 -7
  368. package/package-surface/public-specifiers.js.map +1 -1
  369. package/package-surface/root-registry.js +0 -26
  370. package/package-surface/root-registry.js.map +1 -1
  371. package/package-surface/specifier-syntax.js +0 -4
  372. package/package-surface/specifier-syntax.js.map +1 -1
  373. package/package-surface/substitution-exports.js +3 -101
  374. package/package-surface/substitution-exports.js.map +1 -1
  375. package/package-surface/surface.d.ts +0 -2
  376. package/package-surface/surface.d.ts.map +1 -1
  377. package/package-surface/surface.js +0 -12
  378. package/package-surface/surface.js.map +1 -1
  379. package/package.json +1 -1
  380. package/packages/package-processor.composition.d.ts +0 -22
  381. package/packages/package-processor.composition.d.ts.map +1 -1
  382. package/packages/package-processor.composition.js +34 -160
  383. package/packages/package-processor.composition.js.map +1 -1
  384. package/packtory/map-config.d.ts +3 -22
  385. package/packtory/map-config.d.ts.map +1 -1
  386. package/packtory/map-config.js +4 -35
  387. package/packtory/map-config.js.map +1 -1
  388. package/packtory/normalize-paths.js +1 -25
  389. package/packtory/normalize-paths.js.map +1 -1
  390. package/packtory/options/bundle-dependency-resolution.js +1 -17
  391. package/packtory/options/bundle-dependency-resolution.js.map +1 -1
  392. package/packtory/options/dead-code-elimination-resolution.js +1 -10
  393. package/packtory/options/dead-code-elimination-resolution.js.map +1 -1
  394. package/packtory/options/prepare-package-options.d.ts +0 -14
  395. package/packtory/options/prepare-package-options.d.ts.map +1 -1
  396. package/packtory/options/prepare-package-options.js +5 -46
  397. package/packtory/options/prepare-package-options.js.map +1 -1
  398. package/packtory/options/required-value-helpers.js +0 -17
  399. package/packtory/options/required-value-helpers.js.map +1 -1
  400. package/packtory/options/setting-resolvers.d.ts +0 -18
  401. package/packtory/options/setting-resolvers.d.ts.map +1 -1
  402. package/packtory/options/setting-resolvers.js +3 -47
  403. package/packtory/options/setting-resolvers.js.map +1 -1
  404. package/packtory/options/surface-resolution.js +2 -15
  405. package/packtory/options/surface-resolution.js.map +1 -1
  406. package/packtory/options/version-provider-context.js +2 -24
  407. package/packtory/options/version-provider-context.js.map +1 -1
  408. package/packtory/options/version-trigger.js +2 -39
  409. package/packtory/options/version-trigger.js.map +1 -1
  410. package/packtory/pack-output-preflight.js +3 -60
  411. package/packtory/pack-output-preflight.js.map +1 -1
  412. package/packtory/package-processor-build.js +3 -97
  413. package/packtory/package-processor-build.js.map +1 -1
  414. package/packtory/package-processor-publish.d.ts +0 -13
  415. package/packtory/package-processor-publish.d.ts.map +1 -1
  416. package/packtory/package-processor-publish.js +5 -293
  417. package/packtory/package-processor-publish.js.map +1 -1
  418. package/packtory/package-processor.d.ts +1 -34
  419. package/packtory/package-processor.d.ts.map +1 -1
  420. package/packtory/package-processor.js +2 -10
  421. package/packtory/package-processor.js.map +1 -1
  422. package/packtory/packtory-pack.js +10 -298
  423. package/packtory/packtory-pack.js.map +1 -1
  424. package/packtory/packtory-package-dependencies.js +7 -135
  425. package/packtory/packtory-package-dependencies.js.map +1 -1
  426. package/packtory/packtory-package-tree.js +4 -43
  427. package/packtory/packtory-package-tree.js.map +1 -1
  428. package/packtory/packtory-publish.js +4 -17
  429. package/packtory/packtory-publish.js.map +1 -1
  430. package/packtory/packtory-release-analysis.js +6 -64
  431. package/packtory/packtory-release-analysis.js.map +1 -1
  432. package/packtory/packtory-release-diff.js +5 -48
  433. package/packtory/packtory-release-diff.js.map +1 -1
  434. package/packtory/packtory-release-plan.js +6 -87
  435. package/packtory/packtory-release-plan.js.map +1 -1
  436. package/packtory/packtory-resolve.js +5 -16
  437. package/packtory/packtory-resolve.js.map +1 -1
  438. package/packtory/packtory.d.ts +1 -28
  439. package/packtory/packtory.d.ts.map +1 -1
  440. package/packtory/packtory.js +12 -225
  441. package/packtory/packtory.js.map +1 -1
  442. package/packtory/publish-failure-mapping.js +0 -6
  443. package/packtory/publish-failure-mapping.js.map +1 -1
  444. package/packtory/published-release-state.d.ts +0 -19
  445. package/packtory/published-release-state.d.ts.map +1 -1
  446. package/packtory/published-release-state.js +0 -11
  447. package/packtory/published-release-state.js.map +1 -1
  448. package/packtory/release-analysis.js +5 -153
  449. package/packtory/release-analysis.js.map +1 -1
  450. package/packtory/release-diff-failure-mapping.js +0 -6
  451. package/packtory/release-diff-failure-mapping.js.map +1 -1
  452. package/packtory/release-plan.js +7 -135
  453. package/packtory/release-plan.js.map +1 -1
  454. package/packtory/report-attachment.js +2 -35
  455. package/packtory/report-attachment.js.map +1 -1
  456. package/packtory/resolved-package.d.ts +0 -11
  457. package/packtory/resolved-package.d.ts.map +1 -1
  458. package/packtory/resolved-package.js +3 -97
  459. package/packtory/resolved-package.js.map +1 -1
  460. package/packtory/scheduler.d.ts +0 -47
  461. package/packtory/scheduler.d.ts.map +1 -1
  462. package/packtory/scheduler.js +1 -99
  463. package/packtory/scheduler.js.map +1 -1
  464. package/packtory/stages/package-analysis-stage.js +2 -50
  465. package/packtory/stages/package-analysis-stage.js.map +1 -1
  466. package/packtory/stages/package-resolution-stage.js +5 -80
  467. package/packtory/stages/package-resolution-stage.js.map +1 -1
  468. package/packtory/stages/publish-stage.js +3 -54
  469. package/packtory/stages/publish-stage.js.map +1 -1
  470. package/packtory/stages/release-diff-stage.js +5 -84
  471. package/packtory/stages/release-diff-stage.js.map +1 -1
  472. package/progress/progress-broadcaster.d.ts +0 -1
  473. package/progress/progress-broadcaster.d.ts.map +1 -1
  474. package/progress/progress-broadcaster.js +0 -45
  475. package/progress/progress-broadcaster.js.map +1 -1
  476. package/published-package/published-package.d.ts +0 -2
  477. package/published-package/published-package.d.ts.map +1 -1
  478. package/published-package/published-package.js +1 -12
  479. package/published-package/published-package.js.map +1 -1
  480. package/report/aggregator/artifact-entry-merger.js +0 -20
  481. package/report/aggregator/artifact-entry-merger.js.map +1 -1
  482. package/report/aggregator/package-report-materialization.js +2 -75
  483. package/report/aggregator/package-report-materialization.js.map +1 -1
  484. package/report/aggregator/report-aggregator.js +2 -37
  485. package/report/aggregator/report-aggregator.js.map +1 -1
  486. package/report/aggregator/report-event-handlers.js +2 -141
  487. package/report/aggregator/report-event-handlers.js.map +1 -1
  488. package/report/aggregator/report-types.d.ts +0 -21
  489. package/report/aggregator/report-types.d.ts.map +1 -1
  490. package/report/aggregator/report-types.js +0 -3
  491. package/report/aggregator/report-types.js.map +1 -1
  492. package/report/config-redactor.js +3 -29
  493. package/report/config-redactor.js.map +1 -1
  494. package/report/decorators.js +0 -76
  495. package/report/decorators.js.map +1 -1
  496. package/report/inspectors/inspect-artifact-sizes.js +1 -34
  497. package/report/inspectors/inspect-artifact-sizes.js.map +1 -1
  498. package/report/inspectors/inspect-linker-rewrites.js +1 -14
  499. package/report/inspectors/inspect-linker-rewrites.js.map +1 -1
  500. package/report/inspectors/inspect-package-json-provenance.js +0 -15
  501. package/report/inspectors/inspect-package-json-provenance.js.map +1 -1
  502. package/report/inspectors/inspect-scan-results.js +0 -15
  503. package/report/inspectors/inspect-scan-results.js.map +1 -1
  504. package/report/release-diff/release-version-transition.js +0 -18
  505. package/report/release-diff/release-version-transition.js.map +1 -1
  506. package/resource-resolver/bundle-resource-lookup.js +0 -25
  507. package/resource-resolver/bundle-resource-lookup.js.map +1 -1
  508. package/resource-resolver/content.js +3 -81
  509. package/resource-resolver/content.js.map +1 -1
  510. package/resource-resolver/dependency-resolution-walker.js +2 -73
  511. package/resource-resolver/dependency-resolution-walker.js.map +1 -1
  512. package/resource-resolver/resolved-bundle.d.ts +0 -17
  513. package/resource-resolver/resolved-bundle.d.ts.map +1 -1
  514. package/resource-resolver/resolved-bundle.js +0 -3
  515. package/resource-resolver/resolved-bundle.js.map +1 -1
  516. package/resource-resolver/resource-resolve-options.d.ts +0 -5
  517. package/resource-resolver/resource-resolve-options.d.ts.map +1 -1
  518. package/resource-resolver/resource-resolve-options.js +1 -13
  519. package/resource-resolver/resource-resolve-options.js.map +1 -1
  520. package/resource-resolver/resource-resolver.js +5 -83
  521. package/resource-resolver/resource-resolver.js.map +1 -1
  522. package/sbom/extract-license.js +1 -11
  523. package/sbom/extract-license.js.map +1 -1
  524. package/sbom/license-resolver.js +2 -23
  525. package/sbom/license-resolver.js.map +1 -1
  526. package/sbom/sbom-builder.js +2 -57
  527. package/sbom/sbom-builder.js.map +1 -1
  528. package/sbom/sbom-canonicalizer.js +3 -45
  529. package/sbom/sbom-canonicalizer.js.map +1 -1
  530. package/sbom/sbom-file.d.ts +0 -10
  531. package/sbom/sbom-file.d.ts.map +1 -1
  532. package/sbom/sbom-file.js +5 -54
  533. package/sbom/sbom-file.js.map +1 -1
  534. package/sbom/sbom-serializer.js +1 -14
  535. package/sbom/sbom-serializer.js.map +1 -1
  536. package/sbom/tool-version.js +1 -49
  537. package/sbom/tool-version.js.map +1 -1
  538. package/sbom.cdx.json +5 -5
  539. package/tar/extract-tar.js +3 -83
  540. package/tar/extract-tar.js.map +1 -1
  541. package/tar/gzipped-pack.js +0 -20
  542. package/tar/gzipped-pack.js.map +1 -1
  543. package/tar/tarball-builder.js +4 -44
  544. package/tar/tarball-builder.js.map +1 -1
  545. package/vendor-materializer/vendor-entry.js +1 -20
  546. package/vendor-materializer/vendor-entry.js.map +1 -1
  547. package/vendor-materializer/vendor-materializer.js +8 -240
  548. package/vendor-materializer/vendor-materializer.js.map +1 -1
  549. package/version-manager/dependencies/bundle-dependency-grouping.js +2 -32
  550. package/version-manager/dependencies/bundle-dependency-grouping.js.map +1 -1
  551. package/version-manager/dependencies/dependency-groups.js +1 -11
  552. package/version-manager/dependencies/dependency-groups.js.map +1 -1
  553. package/version-manager/dependencies/external-dependency-classification.js +3 -82
  554. package/version-manager/dependencies/external-dependency-classification.js.map +1 -1
  555. package/version-manager/dependencies/versioned-bundle-dependencies.js +3 -8
  556. package/version-manager/dependencies/versioned-bundle-dependencies.js.map +1 -1
  557. package/version-manager/imports/hash-import-scanner.js +2 -20
  558. package/version-manager/imports/hash-import-scanner.js.map +1 -1
  559. package/version-manager/imports/imports-key-matcher.js +0 -22
  560. package/version-manager/imports/imports-key-matcher.js.map +1 -1
  561. package/version-manager/imports/versioned-bundle-imports.js +2 -44
  562. package/version-manager/imports/versioned-bundle-imports.js.map +1 -1
  563. package/version-manager/manager.d.ts +0 -5
  564. package/version-manager/manager.d.ts.map +1 -1
  565. package/version-manager/manager.js +6 -46
  566. package/version-manager/manager.js.map +1 -1
  567. package/version-manager/manifest/builder.js +1 -51
  568. package/version-manager/manifest/builder.js.map +1 -1
  569. package/version-manager/manifest/serialize.js +1 -8
  570. package/version-manager/manifest/serialize.js.map +1 -1
  571. package/version-manager/optional-bundle-fields.js +1 -5
  572. package/version-manager/optional-bundle-fields.js.map +1 -1
  573. package/version-manager/representative-root.js +1 -9
  574. package/version-manager/representative-root.js.map +1 -1
  575. package/version-manager/specifier-classifier.js +2 -42
  576. package/version-manager/specifier-classifier.js.map +1 -1
  577. package/version-manager/specifier-errors.js +0 -58
  578. package/version-manager/specifier-errors.js.map +1 -1
  579. package/version-manager/versioned-bundle.d.ts +1 -3
  580. package/version-manager/versioned-bundle.d.ts.map +1 -1
  581. package/version-manager/versioned-bundle.js +6 -31
  582. package/version-manager/versioned-bundle.js.map +1 -1
  583. package/zip/zip-builder.js +2 -81
  584. package/zip/zip-builder.js.map +1 -1
  585. package/artifacts/artifacts-builder.d.ts +0 -28
  586. package/artifacts/artifacts-builder.d.ts.map +0 -1
  587. package/bundle-emitter/registry/registry-auth-config.d.ts +0 -17
  588. package/bundle-emitter/registry/registry-auth-config.d.ts.map +0 -1
  589. package/checks/check-runner.d.ts +0 -18
  590. package/checks/check-runner.d.ts.map +0 -1
  591. package/checks/rule.d.ts +0 -42
  592. package/checks/rule.d.ts.map +0 -1
  593. package/checks/rules/max-bundle-size.d.ts +0 -13
  594. package/checks/rules/max-bundle-size.d.ts.map +0 -1
  595. package/checks/rules/no-dev-dependency-imports.d.ts +0 -11
  596. package/checks/rules/no-dev-dependency-imports.d.ts.map +0 -1
  597. package/checks/rules/no-duplicated-files.d.ts +0 -11
  598. package/checks/rules/no-duplicated-files.d.ts.map +0 -1
  599. package/checks/rules/no-side-effects.d.ts +0 -15
  600. package/checks/rules/no-side-effects.d.ts.map +0 -1
  601. package/checks/rules/no-unexposed-executables.d.ts +0 -8
  602. package/checks/rules/no-unexposed-executables.d.ts.map +0 -1
  603. package/checks/rules/no-unused-bundle-dependencies.d.ts +0 -8
  604. package/checks/rules/no-unused-bundle-dependencies.d.ts.map +0 -1
  605. package/checks/rules/registry.d.ts +0 -23
  606. package/checks/rules/registry.d.ts.map +0 -1
  607. package/checks/rules/required-files.d.ts +0 -15
  608. package/checks/rules/required-files.d.ts.map +0 -1
  609. package/checks/rules/type-script-declaration-integrity.d.ts +0 -9
  610. package/checks/rules/type-script-declaration-integrity.d.ts.map +0 -1
  611. package/checks/rules/type-script-declaration-project.d.ts +0 -29
  612. package/checks/rules/type-script-declaration-project.d.ts.map +0 -1
  613. package/checks/rules/type-script-integrity.d.ts +0 -24
  614. package/checks/rules/type-script-integrity.d.ts.map +0 -1
  615. package/checks/rules/type-script-package-resolution.d.ts +0 -29
  616. package/checks/rules/type-script-package-resolution.d.ts.map +0 -1
  617. package/checks/rules/unique-target-paths.d.ts +0 -8
  618. package/checks/rules/unique-target-paths.d.ts.map +0 -1
  619. package/dependency-scanner/dependency-graph.d.ts +0 -38
  620. package/dependency-scanner/dependency-graph.d.ts.map +0 -1
  621. package/dependency-scanner/scanner.d.ts +0 -20
  622. package/dependency-scanner/scanner.d.ts.map +0 -1
  623. package/dependency-scanner/source-file-references.d.ts +0 -30
  624. package/dependency-scanner/source-file-references.d.ts.map +0 -1
  625. package/dependency-scanner/source-map-file-locator.d.ts +0 -10
  626. package/dependency-scanner/source-map-file-locator.d.ts.map +0 -1
  627. package/dependency-scanner/typescript-compiler-options.d.ts +0 -8
  628. package/dependency-scanner/typescript-compiler-options.d.ts.map +0 -1
  629. package/dependency-scanner/typescript-file-host.d.ts +0 -12
  630. package/dependency-scanner/typescript-file-host.d.ts.map +0 -1
  631. package/dependency-scanner/typescript-project-analyzer.d.ts +0 -19
  632. package/dependency-scanner/typescript-project-analyzer.d.ts.map +0 -1
  633. package/git/current-git-head.d.ts +0 -12
  634. package/git/current-git-head.d.ts.map +0 -1
  635. package/linker/linker.d.ts +0 -13
  636. package/linker/linker.d.ts.map +0 -1
  637. package/resource-resolver/resource-resolver.d.ts +0 -15
  638. package/resource-resolver/resource-resolver.d.ts.map +0 -1
  639. package/sbom/license-resolver.d.ts +0 -14
  640. package/sbom/license-resolver.d.ts.map +0 -1
  641. package/sbom/sbom-serializer.d.ts +0 -8
  642. package/sbom/sbom-serializer.d.ts.map +0 -1
  643. package/tar/tarball-builder.d.ts +0 -14
  644. package/tar/tarball-builder.d.ts.map +0 -1
  645. package/vendor-materializer/vendor-entry.d.ts +0 -12
  646. package/vendor-materializer/vendor-entry.d.ts.map +0 -1
  647. package/vendor-materializer/vendor-materializer.d.ts +0 -55
  648. package/vendor-materializer/vendor-materializer.d.ts.map +0 -1
  649. package/zip/zip-builder.d.ts +0 -22
  650. package/zip/zip-builder.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"vendor-materializer.js","sourceRoot":"","sources":["../../../../source/vendor-materializer/vendor-materializer.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,oBAAoB,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EACH,yCAAyC,EACzC,8BAA8B,EAC9B,+BAA+B,EAC/B,qBAAqB,EACxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,cAAc,EAAiB,MAAM,uBAAuB,CAAC;AAItE,MAAM,CAAC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Ac,CAC3B,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,UAAU,IAAI;oBAC7C,OAAO,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC,aAAa,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;gBACnE,CAAC,CAAC,CACL;gBACD,gBAAgB,EAAE,IAAI,GAAG,EAA6B;aACzD,CAAC;YACF,MAAM,OAAO,GAAG,MAAM,oBAAoB,CAAC,OAAO,CAAC,CAAC;YACpD,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;gBAChB,OAAO,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YACrC,CAAC;YACD,OAAO,MAAM,CAAC,EAAE,CAAC;gBACb,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;gBACpC,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;gBACzC,gBAAgB,EAAE,IAAI,GAAG,CAAC,OAAO,CAAC,gBAAgB,CAAC;aACtD,CAAC,CAAC;QACP,CAAC;KACJ,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"vendor-materializer.js","sourceRoot":"","sources":["../../../../source/vendor-materializer/vendor-materializer.ts"],"names":[],"mappings":"AAAA,OAAiB,WAAW,CAAC;AAC7B,OAAiC,iBAAiB,CAAC;AACnD,OAAuB,WAAW,CAAC;AACnC,OAAsB,kBAAkB,CAAC;AACzC,OAAkB,UAAU,CAAC;AAC7B,OAA0B,gCAAgC,CAAC;AAC3D,OAKO,6BAA6B,CAAC;AACrC,OAA8C,uBAAuB,CAAC"}
@@ -1,33 +1,3 @@
1
- import { bundledDependencyGroup, bundledDependencyLookupOrder } from "../../common/bundled-dependency-groups.js";
2
- import { packageNameMap } from "../../common/package-name-map.js";
3
- function matchingGroupedDependency(groupedDependenciesByName, dependencyName) {
4
- for (const group of bundledDependencyLookupOrder()) {
5
- const matchingDependency = groupedDependenciesByName[group.propertyName].get(dependencyName);
6
- if (matchingDependency !== undefined) {
7
- return { manifestProperty: group.manifestProperty, version: matchingDependency.version };
8
- }
9
- }
10
- return undefined;
11
- }
12
- function createDependencyRecord() {
13
- return {};
14
- }
15
- export function groupBundleDependencies(bundle, bundlePeerDependencies, bundleDependencies) {
16
- const grouped = {
17
- dependencies: createDependencyRecord(),
18
- peerDependencies: createDependencyRecord()
19
- };
20
- const groupedDependenciesByName = {
21
- [bundledDependencyGroup.bundle.propertyName]: packageNameMap(bundleDependencies),
22
- [bundledDependencyGroup.peer.propertyName]: packageNameMap(bundlePeerDependencies)
23
- };
24
- for (const dependencyName of bundle.linkedBundleDependencies.keys()) {
25
- const matchingDependency = matchingGroupedDependency(groupedDependenciesByName, dependencyName);
26
- if (matchingDependency === undefined) {
27
- throw new Error(`Couldn’t determine version number of bundle dependency ${dependencyName}`);
28
- }
29
- grouped[matchingDependency.manifestProperty][dependencyName] = matchingDependency.version;
30
- }
31
- return grouped;
32
- }
1
+ import "../../common/bundled-dependency-groups.js";
2
+ import "../../common/package-name-map.js";
33
3
  //# sourceMappingURL=bundle-dependency-grouping.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-dependency-grouping.js","sourceRoot":"","sources":["../../../../../source/version-manager/dependencies/bundle-dependency-grouping.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACjH,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAkBlE,SAAS,yBAAyB,CAC9B,yBAAoD,EACpD,cAAsB;IAEtB,KAAK,MAAM,KAAK,IAAI,4BAA4B,EAAE,EAAE,CAAC;QACjD,MAAM,kBAAkB,GAAG,yBAAyB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;QAC7F,IAAI,kBAAkB,KAAK,SAAS,EAAE,CAAC;YACnC,OAAO,EAAE,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,EAAE,OAAO,EAAE,kBAAkB,CAAC,OAAO,EAAE,CAAC;QAC7F,CAAC;IACL,CAAC;IAED,OAAO,SAAS,CAAC;AACrB,CAAC;AAED,SAAS,sBAAsB;IAC3B,OAAO,EAAE,CAAC;AACd,CAAC;AAED,MAAM,UAAU,uBAAuB,CACnC,MAAwD,EACxD,sBAAsD,EACtD,kBAAkD;IAElD,MAAM,OAAO,GAAG;QACZ,YAAY,EAAE,sBAAsB,EAAE;QACtC,gBAAgB,EAAE,sBAAsB,EAAE;KAC7C,CAAC;IACF,MAAM,yBAAyB,GAAG;QAC9B,CAAC,sBAAsB,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC;QAChF,CAAC,sBAAsB,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,cAAc,CAAC,sBAAsB,CAAC;KACrF,CAAC;IAEF,KAAK,MAAM,cAAc,IAAI,MAAM,CAAC,wBAAwB,CAAC,IAAI,EAAE,EAAE,CAAC;QAClE,MAAM,kBAAkB,GAAG,yBAAyB,CAAC,yBAAyB,EAAE,cAAc,CAAC,CAAC;QAChG,IAAI,kBAAkB,KAAK,SAAS,EAAE,CAAC;YACnC,MAAM,IAAI,KAAK,CAAC,0DAA0D,cAAc,EAAE,CAAC,CAAC;QAChG,CAAC;QAED,OAAO,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC,OAAO,CAAC;IAC9F,CAAC;IACD,OAAO,OAAO,CAAC;AACnB,CAAC"}
1
+ {"version":3,"file":"bundle-dependency-grouping.js","sourceRoot":"","sources":["../../../../../source/version-manager/dependencies/bundle-dependency-grouping.ts"],"names":[],"mappings":"AACA,OAAqE,2CAA2C,CAAC;AACjH,OAA+B,kCAAkC,CAAC"}
@@ -1,12 +1,2 @@
1
- import { mergeAll } from 'remeda';
2
- export function mergeDependencyGroups(...groups) {
3
- return {
4
- dependencies: mergeAll(groups.map(function (group) {
5
- return group.dependencies;
6
- })),
7
- peerDependencies: mergeAll(groups.map(function (group) {
8
- return group.peerDependencies;
9
- }))
10
- };
11
- }
1
+ import 'remeda';
12
2
  //# sourceMappingURL=dependency-groups.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dependency-groups.js","sourceRoot":"","sources":["../../../../../source/version-manager/dependencies/dependency-groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAOlC,MAAM,UAAU,qBAAqB,CAAC,GAAG,MAAsC;IAC3E,OAAO;QACH,YAAY,EAAE,QAAQ,CAClB,MAAM,CAAC,GAAG,CAAC,UAAU,KAAK;YACtB,OAAO,KAAK,CAAC,YAAY,CAAC;QAC9B,CAAC,CAAC,CACL;QACD,gBAAgB,EAAE,QAAQ,CACtB,MAAM,CAAC,GAAG,CAAC,UAAU,KAAK;YACtB,OAAO,KAAK,CAAC,gBAAgB,CAAC;QAClC,CAAC,CAAC,CACL;KACJ,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"dependency-groups.js","sourceRoot":"","sources":["../../../../../source/version-manager/dependencies/dependency-groups.ts"],"names":[],"mappings":"AAAA,OAAyB,QAAQ,CAAC"}
@@ -1,83 +1,4 @@
1
- import { oneLine } from 'common-tags';
2
- import { classifySpecifier } from "../specifier-classifier.js";
3
- import { renderMalformedSpecifierMessage, renderMutableSpecifierMessage, renderUnusedAllowListMessage } from "../specifier-errors.js";
4
- function getVersionFromDependencies(moduleName, mainPackageJson, kind) {
5
- const dependencies = { ...mainPackageJson[kind] };
6
- return String(dependencies[moduleName]);
7
- }
8
- function resolveExternalDependencyEntry(dependencyName, mainPackageJson) {
9
- const isPeer = mainPackageJson.peerDependencies?.[dependencyName] !== undefined;
10
- const isDirect = mainPackageJson.dependencies?.[dependencyName] !== undefined;
11
- if (!isPeer && !isDirect) {
12
- throw new Error(oneLine `Couldn’t determine version number of ${dependencyName},
13
- because it is not listed in the main package.json`);
14
- }
15
- const kind = isPeer ? 'peerDependencies' : 'dependencies';
16
- return {
17
- name: dependencyName,
18
- version: getVersionFromDependencies(dependencyName, mainPackageJson, kind),
19
- kind
20
- };
21
- }
22
- function createDependencyRecord() {
23
- return {};
24
- }
25
- function throwHighestPriorityFailure(mutableOffenders, malformedOffenders, usedAllowListEntries, allowMutableSpecifiers) {
26
- if (malformedOffenders.length > 0) {
27
- throw new Error(renderMalformedSpecifierMessage(malformedOffenders));
28
- }
29
- if (mutableOffenders.length > 0) {
30
- throw new Error(renderMutableSpecifierMessage(mutableOffenders));
31
- }
32
- const unusedAllowListEntries = allowMutableSpecifiers.filter(function (entry) {
33
- return !usedAllowListEntries.has(entry);
34
- });
35
- if (unusedAllowListEntries.length > 0) {
36
- throw new Error(renderUnusedAllowListMessage(unusedAllowListEntries));
37
- }
38
- }
39
- function recordClassification(entry, recorders) {
40
- const classification = classifySpecifier(entry.name, entry.version);
41
- if (classification.kind === 'malformed') {
42
- recorders.malformedOffenders.push({
43
- name: entry.name,
44
- specifier: entry.version,
45
- reason: classification.reason
46
- });
47
- return;
48
- }
49
- if (classification.kind === 'mutable') {
50
- if (recorders.allowMutableSpecifiers.includes(entry.name)) {
51
- recorders.usedAllowListEntries.add(entry.name);
52
- }
53
- else {
54
- recorders.mutableOffenders.push({
55
- name: entry.name,
56
- specifier: entry.version,
57
- npaType: classification.npaType
58
- });
59
- }
60
- }
61
- }
62
- export function groupExternalDependencies(bundle, mainPackageJson, allowMutableSpecifiers) {
63
- const grouped = {
64
- dependencies: createDependencyRecord(),
65
- peerDependencies: createDependencyRecord()
66
- };
67
- const mutableOffenders = [];
68
- const malformedOffenders = [];
69
- const usedAllowListEntries = new Set();
70
- for (const dependencyName of bundle.externalDependencies.keys()) {
71
- const entry = resolveExternalDependencyEntry(dependencyName, mainPackageJson);
72
- recordClassification(entry, {
73
- allowMutableSpecifiers,
74
- mutableOffenders,
75
- malformedOffenders,
76
- usedAllowListEntries
77
- });
78
- grouped[entry.kind][entry.name] = entry.version;
79
- }
80
- throwHighestPriorityFailure(mutableOffenders, malformedOffenders, usedAllowListEntries, allowMutableSpecifiers);
81
- return grouped;
82
- }
1
+ import 'common-tags';
2
+ import "../specifier-classifier.js";
3
+ import "../specifier-errors.js";
83
4
  //# sourceMappingURL=external-dependency-classification.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"external-dependency-classification.js","sourceRoot":"","sources":["../../../../../source/version-manager/dependencies/external-dependency-classification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAGtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EACH,+BAA+B,EAC/B,6BAA6B,EAC7B,4BAA4B,EAG/B,MAAM,wBAAwB,CAAC;AAShC,SAAS,0BAA0B,CAC/B,UAAkB,EAClB,eAAgC,EAChC,IAAyC;IAEzC,MAAM,YAAY,GAAG,EAAE,GAAG,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC;IAClD,OAAO,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC;AAC5C,CAAC;AAED,SAAS,8BAA8B,CACnC,cAAsB,EACtB,eAAgC;IAEhC,MAAM,MAAM,GAAG,eAAe,CAAC,gBAAgB,EAAE,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC;IAChF,MAAM,QAAQ,GAAG,eAAe,CAAC,YAAY,EAAE,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC;IAE9E,IAAI,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;QACvB,MAAM,IAAI,KAAK,CACX,OAAO,CAAA,wCAAwC,cAAc;kEACP,CACzD,CAAC;IACN,CAAC;IAED,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,cAAc,CAAC;IAC1D,OAAO;QACH,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,0BAA0B,CAAC,cAAc,EAAE,eAAe,EAAE,IAAI,CAAC;QAC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Q,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;YACxD,SAAS,CAAC,oBAAoB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACnD,CAAC;aAAM,CAAC;YACJ,SAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC;gBAC5B,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,SAAS,EAAE,KAAK,CAAC,OAAO;gBACxB,OAAO,EAAE,cAAc,CAAC,OAAO;aAClC,CAAC,CAAC;QACP,CAAC;IACL,CAAC;AACL,CAAC;AAED,MAAM,UAAU,yBAAyB,CACrC,MAAoD,EACpD,eAAgC,EAChC,sBAAyC;IAEzC,MAAM,OAAO,GAAG;QACZ,YAAY,EAAE,sBAAsB,EAAE;QACtC,gBAAgB,EAAE,sBAAsB,EAAE;KAC7C,CAAC;IACF,MAAM,gBAAgB,GAAsB,EAAE,CAAC;IAC/C,MAAM,kBAAkB,GAAwB,EAAE,CAAC;IACnD,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAU,CAAC;IAE/C,KAAK,MAAM,cAAc,IAAI,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,EAAE,CAAC;QAC9D,MAAM,KAAK,GAAG,8BAA8B,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;QAC9E,oBAAoB,CAAC,KAAK,EAAE;YACxB,sBAAsB;YACtB,gBAAgB;YAChB,kBAAkB;YAClB,oBAAoB;SACvB,CAAC,CAAC;QACH,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC;IACpD,CAAC;IAED,2BAA2B,CAAC,gBAAgB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;IAEhH,OAAO,OAAO,CAAC;AACnB,CAAC"}
1
+ {"version":3,"file":"external-dependency-classification.js","sourceRoot":"","sources":["../../../../../source/version-manager/dependencies/external-dependency-classification.ts"],"names":[],"mappings":"AAAA,OAAwB,aAAa,CAAC;AAGtC,OAAkC,4BAA4B,CAAC;AAC/D,OAMO,wBAAwB,CAAC"}
@@ -1,9 +1,4 @@
1
- import { groupBundleDependencies } from "./bundle-dependency-grouping.js";
2
- import { mergeDependencyGroups } from "./dependency-groups.js";
3
- import { groupExternalDependencies } from "./external-dependency-classification.js";
4
- export function distributeDependencies(options) {
5
- const bundleGrouped = groupBundleDependencies(options.bundle, options.bundlePeerDependencies, options.bundleDependencies);
6
- const externalGrouped = groupExternalDependencies(options.bundle, options.mainPackageJson, options.allowMutableSpecifiers);
7
- return mergeDependencyGroups(bundleGrouped, externalGrouped);
8
- }
1
+ import "./bundle-dependency-grouping.js";
2
+ import "./dependency-groups.js";
3
+ import "./external-dependency-classification.js";
9
4
  //# sourceMappingURL=versioned-bundle-dependencies.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"versioned-bundle-dependencies.js","sourceRoot":"","sources":["../../../../../source/version-manager/dependencies/versioned-bundle-dependencies.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAA4B,MAAM,iCAAiC,CAAC;AACpG,OAAO,EAAE,qBAAqB,EAA4B,MAAM,wBAAwB,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAYpF,MAAM,UAAU,sBAAsB,CAAC,OAAsC;IACzE,MAAM,aAAa,GAAG,uBAAuB,CACzC,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,sBAAsB,EAC9B,OAAO,CAAC,kBAAkB,CAC7B,CAAC;IACF,MAAM,eAAe,GAAG,yBAAyB,CAC7C,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,eAAe,EACvB,OAAO,CAAC,sBAAsB,CACjC,CAAC;IACF,OAAO,qBAAqB,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;AACjE,CAAC"}
1
+ {"version":3,"file":"versioned-bundle-dependencies.js","sourceRoot":"","sources":["../../../../../source/version-manager/dependencies/versioned-bundle-dependencies.ts"],"names":[],"mappings":"AAEA,OAAkE,iCAAiC,CAAC;AACpG,OAAgE,wBAAwB,CAAC;AACzF,OAA0C,yCAAyC,CAAC"}
@@ -1,21 +1,3 @@
1
- import { ts as typescript } from 'ts-morph';
2
- import { isCodeFile } from "../../common/code-files.js";
3
- function isHashSpecifier(specifier) {
4
- return specifier.startsWith('#');
5
- }
6
- export function collectHashImportSpecifiers(bundle) {
7
- const importSpecifiers = new Set();
8
- for (const resource of bundle.contents) {
9
- const { targetFilePath, content } = resource.fileDescription;
10
- if (isCodeFile(targetFilePath)) {
11
- const parsedFile = typescript.preProcessFile(content, true);
12
- for (const literal of parsedFile.importedFiles) {
13
- if (isHashSpecifier(literal.fileName)) {
14
- importSpecifiers.add(literal.fileName);
15
- }
16
- }
17
- }
18
- }
19
- return importSpecifiers;
20
- }
1
+ import 'ts-morph';
2
+ import "../../common/code-files.js";
21
3
  //# sourceMappingURL=hash-import-scanner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hash-import-scanner.js","sourceRoot":"","sources":["../../../../../source/version-manager/imports/hash-import-scanner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAGxD,SAAS,eAAe,CAAC,SAAiB;IACtC,OAAO,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,MAAwC;IAChF,MAAM,gBAAgB,GAAG,IAAI,GAAG,EAAU,CAAC;IAE3C,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;QACrC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAC,eAAe,CAAC;QAC7D,IAAI,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC;YAC7B,MAAM,UAAU,GAAG,UAAU,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;YAC5D,KAAK,MAAM,OAAO,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7C,IAAI,eAAe,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;oBACpC,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;gBAC3C,CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"hash-import-scanner.js","sourceRoot":"","sources":["../../../../../source/version-manager/imports/hash-import-scanner.ts"],"names":[],"mappings":"AAAA,OAAiC,UAAU,CAAC;AAC5C,OAA2B,4BAA4B,CAAC"}
@@ -1,23 +1 @@
1
- function escapeRegExp(value) {
2
- return value.replaceAll(/[.*+?^${}()|[\]\\]/gu, '\\$&');
3
- }
4
- function compareKeyRelevance(specifier, left, right) {
5
- if (left === specifier || right === specifier) {
6
- return left === specifier ? -1 : 1;
7
- }
8
- return right.length - left.length;
9
- }
10
- export function findMatchingImportEntryKey(specifier, importsField) {
11
- const matchingKeys = Object
12
- .keys(importsField)
13
- .filter(function (key) {
14
- const wildcardPattern = `^${escapeRegExp(key).replaceAll('\\*', '.*')}$`;
15
- const wildcardRegex = new RegExp(wildcardPattern);
16
- return wildcardRegex.test(specifier);
17
- })
18
- .toSorted(function (left, right) {
19
- return compareKeyRelevance(specifier, left, right);
20
- });
21
- return matchingKeys[0];
22
- }
23
1
  //# sourceMappingURL=imports-key-matcher.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"imports-key-matcher.js","sourceRoot":"","sources":["../../../../../source/version-manager/imports/imports-key-matcher.ts"],"names":[],"mappings":"AAIA,SAAS,YAAY,CAAC,KAAa;IAC/B,OAAO,KAAK,CAAC,UAAU,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;AAC5D,CAAC;AAED,SAAS,mBAAmB,CAAC,SAAiB,EAAE,IAAY,EAAE,KAAa;IACvE,IAAI,IAAI,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QAC5C,OAAO,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;IACD,OAAO,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;AACtC,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,SAAiB,EAAE,YAA0B;IACpF,MAAM,YAAY,GAAG,MAAM;SACtB,IAAI,CAAC,YAAY,CAAC;SAClB,MAAM,CAAC,UAAU,GAAG;QACjB,MAAM,eAAe,GAAG,IAAI,YAAY,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC;QACzE,MAAM,aAAa,GAAG,IAAI,MAAM,CAAC,eAAe,CAAC,CAAC;QAClD,OAAO,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC,CAAC;SACD,QAAQ,CAAC,UAAU,IAAI,EAAE,KAAK;QAC3B,OAAO,mBAAmB,CAAC,SAAS,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IAEP,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC;AAC3B,CAAC"}
1
+ {"version":3,"file":"imports-key-matcher.js","sourceRoot":"","sources":["../../../../../source/version-manager/imports/imports-key-matcher.ts"],"names":[],"mappings":"AAK4B"}
@@ -1,45 +1,3 @@
1
- import { collectHashImportSpecifiers } from "./hash-import-scanner.js";
2
- import { findMatchingImportEntryKey } from "./imports-key-matcher.js";
3
- function buildMissingImportsFieldMessage(firstSpecifier) {
4
- return (`Found surviving package.json imports specifier "${firstSpecifier}" ` +
5
- 'but mainPackageJson.imports is not configured');
6
- }
7
- function buildMissingImportEntryMessage(specifier) {
8
- return (`Found surviving package.json imports specifier "${specifier}" ` +
9
- 'but no matching mainPackageJson.imports entry');
10
- }
11
- function buildUndefinedImportEntryMessage(specifier, matchingKey) {
12
- return (`Found surviving package.json imports specifier "${specifier}" ` +
13
- `but matching mainPackageJson.imports entry "${matchingKey}" is undefined`);
14
- }
15
- function getConfiguredImportsOrThrow(mainPackageJson, referencedSpecifiers) {
16
- if (mainPackageJson.imports !== undefined) {
17
- return mainPackageJson.imports;
18
- }
19
- const [firstSpecifier] = referencedSpecifiers;
20
- throw new Error(buildMissingImportsFieldMessage(firstSpecifier));
21
- }
22
- function collectReferencedImportsEntries(referencedSpecifiers, configuredImports) {
23
- const importsField = {};
24
- for (const specifier of referencedSpecifiers) {
25
- const matchingKey = findMatchingImportEntryKey(specifier, configuredImports);
26
- if (matchingKey === undefined) {
27
- throw new Error(buildMissingImportEntryMessage(specifier));
28
- }
29
- const matchingImport = configuredImports[matchingKey];
30
- if (matchingImport === undefined) {
31
- throw new Error(buildUndefinedImportEntryMessage(specifier, matchingKey));
32
- }
33
- importsField[matchingKey] = matchingImport;
34
- }
35
- return importsField;
36
- }
37
- export function buildImportsField(bundle, mainPackageJson) {
38
- const referencedSpecifiers = collectHashImportSpecifiers(bundle);
39
- if (referencedSpecifiers.size === 0) {
40
- return undefined;
41
- }
42
- const configuredImports = getConfiguredImportsOrThrow(mainPackageJson, referencedSpecifiers);
43
- return collectReferencedImportsEntries(referencedSpecifiers, configuredImports);
44
- }
1
+ import "./hash-import-scanner.js";
2
+ import "./imports-key-matcher.js";
45
3
  //# sourceMappingURL=versioned-bundle-imports.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"versioned-bundle-imports.js","sourceRoot":"","sources":["../../../../../source/version-manager/imports/versioned-bundle-imports.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAqB,MAAM,0BAA0B,CAAC;AAEzF,SAAS,+BAA+B,CAAC,cAAkC;IACvE,OAAO,CACH,mDAAmD,cAAc,IAAI;QACrE,+CAA+C,CAClD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,oBAAoB,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC;IACjE,IAAI,oBAAoB,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;QAClC,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,MAAM,iBAAiB,GAAG,2BAA2B,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;IAC7F,OAAO,+BAA+B,CAAC,oBAAoB,EAAE,iBAAiB,CAAC,CAAC;AACpF,CAAC"}
1
+ {"version":3,"file":"versioned-bundle-imports.js","sourceRoot":"","sources":["../../../../../source/version-manager/imports/versioned-bundle-imports.ts"],"names":[],"mappings":"AAGA,OAA4C,0BAA0B,CAAC;AACvE,OAA8D,0BAA0B,CAAC"}
@@ -1,11 +1,6 @@
1
- import type { ProgressBroadcastProvider } from '../progress/progress-broadcaster.ts';
2
1
  import { type BuildVersionedBundleOptions, type VersionedBundle, type VersionedBundleWithManifest } from './versioned-bundle.ts';
3
- export type VersionManagerDependencies = {
4
- readonly progressBroadcaster: ProgressBroadcastProvider;
5
- };
6
2
  export type VersionManager = {
7
3
  addVersion: (options: BuildVersionedBundleOptions) => VersionedBundleWithManifest;
8
4
  increaseVersion: (bundle: VersionedBundle) => VersionedBundleWithManifest;
9
5
  };
10
- export declare function createVersionManager(dependencies: VersionManagerDependencies): VersionManager;
11
6
  //# sourceMappingURL=manager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../../source/version-manager/manager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAIrF,OAAO,EAEH,KAAK,2BAA2B,EAChC,KAAK,eAAe,EACpB,KAAK,2BAA2B,EACnC,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,0BAA0B,GAAG;IACrC,QAAQ,CAAC,mBAAmB,EAAE,yBAAyB,CAAC;CAC3D,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IACzB,UAAU,EAAE,CAAC,OAAO,EAAE,2BAA2B,KAAK,2BAA2B,CAAC;IAClF,eAAe,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,2BAA2B,CAAC;CAC7E,CAAC;AAiBF,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,0BAA0B,GAAG,cAAc,CAoC7F"}
1
+ {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../../source/version-manager/manager.ts"],"names":[],"mappings":"AAEA,OAAY,OAMH,2BAA2B,EAChC,KAAK,eAAe,EACpB,KAAK,2BAA2B,EACnC,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,cAA0B,GAAG;OAI7B,OACE,EAAE,CAAC,OAAO,EAAE,2BAA2B,KAAK,2BAA2B,CAAC;IAClF,eAAe,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,2BAA2B,CAAC;CAC7E,CAAC"}
@@ -1,47 +1,7 @@
1
- import semver from 'semver';
2
- import { packageManifestFilePath } from "../common/package-layout.js";
3
- import { inspectPackageJsonProvenance } from "../report/inspectors/inspect-package-json-provenance.js";
4
- import { buildPackageManifest } from "./manifest/builder.js";
5
- import { serializePackageJson } from "./manifest/serialize.js";
6
- import { buildVersionedBundle } from "./versioned-bundle.js";
7
- function toVersionedBundleWithManifest(versionedBundle) {
8
- const manifest = buildPackageManifest(versionedBundle);
9
- const packageJsonContent = serializePackageJson(manifest);
10
- return {
11
- ...versionedBundle,
12
- packageJson: manifest,
13
- manifestFile: {
14
- content: packageJsonContent,
15
- isExecutable: false,
16
- filePath: packageManifestFilePath
17
- }
18
- };
19
- }
20
- export function createVersionManager(dependencies) {
21
- const { progressBroadcaster } = dependencies;
22
- return {
23
- addVersion(options) {
24
- const versionedBundle = buildVersionedBundle(options);
25
- const materializedBundle = toVersionedBundleWithManifest(versionedBundle);
26
- if (progressBroadcaster.hasSubscribers('packageJsonAssembled')) {
27
- progressBroadcaster.emit('packageJsonAssembled', {
28
- packageName: materializedBundle.name,
29
- fields: inspectPackageJsonProvenance(materializedBundle.packageJson, options.mainPackageJson, options.additionalPackageJsonAttributes)
30
- });
31
- }
32
- return materializedBundle;
33
- },
34
- increaseVersion(versionedBundle) {
35
- const newVersion = semver.inc(versionedBundle.version, 'patch');
36
- if (newVersion === null) {
37
- throw new Error('Failed to increase version');
38
- }
39
- const newVersionedBundle = {
40
- ...versionedBundle,
41
- version: newVersion
42
- };
43
- return toVersionedBundleWithManifest(newVersionedBundle);
44
- }
45
- };
46
- }
1
+ import 'semver';
2
+ import "../common/package-layout.js";
3
+ import "../report/inspectors/inspect-package-json-provenance.js";
4
+ import "./manifest/builder.js";
5
+ import "./manifest/serialize.js";
6
+ import "./versioned-bundle.js";
47
7
  //# sourceMappingURL=manager.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../../source/version-manager/manager.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,yDAAyD,CAAC;AACvG,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACH,oBAAoB,EAIvB,MAAM,uBAAuB,CAAC;AAW/B,SAAS,6BAA6B,CAAC,eAAgC;IACnE,MAAM,QAAQ,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACvD,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IAE1D,OAAO;QACH,GAAG,eAAe;QAClB,WAAW,EAAE,QAAQ;QACrB,YAAY,EAAE;YACV,OAAO,EAAE,kBAAkB;YAC3B,YAAY,EAAE,KAAK;YACnB,QAAQ,EAAE,uBAAuB;SACpC;KACJ,CAAC;AACN,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,YAAwC;IACzE,MAAM,EAAE,mBAAmB,EAAE,GAAG,YAAY,CAAC;IAE7C,OAAO;QACH,UAAU,CAAC,OAAO;YACd,MAAM,eAAe,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;YACtD,MAAM,kBAAkB,GAAG,6BAA6B,CAAC,eAAe,CAAC,CAAC;YAE1E,IAAI,mBAAmB,CAAC,cAAc,CAAC,sBAAsB,CAAC,EAAE,CAAC;gBAC7D,mBAAmB,CAAC,IAAI,CAAC,sBAAsB,EAAE;oBAC7C,WAAW,EAAE,kBAAkB,CAAC,IAAI;oBACpC,MAAM,EAAE,4BAA4B,CAChC,kBAAkB,CAAC,WAAgD,EACnE,OAAO,CAAC,eAAoD,EAC5D,OAAO,CAAC,+BAAgF,CAC3F;iBACJ,CAAC,CAAC;YACP,CAAC;YAED,OAAO,kBAAkB,CAAC;QAC9B,CAAC;QAED,eAAe,CAAC,eAAe;YAC3B,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;YAChE,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;gBACtB,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;YAClD,CAAC;YAED,MAAM,kBAAkB,GAAoB;gBACxC,GAAG,eAAe;gBAClB,OAAO,EAAE,UAAU;aACtB,CAAC;YAEF,OAAO,6BAA6B,CAAC,kBAAkB,CAAC,CAAC;QAC7D,CAAC;KACJ,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../../source/version-manager/manager.ts"],"names":[],"mappings":"AAAA,OAAmB,QAAQ,CAAC;AAC5B,OAAwC,6BAA6B,CAAC;AAEtE,OAA6C,yDAAyD,CAAC;AACvG,OAAqC,uBAAuB,CAAC;AAC7D,OAAqC,yBAAyB,CAAC;AAC/D,OAKO,uBAAuB,CAAC"}
@@ -1,52 +1,2 @@
1
- import { hasProp, isDefined, isEmpty, pickBy } from 'remeda';
2
- function resolveSideEffectsValue(bundle) {
3
- if (hasProp(bundle.additionalAttributes, 'sideEffects')) {
4
- return undefined;
5
- }
6
- return bundle.sideEffectsField;
7
- }
8
- function buildSideEffectsEntry(sideEffects) {
9
- if (sideEffects === undefined) {
10
- return {};
11
- }
12
- return { sideEffects: typeof sideEffects === 'boolean' ? sideEffects : Array.from(sideEffects) };
13
- }
14
- function toPackageJsonImports(importsField) {
15
- // eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- config validation constrains imports values to JSON-compatible package.json data
16
- return Object.fromEntries(Object.entries(importsField));
17
- }
18
- function buildImportsEntry(importsField) {
19
- return importsField === undefined ? {} : { imports: toPackageJsonImports(importsField) };
20
- }
21
- function toPackageJsonBinTargets(binField) {
22
- return pickBy(binField, isDefined);
23
- }
24
- function buildBinEntry(binField) {
25
- if (binField === undefined) {
26
- return {};
27
- }
28
- if (typeof binField === 'string') {
29
- return { bin: binField };
30
- }
31
- return { bin: toPackageJsonBinTargets(binField) };
32
- }
33
- export function buildPackageManifest(bundle) {
34
- const sideEffects = resolveSideEffectsValue(bundle);
35
- const sideEffectsEntry = buildSideEffectsEntry(sideEffects);
36
- const importsEntry = buildImportsEntry(bundle.importsField);
37
- const binEntry = buildBinEntry(bundle.binField);
38
- const packageJson = {
39
- ...bundle.additionalAttributes,
40
- exports: bundle.exportsField,
41
- name: bundle.name,
42
- version: bundle.version,
43
- type: bundle.packageType,
44
- ...sideEffectsEntry,
45
- ...importsEntry,
46
- ...binEntry,
47
- ...isEmpty(bundle.dependencies) ? {} : { dependencies: bundle.dependencies },
48
- ...isEmpty(bundle.peerDependencies) ? {} : { peerDependencies: bundle.peerDependencies }
49
- };
50
- return packageJson;
51
- }
1
+ import 'remeda';
52
2
  //# sourceMappingURL=builder.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"builder.js","sourceRoot":"","sources":["../../../../../source/version-manager/manifest/builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE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M,UAAU,oBAAoB,CAAC,MAAuB;IACxD,MAAM,WAAW,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACpD,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAC;IAC5D,MAAM,YAAY,GAAG,iBAAiB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAC5D,MAAM,QAAQ,GAAG,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAEhD,MAAM,WAAW,GAAsB;QACnC,GAAG,MAAM,CAAC,oBAAoB;QAC9B,OAAO,EAAE,MAAM,CAAC,YAAY;QAC5B,IAAI,EAAE,MAAM,CAAC,IAAI;QACjB,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,IAAI,EAAE,MAAM,CAAC,WAAW;QACxB,GAAG,gBAAgB;QACnB,GAAG,YAAY;QACf,GAAG,QAAQ;QACX,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE;QAC5E,GAAG,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,MAAM,CAAC,gBAAgB,EAAE;KAC3F,CAAC;IAEF,OAAO,WAAW,CAAC;AACvB,CAAC"}
1
+ {"version":3,"file":"builder.js","sourceRoot":"","sources":["../../../../../source/version-manager/manifest/builder.ts"],"names":[],"mappings":"AACA,OAAoD,QAAQ,CAAC;AA0BzD"}
@@ -1,9 +1,2 @@
1
- import { serializeStableJson } from "../../common/stable-json.js";
2
- function shouldPreserveArrayOrder(path) {
3
- const [topLevelKey] = path;
4
- return topLevelKey === 'imports' || topLevelKey === 'exports';
5
- }
6
- export function serializePackageJson(data) {
7
- return serializeStableJson(data, { shouldPreserveArrayOrder });
8
- }
1
+ import "../../common/stable-json.js";
9
2
  //# sourceMappingURL=serialize.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"serialize.js","sourceRoot":"","sources":["../../../../../source/version-manager/manifest/serialize.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAElE,SAAS,wBAAwB,CAAC,IAAuB;IACrD,MAAM,CAAE,WAAW,CAAE,GAAG,IAAI,CAAC;IAC7B,OAAO,WAAW,KAAK,SAAS,IAAI,WAAW,KAAK,SAAS,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAA2B;IAC5D,OAAO,mBAAmB,CAAC,IAAI,EAAE,EAAE,wBAAwB,EAAE,CAAC,CAAC;AACnE,CAAC"}
1
+ {"version":3,"file":"serialize.js","sourceRoot":"","sources":["../../../../../source/version-manager/manifest/serialize.ts"],"names":[],"mappings":"AACA,OAAoC,6BAA6B,CAAC"}
@@ -1,6 +1,2 @@
1
- import { isDefined, pickBy } from 'remeda';
2
- export function buildOptionalVersionedBundleFields(input) {
3
- const { importsField, binField, typesMainFile } = input;
4
- return pickBy({ importsField, binField, typesMainFile }, isDefined);
5
- }
1
+ import 'remeda';
6
2
  //# sourceMappingURL=optional-bundle-fields.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"optional-bundle-fields.js","sourceRoot":"","sources":["../../../../source/version-manager/optional-bundle-fields.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAgB3C,MAAM,UAAU,kCAAkC,CAAC,KAAyC;IACxF,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAExD,OAAO,MAAM,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,SAAS,CAAC,CAAC;AACxE,CAAC"}
1
+ {"version":3,"file":"optional-bundle-fields.js","sourceRoot":"","sources":["../../../../source/version-manager/optional-bundle-fields.ts"],"names":[],"mappings":"AACA,OAAkC,QAAQ,CAAC"}
@@ -1,10 +1,2 @@
1
- import { summarizePackageSurface } from "../package-surface/package-surface-index.js";
2
- export function resolveRepresentativeRoot(bundle) {
3
- const { representativeRootId } = summarizePackageSurface(bundle);
4
- const root = bundle.roots[representativeRootId];
5
- if (root === undefined) {
6
- throw new Error(`Package "${bundle.name}" references unknown root "${representativeRootId}"`);
7
- }
8
- return root;
9
- }
1
+ import "../package-surface/package-surface-index.js";
10
2
  //# sourceMappingURL=representative-root.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"representative-root.js","sourceRoot":"","sources":["../../../../source/version-manager/representative-root.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAKtF,MAAM,UAAU,yBAAyB,CAAC,MAAgC;IACtE,MAAM,EAAE,oBAAoB,EAAE,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACjE,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAChD,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACrB,MAAM,IAAI,KAAK,CAAC,YAAY,MAAM,CAAC,IAAI,8BAA8B,oBAAoB,GAAG,CAAC,CAAC;IAClG,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
1
+ {"version":3,"file":"representative-root.js","sourceRoot":"","sources":["../../../../source/version-manager/representative-root.ts"],"names":[],"mappings":"AACA,OAAwC,6CAA6C,CAAC"}
@@ -1,43 +1,3 @@
1
- import npa from 'npm-package-arg';
2
- import { match } from 'ts-pattern';
3
- function workspaceMalformedReason() {
4
- return ('workspace protocol is yarn/pnpm/bun-specific; resolved at install time by the workspace,' +
5
- ' not valid in a published manifest');
6
- }
7
- function portalMalformedReason() {
8
- return 'portal protocol is yarn-specific; resolved as a local symlink, not valid in a published manifest';
9
- }
10
- function classifyNpaResult(result) {
11
- return match(result.type)
12
- .with('alias', 'range', 'tag', 'version', function () {
13
- return { kind: 'registry' };
14
- })
15
- .with('git', function () {
16
- return { kind: 'mutable', npaType: 'git' };
17
- })
18
- .with('remote', function () {
19
- return { kind: 'mutable', npaType: 'remote' };
20
- })
21
- .with('file', function () {
22
- return { kind: 'mutable', npaType: 'file' };
23
- })
24
- .otherwise(function () {
25
- return { kind: 'mutable', npaType: 'directory' };
26
- });
27
- }
28
- export function classifySpecifier(name, specifier) {
29
- if (specifier.startsWith('workspace:')) {
30
- return { kind: 'malformed', reason: workspaceMalformedReason() };
31
- }
32
- if (specifier.startsWith('portal:')) {
33
- return { kind: 'malformed', reason: portalMalformedReason() };
34
- }
35
- try {
36
- const result = npa.resolve(name, specifier);
37
- return classifyNpaResult(result);
38
- }
39
- catch (error) {
40
- return { kind: 'malformed', reason: String(error) };
41
- }
42
- }
1
+ import 'npm-package-arg';
2
+ import 'ts-pattern';
43
3
  //# sourceMappingURL=specifier-classifier.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"specifier-classifier.js","sourceRoot":"","sources":["../../../../source/version-manager/specifier-classifier.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAiBnC,SAAS,wBAAwB;IAC7B,OAAO,CACH,0FAA0F;QAC1F,oCAAoC,CACvC,CAAC;AACN,CAAC;AAED,SAAS,qBAAqB;IAC1B,OAAO,kGAAkG,CAAC;AAC9G,CAAC;AAED,SAAS,iBAAiB,CAAC,MAA4B;IACnD,OAAO,KAAK,CAAgC,MAAM,CAAC,IAAI,CAAC;SACnD,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE;QACtC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;IAChC,CAAC,CAAC;SACD,IAAI,CAAC,KAAK,EAAE;QACT,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC/C,CAAC,CAAC;SACD,IAAI,CAAC,QAAQ,EAAE;QACZ,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;IAClD,CAAC,CAAC;SACD,IAAI,CAAC,MAAM,EAAE;QACV,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAChD,CAAC,CAAC;SACD,SAAS,CAAC;QACP,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;IACrD,CAAC,CAAC,CAAC;AACX,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,IAAY,EAAE,SAAiB;IAC7D,IAAI,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;QACrC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,wBAAwB,EAAE,EAAE,CAAC;IACrE,CAAC;IACD,IAAI,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QAClC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,qBAAqB,EAAE,EAAE,CAAC;IAClE,CAAC;IAED,IAAI,CAAC;QACD,MAAM,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACtB,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;IACxD,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"specifier-classifier.js","sourceRoot":"","sources":["../../../../source/version-manager/specifier-classifier.ts"],"names":[],"mappings":"AAAA,OAAgB,iBAAiB,CAAC;AAClC,OAAsB,YAAY,CAAC"}