@wo658/redpact 0.4.1 → 0.5.0

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 (1832) hide show
  1. package/dist/adapters/changes/projects.js +9 -6
  2. package/dist/adapters/storage/files.js +7 -1
  3. package/dist/adapters/storage/migrations.js +108 -0
  4. package/dist/app.js +1 -0
  5. package/dist/core/runtime-migrations.js +60 -0
  6. package/dist/core/types/runtime-migrations.js +1 -0
  7. package/dist/interfaces/http/docs/schemas.js +1 -0
  8. package/dist/interfaces/http/worktrees.js +46 -4
  9. package/dist/main.js +34 -8
  10. package/dist/mcp/app.html +2 -2
  11. package/dist/runtime-lock.yaml +200 -3
  12. package/dist/ui/assets/{abnfDiagram-O67JEVCF-EXZIR7uE.js → abnfDiagram-O67JEVCF-BiCoaTQf.js} +1 -1
  13. package/dist/ui/assets/{arc-DZ7IkhQL.js → arc-CxrXKzN8.js} +1 -1
  14. package/dist/ui/assets/architecture-7GRP2DOG-DzS62Mws.js +1 -0
  15. package/dist/ui/assets/{architectureDiagram-NJMV4G6O-oFZ4jPG2.js → architectureDiagram-NJMV4G6O-Ds10Nax8.js} +1 -1
  16. package/dist/ui/assets/{blockDiagram-BEXU5L5S-BBUTa13d.js → blockDiagram-BEXU5L5S-Dcwb-Nc2.js} +1 -1
  17. package/dist/ui/assets/{c4Diagram-YGBWAQC7-CrOB8ApR.js → c4Diagram-YGBWAQC7-HJ2BM4QS.js} +1 -1
  18. package/dist/ui/assets/channel-B7JCQNOt.js +1 -0
  19. package/dist/ui/assets/{chunk-3FUC2YCW-W4k2bur_.js → chunk-3FUC2YCW-CuqADqJd.js} +1 -1
  20. package/dist/ui/assets/{chunk-5DYCD2WN-DsvkZxf0.js → chunk-5DYCD2WN-b1GJEpV0.js} +1 -1
  21. package/dist/ui/assets/{chunk-742MDFTN-Q9c012fL.js → chunk-742MDFTN-DwTTnubN.js} +1 -1
  22. package/dist/ui/assets/{chunk-7INBJB4K-D6-5S_eb.js → chunk-7INBJB4K-ByUayPM9.js} +1 -1
  23. package/dist/ui/assets/{chunk-7M6MHVWA-BX-zqrmJ.js → chunk-7M6MHVWA-BzJnRALV.js} +1 -1
  24. package/dist/ui/assets/{chunk-7PRAP22T-D5sSirGe.js → chunk-7PRAP22T-CvUIEla0.js} +1 -1
  25. package/dist/ui/assets/{chunk-GTNCS2PH-BrjKdoU7.js → chunk-GTNCS2PH-BczyBknu.js} +1 -1
  26. package/dist/ui/assets/{chunk-GWA4HPMP-BzyuOibA.js → chunk-GWA4HPMP-nIcuf26U.js} +1 -1
  27. package/dist/ui/assets/{chunk-MBY4JIJT-Jg4QirYy.js → chunk-MBY4JIJT-CPIDP_2H.js} +1 -1
  28. package/dist/ui/assets/{chunk-NETBCI7D-Bo5sr5ak.js → chunk-NETBCI7D-JpQfB3bx.js} +1 -1
  29. package/dist/ui/assets/{chunk-O7XYJQB3-ADuOEPCt.js → chunk-O7XYJQB3-CC25iKdK.js} +1 -1
  30. package/dist/ui/assets/{chunk-UA2S7LBM-BWLbUYDY.js → chunk-UA2S7LBM-nOnMeXlB.js} +1 -1
  31. package/dist/ui/assets/{chunk-WEXAMYUT-BfdLD4oE.js → chunk-WEXAMYUT-Cb5Q6TBg.js} +1 -1
  32. package/dist/ui/assets/{chunk-XXDRQBXY-CEdjCwp8.js → chunk-XXDRQBXY-BR_j9H82.js} +1 -1
  33. package/dist/ui/assets/{chunk-Z7XXMR3K-ooKdHdRU.js → chunk-Z7XXMR3K-Br0zWe3T.js} +1 -1
  34. package/dist/ui/assets/{chunk-ZIGJFQKS-u0lffPbH.js → chunk-ZIGJFQKS-CawGFIJO.js} +1 -1
  35. package/dist/ui/assets/{classDiagram-v2-NBCMYWYE-kQl6D-HR.js → classDiagram-v2-NBCMYWYE-NKNUahqj.js} +1 -1
  36. package/dist/ui/assets/{cose-bilkent-JH36ORCC-DFDknAe8.js → cose-bilkent-JH36ORCC-Y-4g3CTm.js} +1 -1
  37. package/dist/ui/assets/{cynefin-OW5HDTMX-D4vNepxD.js → cynefin-OW5HDTMX-Chevf1KQ.js} +1 -1
  38. package/dist/ui/assets/{cynefinDiagram-VND7K2PF-BFJ8dEz7.js → cynefinDiagram-VND7K2PF-CixOvfUu.js} +1 -1
  39. package/dist/ui/assets/{dagre-6A5THRUB-CedM101q.js → dagre-6A5THRUB-BIi9RwPd.js} +1 -1
  40. package/dist/ui/assets/{diagram-22UHCM2B-Drvoaqhq.js → diagram-22UHCM2B-7GYKgpWA.js} +1 -1
  41. package/dist/ui/assets/{diagram-3UASUU5V-BqSEx6TG.js → diagram-3UASUU5V-lDVeRm5S.js} +1 -1
  42. package/dist/ui/assets/{diagram-ATOU4E4O-SZKgc7Zh.js → diagram-ATOU4E4O-BbeHNWgT.js} +1 -1
  43. package/dist/ui/assets/{diagram-CDSNMT55-Dt8thVhY.js → diagram-CDSNMT55-DEPkOKCq.js} +1 -1
  44. package/dist/ui/assets/{diagram-MLGK6HIB-CWFs_OOW.js → diagram-MLGK6HIB-BOhVXMr1.js} +1 -1
  45. package/dist/ui/assets/{diagram-MPIPVDR6-Cwm3bA8U.js → diagram-MPIPVDR6-B1zhvHtS.js} +1 -1
  46. package/dist/ui/assets/{dist-B7TllD9l.js → dist-Y9mhSTs4.js} +1 -1
  47. package/dist/ui/assets/{ebnfDiagram-ZINNZB2B-D6kGEe9D.js → ebnfDiagram-ZINNZB2B-DkBkKcsD.js} +1 -1
  48. package/dist/ui/assets/{elk-276RUBZZ-wW1KTjEC.js → elk-276RUBZZ-D-FlTgY6.js} +1 -1
  49. package/dist/ui/assets/{erDiagram-OPXOYQCR-vfhl3sOr.js → erDiagram-OPXOYQCR--6wxlspu.js} +1 -1
  50. package/dist/ui/assets/eventmodeling-NTZA5JFV-Cyxnh7Fo.js +1 -0
  51. package/dist/ui/assets/flowDiagram-KWPJA3E3-DlO_dsqu.js +1 -0
  52. package/dist/ui/assets/{ganttDiagram-FUAMR5RP-BZbSmUfV.js → ganttDiagram-FUAMR5RP-D9hU2YEJ.js} +1 -1
  53. package/dist/ui/assets/{gitGraph-4MIJSDKK-D59WREq2.js → gitGraph-4MIJSDKK-DcM8C44E.js} +1 -1
  54. package/dist/ui/assets/{gitGraphDiagram-X574FWY7-CEWcL54p.js → gitGraphDiagram-X574FWY7-BpyLWtlE.js} +1 -1
  55. package/dist/ui/assets/{index-Bv8TXM17.js → index-C6BQea5D.js} +39 -39
  56. package/dist/ui/assets/index-wV1j-lxy.css +2 -0
  57. package/dist/ui/assets/{info-A6RAGUB7-CCjOD-hV.js → info-A6RAGUB7-kmvTF9rq.js} +1 -1
  58. package/dist/ui/assets/{infoDiagram-VRGFBTTK-LS-F_-al.js → infoDiagram-VRGFBTTK-C4j1703E.js} +1 -1
  59. package/dist/ui/assets/{ishikawaDiagram-OU5B5YK6-D0NTg-LK.js → ishikawaDiagram-OU5B5YK6-CKT-7Yqr.js} +1 -1
  60. package/dist/ui/assets/{journeyDiagram-ZHPQQLJL-Dw4e6Wl7.js → journeyDiagram-ZHPQQLJL--1ABIaof.js} +1 -1
  61. package/dist/ui/assets/{kanban-definition-PNTS6WVX-k5spTfT7.js → kanban-definition-PNTS6WVX-HRsNQdJi.js} +1 -1
  62. package/dist/ui/assets/{line-BFO0LY2j.js → line-BNnBYEq7.js} +1 -1
  63. package/dist/ui/assets/{linear-Cs_Nmu23.js → linear-Dg21fXMn.js} +1 -1
  64. package/dist/ui/assets/{mermaid-parser.core-CMSpXjeX.js → mermaid-parser.core-51-5cp-f.js} +3 -3
  65. package/dist/ui/assets/{mermaid.core-BBeLf7h3.js → mermaid.core-Bh6yYw1O.js} +4 -4
  66. package/dist/ui/assets/{mindmap-definition-NLK3R4M7-BmsEfsvR.js → mindmap-definition-NLK3R4M7-KvbA5EXr.js} +1 -1
  67. package/dist/ui/assets/{packet-AYTQ26CC-Cv3YK0Ee.js → packet-AYTQ26CC-DjdXSHI4.js} +1 -1
  68. package/dist/ui/assets/{pegDiagram-GJSIUBJH-31oI4OLR.js → pegDiagram-GJSIUBJH-C8FSYsRP.js} +1 -1
  69. package/dist/ui/assets/{pie-WAS4IAKB-bdwe8hf8.js → pie-WAS4IAKB-C46SWflT.js} +1 -1
  70. package/dist/ui/assets/{pieDiagram-5QR66LMP-TTKdYDzT.js → pieDiagram-5QR66LMP-DcpJ7J7i.js} +1 -1
  71. package/dist/ui/assets/{quadrantDiagram-O4NWA36T-DxVQLgKu.js → quadrantDiagram-O4NWA36T-CI7l8g1A.js} +1 -1
  72. package/dist/ui/assets/{radar-RG4KPBEZ-giEqBoGT.js → radar-RG4KPBEZ-PjPzXWz1.js} +1 -1
  73. package/dist/ui/assets/{railroad-74A4TZTK-D-K0dGi8.js → railroad-74A4TZTK-5pPV-Bvc.js} +1 -1
  74. package/dist/ui/assets/railroad-abnf-HS5TGJTU-CDH0BmAo.js +1 -0
  75. package/dist/ui/assets/railroad-ebnf-LZEXJU2U-DK1lYHjb.js +1 -0
  76. package/dist/ui/assets/railroad-peg-WCYAUIDC-K3xlbKcQ.js +1 -0
  77. package/dist/ui/assets/{railroadDiagram-XR7U4H2S-DrB5UCmO.js → railroadDiagram-XR7U4H2S-CIexvrBP.js} +1 -1
  78. package/dist/ui/assets/{requirementDiagram-PLB6GJNP-BQyLWXsL.js → requirementDiagram-PLB6GJNP-Bv8jD81I.js} +1 -1
  79. package/dist/ui/assets/{sankeyDiagram-IPEJSGJF-De5TIeaU.js → sankeyDiagram-IPEJSGJF-CQ9lxjuX.js} +1 -1
  80. package/dist/ui/assets/{sequenceDiagram-PO4LG4MO-DUtE2LLg.js → sequenceDiagram-PO4LG4MO-yp4qzDdM.js} +1 -1
  81. package/dist/ui/assets/{src-DwTKHdVd.js → src-DF6fzdKB.js} +1 -1
  82. package/dist/ui/assets/{stateDiagram-v2-GCMORJYK-CVT5Ge16.js → stateDiagram-v2-GCMORJYK-DHWaTU4b.js} +1 -1
  83. package/dist/ui/assets/{swimlanes-2SLR337P-Cu-5s066.js → swimlanes-2SLR337P-BfUiEMri.js} +1 -1
  84. package/dist/ui/assets/swimlanesDiagram-TC7HE7FX-BVGQ6M2p.js +8 -0
  85. package/dist/ui/assets/{timeline-definition-EJHVYXUP-CJ8w-7KC.js → timeline-definition-EJHVYXUP-Cj3SdHoX.js} +1 -1
  86. package/dist/ui/assets/{treeView-Q6P3EWNA-D1S3DvGP.js → treeView-Q6P3EWNA-DmyaZDs_.js} +1 -1
  87. package/dist/ui/assets/{treemap-WGGIJYW6-DblW82Ly.js → treemap-WGGIJYW6-Cy3z00JO.js} +1 -1
  88. package/dist/ui/assets/{usecaseDiagram-POWQR4AR-D8BYMSlq.js → usecaseDiagram-POWQR4AR-BHAy9inW.js} +1 -1
  89. package/dist/ui/assets/{vennDiagram-UO4OBE2U-CosmdYh9.js → vennDiagram-UO4OBE2U-GHEFwE_2.js} +1 -1
  90. package/dist/ui/assets/{wardley-WFR3VGLG-D9U9ulTn.js → wardley-WFR3VGLG-CjNcKpKj.js} +1 -1
  91. package/dist/ui/assets/{wardleyDiagram-VNRHLVJA-CgtqeFIO.js → wardleyDiagram-VNRHLVJA-shbe21uu.js} +1 -1
  92. package/dist/ui/assets/{xychartDiagram-PMCCYNJV-DR25rR7D.js → xychartDiagram-PMCCYNJV-CHbAVh2z.js} +1 -1
  93. package/dist/ui/index.html +2 -2
  94. package/dist/workflows/merge.js +17 -1
  95. package/dist/workflows/observe-projects.js +3 -0
  96. package/dist/workflows/project-graph.js +7 -0
  97. package/dist/workflows/pull-requests.js +30 -17
  98. package/dist/workflows/runtime-migrations.js +72 -0
  99. package/dist/workflows/start-work.js +3 -0
  100. package/dist/workflows/test-container.js +1 -0
  101. package/dist/workflows/unit-tests.js +5 -0
  102. package/dist/workflows/worktrees.js +91 -8
  103. package/node_modules/@nodelib/fs.scandir/LICENSE +21 -0
  104. package/node_modules/@nodelib/fs.scandir/README.md +171 -0
  105. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  106. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +19 -0
  107. package/node_modules/@nodelib/fs.scandir/out/constants.d.ts +4 -0
  108. package/node_modules/@nodelib/fs.scandir/out/constants.js +17 -0
  109. package/node_modules/@nodelib/fs.scandir/out/index.d.ts +12 -0
  110. package/node_modules/@nodelib/fs.scandir/out/index.js +26 -0
  111. package/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  112. package/node_modules/@nodelib/fs.scandir/out/providers/async.js +104 -0
  113. package/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +1 -0
  114. package/node_modules/@nodelib/fs.scandir/out/providers/common.js +13 -0
  115. package/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +5 -0
  116. package/node_modules/@nodelib/fs.scandir/out/providers/sync.js +54 -0
  117. package/node_modules/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  118. package/node_modules/@nodelib/fs.scandir/out/settings.js +24 -0
  119. package/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  120. package/node_modules/@nodelib/fs.scandir/out/types/index.js +2 -0
  121. package/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +2 -0
  122. package/node_modules/@nodelib/fs.scandir/out/utils/fs.js +19 -0
  123. package/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +2 -0
  124. package/node_modules/@nodelib/fs.scandir/out/utils/index.js +5 -0
  125. package/node_modules/@nodelib/fs.scandir/package.json +44 -0
  126. package/node_modules/@nodelib/fs.stat/LICENSE +21 -0
  127. package/node_modules/@nodelib/fs.stat/README.md +126 -0
  128. package/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  129. package/node_modules/@nodelib/fs.stat/out/adapters/fs.js +17 -0
  130. package/node_modules/@nodelib/fs.stat/out/index.d.ts +12 -0
  131. package/node_modules/@nodelib/fs.stat/out/index.js +26 -0
  132. package/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  133. package/node_modules/@nodelib/fs.stat/out/providers/async.js +36 -0
  134. package/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +3 -0
  135. package/node_modules/@nodelib/fs.stat/out/providers/sync.js +23 -0
  136. package/node_modules/@nodelib/fs.stat/out/settings.d.ts +16 -0
  137. package/node_modules/@nodelib/fs.stat/out/settings.js +16 -0
  138. package/node_modules/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  139. package/node_modules/@nodelib/fs.stat/out/types/index.js +2 -0
  140. package/node_modules/@nodelib/fs.stat/package.json +37 -0
  141. package/node_modules/@nodelib/fs.walk/LICENSE +21 -0
  142. package/node_modules/@nodelib/fs.walk/README.md +215 -0
  143. package/node_modules/@nodelib/fs.walk/out/index.d.ts +14 -0
  144. package/node_modules/@nodelib/fs.walk/out/index.js +34 -0
  145. package/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  146. package/node_modules/@nodelib/fs.walk/out/providers/async.js +30 -0
  147. package/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +4 -0
  148. package/node_modules/@nodelib/fs.walk/out/providers/index.js +9 -0
  149. package/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +12 -0
  150. package/node_modules/@nodelib/fs.walk/out/providers/stream.js +34 -0
  151. package/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +10 -0
  152. package/node_modules/@nodelib/fs.walk/out/providers/sync.js +14 -0
  153. package/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  154. package/node_modules/@nodelib/fs.walk/out/readers/async.js +97 -0
  155. package/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +7 -0
  156. package/node_modules/@nodelib/fs.walk/out/readers/common.js +31 -0
  157. package/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  158. package/node_modules/@nodelib/fs.walk/out/readers/reader.js +11 -0
  159. package/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +15 -0
  160. package/node_modules/@nodelib/fs.walk/out/readers/sync.js +59 -0
  161. package/node_modules/@nodelib/fs.walk/out/settings.d.ts +30 -0
  162. package/node_modules/@nodelib/fs.walk/out/settings.js +26 -0
  163. package/node_modules/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  164. package/node_modules/@nodelib/fs.walk/out/types/index.js +2 -0
  165. package/node_modules/@nodelib/fs.walk/package.json +44 -0
  166. package/node_modules/@rushstack/node-core-library/CHANGELOG.json +3087 -0
  167. package/node_modules/@rushstack/node-core-library/CHANGELOG.md +1710 -0
  168. package/node_modules/@rushstack/node-core-library/LICENSE +24 -0
  169. package/node_modules/@rushstack/node-core-library/README.md +38 -0
  170. package/node_modules/@rushstack/node-core-library/dist/node-core-library.d.ts +4005 -0
  171. package/node_modules/@rushstack/node-core-library/dist/tsdoc-metadata.json +11 -0
  172. package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.d.ts +36 -0
  173. package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.d.ts.map +1 -0
  174. package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.js +54 -0
  175. package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.js.map +1 -0
  176. package/node_modules/@rushstack/node-core-library/lib/Async.d.ts +200 -0
  177. package/node_modules/@rushstack/node-core-library/lib/Async.d.ts.map +1 -0
  178. package/node_modules/@rushstack/node-core-library/lib/Async.js +236 -0
  179. package/node_modules/@rushstack/node-core-library/lib/Async.js.map +1 -0
  180. package/node_modules/@rushstack/node-core-library/lib/Constants.d.ts +27 -0
  181. package/node_modules/@rushstack/node-core-library/lib/Constants.d.ts.map +1 -0
  182. package/node_modules/@rushstack/node-core-library/lib/Constants.js +34 -0
  183. package/node_modules/@rushstack/node-core-library/lib/Constants.js.map +1 -0
  184. package/node_modules/@rushstack/node-core-library/lib/Enum.d.ts +120 -0
  185. package/node_modules/@rushstack/node-core-library/lib/Enum.d.ts.map +1 -0
  186. package/node_modules/@rushstack/node-core-library/lib/Enum.js +136 -0
  187. package/node_modules/@rushstack/node-core-library/lib/Enum.js.map +1 -0
  188. package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.d.ts +72 -0
  189. package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.d.ts.map +1 -0
  190. package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.js +108 -0
  191. package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.js.map +1 -0
  192. package/node_modules/@rushstack/node-core-library/lib/Executable.d.ts +349 -0
  193. package/node_modules/@rushstack/node-core-library/lib/Executable.d.ts.map +1 -0
  194. package/node_modules/@rushstack/node-core-library/lib/Executable.js +698 -0
  195. package/node_modules/@rushstack/node-core-library/lib/Executable.js.map +1 -0
  196. package/node_modules/@rushstack/node-core-library/lib/FileError.d.ts +81 -0
  197. package/node_modules/@rushstack/node-core-library/lib/FileError.d.ts.map +1 -0
  198. package/node_modules/@rushstack/node-core-library/lib/FileError.js +113 -0
  199. package/node_modules/@rushstack/node-core-library/lib/FileError.js.map +1 -0
  200. package/node_modules/@rushstack/node-core-library/lib/FileSystem.d.ts +687 -0
  201. package/node_modules/@rushstack/node-core-library/lib/FileSystem.d.ts.map +1 -0
  202. package/node_modules/@rushstack/node-core-library/lib/FileSystem.js +1201 -0
  203. package/node_modules/@rushstack/node-core-library/lib/FileSystem.js.map +1 -0
  204. package/node_modules/@rushstack/node-core-library/lib/FileWriter.d.ts +67 -0
  205. package/node_modules/@rushstack/node-core-library/lib/FileWriter.d.ts.map +1 -0
  206. package/node_modules/@rushstack/node-core-library/lib/FileWriter.js +73 -0
  207. package/node_modules/@rushstack/node-core-library/lib/FileWriter.js.map +1 -0
  208. package/node_modules/@rushstack/node-core-library/lib/IPackageJson.d.ts +295 -0
  209. package/node_modules/@rushstack/node-core-library/lib/IPackageJson.d.ts.map +1 -0
  210. package/node_modules/@rushstack/node-core-library/lib/IPackageJson.js +5 -0
  211. package/node_modules/@rushstack/node-core-library/lib/IPackageJson.js.map +1 -0
  212. package/node_modules/@rushstack/node-core-library/lib/Import.d.ts +255 -0
  213. package/node_modules/@rushstack/node-core-library/lib/Import.d.ts.map +1 -0
  214. package/node_modules/@rushstack/node-core-library/lib/Import.js +390 -0
  215. package/node_modules/@rushstack/node-core-library/lib/Import.js.map +1 -0
  216. package/node_modules/@rushstack/node-core-library/lib/InternalError.d.ts +36 -0
  217. package/node_modules/@rushstack/node-core-library/lib/InternalError.d.ts.map +1 -0
  218. package/node_modules/@rushstack/node-core-library/lib/InternalError.js +55 -0
  219. package/node_modules/@rushstack/node-core-library/lib/InternalError.js.map +1 -0
  220. package/node_modules/@rushstack/node-core-library/lib/JsonFile.d.ts +252 -0
  221. package/node_modules/@rushstack/node-core-library/lib/JsonFile.d.ts.map +1 -0
  222. package/node_modules/@rushstack/node-core-library/lib/JsonFile.js +438 -0
  223. package/node_modules/@rushstack/node-core-library/lib/JsonFile.js.map +1 -0
  224. package/node_modules/@rushstack/node-core-library/lib/JsonSchema.d.ts +172 -0
  225. package/node_modules/@rushstack/node-core-library/lib/JsonSchema.d.ts.map +1 -0
  226. package/node_modules/@rushstack/node-core-library/lib/JsonSchema.js +287 -0
  227. package/node_modules/@rushstack/node-core-library/lib/JsonSchema.js.map +1 -0
  228. package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.d.ts +24 -0
  229. package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.d.ts.map +1 -0
  230. package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.js +62 -0
  231. package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.js.map +1 -0
  232. package/node_modules/@rushstack/node-core-library/lib/LockFile.d.ts +94 -0
  233. package/node_modules/@rushstack/node-core-library/lib/LockFile.d.ts.map +1 -0
  234. package/node_modules/@rushstack/node-core-library/lib/LockFile.js +462 -0
  235. package/node_modules/@rushstack/node-core-library/lib/LockFile.js.map +1 -0
  236. package/node_modules/@rushstack/node-core-library/lib/MapExtensions.d.ts +26 -0
  237. package/node_modules/@rushstack/node-core-library/lib/MapExtensions.d.ts.map +1 -0
  238. package/node_modules/@rushstack/node-core-library/lib/MapExtensions.js +40 -0
  239. package/node_modules/@rushstack/node-core-library/lib/MapExtensions.js.map +1 -0
  240. package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.d.ts +39 -0
  241. package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.d.ts.map +1 -0
  242. package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.js +99 -0
  243. package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.js.map +1 -0
  244. package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.d.ts +142 -0
  245. package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.d.ts.map +1 -0
  246. package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.js +338 -0
  247. package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.js.map +1 -0
  248. package/node_modules/@rushstack/node-core-library/lib/PackageName.d.ts +142 -0
  249. package/node_modules/@rushstack/node-core-library/lib/PackageName.d.ts.map +1 -0
  250. package/node_modules/@rushstack/node-core-library/lib/PackageName.js +213 -0
  251. package/node_modules/@rushstack/node-core-library/lib/PackageName.js.map +1 -0
  252. package/node_modules/@rushstack/node-core-library/lib/Path.d.ts +155 -0
  253. package/node_modules/@rushstack/node-core-library/lib/Path.d.ts.map +1 -0
  254. package/node_modules/@rushstack/node-core-library/lib/Path.js +224 -0
  255. package/node_modules/@rushstack/node-core-library/lib/Path.js.map +1 -0
  256. package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.d.ts +73 -0
  257. package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.d.ts.map +1 -0
  258. package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.js +83 -0
  259. package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.js.map +1 -0
  260. package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.d.ts +41 -0
  261. package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.d.ts.map +1 -0
  262. package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.js +5 -0
  263. package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.js.map +1 -0
  264. package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.d.ts +83 -0
  265. package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.d.ts.map +1 -0
  266. package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.js +90 -0
  267. package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.js.map +1 -0
  268. package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.d.ts +20 -0
  269. package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.d.ts.map +1 -0
  270. package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.js +56 -0
  271. package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.js.map +1 -0
  272. package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.d.ts +58 -0
  273. package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.d.ts.map +1 -0
  274. package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.js +177 -0
  275. package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.js.map +1 -0
  276. package/node_modules/@rushstack/node-core-library/lib/Sort.d.ts +114 -0
  277. package/node_modules/@rushstack/node-core-library/lib/Sort.d.ts.map +1 -0
  278. package/node_modules/@rushstack/node-core-library/lib/Sort.js +266 -0
  279. package/node_modules/@rushstack/node-core-library/lib/Sort.js.map +1 -0
  280. package/node_modules/@rushstack/node-core-library/lib/StringBuilder.d.ts +46 -0
  281. package/node_modules/@rushstack/node-core-library/lib/StringBuilder.d.ts.map +1 -0
  282. package/node_modules/@rushstack/node-core-library/lib/StringBuilder.js +41 -0
  283. package/node_modules/@rushstack/node-core-library/lib/StringBuilder.js.map +1 -0
  284. package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.d.ts +64 -0
  285. package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.d.ts.map +1 -0
  286. package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.js +190 -0
  287. package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.js.map +1 -0
  288. package/node_modules/@rushstack/node-core-library/lib/Text.d.ts +141 -0
  289. package/node_modules/@rushstack/node-core-library/lib/Text.d.ts.map +1 -0
  290. package/node_modules/@rushstack/node-core-library/lib/Text.js +310 -0
  291. package/node_modules/@rushstack/node-core-library/lib/Text.js.map +1 -0
  292. package/node_modules/@rushstack/node-core-library/lib/TypeUuid.d.ts +48 -0
  293. package/node_modules/@rushstack/node-core-library/lib/TypeUuid.d.ts.map +1 -0
  294. package/node_modules/@rushstack/node-core-library/lib/TypeUuid.js +87 -0
  295. package/node_modules/@rushstack/node-core-library/lib/TypeUuid.js.map +1 -0
  296. package/node_modules/@rushstack/node-core-library/lib/index.d.ts +37 -0
  297. package/node_modules/@rushstack/node-core-library/lib/index.d.ts.map +1 -0
  298. package/node_modules/@rushstack/node-core-library/lib/index.js +75 -0
  299. package/node_modules/@rushstack/node-core-library/lib/index.js.map +1 -0
  300. package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/LICENSE +15 -0
  301. package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/README.md +166 -0
  302. package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/index.js +334 -0
  303. package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/package.json +34 -0
  304. package/node_modules/@rushstack/node-core-library/node_modules/semver/LICENSE +15 -0
  305. package/node_modules/@rushstack/node-core-library/node_modules/semver/README.md +637 -0
  306. package/node_modules/@rushstack/node-core-library/node_modules/semver/bin/semver.js +197 -0
  307. package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/comparator.js +141 -0
  308. package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/index.js +5 -0
  309. package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/range.js +539 -0
  310. package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/semver.js +302 -0
  311. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/clean.js +6 -0
  312. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/cmp.js +52 -0
  313. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/coerce.js +52 -0
  314. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/compare-build.js +7 -0
  315. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/compare-loose.js +3 -0
  316. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/compare.js +5 -0
  317. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/diff.js +65 -0
  318. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/eq.js +3 -0
  319. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/gt.js +3 -0
  320. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/gte.js +3 -0
  321. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/inc.js +19 -0
  322. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/lt.js +3 -0
  323. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/lte.js +3 -0
  324. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/major.js +3 -0
  325. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/minor.js +3 -0
  326. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/neq.js +3 -0
  327. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/parse.js +16 -0
  328. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/patch.js +3 -0
  329. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/prerelease.js +6 -0
  330. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/rcompare.js +3 -0
  331. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/rsort.js +3 -0
  332. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/satisfies.js +10 -0
  333. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/sort.js +3 -0
  334. package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/valid.js +6 -0
  335. package/node_modules/@rushstack/node-core-library/node_modules/semver/index.js +89 -0
  336. package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/constants.js +35 -0
  337. package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/debug.js +9 -0
  338. package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/identifiers.js +23 -0
  339. package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/parse-options.js +15 -0
  340. package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/re.js +212 -0
  341. package/node_modules/@rushstack/node-core-library/node_modules/semver/package.json +87 -0
  342. package/node_modules/@rushstack/node-core-library/node_modules/semver/preload.js +2 -0
  343. package/node_modules/@rushstack/node-core-library/node_modules/semver/range.bnf +16 -0
  344. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/gtr.js +4 -0
  345. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/intersects.js +7 -0
  346. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/ltr.js +4 -0
  347. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/max-satisfying.js +25 -0
  348. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/min-satisfying.js +24 -0
  349. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/min-version.js +61 -0
  350. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/outside.js +80 -0
  351. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/simplify.js +47 -0
  352. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/subset.js +247 -0
  353. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/to-comparators.js +8 -0
  354. package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/valid.js +11 -0
  355. package/node_modules/@rushstack/node-core-library/package.json +47 -0
  356. package/node_modules/@rushstack/terminal/CHANGELOG.json +5021 -0
  357. package/node_modules/@rushstack/terminal/CHANGELOG.md +1661 -0
  358. package/node_modules/@rushstack/terminal/LICENSE +24 -0
  359. package/node_modules/@rushstack/terminal/README.md +53 -0
  360. package/node_modules/@rushstack/terminal/dist/terminal.d.ts +1304 -0
  361. package/node_modules/@rushstack/terminal/dist/tsdoc-metadata.json +11 -0
  362. package/node_modules/@rushstack/terminal/lib/AnsiEscape.d.ts +35 -0
  363. package/node_modules/@rushstack/terminal/lib/AnsiEscape.d.ts.map +1 -0
  364. package/node_modules/@rushstack/terminal/lib/AnsiEscape.js +136 -0
  365. package/node_modules/@rushstack/terminal/lib/AnsiEscape.js.map +1 -0
  366. package/node_modules/@rushstack/terminal/lib/CallbackWritable.d.ts +29 -0
  367. package/node_modules/@rushstack/terminal/lib/CallbackWritable.d.ts.map +1 -0
  368. package/node_modules/@rushstack/terminal/lib/CallbackWritable.js +31 -0
  369. package/node_modules/@rushstack/terminal/lib/CallbackWritable.js.map +1 -0
  370. package/node_modules/@rushstack/terminal/lib/Colorize.d.ts +81 -0
  371. package/node_modules/@rushstack/terminal/lib/Colorize.d.ts.map +1 -0
  372. package/node_modules/@rushstack/terminal/lib/Colorize.js +162 -0
  373. package/node_modules/@rushstack/terminal/lib/Colorize.js.map +1 -0
  374. package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.d.ts +49 -0
  375. package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.d.ts.map +1 -0
  376. package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.js +65 -0
  377. package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.js.map +1 -0
  378. package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.d.ts +55 -0
  379. package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.d.ts.map +1 -0
  380. package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.js +94 -0
  381. package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.js.map +1 -0
  382. package/node_modules/@rushstack/terminal/lib/ITerminal.d.ts +81 -0
  383. package/node_modules/@rushstack/terminal/lib/ITerminal.d.ts.map +1 -0
  384. package/node_modules/@rushstack/terminal/lib/ITerminal.js +5 -0
  385. package/node_modules/@rushstack/terminal/lib/ITerminal.js.map +1 -0
  386. package/node_modules/@rushstack/terminal/lib/ITerminalChunk.d.ts +45 -0
  387. package/node_modules/@rushstack/terminal/lib/ITerminalChunk.d.ts.map +1 -0
  388. package/node_modules/@rushstack/terminal/lib/ITerminalChunk.js +21 -0
  389. package/node_modules/@rushstack/terminal/lib/ITerminalChunk.js.map +1 -0
  390. package/node_modules/@rushstack/terminal/lib/ITerminalProvider.d.ts +54 -0
  391. package/node_modules/@rushstack/terminal/lib/ITerminalProvider.d.ts.map +1 -0
  392. package/node_modules/@rushstack/terminal/lib/ITerminalProvider.js +32 -0
  393. package/node_modules/@rushstack/terminal/lib/ITerminalProvider.js.map +1 -0
  394. package/node_modules/@rushstack/terminal/lib/MockWritable.d.ts +15 -0
  395. package/node_modules/@rushstack/terminal/lib/MockWritable.d.ts.map +1 -0
  396. package/node_modules/@rushstack/terminal/lib/MockWritable.js +32 -0
  397. package/node_modules/@rushstack/terminal/lib/MockWritable.js.map +1 -0
  398. package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.d.ts +23 -0
  399. package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.d.ts.map +1 -0
  400. package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.js +34 -0
  401. package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.js.map +1 -0
  402. package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.d.ts +43 -0
  403. package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.d.ts.map +1 -0
  404. package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.js +70 -0
  405. package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.js.map +1 -0
  406. package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.d.ts +57 -0
  407. package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.d.ts.map +1 -0
  408. package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.js +64 -0
  409. package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.js.map +1 -0
  410. package/node_modules/@rushstack/terminal/lib/PrintUtilities.d.ts +77 -0
  411. package/node_modules/@rushstack/terminal/lib/PrintUtilities.d.ts.map +1 -0
  412. package/node_modules/@rushstack/terminal/lib/PrintUtilities.js +150 -0
  413. package/node_modules/@rushstack/terminal/lib/PrintUtilities.js.map +1 -0
  414. package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.d.ts +17 -0
  415. package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.d.ts.map +1 -0
  416. package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.js +95 -0
  417. package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.js.map +1 -0
  418. package/node_modules/@rushstack/terminal/lib/SplitterTransform.d.ts +32 -0
  419. package/node_modules/@rushstack/terminal/lib/SplitterTransform.d.ts.map +1 -0
  420. package/node_modules/@rushstack/terminal/lib/SplitterTransform.js +48 -0
  421. package/node_modules/@rushstack/terminal/lib/SplitterTransform.js.map +1 -0
  422. package/node_modules/@rushstack/terminal/lib/StdioLineTransform.d.ts +72 -0
  423. package/node_modules/@rushstack/terminal/lib/StdioLineTransform.d.ts.map +1 -0
  424. package/node_modules/@rushstack/terminal/lib/StdioLineTransform.js +115 -0
  425. package/node_modules/@rushstack/terminal/lib/StdioLineTransform.js.map +1 -0
  426. package/node_modules/@rushstack/terminal/lib/StdioSummarizer.d.ts +63 -0
  427. package/node_modules/@rushstack/terminal/lib/StdioSummarizer.d.ts.map +1 -0
  428. package/node_modules/@rushstack/terminal/lib/StdioSummarizer.js +99 -0
  429. package/node_modules/@rushstack/terminal/lib/StdioSummarizer.js.map +1 -0
  430. package/node_modules/@rushstack/terminal/lib/StdioWritable.d.ts +17 -0
  431. package/node_modules/@rushstack/terminal/lib/StdioWritable.d.ts.map +1 -0
  432. package/node_modules/@rushstack/terminal/lib/StdioWritable.js +34 -0
  433. package/node_modules/@rushstack/terminal/lib/StdioWritable.js.map +1 -0
  434. package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.d.ts +67 -0
  435. package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.d.ts.map +1 -0
  436. package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.js +113 -0
  437. package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.js.map +1 -0
  438. package/node_modules/@rushstack/terminal/lib/Terminal.d.ts +63 -0
  439. package/node_modules/@rushstack/terminal/lib/Terminal.d.ts.map +1 -0
  440. package/node_modules/@rushstack/terminal/lib/Terminal.js +348 -0
  441. package/node_modules/@rushstack/terminal/lib/Terminal.js.map +1 -0
  442. package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.d.ts +33 -0
  443. package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.d.ts.map +1 -0
  444. package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.js +53 -0
  445. package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.js.map +1 -0
  446. package/node_modules/@rushstack/terminal/lib/TerminalTransform.d.ts +68 -0
  447. package/node_modules/@rushstack/terminal/lib/TerminalTransform.d.ts.map +1 -0
  448. package/node_modules/@rushstack/terminal/lib/TerminalTransform.js +57 -0
  449. package/node_modules/@rushstack/terminal/lib/TerminalTransform.js.map +1 -0
  450. package/node_modules/@rushstack/terminal/lib/TerminalWritable.d.ts +125 -0
  451. package/node_modules/@rushstack/terminal/lib/TerminalWritable.d.ts.map +1 -0
  452. package/node_modules/@rushstack/terminal/lib/TerminalWritable.js +123 -0
  453. package/node_modules/@rushstack/terminal/lib/TerminalWritable.js.map +1 -0
  454. package/node_modules/@rushstack/terminal/lib/TextRewriter.d.ts +70 -0
  455. package/node_modules/@rushstack/terminal/lib/TextRewriter.d.ts.map +1 -0
  456. package/node_modules/@rushstack/terminal/lib/TextRewriter.js +39 -0
  457. package/node_modules/@rushstack/terminal/lib/TextRewriter.js.map +1 -0
  458. package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.d.ts +61 -0
  459. package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.d.ts.map +1 -0
  460. package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.js +94 -0
  461. package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.js.map +1 -0
  462. package/node_modules/@rushstack/terminal/lib/index.d.ts +36 -0
  463. package/node_modules/@rushstack/terminal/lib/index.d.ts.map +1 -0
  464. package/node_modules/@rushstack/terminal/lib/index.js +65 -0
  465. package/node_modules/@rushstack/terminal/lib/index.js.map +1 -0
  466. package/node_modules/@rushstack/terminal/package.json +38 -0
  467. package/node_modules/@rushstack/ts-command-line/CHANGELOG.json +2206 -0
  468. package/node_modules/@rushstack/ts-command-line/CHANGELOG.md +1099 -0
  469. package/node_modules/@rushstack/ts-command-line/LICENSE +24 -0
  470. package/node_modules/@rushstack/ts-command-line/README.md +247 -0
  471. package/node_modules/@rushstack/ts-command-line/dist/ts-command-line.d.ts +1174 -0
  472. package/node_modules/@rushstack/ts-command-line/dist/tsdoc-metadata.json +11 -0
  473. package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.d.ts +14 -0
  474. package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.d.ts.map +1 -0
  475. package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.js +23 -0
  476. package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.js.map +1 -0
  477. package/node_modules/@rushstack/ts-command-line/lib/Constants.d.ts +13 -0
  478. package/node_modules/@rushstack/ts-command-line/lib/Constants.d.ts.map +1 -0
  479. package/node_modules/@rushstack/ts-command-line/lib/Constants.js +19 -0
  480. package/node_modules/@rushstack/ts-command-line/lib/Constants.js.map +1 -0
  481. package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.d.ts +9 -0
  482. package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.d.ts.map +1 -0
  483. package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.js +32 -0
  484. package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.js.map +1 -0
  485. package/node_modules/@rushstack/ts-command-line/lib/index.d.ts +25 -0
  486. package/node_modules/@rushstack/ts-command-line/lib/index.d.ts.map +1 -0
  487. package/node_modules/@rushstack/ts-command-line/lib/index.js +50 -0
  488. package/node_modules/@rushstack/ts-command-line/lib/index.js.map +1 -0
  489. package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.d.ts +130 -0
  490. package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.d.ts.map +1 -0
  491. package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.js +168 -0
  492. package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.js.map +1 -0
  493. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.d.ts +33 -0
  494. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.d.ts.map +1 -0
  495. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.js +83 -0
  496. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.js.map +1 -0
  497. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.d.ts +47 -0
  498. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.d.ts.map +1 -0
  499. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.js +94 -0
  500. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.js.map +1 -0
  501. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.d.ts +236 -0
  502. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.d.ts.map +1 -0
  503. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.js +5 -0
  504. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.js.map +1 -0
  505. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.d.ts +29 -0
  506. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.d.ts.map +1 -0
  507. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.js +69 -0
  508. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.js.map +1 -0
  509. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.d.ts +29 -0
  510. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.d.ts.map +1 -0
  511. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.js +79 -0
  512. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.js.map +1 -0
  513. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.d.ts +43 -0
  514. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.d.ts.map +1 -0
  515. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.js +83 -0
  516. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.js.map +1 -0
  517. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.d.ts +28 -0
  518. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.d.ts.map +1 -0
  519. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.js +47 -0
  520. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.js.map +1 -0
  521. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.d.ts +29 -0
  522. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.d.ts.map +1 -0
  523. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.js +70 -0
  524. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.js.map +1 -0
  525. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.d.ts +43 -0
  526. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.d.ts.map +1 -0
  527. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.js +82 -0
  528. package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.js.map +1 -0
  529. package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.d.ts +10 -0
  530. package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.d.ts.map +1 -0
  531. package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.js +51 -0
  532. package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.js.map +1 -0
  533. package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.d.ts +60 -0
  534. package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.d.ts.map +1 -0
  535. package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.js +168 -0
  536. package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.js.map +1 -0
  537. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.d.ts +69 -0
  538. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.d.ts.map +1 -0
  539. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.js +82 -0
  540. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.js.map +1 -0
  541. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.d.ts +332 -0
  542. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.d.ts.map +1 -0
  543. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.js +707 -0
  544. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.js.map +1 -0
  545. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.d.ts +115 -0
  546. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.d.ts.map +1 -0
  547. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.js +283 -0
  548. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.js.map +1 -0
  549. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.d.ts +10 -0
  550. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.d.ts.map +1 -0
  551. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.js +67 -0
  552. package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.js.map +1 -0
  553. package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.d.ts +8 -0
  554. package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.d.ts.map +1 -0
  555. package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.js +17 -0
  556. package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.js.map +1 -0
  557. package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.d.ts +7 -0
  558. package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.d.ts.map +1 -0
  559. package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.js +13 -0
  560. package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.js.map +1 -0
  561. package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.d.ts +84 -0
  562. package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.d.ts.map +1 -0
  563. package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.js +209 -0
  564. package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.js.map +1 -0
  565. package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.d.ts +17 -0
  566. package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.d.ts.map +1 -0
  567. package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.js +173 -0
  568. package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.js.map +1 -0
  569. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/LICENSE +21 -0
  570. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/README.md +257 -0
  571. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/index.js +3 -0
  572. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/append/constant.js +47 -0
  573. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/append.js +53 -0
  574. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/count.js +40 -0
  575. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/help.js +47 -0
  576. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store/constant.js +43 -0
  577. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store/false.js +27 -0
  578. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store/true.js +26 -0
  579. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store.js +50 -0
  580. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/subparsers.js +149 -0
  581. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/version.js +47 -0
  582. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action.js +146 -0
  583. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action_container.js +482 -0
  584. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argparse.js +14 -0
  585. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument/error.js +50 -0
  586. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument/exclusive.js +54 -0
  587. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument/group.js +75 -0
  588. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument_parser.js +1161 -0
  589. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/const.js +21 -0
  590. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/help/added_formatters.js +87 -0
  591. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/help/formatter.js +795 -0
  592. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/namespace.js +76 -0
  593. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/utils.js +57 -0
  594. package/node_modules/@rushstack/ts-command-line/node_modules/argparse/package.json +34 -0
  595. package/node_modules/@rushstack/ts-command-line/package.json +32 -0
  596. package/node_modules/@types/argparse/LICENSE +21 -0
  597. package/node_modules/@types/argparse/README.md +16 -0
  598. package/node_modules/@types/argparse/index.d.ts +121 -0
  599. package/node_modules/@types/argparse/package.json +44 -0
  600. package/node_modules/ajv/.runkit_example.js +23 -0
  601. package/node_modules/ajv/LICENSE +22 -0
  602. package/node_modules/ajv/README.md +207 -0
  603. package/node_modules/ajv/dist/2019.d.ts +19 -0
  604. package/node_modules/ajv/dist/2019.js +61 -0
  605. package/node_modules/ajv/dist/2019.js.map +1 -0
  606. package/node_modules/ajv/dist/2020.d.ts +19 -0
  607. package/node_modules/ajv/dist/2020.js +55 -0
  608. package/node_modules/ajv/dist/2020.js.map +1 -0
  609. package/node_modules/ajv/dist/ajv.d.ts +18 -0
  610. package/node_modules/ajv/dist/ajv.js +50 -0
  611. package/node_modules/ajv/dist/ajv.js.map +1 -0
  612. package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
  613. package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  614. package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  615. package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  616. package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  617. package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  618. package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  619. package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  620. package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  621. package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
  622. package/node_modules/ajv/dist/compile/errors.js +123 -0
  623. package/node_modules/ajv/dist/compile/errors.js.map +1 -0
  624. package/node_modules/ajv/dist/compile/index.d.ts +80 -0
  625. package/node_modules/ajv/dist/compile/index.js +242 -0
  626. package/node_modules/ajv/dist/compile/index.js.map +1 -0
  627. package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  628. package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  629. package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  630. package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  631. package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
  632. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  633. package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  634. package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  635. package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  636. package/node_modules/ajv/dist/compile/names.d.ts +20 -0
  637. package/node_modules/ajv/dist/compile/names.js +28 -0
  638. package/node_modules/ajv/dist/compile/names.js.map +1 -0
  639. package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
  640. package/node_modules/ajv/dist/compile/ref_error.js +12 -0
  641. package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  642. package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  643. package/node_modules/ajv/dist/compile/resolve.js +155 -0
  644. package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  645. package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  646. package/node_modules/ajv/dist/compile/rules.js +26 -0
  647. package/node_modules/ajv/dist/compile/rules.js.map +1 -0
  648. package/node_modules/ajv/dist/compile/util.d.ts +40 -0
  649. package/node_modules/ajv/dist/compile/util.js +178 -0
  650. package/node_modules/ajv/dist/compile/util.js.map +1 -0
  651. package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  652. package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  653. package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  654. package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  655. package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  656. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  657. package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  658. package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  659. package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  660. package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  661. package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  662. package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  663. package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
  664. package/node_modules/ajv/dist/compile/validate/index.js +520 -0
  665. package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  666. package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
  667. package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  668. package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  669. package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
  670. package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  671. package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  672. package/node_modules/ajv/dist/core.d.ts +174 -0
  673. package/node_modules/ajv/dist/core.js +618 -0
  674. package/node_modules/ajv/dist/core.js.map +1 -0
  675. package/node_modules/ajv/dist/jtd.d.ts +47 -0
  676. package/node_modules/ajv/dist/jtd.js +72 -0
  677. package/node_modules/ajv/dist/jtd.js.map +1 -0
  678. package/node_modules/ajv/dist/refs/data.json +13 -0
  679. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  680. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  681. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  682. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  683. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  684. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  685. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  686. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  687. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  688. package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  689. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
  690. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  691. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
  692. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  693. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  694. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  695. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  696. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  697. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  698. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  699. package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  700. package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  701. package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  702. package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  703. package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  704. package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  705. package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  706. package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
  707. package/node_modules/ajv/dist/runtime/equal.js +7 -0
  708. package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  709. package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  710. package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
  711. package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  712. package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
  713. package/node_modules/ajv/dist/runtime/quote.js +30 -0
  714. package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  715. package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
  716. package/node_modules/ajv/dist/runtime/re2.js +6 -0
  717. package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
  718. package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
  719. package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  720. package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
  721. package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
  722. package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  723. package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  724. package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  725. package/node_modules/ajv/dist/runtime/uri.js +6 -0
  726. package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  727. package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
  728. package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  729. package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  730. package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
  731. package/node_modules/ajv/dist/standalone/index.js +90 -0
  732. package/node_modules/ajv/dist/standalone/index.js.map +1 -0
  733. package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  734. package/node_modules/ajv/dist/standalone/instance.js +35 -0
  735. package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  736. package/node_modules/ajv/dist/types/index.d.ts +183 -0
  737. package/node_modules/ajv/dist/types/index.js +3 -0
  738. package/node_modules/ajv/dist/types/index.js.map +1 -0
  739. package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
  740. package/node_modules/ajv/dist/types/json-schema.js +3 -0
  741. package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  742. package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
  743. package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  744. package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  745. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
  746. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  747. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  748. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  749. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  750. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  751. package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  752. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  753. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  754. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  755. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  756. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  757. package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  758. package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  759. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  760. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  761. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  762. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  763. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  764. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  765. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  766. package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  767. package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  768. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  769. package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  770. package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  771. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  772. package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
  773. package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  774. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  775. package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
  776. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  777. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  778. package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  779. package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  780. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  781. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  782. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  783. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  784. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  785. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  786. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  787. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
  788. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  789. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  790. package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  791. package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  792. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  793. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  794. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  795. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  796. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  797. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  798. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  799. package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  800. package/node_modules/ajv/dist/vocabularies/code.js +131 -0
  801. package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  802. package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  803. package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  804. package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  805. package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  806. package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  807. package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  808. package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  809. package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  810. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  811. package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
  812. package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  813. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  814. package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
  815. package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  816. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  817. package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
  818. package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  819. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
  820. package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  821. package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  822. package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  823. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  824. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  825. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  826. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  827. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  828. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  829. package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  830. package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  831. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  832. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  833. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  834. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  835. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  836. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  837. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  838. package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
  839. package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  840. package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  841. package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  842. package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  843. package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  844. package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  845. package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  846. package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  847. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
  848. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  849. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  850. package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
  851. package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  852. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  853. package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
  854. package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  855. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  856. package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
  857. package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  858. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
  859. package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
  860. package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  861. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  862. package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  863. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  864. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  865. package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  866. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  867. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  868. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  869. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  870. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  871. package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
  872. package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
  873. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  874. package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  875. package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  876. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  877. package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
  878. package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  879. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  880. package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  881. package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  882. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  883. package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
  884. package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
  885. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  886. package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  887. package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  888. package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  889. package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  890. package/node_modules/ajv/dist/vocabularies/next.js +8 -0
  891. package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  892. package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  893. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  894. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  895. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  896. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  897. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  898. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  899. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  900. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  901. package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  902. package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  903. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  904. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  905. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  906. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  907. package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  908. package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  909. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  910. package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  911. package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  912. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  913. package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  914. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  915. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  916. package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  917. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  918. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  919. package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  920. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  921. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  922. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  923. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  924. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  925. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  926. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  927. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  928. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  929. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  930. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  931. package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  932. package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
  933. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  934. package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  935. package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  936. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  937. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  938. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  939. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  940. package/node_modules/ajv/lib/2019.ts +81 -0
  941. package/node_modules/ajv/lib/2020.ts +75 -0
  942. package/node_modules/ajv/lib/ajv.ts +70 -0
  943. package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
  944. package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
  945. package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  946. package/node_modules/ajv/lib/compile/errors.ts +184 -0
  947. package/node_modules/ajv/lib/compile/index.ts +324 -0
  948. package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  949. package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
  950. package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  951. package/node_modules/ajv/lib/compile/names.ts +27 -0
  952. package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  953. package/node_modules/ajv/lib/compile/resolve.ts +149 -0
  954. package/node_modules/ajv/lib/compile/rules.ts +50 -0
  955. package/node_modules/ajv/lib/compile/util.ts +213 -0
  956. package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  957. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  958. package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
  959. package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  960. package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
  961. package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  962. package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  963. package/node_modules/ajv/lib/core.ts +892 -0
  964. package/node_modules/ajv/lib/jtd.ts +132 -0
  965. package/node_modules/ajv/lib/refs/data.json +13 -0
  966. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  967. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  968. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  969. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  970. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  971. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  972. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  973. package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  974. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  975. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  976. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  977. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  978. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  979. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  980. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  981. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  982. package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  983. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  984. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  985. package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  986. package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  987. package/node_modules/ajv/lib/runtime/equal.ts +7 -0
  988. package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
  989. package/node_modules/ajv/lib/runtime/quote.ts +31 -0
  990. package/node_modules/ajv/lib/runtime/re2.ts +6 -0
  991. package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  992. package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  993. package/node_modules/ajv/lib/runtime/uri.ts +6 -0
  994. package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  995. package/node_modules/ajv/lib/standalone/index.ts +100 -0
  996. package/node_modules/ajv/lib/standalone/instance.ts +36 -0
  997. package/node_modules/ajv/lib/types/index.ts +244 -0
  998. package/node_modules/ajv/lib/types/json-schema.ts +187 -0
  999. package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
  1000. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  1001. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  1002. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  1003. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  1004. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  1005. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  1006. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  1007. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  1008. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  1009. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  1010. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  1011. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  1012. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  1013. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  1014. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  1015. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  1016. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  1017. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  1018. package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  1019. package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  1020. package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  1021. package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  1022. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
  1023. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  1024. package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  1025. package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  1026. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  1027. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  1028. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  1029. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  1030. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  1031. package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  1032. package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  1033. package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  1034. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  1035. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  1036. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  1037. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  1038. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  1039. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  1040. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  1041. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  1042. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
  1043. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  1044. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  1045. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  1046. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
  1047. package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  1048. package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  1049. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  1050. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  1051. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  1052. package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  1053. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  1054. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  1055. package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  1056. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  1057. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  1058. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  1059. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  1060. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  1061. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  1062. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
  1063. package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  1064. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  1065. package/node_modules/ajv/package.json +126 -0
  1066. package/node_modules/ajv-draft-04/LICENSE +21 -0
  1067. package/node_modules/ajv-draft-04/README.md +40 -0
  1068. package/node_modules/ajv-draft-04/dist/index.d.ts +17 -0
  1069. package/node_modules/ajv-draft-04/dist/index.js +50 -0
  1070. package/node_modules/ajv-draft-04/dist/index.js.map +1 -0
  1071. package/node_modules/ajv-draft-04/dist/refs/json-schema-draft-04.json +138 -0
  1072. package/node_modules/ajv-draft-04/dist/vocabulary/core.d.ts +3 -0
  1073. package/node_modules/ajv-draft-04/dist/vocabulary/core.js +13 -0
  1074. package/node_modules/ajv-draft-04/dist/vocabulary/core.js.map +1 -0
  1075. package/node_modules/ajv-draft-04/dist/vocabulary/draft4.d.ts +3 -0
  1076. package/node_modules/ajv-draft-04/dist/vocabulary/draft4.js +16 -0
  1077. package/node_modules/ajv-draft-04/dist/vocabulary/draft4.js.map +1 -0
  1078. package/node_modules/ajv-draft-04/dist/vocabulary/validation/index.d.ts +16 -0
  1079. package/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js +35 -0
  1080. package/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js.map +1 -0
  1081. package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.d.ts +12 -0
  1082. package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js +44 -0
  1083. package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js.map +1 -0
  1084. package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.d.ts +3 -0
  1085. package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js +19 -0
  1086. package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js.map +1 -0
  1087. package/node_modules/ajv-draft-04/package.json +74 -0
  1088. package/node_modules/ajv-draft-04/src/index.ts +81 -0
  1089. package/node_modules/ajv-draft-04/src/refs/json-schema-draft-04.json +138 -0
  1090. package/node_modules/ajv-draft-04/src/vocabulary/core.ts +13 -0
  1091. package/node_modules/ajv-draft-04/src/vocabulary/draft4.ts +17 -0
  1092. package/node_modules/ajv-draft-04/src/vocabulary/validation/index.ts +51 -0
  1093. package/node_modules/ajv-draft-04/src/vocabulary/validation/limitNumber.ts +76 -0
  1094. package/node_modules/ajv-draft-04/src/vocabulary/validation/limitNumberExclusive.ts +26 -0
  1095. package/node_modules/ajv-formats/LICENSE +21 -0
  1096. package/node_modules/ajv-formats/README.md +125 -0
  1097. package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
  1098. package/node_modules/ajv-formats/dist/formats.js +208 -0
  1099. package/node_modules/ajv-formats/dist/formats.js.map +1 -0
  1100. package/node_modules/ajv-formats/dist/index.d.ts +15 -0
  1101. package/node_modules/ajv-formats/dist/index.js +37 -0
  1102. package/node_modules/ajv-formats/dist/index.js.map +1 -0
  1103. package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
  1104. package/node_modules/ajv-formats/dist/limit.js +69 -0
  1105. package/node_modules/ajv-formats/dist/limit.js.map +1 -0
  1106. package/node_modules/ajv-formats/package.json +74 -0
  1107. package/node_modules/ajv-formats/src/formats.ts +269 -0
  1108. package/node_modules/ajv-formats/src/index.ts +62 -0
  1109. package/node_modules/ajv-formats/src/limit.ts +99 -0
  1110. package/node_modules/braces/LICENSE +21 -0
  1111. package/node_modules/braces/README.md +586 -0
  1112. package/node_modules/braces/index.js +170 -0
  1113. package/node_modules/braces/lib/compile.js +60 -0
  1114. package/node_modules/braces/lib/constants.js +57 -0
  1115. package/node_modules/braces/lib/expand.js +113 -0
  1116. package/node_modules/braces/lib/parse.js +331 -0
  1117. package/node_modules/braces/lib/stringify.js +32 -0
  1118. package/node_modules/braces/lib/utils.js +122 -0
  1119. package/node_modules/braces/package.json +77 -0
  1120. package/node_modules/emittery/index.d.ts +606 -0
  1121. package/node_modules/emittery/index.js +531 -0
  1122. package/node_modules/emittery/license +9 -0
  1123. package/node_modules/emittery/maps.js +9 -0
  1124. package/node_modules/emittery/package.json +67 -0
  1125. package/node_modules/emittery/readme.md +569 -0
  1126. package/node_modules/es-errors/.eslintrc +5 -0
  1127. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  1128. package/node_modules/es-errors/CHANGELOG.md +40 -0
  1129. package/node_modules/es-errors/LICENSE +21 -0
  1130. package/node_modules/es-errors/README.md +55 -0
  1131. package/node_modules/es-errors/eval.d.ts +3 -0
  1132. package/node_modules/es-errors/eval.js +4 -0
  1133. package/node_modules/es-errors/index.d.ts +3 -0
  1134. package/node_modules/es-errors/index.js +4 -0
  1135. package/node_modules/es-errors/package.json +80 -0
  1136. package/node_modules/es-errors/range.d.ts +3 -0
  1137. package/node_modules/es-errors/range.js +4 -0
  1138. package/node_modules/es-errors/ref.d.ts +3 -0
  1139. package/node_modules/es-errors/ref.js +4 -0
  1140. package/node_modules/es-errors/syntax.d.ts +3 -0
  1141. package/node_modules/es-errors/syntax.js +4 -0
  1142. package/node_modules/es-errors/test/index.js +19 -0
  1143. package/node_modules/es-errors/tsconfig.json +49 -0
  1144. package/node_modules/es-errors/type.d.ts +3 -0
  1145. package/node_modules/es-errors/type.js +4 -0
  1146. package/node_modules/es-errors/uri.d.ts +3 -0
  1147. package/node_modules/es-errors/uri.js +4 -0
  1148. package/node_modules/fast-deep-equal/LICENSE +21 -0
  1149. package/node_modules/fast-deep-equal/README.md +96 -0
  1150. package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
  1151. package/node_modules/fast-deep-equal/es6/index.js +72 -0
  1152. package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
  1153. package/node_modules/fast-deep-equal/es6/react.js +79 -0
  1154. package/node_modules/fast-deep-equal/index.d.ts +4 -0
  1155. package/node_modules/fast-deep-equal/index.js +46 -0
  1156. package/node_modules/fast-deep-equal/package.json +61 -0
  1157. package/node_modules/fast-deep-equal/react.d.ts +2 -0
  1158. package/node_modules/fast-deep-equal/react.js +53 -0
  1159. package/node_modules/fast-glob/LICENSE +21 -0
  1160. package/node_modules/fast-glob/README.md +830 -0
  1161. package/node_modules/fast-glob/out/index.d.ts +40 -0
  1162. package/node_modules/fast-glob/out/index.js +102 -0
  1163. package/node_modules/fast-glob/out/managers/tasks.d.ts +22 -0
  1164. package/node_modules/fast-glob/out/managers/tasks.js +110 -0
  1165. package/node_modules/fast-glob/out/providers/async.d.ts +9 -0
  1166. package/node_modules/fast-glob/out/providers/async.js +23 -0
  1167. package/node_modules/fast-glob/out/providers/filters/deep.d.ts +16 -0
  1168. package/node_modules/fast-glob/out/providers/filters/deep.js +62 -0
  1169. package/node_modules/fast-glob/out/providers/filters/entry.d.ts +17 -0
  1170. package/node_modules/fast-glob/out/providers/filters/entry.js +85 -0
  1171. package/node_modules/fast-glob/out/providers/filters/error.d.ts +8 -0
  1172. package/node_modules/fast-glob/out/providers/filters/error.js +15 -0
  1173. package/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +33 -0
  1174. package/node_modules/fast-glob/out/providers/matchers/matcher.js +45 -0
  1175. package/node_modules/fast-glob/out/providers/matchers/partial.d.ts +4 -0
  1176. package/node_modules/fast-glob/out/providers/matchers/partial.js +38 -0
  1177. package/node_modules/fast-glob/out/providers/provider.d.ts +19 -0
  1178. package/node_modules/fast-glob/out/providers/provider.js +48 -0
  1179. package/node_modules/fast-glob/out/providers/stream.d.ts +11 -0
  1180. package/node_modules/fast-glob/out/providers/stream.js +31 -0
  1181. package/node_modules/fast-glob/out/providers/sync.d.ts +9 -0
  1182. package/node_modules/fast-glob/out/providers/sync.js +23 -0
  1183. package/node_modules/fast-glob/out/providers/transformers/entry.d.ts +8 -0
  1184. package/node_modules/fast-glob/out/providers/transformers/entry.js +26 -0
  1185. package/node_modules/fast-glob/out/readers/async.d.ts +10 -0
  1186. package/node_modules/fast-glob/out/readers/async.js +35 -0
  1187. package/node_modules/fast-glob/out/readers/reader.d.ts +15 -0
  1188. package/node_modules/fast-glob/out/readers/reader.js +33 -0
  1189. package/node_modules/fast-glob/out/readers/stream.d.ts +14 -0
  1190. package/node_modules/fast-glob/out/readers/stream.js +55 -0
  1191. package/node_modules/fast-glob/out/readers/sync.d.ts +12 -0
  1192. package/node_modules/fast-glob/out/readers/sync.js +43 -0
  1193. package/node_modules/fast-glob/out/settings.d.ts +164 -0
  1194. package/node_modules/fast-glob/out/settings.js +59 -0
  1195. package/node_modules/fast-glob/out/types/index.d.ts +31 -0
  1196. package/node_modules/fast-glob/out/types/index.js +2 -0
  1197. package/node_modules/fast-glob/out/utils/array.d.ts +2 -0
  1198. package/node_modules/fast-glob/out/utils/array.js +22 -0
  1199. package/node_modules/fast-glob/out/utils/errno.d.ts +2 -0
  1200. package/node_modules/fast-glob/out/utils/errno.js +7 -0
  1201. package/node_modules/fast-glob/out/utils/fs.d.ts +4 -0
  1202. package/node_modules/fast-glob/out/utils/fs.js +19 -0
  1203. package/node_modules/fast-glob/out/utils/index.d.ts +8 -0
  1204. package/node_modules/fast-glob/out/utils/index.js +17 -0
  1205. package/node_modules/fast-glob/out/utils/path.d.ts +13 -0
  1206. package/node_modules/fast-glob/out/utils/path.js +68 -0
  1207. package/node_modules/fast-glob/out/utils/pattern.d.ts +49 -0
  1208. package/node_modules/fast-glob/out/utils/pattern.js +206 -0
  1209. package/node_modules/fast-glob/out/utils/stream.d.ts +4 -0
  1210. package/node_modules/fast-glob/out/utils/stream.js +17 -0
  1211. package/node_modules/fast-glob/out/utils/string.d.ts +2 -0
  1212. package/node_modules/fast-glob/out/utils/string.js +11 -0
  1213. package/node_modules/fast-glob/package.json +81 -0
  1214. package/node_modules/fast-uri/.gitattributes +2 -0
  1215. package/node_modules/fast-uri/.github/dependabot.yml +13 -0
  1216. package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
  1217. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
  1218. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
  1219. package/node_modules/fast-uri/LICENSE +30 -0
  1220. package/node_modules/fast-uri/README.md +152 -0
  1221. package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
  1222. package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
  1223. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
  1224. package/node_modules/fast-uri/benchmark/package.json +17 -0
  1225. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
  1226. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
  1227. package/node_modules/fast-uri/eslint.config.js +6 -0
  1228. package/node_modules/fast-uri/index.js +612 -0
  1229. package/node_modules/fast-uri/lib/schemes.js +272 -0
  1230. package/node_modules/fast-uri/lib/utils.js +740 -0
  1231. package/node_modules/fast-uri/package.json +68 -0
  1232. package/node_modules/fast-uri/test/ajv.test.js +43 -0
  1233. package/node_modules/fast-uri/test/component-safe-serialization.test.js +105 -0
  1234. package/node_modules/fast-uri/test/equal.test.js +145 -0
  1235. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
  1236. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
  1237. package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
  1238. package/node_modules/fast-uri/test/ipv6-validation.test.js +90 -0
  1239. package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
  1240. package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
  1241. package/node_modules/fast-uri/test/parse.test.js +327 -0
  1242. package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
  1243. package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
  1244. package/node_modules/fast-uri/test/resolve.test.js +87 -0
  1245. package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
  1246. package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
  1247. package/node_modules/fast-uri/test/security-normalization.test.js +140 -0
  1248. package/node_modules/fast-uri/test/security.test.js +431 -0
  1249. package/node_modules/fast-uri/test/serialize.test.js +151 -0
  1250. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
  1251. package/node_modules/fast-uri/test/uri-js.test.js +912 -0
  1252. package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
  1253. package/node_modules/fast-uri/test/util.test.js +38 -0
  1254. package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
  1255. package/node_modules/fast-uri/tsconfig.json +9 -0
  1256. package/node_modules/fast-uri/types/index.d.ts +60 -0
  1257. package/node_modules/fast-uri/types/index.test-d.ts +17 -0
  1258. package/node_modules/fastq/LICENSE +13 -0
  1259. package/node_modules/fastq/README.md +310 -0
  1260. package/node_modules/fastq/SECURITY.md +15 -0
  1261. package/node_modules/fastq/bench.js +66 -0
  1262. package/node_modules/fastq/eslint.config.js +11 -0
  1263. package/node_modules/fastq/example.js +14 -0
  1264. package/node_modules/fastq/example.mjs +9 -0
  1265. package/node_modules/fastq/index.d.ts +59 -0
  1266. package/node_modules/fastq/package.json +49 -0
  1267. package/node_modules/fastq/queue.js +348 -0
  1268. package/node_modules/fastq/test/example.ts +83 -0
  1269. package/node_modules/fastq/test/promise.js +356 -0
  1270. package/node_modules/fastq/test/test.js +808 -0
  1271. package/node_modules/fastq/test/tsconfig.json +11 -0
  1272. package/node_modules/fill-range/LICENSE +21 -0
  1273. package/node_modules/fill-range/README.md +237 -0
  1274. package/node_modules/fill-range/index.js +248 -0
  1275. package/node_modules/fill-range/package.json +74 -0
  1276. package/node_modules/fs-extra/LICENSE +15 -0
  1277. package/node_modules/fs-extra/README.md +294 -0
  1278. package/node_modules/fs-extra/lib/copy/copy-sync.js +176 -0
  1279. package/node_modules/fs-extra/lib/copy/copy.js +180 -0
  1280. package/node_modules/fs-extra/lib/copy/index.js +7 -0
  1281. package/node_modules/fs-extra/lib/empty/index.js +39 -0
  1282. package/node_modules/fs-extra/lib/ensure/file.js +66 -0
  1283. package/node_modules/fs-extra/lib/ensure/index.js +23 -0
  1284. package/node_modules/fs-extra/lib/ensure/link.js +64 -0
  1285. package/node_modules/fs-extra/lib/ensure/symlink-paths.js +101 -0
  1286. package/node_modules/fs-extra/lib/ensure/symlink-type.js +34 -0
  1287. package/node_modules/fs-extra/lib/ensure/symlink.js +92 -0
  1288. package/node_modules/fs-extra/lib/esm.mjs +68 -0
  1289. package/node_modules/fs-extra/lib/fs/index.js +146 -0
  1290. package/node_modules/fs-extra/lib/index.js +16 -0
  1291. package/node_modules/fs-extra/lib/json/index.js +16 -0
  1292. package/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
  1293. package/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
  1294. package/node_modules/fs-extra/lib/json/output-json.js +12 -0
  1295. package/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
  1296. package/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
  1297. package/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
  1298. package/node_modules/fs-extra/lib/move/index.js +7 -0
  1299. package/node_modules/fs-extra/lib/move/move-sync.js +55 -0
  1300. package/node_modules/fs-extra/lib/move/move.js +59 -0
  1301. package/node_modules/fs-extra/lib/output-file/index.js +31 -0
  1302. package/node_modules/fs-extra/lib/path-exists/index.js +12 -0
  1303. package/node_modules/fs-extra/lib/remove/index.js +17 -0
  1304. package/node_modules/fs-extra/lib/util/async.js +29 -0
  1305. package/node_modules/fs-extra/lib/util/stat.js +165 -0
  1306. package/node_modules/fs-extra/lib/util/utimes.js +53 -0
  1307. package/node_modules/fs-extra/package.json +71 -0
  1308. package/node_modules/function-bind/.eslintrc +21 -0
  1309. package/node_modules/function-bind/.github/FUNDING.yml +12 -0
  1310. package/node_modules/function-bind/.github/SECURITY.md +3 -0
  1311. package/node_modules/function-bind/.nycrc +13 -0
  1312. package/node_modules/function-bind/CHANGELOG.md +136 -0
  1313. package/node_modules/function-bind/LICENSE +20 -0
  1314. package/node_modules/function-bind/README.md +46 -0
  1315. package/node_modules/function-bind/implementation.js +84 -0
  1316. package/node_modules/function-bind/index.js +5 -0
  1317. package/node_modules/function-bind/package.json +87 -0
  1318. package/node_modules/function-bind/test/.eslintrc +9 -0
  1319. package/node_modules/function-bind/test/index.js +252 -0
  1320. package/node_modules/glob-parent/LICENSE +15 -0
  1321. package/node_modules/glob-parent/README.md +137 -0
  1322. package/node_modules/glob-parent/index.js +42 -0
  1323. package/node_modules/glob-parent/package.json +48 -0
  1324. package/node_modules/has-flag/index.d.ts +39 -0
  1325. package/node_modules/has-flag/index.js +8 -0
  1326. package/node_modules/has-flag/license +9 -0
  1327. package/node_modules/has-flag/package.json +46 -0
  1328. package/node_modules/has-flag/readme.md +89 -0
  1329. package/node_modules/hasown/.github/FUNDING.yml +12 -0
  1330. package/node_modules/hasown/.nycrc +13 -0
  1331. package/node_modules/hasown/CHANGELOG.md +58 -0
  1332. package/node_modules/hasown/LICENSE +21 -0
  1333. package/node_modules/hasown/README.md +40 -0
  1334. package/node_modules/hasown/eslint.config.mjs +6 -0
  1335. package/node_modules/hasown/index.d.ts +3 -0
  1336. package/node_modules/hasown/index.js +8 -0
  1337. package/node_modules/hasown/package.json +91 -0
  1338. package/node_modules/hasown/tsconfig.json +6 -0
  1339. package/node_modules/import-lazy/index.d.ts +26 -0
  1340. package/node_modules/import-lazy/index.js +27 -0
  1341. package/node_modules/import-lazy/license +9 -0
  1342. package/node_modules/import-lazy/package.json +40 -0
  1343. package/node_modules/import-lazy/readme.md +57 -0
  1344. package/node_modules/is-core-module/CHANGELOG.md +243 -0
  1345. package/node_modules/is-core-module/LICENSE +20 -0
  1346. package/node_modules/is-core-module/README.md +58 -0
  1347. package/node_modules/is-core-module/core.json +163 -0
  1348. package/node_modules/is-core-module/index.d.ts +12 -0
  1349. package/node_modules/is-core-module/index.js +76 -0
  1350. package/node_modules/is-core-module/package.json +90 -0
  1351. package/node_modules/is-extglob/LICENSE +21 -0
  1352. package/node_modules/is-extglob/README.md +107 -0
  1353. package/node_modules/is-extglob/index.js +20 -0
  1354. package/node_modules/is-extglob/package.json +69 -0
  1355. package/node_modules/is-glob/LICENSE +21 -0
  1356. package/node_modules/is-glob/README.md +206 -0
  1357. package/node_modules/is-glob/index.js +150 -0
  1358. package/node_modules/is-glob/package.json +81 -0
  1359. package/node_modules/is-number/LICENSE +21 -0
  1360. package/node_modules/is-number/README.md +187 -0
  1361. package/node_modules/is-number/index.js +18 -0
  1362. package/node_modules/is-number/package.json +82 -0
  1363. package/node_modules/jju/LICENSE +21 -0
  1364. package/node_modules/jju/Makefile +20 -0
  1365. package/node_modules/jju/README.md +249 -0
  1366. package/node_modules/jju/index.js +32 -0
  1367. package/node_modules/jju/lib/analyze.js +87 -0
  1368. package/node_modules/jju/lib/document.js +480 -0
  1369. package/node_modules/jju/lib/parse.js +760 -0
  1370. package/node_modules/jju/lib/stringify.js +378 -0
  1371. package/node_modules/jju/lib/unicode.js +70 -0
  1372. package/node_modules/jju/lib/utils.js +46 -0
  1373. package/node_modules/jju/package.json +34 -0
  1374. package/node_modules/jju/package.yaml +36 -0
  1375. package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  1376. package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
  1377. package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
  1378. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
  1379. package/node_modules/json-schema-traverse/LICENSE +21 -0
  1380. package/node_modules/json-schema-traverse/README.md +95 -0
  1381. package/node_modules/json-schema-traverse/index.d.ts +40 -0
  1382. package/node_modules/json-schema-traverse/index.js +93 -0
  1383. package/node_modules/json-schema-traverse/package.json +43 -0
  1384. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  1385. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  1386. package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  1387. package/node_modules/jsonfile/LICENSE +15 -0
  1388. package/node_modules/jsonfile/README.md +230 -0
  1389. package/node_modules/jsonfile/index.js +88 -0
  1390. package/node_modules/jsonfile/package.json +40 -0
  1391. package/node_modules/jsonfile/utils.js +18 -0
  1392. package/node_modules/merge2/LICENSE +21 -0
  1393. package/node_modules/merge2/README.md +144 -0
  1394. package/node_modules/merge2/index.js +144 -0
  1395. package/node_modules/merge2/package.json +43 -0
  1396. package/node_modules/micromatch/LICENSE +21 -0
  1397. package/node_modules/micromatch/README.md +1024 -0
  1398. package/node_modules/micromatch/index.js +474 -0
  1399. package/node_modules/micromatch/node_modules/picomatch/LICENSE +21 -0
  1400. package/node_modules/micromatch/node_modules/picomatch/README.md +716 -0
  1401. package/node_modules/micromatch/node_modules/picomatch/index.js +3 -0
  1402. package/node_modules/micromatch/node_modules/picomatch/lib/constants.js +184 -0
  1403. package/node_modules/micromatch/node_modules/picomatch/lib/parse.js +1392 -0
  1404. package/node_modules/micromatch/node_modules/picomatch/lib/picomatch.js +342 -0
  1405. package/node_modules/micromatch/node_modules/picomatch/lib/scan.js +391 -0
  1406. package/node_modules/micromatch/node_modules/picomatch/lib/utils.js +64 -0
  1407. package/node_modules/micromatch/node_modules/picomatch/package.json +81 -0
  1408. package/node_modules/micromatch/package.json +119 -0
  1409. package/node_modules/path-parse/LICENSE +21 -0
  1410. package/node_modules/path-parse/README.md +42 -0
  1411. package/node_modules/path-parse/index.js +75 -0
  1412. package/node_modules/path-parse/package.json +33 -0
  1413. package/node_modules/pony-cause/LICENSE +14 -0
  1414. package/node_modules/pony-cause/README.md +192 -0
  1415. package/node_modules/pony-cause/compat.d.ts +2 -0
  1416. package/node_modules/pony-cause/index.d.ts +7 -0
  1417. package/node_modules/pony-cause/index.d.ts.map +1 -0
  1418. package/node_modules/pony-cause/index.js +18 -0
  1419. package/node_modules/pony-cause/index.mjs +10 -0
  1420. package/node_modules/pony-cause/lib/error-with-cause-compat.d.ts +7 -0
  1421. package/node_modules/pony-cause/lib/error-with-cause.d.ts +7 -0
  1422. package/node_modules/pony-cause/lib/error-with-cause.d.ts.map +1 -0
  1423. package/node_modules/pony-cause/lib/error-with-cause.js +25 -0
  1424. package/node_modules/pony-cause/lib/error-with-cause.mjs +21 -0
  1425. package/node_modules/pony-cause/lib/helpers.d.ts +9 -0
  1426. package/node_modules/pony-cause/lib/helpers.d.ts.map +1 -0
  1427. package/node_modules/pony-cause/lib/helpers.js +143 -0
  1428. package/node_modules/pony-cause/lib/helpers.mjs +136 -0
  1429. package/node_modules/pony-cause/package.json +106 -0
  1430. package/node_modules/queue-microtask/LICENSE +20 -0
  1431. package/node_modules/queue-microtask/README.md +90 -0
  1432. package/node_modules/queue-microtask/index.d.ts +2 -0
  1433. package/node_modules/queue-microtask/index.js +9 -0
  1434. package/node_modules/queue-microtask/package.json +55 -0
  1435. package/node_modules/require-from-string/index.js +34 -0
  1436. package/node_modules/require-from-string/license +21 -0
  1437. package/node_modules/require-from-string/package.json +28 -0
  1438. package/node_modules/require-from-string/readme.md +56 -0
  1439. package/node_modules/resolve/.claude/notes.md +26 -0
  1440. package/node_modules/resolve/.claude/settings.local.json +26 -0
  1441. package/node_modules/resolve/.editorconfig +38 -0
  1442. package/node_modules/resolve/.eslintrc +65 -0
  1443. package/node_modules/resolve/.github/FUNDING.yml +12 -0
  1444. package/node_modules/resolve/.github/INCIDENT_RESPONSE_PROCESS.md +119 -0
  1445. package/node_modules/resolve/.github/THREAT_MODEL.md +74 -0
  1446. package/node_modules/resolve/LICENSE +21 -0
  1447. package/node_modules/resolve/SECURITY.md +13 -0
  1448. package/node_modules/resolve/async.js +3 -0
  1449. package/node_modules/resolve/bin/resolve +50 -0
  1450. package/node_modules/resolve/eslint.config.mjs +80 -0
  1451. package/node_modules/resolve/example/async.js +5 -0
  1452. package/node_modules/resolve/example/sync.js +3 -0
  1453. package/node_modules/resolve/index.js +6 -0
  1454. package/node_modules/resolve/lib/async.js +336 -0
  1455. package/node_modules/resolve/lib/caller.js +12 -0
  1456. package/node_modules/resolve/lib/core.js +12 -0
  1457. package/node_modules/resolve/lib/core.json +162 -0
  1458. package/node_modules/resolve/lib/homedir.js +31 -0
  1459. package/node_modules/resolve/lib/is-core.js +5 -0
  1460. package/node_modules/resolve/lib/node-modules-paths.js +45 -0
  1461. package/node_modules/resolve/lib/normalize-options.js +10 -0
  1462. package/node_modules/resolve/lib/sync.js +216 -0
  1463. package/node_modules/resolve/package.json +78 -0
  1464. package/node_modules/resolve/readme.markdown +300 -0
  1465. package/node_modules/resolve/sync.js +3 -0
  1466. package/node_modules/resolve/test/core.js +88 -0
  1467. package/node_modules/resolve/test/default_paths.js +49 -0
  1468. package/node_modules/resolve/test/dotdot/abc/index.js +2 -0
  1469. package/node_modules/resolve/test/dotdot/index.js +1 -0
  1470. package/node_modules/resolve/test/dotdot.js +29 -0
  1471. package/node_modules/resolve/test/faulty_basedir.js +29 -0
  1472. package/node_modules/resolve/test/filter.js +34 -0
  1473. package/node_modules/resolve/test/filter_sync.js +33 -0
  1474. package/node_modules/resolve/test/home_paths.js +127 -0
  1475. package/node_modules/resolve/test/home_paths_sync.js +114 -0
  1476. package/node_modules/resolve/test/homedir.js +112 -0
  1477. package/node_modules/resolve/test/mock.js +353 -0
  1478. package/node_modules/resolve/test/mock_sync.js +234 -0
  1479. package/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
  1480. package/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
  1481. package/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
  1482. package/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
  1483. package/node_modules/resolve/test/module_dir.js +56 -0
  1484. package/node_modules/resolve/test/node-modules-paths.js +143 -0
  1485. package/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
  1486. package/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
  1487. package/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
  1488. package/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
  1489. package/node_modules/resolve/test/node_path.js +70 -0
  1490. package/node_modules/resolve/test/nonstring.js +9 -0
  1491. package/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  1492. package/node_modules/resolve/test/pathfilter.js +75 -0
  1493. package/node_modules/resolve/test/pathfilter_sync.js +24 -0
  1494. package/node_modules/resolve/test/precedence/aaa/index.js +1 -0
  1495. package/node_modules/resolve/test/precedence/aaa/main.js +1 -0
  1496. package/node_modules/resolve/test/precedence/aaa.js +1 -0
  1497. package/node_modules/resolve/test/precedence/bbb/main.js +1 -0
  1498. package/node_modules/resolve/test/precedence/bbb.js +1 -0
  1499. package/node_modules/resolve/test/precedence.js +23 -0
  1500. package/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  1501. package/node_modules/resolve/test/resolver/baz/package.json +4 -0
  1502. package/node_modules/resolve/test/resolver/baz/quux.js +1 -0
  1503. package/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  1504. package/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  1505. package/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
  1506. package/node_modules/resolve/test/resolver/cup.coffee +1 -0
  1507. package/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
  1508. package/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
  1509. package/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
  1510. package/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
  1511. package/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  1512. package/node_modules/resolve/test/resolver/false_main/package.json +4 -0
  1513. package/node_modules/resolve/test/resolver/foo.js +1 -0
  1514. package/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
  1515. package/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
  1516. package/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
  1517. package/node_modules/resolve/test/resolver/mug.coffee +0 -0
  1518. package/node_modules/resolve/test/resolver/mug.js +0 -0
  1519. package/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
  1520. package/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
  1521. package/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
  1522. package/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
  1523. package/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  1524. package/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
  1525. package/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
  1526. package/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
  1527. package/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
  1528. package/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  1529. package/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  1530. package/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
  1531. package/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
  1532. package/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
  1533. package/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  1534. package/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  1535. package/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
  1536. package/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
  1537. package/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
  1538. package/node_modules/resolve/test/resolver.js +597 -0
  1539. package/node_modules/resolve/test/resolver_sync.js +730 -0
  1540. package/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  1541. package/node_modules/resolve/test/shadowed_core.js +54 -0
  1542. package/node_modules/resolve/test/subdirs.js +13 -0
  1543. package/node_modules/resolve/test/symlinks.js +176 -0
  1544. package/node_modules/reusify/.github/dependabot.yml +7 -0
  1545. package/node_modules/reusify/.github/workflows/ci.yml +96 -0
  1546. package/node_modules/reusify/LICENSE +22 -0
  1547. package/node_modules/reusify/README.md +139 -0
  1548. package/node_modules/reusify/SECURITY.md +15 -0
  1549. package/node_modules/reusify/benchmarks/createNoCodeFunction.js +30 -0
  1550. package/node_modules/reusify/benchmarks/fib.js +13 -0
  1551. package/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +38 -0
  1552. package/node_modules/reusify/eslint.config.js +14 -0
  1553. package/node_modules/reusify/package.json +50 -0
  1554. package/node_modules/reusify/reusify.d.ts +14 -0
  1555. package/node_modules/reusify/reusify.js +33 -0
  1556. package/node_modules/reusify/test.js +66 -0
  1557. package/node_modules/reusify/tsconfig.json +11 -0
  1558. package/node_modules/run-parallel/LICENSE +20 -0
  1559. package/node_modules/run-parallel/README.md +85 -0
  1560. package/node_modules/run-parallel/index.js +51 -0
  1561. package/node_modules/run-parallel/package.json +58 -0
  1562. package/node_modules/sprintf-js/.npmignore +1 -0
  1563. package/node_modules/sprintf-js/LICENSE +24 -0
  1564. package/node_modules/sprintf-js/README.md +88 -0
  1565. package/node_modules/sprintf-js/bower.json +14 -0
  1566. package/node_modules/sprintf-js/demo/angular.html +20 -0
  1567. package/node_modules/sprintf-js/dist/angular-sprintf.min.js +4 -0
  1568. package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
  1569. package/node_modules/sprintf-js/dist/angular-sprintf.min.map +1 -0
  1570. package/node_modules/sprintf-js/dist/sprintf.min.js +4 -0
  1571. package/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
  1572. package/node_modules/sprintf-js/dist/sprintf.min.map +1 -0
  1573. package/node_modules/sprintf-js/gruntfile.js +36 -0
  1574. package/node_modules/sprintf-js/package.json +22 -0
  1575. package/node_modules/sprintf-js/src/angular-sprintf.js +18 -0
  1576. package/node_modules/sprintf-js/src/sprintf.js +208 -0
  1577. package/node_modules/sprintf-js/test/test.js +82 -0
  1578. package/node_modules/string-argv/CHANGELOG.md +13 -0
  1579. package/node_modules/string-argv/LICENSE +21 -0
  1580. package/node_modules/string-argv/README.md +58 -0
  1581. package/node_modules/string-argv/commonjs/index.js +45 -0
  1582. package/node_modules/string-argv/commonjs/package.json +3 -0
  1583. package/node_modules/string-argv/index.d.ts +2 -0
  1584. package/node_modules/string-argv/index.js +41 -0
  1585. package/node_modules/string-argv/package.json +51 -0
  1586. package/node_modules/supports-color/browser.js +24 -0
  1587. package/node_modules/supports-color/index.js +152 -0
  1588. package/node_modules/supports-color/license +9 -0
  1589. package/node_modules/supports-color/package.json +58 -0
  1590. package/node_modules/supports-color/readme.md +77 -0
  1591. package/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
  1592. package/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
  1593. package/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
  1594. package/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
  1595. package/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
  1596. package/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
  1597. package/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
  1598. package/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
  1599. package/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
  1600. package/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
  1601. package/node_modules/to-regex-range/LICENSE +21 -0
  1602. package/node_modules/to-regex-range/README.md +305 -0
  1603. package/node_modules/to-regex-range/index.js +288 -0
  1604. package/node_modules/to-regex-range/package.json +88 -0
  1605. package/node_modules/type-fest/index.d.ts +178 -0
  1606. package/node_modules/type-fest/license-cc0 +121 -0
  1607. package/node_modules/type-fest/license-mit +9 -0
  1608. package/node_modules/type-fest/package.json +91 -0
  1609. package/node_modules/type-fest/readme.md +1060 -0
  1610. package/node_modules/type-fest/source/all-union-fields.d.ts +88 -0
  1611. package/node_modules/type-fest/source/and.d.ts +25 -0
  1612. package/node_modules/type-fest/source/array-indices.d.ts +23 -0
  1613. package/node_modules/type-fest/source/array-slice.d.ts +109 -0
  1614. package/node_modules/type-fest/source/array-splice.d.ts +99 -0
  1615. package/node_modules/type-fest/source/array-tail.d.ts +76 -0
  1616. package/node_modules/type-fest/source/array-values.d.ts +22 -0
  1617. package/node_modules/type-fest/source/arrayable.d.ts +29 -0
  1618. package/node_modules/type-fest/source/async-return-type.d.ts +23 -0
  1619. package/node_modules/type-fest/source/asyncify.d.ts +32 -0
  1620. package/node_modules/type-fest/source/basic.d.ts +68 -0
  1621. package/node_modules/type-fest/source/camel-case.d.ts +89 -0
  1622. package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +97 -0
  1623. package/node_modules/type-fest/source/camel-cased-properties.d.ts +43 -0
  1624. package/node_modules/type-fest/source/conditional-except.d.ts +45 -0
  1625. package/node_modules/type-fest/source/conditional-keys.d.ts +47 -0
  1626. package/node_modules/type-fest/source/conditional-pick-deep.d.ts +118 -0
  1627. package/node_modules/type-fest/source/conditional-pick.d.ts +44 -0
  1628. package/node_modules/type-fest/source/conditional-simplify.d.ts +32 -0
  1629. package/node_modules/type-fest/source/delimiter-case.d.ts +78 -0
  1630. package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +106 -0
  1631. package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +46 -0
  1632. package/node_modules/type-fest/source/distributed-omit.d.ts +89 -0
  1633. package/node_modules/type-fest/source/distributed-pick.d.ts +85 -0
  1634. package/node_modules/type-fest/source/empty-object.d.ts +46 -0
  1635. package/node_modules/type-fest/source/enforce-optional.d.ts +47 -0
  1636. package/node_modules/type-fest/source/entries.d.ts +62 -0
  1637. package/node_modules/type-fest/source/entry.d.ts +65 -0
  1638. package/node_modules/type-fest/source/exact.d.ts +68 -0
  1639. package/node_modules/type-fest/source/except.d.ts +108 -0
  1640. package/node_modules/type-fest/source/find-global-type.d.ts +64 -0
  1641. package/node_modules/type-fest/source/fixed-length-array.d.ts +43 -0
  1642. package/node_modules/type-fest/source/get.d.ts +219 -0
  1643. package/node_modules/type-fest/source/global-this.d.ts +21 -0
  1644. package/node_modules/type-fest/source/greater-than-or-equal.d.ts +22 -0
  1645. package/node_modules/type-fest/source/greater-than.d.ts +56 -0
  1646. package/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
  1647. package/node_modules/type-fest/source/has-readonly-keys.d.ts +21 -0
  1648. package/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
  1649. package/node_modules/type-fest/source/has-writable-keys.d.ts +21 -0
  1650. package/node_modules/type-fest/source/if-any.d.ts +24 -0
  1651. package/node_modules/type-fest/source/if-empty-object.d.ts +26 -0
  1652. package/node_modules/type-fest/source/if-never.d.ts +24 -0
  1653. package/node_modules/type-fest/source/if-null.d.ts +24 -0
  1654. package/node_modules/type-fest/source/if-unknown.d.ts +24 -0
  1655. package/node_modules/type-fest/source/includes.d.ts +22 -0
  1656. package/node_modules/type-fest/source/int-closed-range.d.ts +35 -0
  1657. package/node_modules/type-fest/source/int-range.d.ts +55 -0
  1658. package/node_modules/type-fest/source/internal/array.d.ts +126 -0
  1659. package/node_modules/type-fest/source/internal/characters.d.ts +67 -0
  1660. package/node_modules/type-fest/source/internal/index.d.ts +8 -0
  1661. package/node_modules/type-fest/source/internal/keys.d.ts +97 -0
  1662. package/node_modules/type-fest/source/internal/numeric.d.ts +118 -0
  1663. package/node_modules/type-fest/source/internal/object.d.ts +236 -0
  1664. package/node_modules/type-fest/source/internal/string.d.ts +210 -0
  1665. package/node_modules/type-fest/source/internal/tuple.d.ts +90 -0
  1666. package/node_modules/type-fest/source/internal/type.d.ts +139 -0
  1667. package/node_modules/type-fest/source/invariant-of.d.ts +76 -0
  1668. package/node_modules/type-fest/source/is-any.d.ts +33 -0
  1669. package/node_modules/type-fest/source/is-equal.d.ts +31 -0
  1670. package/node_modules/type-fest/source/is-float.d.ts +41 -0
  1671. package/node_modules/type-fest/source/is-integer.d.ts +58 -0
  1672. package/node_modules/type-fest/source/is-literal.d.ts +296 -0
  1673. package/node_modules/type-fest/source/is-never.d.ts +42 -0
  1674. package/node_modules/type-fest/source/is-null.d.ts +20 -0
  1675. package/node_modules/type-fest/source/is-tuple.d.ts +89 -0
  1676. package/node_modules/type-fest/source/is-unknown.d.ts +52 -0
  1677. package/node_modules/type-fest/source/iterable-element.d.ts +64 -0
  1678. package/node_modules/type-fest/source/join.d.ts +68 -0
  1679. package/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
  1680. package/node_modules/type-fest/source/jsonify.d.ts +122 -0
  1681. package/node_modules/type-fest/source/kebab-case.d.ts +44 -0
  1682. package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +63 -0
  1683. package/node_modules/type-fest/source/kebab-cased-properties.d.ts +40 -0
  1684. package/node_modules/type-fest/source/keys-of-union.d.ts +42 -0
  1685. package/node_modules/type-fest/source/last-array-element.d.ts +38 -0
  1686. package/node_modules/type-fest/source/less-than-or-equal.d.ts +22 -0
  1687. package/node_modules/type-fest/source/less-than.d.ts +26 -0
  1688. package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +36 -0
  1689. package/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
  1690. package/node_modules/type-fest/source/literal-union.d.ts +37 -0
  1691. package/node_modules/type-fest/source/merge-deep.d.ts +486 -0
  1692. package/node_modules/type-fest/source/merge-exclusive.d.ts +41 -0
  1693. package/node_modules/type-fest/source/merge.d.ts +48 -0
  1694. package/node_modules/type-fest/source/multidimensional-array.d.ts +44 -0
  1695. package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +48 -0
  1696. package/node_modules/type-fest/source/non-empty-object.d.ts +35 -0
  1697. package/node_modules/type-fest/source/non-empty-string.d.ts +28 -0
  1698. package/node_modules/type-fest/source/non-empty-tuple.d.ts +21 -0
  1699. package/node_modules/type-fest/source/numeric.d.ts +222 -0
  1700. package/node_modules/type-fest/source/observable-like.d.ts +63 -0
  1701. package/node_modules/type-fest/source/omit-deep.d.ts +167 -0
  1702. package/node_modules/type-fest/source/omit-index-signature.d.ts +95 -0
  1703. package/node_modules/type-fest/source/opaque.d.ts +1 -0
  1704. package/node_modules/type-fest/source/optional-keys-of.d.ts +39 -0
  1705. package/node_modules/type-fest/source/or.d.ts +25 -0
  1706. package/node_modules/type-fest/source/override-properties.d.ts +36 -0
  1707. package/node_modules/type-fest/source/package-json.d.ts +676 -0
  1708. package/node_modules/type-fest/source/partial-deep.d.ts +151 -0
  1709. package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +78 -0
  1710. package/node_modules/type-fest/source/pascal-case.d.ts +42 -0
  1711. package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +62 -0
  1712. package/node_modules/type-fest/source/pascal-cased-properties.d.ts +36 -0
  1713. package/node_modules/type-fest/source/paths.d.ts +262 -0
  1714. package/node_modules/type-fest/source/pick-deep.d.ts +149 -0
  1715. package/node_modules/type-fest/source/pick-index-signature.d.ts +50 -0
  1716. package/node_modules/type-fest/source/primitive.d.ts +13 -0
  1717. package/node_modules/type-fest/source/promisable.d.ts +25 -0
  1718. package/node_modules/type-fest/source/readonly-deep.d.ts +81 -0
  1719. package/node_modules/type-fest/source/readonly-keys-of.d.ts +30 -0
  1720. package/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
  1721. package/node_modules/type-fest/source/replace.d.ts +85 -0
  1722. package/node_modules/type-fest/source/require-all-or-none.d.ts +51 -0
  1723. package/node_modules/type-fest/source/require-at-least-one.d.ts +47 -0
  1724. package/node_modules/type-fest/source/require-exactly-one.d.ts +45 -0
  1725. package/node_modules/type-fest/source/require-one-or-none.d.ts +46 -0
  1726. package/node_modules/type-fest/source/required-deep.d.ts +78 -0
  1727. package/node_modules/type-fest/source/required-keys-of.d.ts +30 -0
  1728. package/node_modules/type-fest/source/schema.d.ts +114 -0
  1729. package/node_modules/type-fest/source/screaming-snake-case.d.ts +28 -0
  1730. package/node_modules/type-fest/source/set-field-type.d.ts +65 -0
  1731. package/node_modules/type-fest/source/set-non-nullable-deep.d.ts +83 -0
  1732. package/node_modules/type-fest/source/set-non-nullable.d.ts +39 -0
  1733. package/node_modules/type-fest/source/set-optional.d.ts +38 -0
  1734. package/node_modules/type-fest/source/set-parameter-type.d.ts +117 -0
  1735. package/node_modules/type-fest/source/set-readonly.d.ts +39 -0
  1736. package/node_modules/type-fest/source/set-required-deep.d.ts +68 -0
  1737. package/node_modules/type-fest/source/set-required.d.ts +70 -0
  1738. package/node_modules/type-fest/source/set-return-type.d.ts +29 -0
  1739. package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +178 -0
  1740. package/node_modules/type-fest/source/shared-union-fields.d.ts +76 -0
  1741. package/node_modules/type-fest/source/simplify-deep.d.ts +115 -0
  1742. package/node_modules/type-fest/source/simplify.d.ts +58 -0
  1743. package/node_modules/type-fest/source/single-key-object.d.ts +29 -0
  1744. package/node_modules/type-fest/source/snake-case.d.ts +45 -0
  1745. package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +63 -0
  1746. package/node_modules/type-fest/source/snake-cased-properties.d.ts +40 -0
  1747. package/node_modules/type-fest/source/split.d.ts +88 -0
  1748. package/node_modules/type-fest/source/spread.d.ts +84 -0
  1749. package/node_modules/type-fest/source/string-key-of.d.ts +25 -0
  1750. package/node_modules/type-fest/source/string-repeat.d.ts +47 -0
  1751. package/node_modules/type-fest/source/string-slice.d.ts +37 -0
  1752. package/node_modules/type-fest/source/stringified.d.ts +23 -0
  1753. package/node_modules/type-fest/source/structured-cloneable.d.ts +92 -0
  1754. package/node_modules/type-fest/source/subtract.d.ts +83 -0
  1755. package/node_modules/type-fest/source/sum.d.ts +78 -0
  1756. package/node_modules/type-fest/source/tagged-union.d.ts +51 -0
  1757. package/node_modules/type-fest/source/tagged.d.ts +256 -0
  1758. package/node_modules/type-fest/source/trim.d.ts +27 -0
  1759. package/node_modules/type-fest/source/tsconfig-json.d.ts +1294 -0
  1760. package/node_modules/type-fest/source/tuple-to-object.d.ts +42 -0
  1761. package/node_modules/type-fest/source/tuple-to-union.d.ts +51 -0
  1762. package/node_modules/type-fest/source/typed-array.d.ts +17 -0
  1763. package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +80 -0
  1764. package/node_modules/type-fest/source/union-to-intersection.d.ts +61 -0
  1765. package/node_modules/type-fest/source/union-to-tuple.d.ts +56 -0
  1766. package/node_modules/type-fest/source/unknown-array.d.ts +25 -0
  1767. package/node_modules/type-fest/source/unknown-map.d.ts +24 -0
  1768. package/node_modules/type-fest/source/unknown-record.d.ts +31 -0
  1769. package/node_modules/type-fest/source/unknown-set.d.ts +24 -0
  1770. package/node_modules/type-fest/source/value-of.d.ts +42 -0
  1771. package/node_modules/type-fest/source/words.d.ts +118 -0
  1772. package/node_modules/type-fest/source/writable-deep.d.ts +83 -0
  1773. package/node_modules/type-fest/source/writable-keys-of.d.ts +33 -0
  1774. package/node_modules/type-fest/source/writable.d.ts +68 -0
  1775. package/node_modules/umzug/LICENSE +21 -0
  1776. package/node_modules/umzug/README.md +849 -0
  1777. package/node_modules/umzug/lib/cli.d.ts +44 -0
  1778. package/node_modules/umzug/lib/cli.js +275 -0
  1779. package/node_modules/umzug/lib/cli.js.map +1 -0
  1780. package/node_modules/umzug/lib/file-locker.d.ts +46 -0
  1781. package/node_modules/umzug/lib/file-locker.js +96 -0
  1782. package/node_modules/umzug/lib/file-locker.js.map +1 -0
  1783. package/node_modules/umzug/lib/index.d.ts +5 -0
  1784. package/node_modules/umzug/lib/index.js +22 -0
  1785. package/node_modules/umzug/lib/index.js.map +1 -0
  1786. package/node_modules/umzug/lib/storage/contract.d.ts +17 -0
  1787. package/node_modules/umzug/lib/storage/contract.js +18 -0
  1788. package/node_modules/umzug/lib/storage/contract.js.map +1 -0
  1789. package/node_modules/umzug/lib/storage/index.d.ts +5 -0
  1790. package/node_modules/umzug/lib/storage/index.js +24 -0
  1791. package/node_modules/umzug/lib/storage/index.js.map +1 -0
  1792. package/node_modules/umzug/lib/storage/json.d.ts +20 -0
  1793. package/node_modules/umzug/lib/storage/json.js +61 -0
  1794. package/node_modules/umzug/lib/storage/json.js.map +1 -0
  1795. package/node_modules/umzug/lib/storage/memory.d.ts +2 -0
  1796. package/node_modules/umzug/lib/storage/memory.js +17 -0
  1797. package/node_modules/umzug/lib/storage/memory.js.map +1 -0
  1798. package/node_modules/umzug/lib/storage/mongodb.d.ts +35 -0
  1799. package/node_modules/umzug/lib/storage/mongodb.js +31 -0
  1800. package/node_modules/umzug/lib/storage/mongodb.js.map +1 -0
  1801. package/node_modules/umzug/lib/storage/sequelize.d.ts +106 -0
  1802. package/node_modules/umzug/lib/storage/sequelize.js +85 -0
  1803. package/node_modules/umzug/lib/storage/sequelize.js.map +1 -0
  1804. package/node_modules/umzug/lib/templates.d.ts +5 -0
  1805. package/node_modules/umzug/lib/templates.js +32 -0
  1806. package/node_modules/umzug/lib/templates.js.map +1 -0
  1807. package/node_modules/umzug/lib/types.d.ts +129 -0
  1808. package/node_modules/umzug/lib/types.js +12 -0
  1809. package/node_modules/umzug/lib/types.js.map +1 -0
  1810. package/node_modules/umzug/lib/umzug.d.ts +105 -0
  1811. package/node_modules/umzug/lib/umzug.js +414 -0
  1812. package/node_modules/umzug/lib/umzug.js.map +1 -0
  1813. package/node_modules/umzug/package.json +92 -0
  1814. package/node_modules/universalify/LICENSE +20 -0
  1815. package/node_modules/universalify/README.md +76 -0
  1816. package/node_modules/universalify/index.js +24 -0
  1817. package/node_modules/universalify/package.json +34 -0
  1818. package/node_modules/yallist/LICENSE +15 -0
  1819. package/node_modules/yallist/README.md +204 -0
  1820. package/node_modules/yallist/iterator.js +8 -0
  1821. package/node_modules/yallist/package.json +29 -0
  1822. package/node_modules/yallist/yallist.js +426 -0
  1823. package/package.json +4 -2
  1824. package/dist/ui/assets/architecture-7GRP2DOG-DPAY49ac.js +0 -1
  1825. package/dist/ui/assets/channel-B4U25mhB.js +0 -1
  1826. package/dist/ui/assets/eventmodeling-NTZA5JFV-CJyNnV02.js +0 -1
  1827. package/dist/ui/assets/flowDiagram-KWPJA3E3-C0h7u26C.js +0 -1
  1828. package/dist/ui/assets/index-gtLHyvxQ.css +0 -2
  1829. package/dist/ui/assets/railroad-abnf-HS5TGJTU-DcEI15f8.js +0 -1
  1830. package/dist/ui/assets/railroad-ebnf-LZEXJU2U-COHEIK3C.js +0 -1
  1831. package/dist/ui/assets/railroad-peg-WCYAUIDC-DXgo491l.js +0 -1
  1832. package/dist/ui/assets/swimlanesDiagram-TC7HE7FX-636k0i2s.js +0 -8
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonSchema.d.ts","sourceRoot":"","sources":["../src/JsonSchema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAavD;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,UAAU,CAAC;AAExD;;;GAGG;AACH,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IAChE;;OAEG;IACH,IAAI,EAAE,CAAC,SAAS,MAAM,GAAG,QAAQ,GAAG,CAAC,SAAS,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IAExE;;;;OAIG;IACH,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,oCAAoC;IACnD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,WAAW,0BAA2B,SAAQ,oCAAoC;IACtF;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;;;;;;;OAWG;IACH,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAEhC;;;;;;;;;OASG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAElC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,MAAM,CAAC,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;CACnG;AAED;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,sBAAsB,CAAC;AAEhE;;;GAGG;AACH,MAAM,MAAM,4BAA4B,GAAG,sBAAsB,CAAC;AAoBlE;;;;;;;;GAQG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,iBAAiB,CAAoB;IAC7C,OAAO,CAAC,SAAS,CAAc;IAC/B,OAAO,CAAC,UAAU,CAA2C;IAC7D,OAAO,CAAC,aAAa,CAAqC;IAC1D,OAAO,CAAC,cAAc,CAA4C;IAClE,OAAO,CAAC,cAAc,CAEI;IAE1B,OAAO;IAEP;;;;;OAKG;WACW,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,0BAA0B,GAAG,UAAU;IAmB1F;;OAEG;WACW,gBAAgB,CAC5B,YAAY,EAAE,UAAU,EACxB,OAAO,CAAC,EAAE,4BAA4B,GACrC,UAAU;IAab,OAAO,CAAC,MAAM,CAAC,wBAAwB;IAuCvC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAIlC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;IAiBxC;;;;;OAKG;IACH,IAAW,SAAS,IAAI,MAAM,CAc7B;IAED;;;;OAIG;IACI,cAAc,IAAI,IAAI;IA2D7B;;;;;;;OAOG;IACI,cAAc,CACnB,UAAU,EAAE,UAAU,EACtB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0BAA0B,GACnC,IAAI;IAYP;;;OAGG;IACI,0BAA0B,CAC/B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,CAAC,SAAS,EAAE,oBAAoB,KAAK,IAAI,EACxD,OAAO,CAAC,EAAE,oCAAoC,GAC7C,IAAI;IAsBP,OAAO,CAAC,aAAa;CAMtB"}
@@ -0,0 +1,287 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3
+ // See LICENSE in the project root for license information.
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || (function () {
21
+ var ownKeys = function(o) {
22
+ ownKeys = Object.getOwnPropertyNames || function (o) {
23
+ var ar = [];
24
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
+ return ar;
26
+ };
27
+ return ownKeys(o);
28
+ };
29
+ return function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ })();
37
+ var __rest = (this && this.__rest) || function (s, e) {
38
+ var t = {};
39
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
40
+ t[p] = s[p];
41
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
42
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
43
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
44
+ t[p[i]] = s[p[i]];
45
+ }
46
+ return t;
47
+ };
48
+ var __importDefault = (this && this.__importDefault) || function (mod) {
49
+ return (mod && mod.__esModule) ? mod : { "default": mod };
50
+ };
51
+ Object.defineProperty(exports, "__esModule", { value: true });
52
+ exports.JsonSchema = void 0;
53
+ const os = __importStar(require("os"));
54
+ const path = __importStar(require("path"));
55
+ const FileSystem_1 = require("./FileSystem");
56
+ const JsonFile_1 = require("./JsonFile");
57
+ const ajv_1 = __importDefault(require("ajv"));
58
+ const ajv_draft_04_1 = __importDefault(require("ajv-draft-04"));
59
+ const ajv_formats_1 = __importDefault(require("ajv-formats"));
60
+ const JSON_SCHEMA_URL_PREFIX_BY_JSON_SCHEMA_VERSION = new Map([
61
+ ['draft-04', 'http://json-schema.org/draft-04/schema'],
62
+ ['draft-07', 'http://json-schema.org/draft-07/schema']
63
+ ]);
64
+ /**
65
+ * Helper function to determine the json-schema version to target for validation.
66
+ */
67
+ function _inferJsonSchemaVersion({ $schema }) {
68
+ if ($schema) {
69
+ for (const [jsonSchemaVersion, urlPrefix] of JSON_SCHEMA_URL_PREFIX_BY_JSON_SCHEMA_VERSION) {
70
+ if ($schema.startsWith(urlPrefix)) {
71
+ return jsonSchemaVersion;
72
+ }
73
+ }
74
+ }
75
+ }
76
+ /**
77
+ * Represents a JSON schema that can be used to validate JSON data files loaded by the JsonFile class.
78
+ * @remarks
79
+ * The schema itself is normally loaded and compiled later, only if it is actually required to validate
80
+ * an input. To avoid schema errors at runtime, it's recommended to create a unit test that calls
81
+ * JsonSchema.ensureCompiled() for each of your schema objects.
82
+ *
83
+ * @public
84
+ */
85
+ class JsonSchema {
86
+ constructor() {
87
+ this._dependentSchemas = [];
88
+ this._filename = '';
89
+ this._validator = undefined;
90
+ this._schemaObject = undefined;
91
+ this._schemaVersion = undefined;
92
+ this._customFormats = undefined;
93
+ }
94
+ /**
95
+ * Registers a JsonSchema that will be loaded from a file on disk.
96
+ * @remarks
97
+ * NOTE: An error occurs if the file does not exist; however, the file itself is not loaded or validated
98
+ * until it the schema is actually used.
99
+ */
100
+ static fromFile(filename, options) {
101
+ // This is a quick and inexpensive test to avoid the catch the most common errors early.
102
+ // Full validation will happen later in JsonSchema.compile().
103
+ if (!FileSystem_1.FileSystem.exists(filename)) {
104
+ throw new Error('Schema file not found: ' + filename);
105
+ }
106
+ const schema = new JsonSchema();
107
+ schema._filename = filename;
108
+ if (options) {
109
+ schema._dependentSchemas = options.dependentSchemas || [];
110
+ schema._schemaVersion = options.schemaVersion;
111
+ schema._customFormats = options.customFormats;
112
+ }
113
+ return schema;
114
+ }
115
+ /**
116
+ * Registers a JsonSchema that will be loaded from an object.
117
+ */
118
+ static fromLoadedObject(schemaObject, options) {
119
+ const schema = new JsonSchema();
120
+ schema._schemaObject = schemaObject;
121
+ if (options) {
122
+ schema._dependentSchemas = options.dependentSchemas || [];
123
+ schema._schemaVersion = options.schemaVersion;
124
+ schema._customFormats = options.customFormats;
125
+ }
126
+ return schema;
127
+ }
128
+ static _collectDependentSchemas(collectedSchemas, dependentSchemas, seenObjects, seenIds) {
129
+ for (const dependentSchema of dependentSchemas) {
130
+ // It's okay for the same schema to appear multiple times in the tree, but we only process it once
131
+ if (seenObjects.has(dependentSchema)) {
132
+ continue;
133
+ }
134
+ seenObjects.add(dependentSchema);
135
+ const schemaId = dependentSchema._ensureLoaded();
136
+ if (schemaId === '') {
137
+ throw new Error(`This schema ${dependentSchema.shortName} cannot be referenced` +
138
+ ' because is missing the "id" (draft-04) or "$id" field');
139
+ }
140
+ if (seenIds.has(schemaId)) {
141
+ throw new Error(`This schema ${dependentSchema.shortName} has the same "id" (draft-04) or "$id" as another schema in this set`);
142
+ }
143
+ seenIds.add(schemaId);
144
+ collectedSchemas.push(dependentSchema);
145
+ JsonSchema._collectDependentSchemas(collectedSchemas, dependentSchema._dependentSchemas, seenObjects, seenIds);
146
+ }
147
+ }
148
+ /**
149
+ * Used to nicely format the ZSchema error tree.
150
+ */
151
+ static _formatErrorDetails(errorDetails) {
152
+ return JsonSchema._formatErrorDetailsHelper(errorDetails, '', '');
153
+ }
154
+ /**
155
+ * Used by _formatErrorDetails.
156
+ */
157
+ static _formatErrorDetailsHelper(errorDetails, indent, buffer) {
158
+ var _a, _b;
159
+ for (const errorDetail of errorDetails) {
160
+ buffer += os.EOL + indent + `Error: #${errorDetail.instancePath}`;
161
+ buffer += os.EOL + indent + ` ${errorDetail.message}`;
162
+ if ((_a = errorDetail.params) === null || _a === void 0 ? void 0 : _a.additionalProperty) {
163
+ buffer += `: ${(_b = errorDetail.params) === null || _b === void 0 ? void 0 : _b.additionalProperty}`;
164
+ }
165
+ }
166
+ return buffer;
167
+ }
168
+ /**
169
+ * Returns a short name for this schema, for use in error messages.
170
+ * @remarks
171
+ * If the schema was loaded from a file, then the base filename is used. Otherwise, the "$id"
172
+ * field is used if available.
173
+ */
174
+ get shortName() {
175
+ if (!this._filename) {
176
+ if (this._schemaObject) {
177
+ const schemaWithId = this._schemaObject;
178
+ if (schemaWithId.id) {
179
+ return schemaWithId.id;
180
+ }
181
+ else if (schemaWithId.$id) {
182
+ return schemaWithId.$id;
183
+ }
184
+ }
185
+ return '(anonymous schema)';
186
+ }
187
+ else {
188
+ return path.basename(this._filename);
189
+ }
190
+ }
191
+ /**
192
+ * If not already done, this loads the schema from disk and compiles it.
193
+ * @remarks
194
+ * Any dependencies will be compiled as well.
195
+ */
196
+ ensureCompiled() {
197
+ var _a;
198
+ this._ensureLoaded();
199
+ if (!this._validator) {
200
+ const targetSchemaVersion = (_a = this._schemaVersion) !== null && _a !== void 0 ? _a : _inferJsonSchemaVersion(this._schemaObject);
201
+ const validatorOptions = {
202
+ strictSchema: true,
203
+ allowUnionTypes: true
204
+ };
205
+ let validator;
206
+ // Keep legacy support for older draft-04 schema
207
+ switch (targetSchemaVersion) {
208
+ case 'draft-04': {
209
+ validator = new ajv_draft_04_1.default(validatorOptions);
210
+ break;
211
+ }
212
+ case 'draft-07':
213
+ default: {
214
+ validator = new ajv_1.default(validatorOptions);
215
+ break;
216
+ }
217
+ }
218
+ // Enable json-schema format validation
219
+ // https://ajv.js.org/packages/ajv-formats.html
220
+ (0, ajv_formats_1.default)(validator);
221
+ if (this._customFormats) {
222
+ for (const [name, format] of Object.entries(this._customFormats)) {
223
+ validator.addFormat(name, Object.assign(Object.assign({}, format), { async: false }));
224
+ }
225
+ }
226
+ const collectedSchemas = [];
227
+ const seenObjects = new Set();
228
+ const seenIds = new Set();
229
+ JsonSchema._collectDependentSchemas(collectedSchemas, this._dependentSchemas, seenObjects, seenIds);
230
+ // Validate each schema in order. We specifically do not supply them all together, because we want
231
+ // to make sure that circular references will fail to validate.
232
+ for (const collectedSchema of collectedSchemas) {
233
+ validator.validateSchema(collectedSchema._schemaObject);
234
+ if (validator.errors && validator.errors.length > 0) {
235
+ throw new Error(`Failed to validate schema "${collectedSchema.shortName}":` +
236
+ os.EOL +
237
+ JsonSchema._formatErrorDetails(validator.errors));
238
+ }
239
+ validator.addSchema(collectedSchema._schemaObject);
240
+ }
241
+ this._validator = validator.compile(this._schemaObject);
242
+ }
243
+ }
244
+ /**
245
+ * Validates the specified JSON object against this JSON schema. If the validation fails,
246
+ * an exception will be thrown.
247
+ * @param jsonObject - The JSON data to be validated
248
+ * @param filenameForErrors - The filename that the JSON data was available, or an empty string
249
+ * if not applicable
250
+ * @param options - Other options that control the validation
251
+ */
252
+ validateObject(jsonObject, filenameForErrors, options) {
253
+ this.validateObjectWithCallback(jsonObject, (errorInfo) => {
254
+ var _a;
255
+ const prefix = (_a = options === null || options === void 0 ? void 0 : options.customErrorHeader) !== null && _a !== void 0 ? _a : 'JSON validation failed:';
256
+ throw new Error(prefix + os.EOL + filenameForErrors + os.EOL + errorInfo.details);
257
+ }, options);
258
+ }
259
+ /**
260
+ * Validates the specified JSON object against this JSON schema. If the validation fails,
261
+ * a callback is called for each validation error.
262
+ */
263
+ validateObjectWithCallback(jsonObject, errorCallback, options) {
264
+ this.ensureCompiled();
265
+ if (options === null || options === void 0 ? void 0 : options.ignoreSchemaField) {
266
+ const {
267
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
268
+ $schema } = jsonObject, remainder = __rest(jsonObject, ["$schema"]);
269
+ jsonObject = remainder;
270
+ }
271
+ if (this._validator && !this._validator(jsonObject)) {
272
+ const errorDetails = JsonSchema._formatErrorDetails(this._validator.errors);
273
+ const args = {
274
+ details: errorDetails
275
+ };
276
+ errorCallback(args);
277
+ }
278
+ }
279
+ _ensureLoaded() {
280
+ if (!this._schemaObject) {
281
+ this._schemaObject = JsonFile_1.JsonFile.load(this._filename);
282
+ }
283
+ return this._schemaObject.id || this._schemaObject.$id || '';
284
+ }
285
+ }
286
+ exports.JsonSchema = JsonSchema;
287
+ //# sourceMappingURL=JsonSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonSchema.js","sourceRoot":"","sources":["../src/JsonSchema.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3D,uCAAyB;AACzB,2CAA6B;AAE7B,6CAA0C;AAC1C,yCAAuD;AAEvD,8CAA+F;AAC/F,gEAAsC;AACtC,8DAAqC;AA4HrC,MAAM,6CAA6C,GAAmC,IAAI,GAAG,CAAC;IAC5F,CAAC,UAAU,EAAE,wCAAwC,CAAC;IACtD,CAAC,UAAU,EAAE,wCAAwC,CAAC;CACvD,CAAC,CAAC;AAEH;;GAEG;AACH,SAAS,uBAAuB,CAAC,EAAE,OAAO,EAAc;IACtD,IAAI,OAAO,EAAE,CAAC;QACZ,KAAK,MAAM,CAAC,iBAAiB,EAAE,SAAS,CAAC,IAAI,6CAA6C,EAAE,CAAC;YAC3F,IAAI,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;gBAClC,OAAO,iBAAiB,CAAC;YAC3B,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC;AAED;;;;;;;;GAQG;AACH,MAAa,UAAU;IAUrB;QATQ,sBAAiB,GAAiB,EAAE,CAAC;QACrC,cAAS,GAAW,EAAE,CAAC;QACvB,eAAU,GAAiC,SAAS,CAAC;QACrD,kBAAa,GAA2B,SAAS,CAAC;QAClD,mBAAc,GAAkC,SAAS,CAAC;QAC1D,mBAAc,GAEN,SAAS,CAAC;IAEH,CAAC;IAExB;;;;;OAKG;IACI,MAAM,CAAC,QAAQ,CAAC,QAAgB,EAAE,OAAoC;QAC3E,wFAAwF;QACxF,6DAA6D;QAC7D,IAAI,CAAC,uBAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,yBAAyB,GAAG,QAAQ,CAAC,CAAC;QACxD,CAAC;QAED,MAAM,MAAM,GAAe,IAAI,UAAU,EAAE,CAAC;QAC5C,MAAM,CAAC,SAAS,GAAG,QAAQ,CAAC;QAE5B,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,CAAC,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,IAAI,EAAE,CAAC;YAC1D,MAAM,CAAC,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;YAC9C,MAAM,CAAC,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;QAChD,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,gBAAgB,CAC5B,YAAwB,EACxB,OAAsC;QAEtC,MAAM,MAAM,GAAe,IAAI,UAAU,EAAE,CAAC;QAC5C,MAAM,CAAC,aAAa,GAAG,YAAY,CAAC;QAEpC,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,CAAC,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,IAAI,EAAE,CAAC;YAC1D,MAAM,CAAC,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;YAC9C,MAAM,CAAC,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;QAChD,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,MAAM,CAAC,wBAAwB,CACrC,gBAA8B,EAC9B,gBAA8B,EAC9B,WAA4B,EAC5B,OAAoB;QAEpB,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;YAC/C,kGAAkG;YAClG,IAAI,WAAW,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC;gBACrC,SAAS;YACX,CAAC;YACD,WAAW,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;YAEjC,MAAM,QAAQ,GAAW,eAAe,CAAC,aAAa,EAAE,CAAC;YACzD,IAAI,QAAQ,KAAK,EAAE,EAAE,CAAC;gBACpB,MAAM,IAAI,KAAK,CACb,eAAe,eAAe,CAAC,SAAS,uBAAuB;oBAC7D,wDAAwD,CAC3D,CAAC;YACJ,CAAC;YACD,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC1B,MAAM,IAAI,KAAK,CACb,eAAe,eAAe,CAAC,SAAS,sEAAsE,CAC/G,CAAC;YACJ,CAAC;YAED,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAEtB,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;YAEvC,UAAU,CAAC,wBAAwB,CACjC,gBAAgB,EAChB,eAAe,CAAC,iBAAiB,EACjC,WAAW,EACX,OAAO,CACR,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;OAEG;IACK,MAAM,CAAC,mBAAmB,CAAC,YAA2B;QAC5D,OAAO,UAAU,CAAC,yBAAyB,CAAC,YAAY,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACK,MAAM,CAAC,yBAAyB,CACtC,YAA2B,EAC3B,MAAc,EACd,MAAc;;QAEd,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;YACvC,MAAM,IAAI,EAAE,CAAC,GAAG,GAAG,MAAM,GAAG,WAAW,WAAW,CAAC,YAAY,EAAE,CAAC;YAElE,MAAM,IAAI,EAAE,CAAC,GAAG,GAAG,MAAM,GAAG,UAAU,WAAW,CAAC,OAAO,EAAE,CAAC;YAC5D,IAAI,MAAA,WAAW,CAAC,MAAM,0CAAE,kBAAkB,EAAE,CAAC;gBAC3C,MAAM,IAAI,KAAK,MAAA,WAAW,CAAC,MAAM,0CAAE,kBAAkB,EAAE,CAAC;YAC1D,CAAC;QACH,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;;;OAKG;IACH,IAAW,SAAS;QAClB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YACpB,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;gBACvB,MAAM,YAAY,GAAkB,IAAI,CAAC,aAA8B,CAAC;gBACxE,IAAI,YAAY,CAAC,EAAE,EAAE,CAAC;oBACpB,OAAO,YAAY,CAAC,EAAE,CAAC;gBACzB,CAAC;qBAAM,IAAI,YAAY,CAAC,GAAG,EAAE,CAAC;oBAC5B,OAAO,YAAY,CAAC,GAAG,CAAC;gBAC1B,CAAC;YACH,CAAC;YACD,OAAO,oBAAoB,CAAC;QAC9B,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvC,CAAC;IACH,CAAC;IAED;;;;OAIG;IACI,cAAc;;QACnB,IAAI,CAAC,aAAa,EAAE,CAAC;QAErB,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;YACrB,MAAM,mBAAmB,GACvB,MAAA,IAAI,CAAC,cAAc,mCAAI,uBAAuB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;YACrE,MAAM,gBAAgB,GAAe;gBACnC,YAAY,EAAE,IAAI;gBAClB,eAAe,EAAE,IAAI;aACtB,CAAC;YAEF,IAAI,SAAc,CAAC;YACnB,gDAAgD;YAChD,QAAQ,mBAAmB,EAAE,CAAC;gBAC5B,KAAK,UAAU,CAAC,CAAC,CAAC;oBAChB,SAAS,GAAG,IAAI,sBAAU,CAAC,gBAAgB,CAAC,CAAC;oBAC7C,MAAM;gBACR,CAAC;gBAED,KAAK,UAAU,CAAC;gBAChB,OAAO,CAAC,CAAC,CAAC;oBACR,SAAS,GAAG,IAAI,aAAG,CAAC,gBAAgB,CAAC,CAAC;oBACtC,MAAM;gBACR,CAAC;YACH,CAAC;YAED,uCAAuC;YACvC,+CAA+C;YAC/C,IAAA,qBAAU,EAAC,SAAS,CAAC,CAAC;YACtB,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;gBACxB,KAAK,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;oBACjE,SAAS,CAAC,SAAS,CAAC,IAAI,kCAAO,MAAM,KAAE,KAAK,EAAE,KAAK,IAAG,CAAC;gBACzD,CAAC;YACH,CAAC;YAED,MAAM,gBAAgB,GAAiB,EAAE,CAAC;YAC1C,MAAM,WAAW,GAAoB,IAAI,GAAG,EAAc,CAAC;YAC3D,MAAM,OAAO,GAAgB,IAAI,GAAG,EAAU,CAAC;YAE/C,UAAU,CAAC,wBAAwB,CAAC,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;YAEpG,mGAAmG;YACnG,+DAA+D;YAC/D,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;gBAC/C,SAAS,CAAC,cAAc,CAAC,eAAe,CAAC,aAAa,CAAY,CAAC;gBACnE,IAAI,SAAS,CAAC,MAAM,IAAI,SAAS,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACpD,MAAM,IAAI,KAAK,CACb,8BAA8B,eAAe,CAAC,SAAS,IAAI;wBACzD,EAAE,CAAC,GAAG;wBACN,UAAU,CAAC,mBAAmB,CAAC,SAAS,CAAC,MAAM,CAAC,CACnD,CAAC;gBACJ,CAAC;gBACD,SAAS,CAAC,SAAS,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;YACrD,CAAC;YAED,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC1D,CAAC;IACH,CAAC;IAED;;;;;;;OAOG;IACI,cAAc,CACnB,UAAsB,EACtB,iBAAyB,EACzB,OAAoC;QAEpC,IAAI,CAAC,0BAA0B,CAC7B,UAAU,EACV,CAAC,SAA+B,EAAE,EAAE;;YAClC,MAAM,MAAM,GAAW,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,iBAAiB,mCAAI,yBAAyB,CAAC;YAE/E,MAAM,IAAI,KAAK,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,GAAG,iBAAiB,GAAG,EAAE,CAAC,GAAG,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;QACpF,CAAC,EACD,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;OAGG;IACI,0BAA0B,CAC/B,UAAsB,EACtB,aAAwD,EACxD,OAA8C;QAE9C,IAAI,CAAC,cAAc,EAAE,CAAC;QAEtB,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,iBAAiB,EAAE,CAAC;YAC/B,MAAM;YACJ,6DAA6D;YAC7D,OAAO,KAEL,UAAU,EADT,SAAS,UACV,UAAU,EAJR,WAIL,CAAa,CAAC;YACf,UAAU,GAAG,SAAS,CAAC;QACzB,CAAC;QAED,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;YACpD,MAAM,YAAY,GAAW,UAAU,CAAC,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,MAAO,CAAC,CAAC;YAErF,MAAM,IAAI,GAAyB;gBACjC,OAAO,EAAE,YAAY;aACtB,CAAC;YACF,aAAa,CAAC,IAAI,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAEO,aAAa;QACnB,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACxB,IAAI,CAAC,aAAa,GAAG,mBAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACrD,CAAC;QACD,OAAQ,IAAI,CAAC,aAA+B,CAAC,EAAE,IAAK,IAAI,CAAC,aAA+B,CAAC,GAAG,IAAI,EAAE,CAAC;IACrG,CAAC;CACF;AA5QD,gCA4QC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport * as os from 'os';\nimport * as path from 'path';\n\nimport { FileSystem } from './FileSystem';\nimport { JsonFile, type JsonObject } from './JsonFile';\n\nimport Ajv, { type Options as AjvOptions, type ErrorObject, type ValidateFunction } from 'ajv';\nimport AjvDraft04 from 'ajv-draft-04';\nimport addFormats from 'ajv-formats';\n\ninterface ISchemaWithId {\n // draft-04 uses \"id\"\n id: string | undefined;\n // draft-06 and higher uses \"$id\"\n $id: string | undefined;\n}\n\n/**\n * Specifies the version of json-schema to be validated against.\n * https://json-schema.org/specification\n * @public\n */\nexport type JsonSchemaVersion = 'draft-04' | 'draft-07';\n\n/**\n * A definition for a custom format to consider during validation.\n * @public\n */\nexport interface IJsonSchemaCustomFormat<T extends string | number> {\n /**\n * The base JSON type.\n */\n type: T extends string ? 'string' : T extends number ? 'number' : never;\n\n /**\n * A validation function for the format.\n * @param data - The raw field data to validate.\n * @returns whether the data is valid according to the format.\n */\n validate: (data: T) => boolean;\n}\n\n/**\n * Callback function arguments for {@link JsonSchema.validateObjectWithCallback}\n * @public\n */\nexport interface IJsonSchemaErrorInfo {\n /**\n * The ajv error list, formatted as an indented text string.\n */\n details: string;\n}\n\n/**\n * Options for {@link JsonSchema.validateObjectWithCallback}\n * @public\n */\nexport interface IJsonSchemaValidateObjectWithOptions {\n /**\n * If true, the root-level `$schema` property in a JSON object being validated will be ignored during validation.\n * If this is set to `true` and the schema requires a `$schema` property, validation will fail.\n */\n ignoreSchemaField?: boolean;\n}\n\n/**\n * Options for {@link JsonSchema.validateObject}\n * @public\n */\nexport interface IJsonSchemaValidateOptions extends IJsonSchemaValidateObjectWithOptions {\n /**\n * A custom header that will be used to report schema errors.\n * @remarks\n * If omitted, the default header is \"JSON validation failed:\". The error message starts with\n * the header, followed by the full input filename, followed by the ajv error list.\n * If you wish to customize all aspects of the error message, use JsonFile.loadAndValidateWithCallback()\n * or JsonSchema.validateObjectWithCallback().\n */\n customErrorHeader?: string;\n}\n\n/**\n * Options for {@link JsonSchema.fromFile} and {@link JsonSchema.fromLoadedObject}\n * @public\n */\nexport interface IJsonSchemaLoadOptions {\n /**\n * Other schemas that this schema references, e.g. via the \"$ref\" directive.\n * @remarks\n * The tree of dependent schemas may reference the same schema more than once.\n * However, if the same schema \"$id\" is used by two different JsonSchema instances,\n * an error will be reported. This means you cannot load the same filename twice\n * and use them both together, and you cannot have diamond dependencies on different\n * versions of the same schema. Although technically this would be possible to support,\n * it normally indicates an error or design problem.\n *\n * JsonSchema also does not allow circular references between schema dependencies.\n */\n dependentSchemas?: JsonSchema[];\n\n /**\n * The json-schema version to target for validation.\n *\n * @defaultValue draft-07\n *\n * @remarks\n * If the a version is not explicitly set, the schema object's `$schema` property\n * will be inspected to determine the version. If a `$schema` property is not found\n * or does not match an expected URL, the default version will be used.\n */\n schemaVersion?: JsonSchemaVersion;\n\n /**\n * Any custom formats to consider during validation. Some standard formats are supported\n * out-of-the-box (e.g. emails, uris), but additional formats can be defined here. You could\n * for example define generic numeric formats (e.g. uint8) or domain-specific formats.\n */\n customFormats?: Record<string, IJsonSchemaCustomFormat<string> | IJsonSchemaCustomFormat<number>>;\n}\n\n/**\n * Options for {@link JsonSchema.fromFile}\n * @public\n */\nexport type IJsonSchemaFromFileOptions = IJsonSchemaLoadOptions;\n\n/**\n * Options for {@link JsonSchema.fromLoadedObject}\n * @public\n */\nexport type IJsonSchemaFromObjectOptions = IJsonSchemaLoadOptions;\n\nconst JSON_SCHEMA_URL_PREFIX_BY_JSON_SCHEMA_VERSION: Map<JsonSchemaVersion, string> = new Map([\n ['draft-04', 'http://json-schema.org/draft-04/schema'],\n ['draft-07', 'http://json-schema.org/draft-07/schema']\n]);\n\n/**\n * Helper function to determine the json-schema version to target for validation.\n */\nfunction _inferJsonSchemaVersion({ $schema }: JsonObject): JsonSchemaVersion | undefined {\n if ($schema) {\n for (const [jsonSchemaVersion, urlPrefix] of JSON_SCHEMA_URL_PREFIX_BY_JSON_SCHEMA_VERSION) {\n if ($schema.startsWith(urlPrefix)) {\n return jsonSchemaVersion;\n }\n }\n }\n}\n\n/**\n * Represents a JSON schema that can be used to validate JSON data files loaded by the JsonFile class.\n * @remarks\n * The schema itself is normally loaded and compiled later, only if it is actually required to validate\n * an input. To avoid schema errors at runtime, it's recommended to create a unit test that calls\n * JsonSchema.ensureCompiled() for each of your schema objects.\n *\n * @public\n */\nexport class JsonSchema {\n private _dependentSchemas: JsonSchema[] = [];\n private _filename: string = '';\n private _validator: ValidateFunction | undefined = undefined;\n private _schemaObject: JsonObject | undefined = undefined;\n private _schemaVersion: JsonSchemaVersion | undefined = undefined;\n private _customFormats:\n | Record<string, IJsonSchemaCustomFormat<string> | IJsonSchemaCustomFormat<number>>\n | undefined = undefined;\n\n private constructor() {}\n\n /**\n * Registers a JsonSchema that will be loaded from a file on disk.\n * @remarks\n * NOTE: An error occurs if the file does not exist; however, the file itself is not loaded or validated\n * until it the schema is actually used.\n */\n public static fromFile(filename: string, options?: IJsonSchemaFromFileOptions): JsonSchema {\n // This is a quick and inexpensive test to avoid the catch the most common errors early.\n // Full validation will happen later in JsonSchema.compile().\n if (!FileSystem.exists(filename)) {\n throw new Error('Schema file not found: ' + filename);\n }\n\n const schema: JsonSchema = new JsonSchema();\n schema._filename = filename;\n\n if (options) {\n schema._dependentSchemas = options.dependentSchemas || [];\n schema._schemaVersion = options.schemaVersion;\n schema._customFormats = options.customFormats;\n }\n\n return schema;\n }\n\n /**\n * Registers a JsonSchema that will be loaded from an object.\n */\n public static fromLoadedObject(\n schemaObject: JsonObject,\n options?: IJsonSchemaFromObjectOptions\n ): JsonSchema {\n const schema: JsonSchema = new JsonSchema();\n schema._schemaObject = schemaObject;\n\n if (options) {\n schema._dependentSchemas = options.dependentSchemas || [];\n schema._schemaVersion = options.schemaVersion;\n schema._customFormats = options.customFormats;\n }\n\n return schema;\n }\n\n private static _collectDependentSchemas(\n collectedSchemas: JsonSchema[],\n dependentSchemas: JsonSchema[],\n seenObjects: Set<JsonSchema>,\n seenIds: Set<string>\n ): void {\n for (const dependentSchema of dependentSchemas) {\n // It's okay for the same schema to appear multiple times in the tree, but we only process it once\n if (seenObjects.has(dependentSchema)) {\n continue;\n }\n seenObjects.add(dependentSchema);\n\n const schemaId: string = dependentSchema._ensureLoaded();\n if (schemaId === '') {\n throw new Error(\n `This schema ${dependentSchema.shortName} cannot be referenced` +\n ' because is missing the \"id\" (draft-04) or \"$id\" field'\n );\n }\n if (seenIds.has(schemaId)) {\n throw new Error(\n `This schema ${dependentSchema.shortName} has the same \"id\" (draft-04) or \"$id\" as another schema in this set`\n );\n }\n\n seenIds.add(schemaId);\n\n collectedSchemas.push(dependentSchema);\n\n JsonSchema._collectDependentSchemas(\n collectedSchemas,\n dependentSchema._dependentSchemas,\n seenObjects,\n seenIds\n );\n }\n }\n\n /**\n * Used to nicely format the ZSchema error tree.\n */\n private static _formatErrorDetails(errorDetails: ErrorObject[]): string {\n return JsonSchema._formatErrorDetailsHelper(errorDetails, '', '');\n }\n\n /**\n * Used by _formatErrorDetails.\n */\n private static _formatErrorDetailsHelper(\n errorDetails: ErrorObject[],\n indent: string,\n buffer: string\n ): string {\n for (const errorDetail of errorDetails) {\n buffer += os.EOL + indent + `Error: #${errorDetail.instancePath}`;\n\n buffer += os.EOL + indent + ` ${errorDetail.message}`;\n if (errorDetail.params?.additionalProperty) {\n buffer += `: ${errorDetail.params?.additionalProperty}`;\n }\n }\n\n return buffer;\n }\n\n /**\n * Returns a short name for this schema, for use in error messages.\n * @remarks\n * If the schema was loaded from a file, then the base filename is used. Otherwise, the \"$id\"\n * field is used if available.\n */\n public get shortName(): string {\n if (!this._filename) {\n if (this._schemaObject) {\n const schemaWithId: ISchemaWithId = this._schemaObject as ISchemaWithId;\n if (schemaWithId.id) {\n return schemaWithId.id;\n } else if (schemaWithId.$id) {\n return schemaWithId.$id;\n }\n }\n return '(anonymous schema)';\n } else {\n return path.basename(this._filename);\n }\n }\n\n /**\n * If not already done, this loads the schema from disk and compiles it.\n * @remarks\n * Any dependencies will be compiled as well.\n */\n public ensureCompiled(): void {\n this._ensureLoaded();\n\n if (!this._validator) {\n const targetSchemaVersion: JsonSchemaVersion | undefined =\n this._schemaVersion ?? _inferJsonSchemaVersion(this._schemaObject);\n const validatorOptions: AjvOptions = {\n strictSchema: true,\n allowUnionTypes: true\n };\n\n let validator: Ajv;\n // Keep legacy support for older draft-04 schema\n switch (targetSchemaVersion) {\n case 'draft-04': {\n validator = new AjvDraft04(validatorOptions);\n break;\n }\n\n case 'draft-07':\n default: {\n validator = new Ajv(validatorOptions);\n break;\n }\n }\n\n // Enable json-schema format validation\n // https://ajv.js.org/packages/ajv-formats.html\n addFormats(validator);\n if (this._customFormats) {\n for (const [name, format] of Object.entries(this._customFormats)) {\n validator.addFormat(name, { ...format, async: false });\n }\n }\n\n const collectedSchemas: JsonSchema[] = [];\n const seenObjects: Set<JsonSchema> = new Set<JsonSchema>();\n const seenIds: Set<string> = new Set<string>();\n\n JsonSchema._collectDependentSchemas(collectedSchemas, this._dependentSchemas, seenObjects, seenIds);\n\n // Validate each schema in order. We specifically do not supply them all together, because we want\n // to make sure that circular references will fail to validate.\n for (const collectedSchema of collectedSchemas) {\n validator.validateSchema(collectedSchema._schemaObject) as boolean;\n if (validator.errors && validator.errors.length > 0) {\n throw new Error(\n `Failed to validate schema \"${collectedSchema.shortName}\":` +\n os.EOL +\n JsonSchema._formatErrorDetails(validator.errors)\n );\n }\n validator.addSchema(collectedSchema._schemaObject);\n }\n\n this._validator = validator.compile(this._schemaObject);\n }\n }\n\n /**\n * Validates the specified JSON object against this JSON schema. If the validation fails,\n * an exception will be thrown.\n * @param jsonObject - The JSON data to be validated\n * @param filenameForErrors - The filename that the JSON data was available, or an empty string\n * if not applicable\n * @param options - Other options that control the validation\n */\n public validateObject(\n jsonObject: JsonObject,\n filenameForErrors: string,\n options?: IJsonSchemaValidateOptions\n ): void {\n this.validateObjectWithCallback(\n jsonObject,\n (errorInfo: IJsonSchemaErrorInfo) => {\n const prefix: string = options?.customErrorHeader ?? 'JSON validation failed:';\n\n throw new Error(prefix + os.EOL + filenameForErrors + os.EOL + errorInfo.details);\n },\n options\n );\n }\n\n /**\n * Validates the specified JSON object against this JSON schema. If the validation fails,\n * a callback is called for each validation error.\n */\n public validateObjectWithCallback(\n jsonObject: JsonObject,\n errorCallback: (errorInfo: IJsonSchemaErrorInfo) => void,\n options?: IJsonSchemaValidateObjectWithOptions\n ): void {\n this.ensureCompiled();\n\n if (options?.ignoreSchemaField) {\n const {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n $schema,\n ...remainder\n } = jsonObject;\n jsonObject = remainder;\n }\n\n if (this._validator && !this._validator(jsonObject)) {\n const errorDetails: string = JsonSchema._formatErrorDetails(this._validator.errors!);\n\n const args: IJsonSchemaErrorInfo = {\n details: errorDetails\n };\n errorCallback(args);\n }\n }\n\n private _ensureLoaded(): string {\n if (!this._schemaObject) {\n this._schemaObject = JsonFile.load(this._filename);\n }\n return (this._schemaObject as ISchemaWithId).id || (this._schemaObject as ISchemaWithId).$id || '';\n }\n}\n"]}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Callback used by {@link LegacyAdapters}.
3
+ * @public
4
+ */
5
+ export type LegacyCallback<TResult, TError> = (error: TError | null | undefined, result: TResult) => void;
6
+ /**
7
+ * Helper functions used when interacting with APIs that do not follow modern coding practices.
8
+ * @public
9
+ */
10
+ export declare class LegacyAdapters {
11
+ /**
12
+ * This function wraps a function with a callback in a promise.
13
+ */
14
+ static convertCallbackToPromise<TResult, TError>(fn: (cb: LegacyCallback<TResult, TError>) => void): Promise<TResult>;
15
+ static convertCallbackToPromise<TResult, TError, TArg1>(fn: (arg1: TArg1, cb: LegacyCallback<TResult, TError>) => void, arg1: TArg1): Promise<TResult>;
16
+ static convertCallbackToPromise<TResult, TError, TArg1, TArg2>(fn: (arg1: TArg1, arg2: TArg2, cb: LegacyCallback<TResult, TError>) => void, arg1: TArg1, arg2: TArg2): Promise<TResult>;
17
+ static convertCallbackToPromise<TResult, TError, TArg1, TArg2, TArg3>(fn: (arg1: TArg1, arg2: TArg2, arg3: TArg3, cb: LegacyCallback<TResult, TError>) => void, arg1: TArg1, arg2: TArg2, arg3: TArg3): Promise<TResult>;
18
+ static convertCallbackToPromise<TResult, TError, TArg1, TArg2, TArg3, TArg4>(fn: (arg1: TArg1, arg2: TArg2, arg3: TArg3, arg4: TArg4, cb: LegacyCallback<TResult, TError>) => void, arg1: TArg1, arg2: TArg2, arg3: TArg3, arg4: TArg4): Promise<TResult>;
19
+ /**
20
+ * Normalizes an object into an `Error` object.
21
+ */
22
+ static scrubError(error: Error | string | any): Error;
23
+ }
24
+ //# sourceMappingURL=LegacyAdapters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyAdapters.d.ts","sourceRoot":"","sources":["../src/LegacyAdapters.ts"],"names":[],"mappings":"AAGA;;;GAGG;AAEH,MAAM,MAAM,cAAc,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;AAE1G;;;GAGG;AACH,qBAAa,cAAc;IACzB;;OAEG;WACW,wBAAwB,CAAC,OAAO,EAAE,MAAM,EACpD,EAAE,EAAE,CAAC,EAAE,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,IAAI,GAChD,OAAO,CAAC,OAAO,CAAC;WACL,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAC3D,EAAE,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,IAAI,EAC9D,IAAI,EAAE,KAAK,GACV,OAAO,CAAC,OAAO,CAAC;WACL,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAClE,EAAE,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,IAAI,EAC3E,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,KAAK,GACV,OAAO,CAAC,OAAO,CAAC;WACL,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EACzE,EAAE,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,IAAI,EACxF,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,KAAK,GACV,OAAO,CAAC,OAAO,CAAC;WACL,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAChF,EAAE,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,IAAI,EACrG,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,KAAK,GACV,OAAO,CAAC,OAAO,CAAC;IAyCnB;;OAEG;WAEW,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,GAAG,GAAG,KAAK;CAW7D"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3
+ // See LICENSE in the project root for license information.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.LegacyAdapters = void 0;
6
+ /**
7
+ * Helper functions used when interacting with APIs that do not follow modern coding practices.
8
+ * @public
9
+ */
10
+ class LegacyAdapters {
11
+ static convertCallbackToPromise(fn, arg1, arg2, arg3, arg4) {
12
+ return new Promise((resolve, reject) => {
13
+ const cb = (error, result) => {
14
+ if (error) {
15
+ reject(LegacyAdapters.scrubError(error));
16
+ }
17
+ else {
18
+ resolve(result);
19
+ }
20
+ };
21
+ try {
22
+ if (arg1 !== undefined && arg2 !== undefined && arg3 !== undefined && arg4 !== undefined) {
23
+ fn(arg1, arg2, arg3, arg4, cb);
24
+ }
25
+ else if (arg1 !== undefined && arg2 !== undefined && arg3 !== undefined) {
26
+ fn(arg1, arg2, arg3, cb);
27
+ }
28
+ else if (arg1 !== undefined && arg2 !== undefined) {
29
+ fn(arg1, arg2, cb);
30
+ }
31
+ else if (arg1 !== undefined) {
32
+ fn(arg1, cb);
33
+ }
34
+ else {
35
+ fn(cb);
36
+ }
37
+ }
38
+ catch (e) {
39
+ reject(e);
40
+ }
41
+ });
42
+ }
43
+ /**
44
+ * Normalizes an object into an `Error` object.
45
+ */
46
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
47
+ static scrubError(error) {
48
+ if (error instanceof Error) {
49
+ return error;
50
+ }
51
+ else if (typeof error === 'string') {
52
+ return new Error(error);
53
+ }
54
+ else {
55
+ const errorObject = new Error('An error occurred.');
56
+ errorObject.errorData = error; // eslint-disable-line @typescript-eslint/no-explicit-any
57
+ return errorObject;
58
+ }
59
+ }
60
+ }
61
+ exports.LegacyAdapters = LegacyAdapters;
62
+ //# sourceMappingURL=LegacyAdapters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LegacyAdapters.js","sourceRoot":"","sources":["../src/LegacyAdapters.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAS3D;;;GAGG;AACH,MAAa,cAAc;IA6BlB,MAAM,CAAC,wBAAwB,CACpC,EAMS,EACT,IAAY,EACZ,IAAY,EACZ,IAAY,EACZ,IAAY;QAEZ,OAAO,IAAI,OAAO,CAAC,CAAC,OAAkC,EAAE,MAA8B,EAAE,EAAE;YACxF,MAAM,EAAE,GAAoC,CAAC,KAAgC,EAAE,MAAe,EAAE,EAAE;gBAChG,IAAI,KAAK,EAAE,CAAC;oBACV,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;gBAC3C,CAAC;qBAAM,CAAC;oBACN,OAAO,CAAC,MAAM,CAAC,CAAC;gBAClB,CAAC;YACH,CAAC,CAAC;YAEF,IAAI,CAAC;gBACH,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;oBACzF,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;gBACjC,CAAC;qBAAM,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;oBAC1E,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;gBAC3B,CAAC;qBAAM,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;oBACpD,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;gBACrB,CAAC;qBAAM,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;oBAC9B,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBACf,CAAC;qBAAM,CAAC;oBACN,EAAE,CAAC,EAAE,CAAC,CAAC;gBACT,CAAC;YACH,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBACX,MAAM,CAAC,CAAU,CAAC,CAAC;YACrB,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,8DAA8D;IACvD,MAAM,CAAC,UAAU,CAAC,KAA2B;QAClD,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;YAC3B,OAAO,KAAK,CAAC;QACf,CAAC;aAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YACrC,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;aAAM,CAAC;YACN,MAAM,WAAW,GAAU,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;YAC1D,WAAmB,CAAC,SAAS,GAAG,KAAK,CAAC,CAAC,yDAAyD;YACjG,OAAO,WAAW,CAAC;QACrB,CAAC;IACH,CAAC;CACF;AApFD,wCAoFC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\n/**\n * Callback used by {@link LegacyAdapters}.\n * @public\n */\n// eslint-disable-next-line @rushstack/no-new-null\nexport type LegacyCallback<TResult, TError> = (error: TError | null | undefined, result: TResult) => void;\n\n/**\n * Helper functions used when interacting with APIs that do not follow modern coding practices.\n * @public\n */\nexport class LegacyAdapters {\n /**\n * This function wraps a function with a callback in a promise.\n */\n public static convertCallbackToPromise<TResult, TError>(\n fn: (cb: LegacyCallback<TResult, TError>) => void\n ): Promise<TResult>;\n public static convertCallbackToPromise<TResult, TError, TArg1>(\n fn: (arg1: TArg1, cb: LegacyCallback<TResult, TError>) => void,\n arg1: TArg1\n ): Promise<TResult>;\n public static convertCallbackToPromise<TResult, TError, TArg1, TArg2>(\n fn: (arg1: TArg1, arg2: TArg2, cb: LegacyCallback<TResult, TError>) => void,\n arg1: TArg1,\n arg2: TArg2\n ): Promise<TResult>;\n public static convertCallbackToPromise<TResult, TError, TArg1, TArg2, TArg3>(\n fn: (arg1: TArg1, arg2: TArg2, arg3: TArg3, cb: LegacyCallback<TResult, TError>) => void,\n arg1: TArg1,\n arg2: TArg2,\n arg3: TArg3\n ): Promise<TResult>;\n public static convertCallbackToPromise<TResult, TError, TArg1, TArg2, TArg3, TArg4>(\n fn: (arg1: TArg1, arg2: TArg2, arg3: TArg3, arg4: TArg4, cb: LegacyCallback<TResult, TError>) => void,\n arg1: TArg1,\n arg2: TArg2,\n arg3: TArg3,\n arg4: TArg4\n ): Promise<TResult>;\n public static convertCallbackToPromise<TResult, TError, TArg1, TArg2, TArg3, TArg4>(\n fn: (\n a: TArg1 | LegacyCallback<TResult, TError>,\n b?: TArg2 | LegacyCallback<TResult, TError>,\n c?: TArg3 | LegacyCallback<TResult, TError>,\n d?: TArg4 | LegacyCallback<TResult, TError>,\n e?: TArg4 | LegacyCallback<TResult, TError>\n ) => void,\n arg1?: TArg1,\n arg2?: TArg2,\n arg3?: TArg3,\n arg4?: TArg4\n ): Promise<TResult> {\n return new Promise((resolve: (result: TResult) => void, reject: (error: Error) => void) => {\n const cb: LegacyCallback<TResult, TError> = (error: TError | null | undefined, result: TResult) => {\n if (error) {\n reject(LegacyAdapters.scrubError(error));\n } else {\n resolve(result);\n }\n };\n\n try {\n if (arg1 !== undefined && arg2 !== undefined && arg3 !== undefined && arg4 !== undefined) {\n fn(arg1, arg2, arg3, arg4, cb);\n } else if (arg1 !== undefined && arg2 !== undefined && arg3 !== undefined) {\n fn(arg1, arg2, arg3, cb);\n } else if (arg1 !== undefined && arg2 !== undefined) {\n fn(arg1, arg2, cb);\n } else if (arg1 !== undefined) {\n fn(arg1, cb);\n } else {\n fn(cb);\n }\n } catch (e) {\n reject(e as Error);\n }\n });\n }\n\n /**\n * Normalizes an object into an `Error` object.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public static scrubError(error: Error | string | any): Error {\n if (error instanceof Error) {\n return error;\n } else if (typeof error === 'string') {\n return new Error(error);\n } else {\n const errorObject: Error = new Error('An error occurred.');\n (errorObject as any).errorData = error; // eslint-disable-line @typescript-eslint/no-explicit-any\n return errorObject;\n }\n }\n}\n"]}
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Parses the process start time from the contents of a linux /proc/[pid]/stat file.
3
+ * @param stat - The contents of a linux /proc/[pid]/stat file.
4
+ * @returns The process start time in jiffies, or undefined if stat has an unexpected format.
5
+ */
6
+ export declare function getProcessStartTimeFromProcStat(stat: string): string | undefined;
7
+ /**
8
+ * Helper function that is exported for unit tests only.
9
+ * Returns undefined if the process doesn't exist with that pid.
10
+ */
11
+ export declare function getProcessStartTime(pid: number): string | undefined;
12
+ /**
13
+ * The `LockFile` implements a file-based mutex for synchronizing access to a shared resource
14
+ * between multiple Node.js processes. It is not recommended for synchronization solely within
15
+ * a single Node.js process.
16
+ * @remarks
17
+ * The implementation works on Windows, Mac, and Linux without requiring any native helpers.
18
+ * On non-Windows systems, the algorithm requires access to the `ps` shell command. On Linux,
19
+ * it requires access the `/proc/${pidString}/stat` filesystem.
20
+ * @public
21
+ */
22
+ export declare class LockFile {
23
+ private static _getStartTime;
24
+ private _fileWriter;
25
+ private _filePath;
26
+ private _dirtyWhenAcquired;
27
+ private constructor();
28
+ /**
29
+ * Returns the path of the lockfile that will be created when a lock is successfully acquired.
30
+ * @param resourceFolder - The folder where the lock file will be created
31
+ * @param resourceName - An alphanumeric name that describes the resource being locked. This will become
32
+ * the filename of the temporary file created to manage the lock.
33
+ * @param pid - The PID for the current Node.js process (`process.pid`), which is used by the locking algorithm.
34
+ */
35
+ static getLockFilePath(resourceFolder: string, resourceName: string, pid?: number): string;
36
+ /**
37
+ * Attempts to create a lockfile with the given filePath.
38
+ * @param resourceFolder - The folder where the lock file will be created
39
+ * @param resourceName - An alphanumeric name that describes the resource being locked. This will become
40
+ * the filename of the temporary file created to manage the lock.
41
+ * @returns If successful, returns a `LockFile` instance. If unable to get a lock, returns `undefined`.
42
+ */
43
+ static tryAcquire(resourceFolder: string, resourceName: string): LockFile | undefined;
44
+ /**
45
+ * @deprecated Use {@link LockFile.acquireAsync} instead.
46
+ */
47
+ static acquire(resourceFolder: string, resourceName: string, maxWaitMs?: number): Promise<LockFile>;
48
+ /**
49
+ * Attempts to create the lockfile. Will continue to loop at every 100ms until the lock becomes available
50
+ * or the maxWaitMs is surpassed.
51
+ *
52
+ * @remarks
53
+ * This function is subject to starvation, whereby it does not ensure that the process that has been
54
+ * waiting the longest to acquire the lock will get it first. This means that a process could theoretically
55
+ * wait for the lock forever, while other processes skipped it in line and acquired the lock first.
56
+ *
57
+ * @param resourceFolder - The folder where the lock file will be created
58
+ * @param resourceName - An alphanumeric name that describes the resource being locked. This will become
59
+ * the filename of the temporary file created to manage the lock.
60
+ * @param maxWaitMs - The maximum number of milliseconds to wait for the lock before reporting an error
61
+ */
62
+ static acquireAsync(resourceFolder: string, resourceName: string, maxWaitMs?: number): Promise<LockFile>;
63
+ private static _tryAcquireInner;
64
+ /**
65
+ * Attempts to acquire the lock on a Linux or OSX machine
66
+ */
67
+ private static _tryAcquireMacOrLinux;
68
+ /**
69
+ * Attempts to acquire the lock using Windows
70
+ * This algorithm is much simpler since we can rely on the operating system
71
+ */
72
+ private static _tryAcquireWindows;
73
+ /**
74
+ * Unlocks a file and optionally removes it from disk.
75
+ * This can only be called once.
76
+ *
77
+ * @param deleteFile - Whether to delete the lockfile from disk. Defaults to true.
78
+ */
79
+ release(deleteFile?: boolean): void;
80
+ /**
81
+ * Returns the initial state of the lock.
82
+ * This can be used to detect if the previous process was terminated before releasing the resource.
83
+ */
84
+ get dirtyWhenAcquired(): boolean;
85
+ /**
86
+ * Returns the absolute path to the lockfile
87
+ */
88
+ get filePath(): string;
89
+ /**
90
+ * Returns true if this lock is currently being held.
91
+ */
92
+ get isReleased(): boolean;
93
+ }
94
+ //# sourceMappingURL=LockFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LockFile.d.ts","sourceRoot":"","sources":["../src/LockFile.ts"],"names":[],"mappings":"AAmBA;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAsChF;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAoEnE;AAMD;;;;;;;;;GASG;AACH,qBAAa,QAAQ;IACnB,OAAO,CAAC,MAAM,CAAC,aAAa,CAA4D;IAExF,OAAO,CAAC,WAAW,CAAyB;IAC5C,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,kBAAkB,CAAU;IAEpC,OAAO;IAQP;;;;;;OAMG;WACW,eAAe,CAC3B,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,GAAG,GAAE,MAAoB,GACxB,MAAM;IAwBT;;;;;;OAMG;WACW,UAAU,CAAC,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS;IAM5F;;OAEG;WACW,OAAO,CAAC,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;IAI1G;;;;;;;;;;;;;OAaG;WACiB,YAAY,CAC9B,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,MAAM,EACpB,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,QAAQ,CAAC;IA0BpB,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAuB/B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,qBAAqB;IA4IpC;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAuCjC;;;;;OAKG;IACI,OAAO,CAAC,UAAU,GAAE,OAAc,GAAG,IAAI;IAehD;;;OAGG;IACH,IAAW,iBAAiB,IAAI,OAAO,CAEtC;IAED;;OAEG;IACH,IAAW,QAAQ,IAAI,MAAM,CAE5B;IAED;;OAEG;IACH,IAAW,UAAU,IAAI,OAAO,CAE/B;CACF"}