@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.
- package/dist/adapters/changes/projects.js +9 -6
- package/dist/adapters/storage/files.js +7 -1
- package/dist/adapters/storage/migrations.js +108 -0
- package/dist/app.js +1 -0
- package/dist/core/runtime-migrations.js +60 -0
- package/dist/core/types/runtime-migrations.js +1 -0
- package/dist/interfaces/http/docs/schemas.js +1 -0
- package/dist/interfaces/http/worktrees.js +46 -4
- package/dist/main.js +34 -8
- package/dist/mcp/app.html +2 -2
- package/dist/runtime-lock.yaml +200 -3
- package/dist/ui/assets/{abnfDiagram-O67JEVCF-EXZIR7uE.js → abnfDiagram-O67JEVCF-BiCoaTQf.js} +1 -1
- package/dist/ui/assets/{arc-DZ7IkhQL.js → arc-CxrXKzN8.js} +1 -1
- package/dist/ui/assets/architecture-7GRP2DOG-DzS62Mws.js +1 -0
- package/dist/ui/assets/{architectureDiagram-NJMV4G6O-oFZ4jPG2.js → architectureDiagram-NJMV4G6O-Ds10Nax8.js} +1 -1
- package/dist/ui/assets/{blockDiagram-BEXU5L5S-BBUTa13d.js → blockDiagram-BEXU5L5S-Dcwb-Nc2.js} +1 -1
- package/dist/ui/assets/{c4Diagram-YGBWAQC7-CrOB8ApR.js → c4Diagram-YGBWAQC7-HJ2BM4QS.js} +1 -1
- package/dist/ui/assets/channel-B7JCQNOt.js +1 -0
- package/dist/ui/assets/{chunk-3FUC2YCW-W4k2bur_.js → chunk-3FUC2YCW-CuqADqJd.js} +1 -1
- package/dist/ui/assets/{chunk-5DYCD2WN-DsvkZxf0.js → chunk-5DYCD2WN-b1GJEpV0.js} +1 -1
- package/dist/ui/assets/{chunk-742MDFTN-Q9c012fL.js → chunk-742MDFTN-DwTTnubN.js} +1 -1
- package/dist/ui/assets/{chunk-7INBJB4K-D6-5S_eb.js → chunk-7INBJB4K-ByUayPM9.js} +1 -1
- package/dist/ui/assets/{chunk-7M6MHVWA-BX-zqrmJ.js → chunk-7M6MHVWA-BzJnRALV.js} +1 -1
- package/dist/ui/assets/{chunk-7PRAP22T-D5sSirGe.js → chunk-7PRAP22T-CvUIEla0.js} +1 -1
- package/dist/ui/assets/{chunk-GTNCS2PH-BrjKdoU7.js → chunk-GTNCS2PH-BczyBknu.js} +1 -1
- package/dist/ui/assets/{chunk-GWA4HPMP-BzyuOibA.js → chunk-GWA4HPMP-nIcuf26U.js} +1 -1
- package/dist/ui/assets/{chunk-MBY4JIJT-Jg4QirYy.js → chunk-MBY4JIJT-CPIDP_2H.js} +1 -1
- package/dist/ui/assets/{chunk-NETBCI7D-Bo5sr5ak.js → chunk-NETBCI7D-JpQfB3bx.js} +1 -1
- package/dist/ui/assets/{chunk-O7XYJQB3-ADuOEPCt.js → chunk-O7XYJQB3-CC25iKdK.js} +1 -1
- package/dist/ui/assets/{chunk-UA2S7LBM-BWLbUYDY.js → chunk-UA2S7LBM-nOnMeXlB.js} +1 -1
- package/dist/ui/assets/{chunk-WEXAMYUT-BfdLD4oE.js → chunk-WEXAMYUT-Cb5Q6TBg.js} +1 -1
- package/dist/ui/assets/{chunk-XXDRQBXY-CEdjCwp8.js → chunk-XXDRQBXY-BR_j9H82.js} +1 -1
- package/dist/ui/assets/{chunk-Z7XXMR3K-ooKdHdRU.js → chunk-Z7XXMR3K-Br0zWe3T.js} +1 -1
- package/dist/ui/assets/{chunk-ZIGJFQKS-u0lffPbH.js → chunk-ZIGJFQKS-CawGFIJO.js} +1 -1
- package/dist/ui/assets/{classDiagram-v2-NBCMYWYE-kQl6D-HR.js → classDiagram-v2-NBCMYWYE-NKNUahqj.js} +1 -1
- package/dist/ui/assets/{cose-bilkent-JH36ORCC-DFDknAe8.js → cose-bilkent-JH36ORCC-Y-4g3CTm.js} +1 -1
- package/dist/ui/assets/{cynefin-OW5HDTMX-D4vNepxD.js → cynefin-OW5HDTMX-Chevf1KQ.js} +1 -1
- package/dist/ui/assets/{cynefinDiagram-VND7K2PF-BFJ8dEz7.js → cynefinDiagram-VND7K2PF-CixOvfUu.js} +1 -1
- package/dist/ui/assets/{dagre-6A5THRUB-CedM101q.js → dagre-6A5THRUB-BIi9RwPd.js} +1 -1
- package/dist/ui/assets/{diagram-22UHCM2B-Drvoaqhq.js → diagram-22UHCM2B-7GYKgpWA.js} +1 -1
- package/dist/ui/assets/{diagram-3UASUU5V-BqSEx6TG.js → diagram-3UASUU5V-lDVeRm5S.js} +1 -1
- package/dist/ui/assets/{diagram-ATOU4E4O-SZKgc7Zh.js → diagram-ATOU4E4O-BbeHNWgT.js} +1 -1
- package/dist/ui/assets/{diagram-CDSNMT55-Dt8thVhY.js → diagram-CDSNMT55-DEPkOKCq.js} +1 -1
- package/dist/ui/assets/{diagram-MLGK6HIB-CWFs_OOW.js → diagram-MLGK6HIB-BOhVXMr1.js} +1 -1
- package/dist/ui/assets/{diagram-MPIPVDR6-Cwm3bA8U.js → diagram-MPIPVDR6-B1zhvHtS.js} +1 -1
- package/dist/ui/assets/{dist-B7TllD9l.js → dist-Y9mhSTs4.js} +1 -1
- package/dist/ui/assets/{ebnfDiagram-ZINNZB2B-D6kGEe9D.js → ebnfDiagram-ZINNZB2B-DkBkKcsD.js} +1 -1
- package/dist/ui/assets/{elk-276RUBZZ-wW1KTjEC.js → elk-276RUBZZ-D-FlTgY6.js} +1 -1
- package/dist/ui/assets/{erDiagram-OPXOYQCR-vfhl3sOr.js → erDiagram-OPXOYQCR--6wxlspu.js} +1 -1
- package/dist/ui/assets/eventmodeling-NTZA5JFV-Cyxnh7Fo.js +1 -0
- package/dist/ui/assets/flowDiagram-KWPJA3E3-DlO_dsqu.js +1 -0
- package/dist/ui/assets/{ganttDiagram-FUAMR5RP-BZbSmUfV.js → ganttDiagram-FUAMR5RP-D9hU2YEJ.js} +1 -1
- package/dist/ui/assets/{gitGraph-4MIJSDKK-D59WREq2.js → gitGraph-4MIJSDKK-DcM8C44E.js} +1 -1
- package/dist/ui/assets/{gitGraphDiagram-X574FWY7-CEWcL54p.js → gitGraphDiagram-X574FWY7-BpyLWtlE.js} +1 -1
- package/dist/ui/assets/{index-Bv8TXM17.js → index-C6BQea5D.js} +39 -39
- package/dist/ui/assets/index-wV1j-lxy.css +2 -0
- package/dist/ui/assets/{info-A6RAGUB7-CCjOD-hV.js → info-A6RAGUB7-kmvTF9rq.js} +1 -1
- package/dist/ui/assets/{infoDiagram-VRGFBTTK-LS-F_-al.js → infoDiagram-VRGFBTTK-C4j1703E.js} +1 -1
- package/dist/ui/assets/{ishikawaDiagram-OU5B5YK6-D0NTg-LK.js → ishikawaDiagram-OU5B5YK6-CKT-7Yqr.js} +1 -1
- package/dist/ui/assets/{journeyDiagram-ZHPQQLJL-Dw4e6Wl7.js → journeyDiagram-ZHPQQLJL--1ABIaof.js} +1 -1
- package/dist/ui/assets/{kanban-definition-PNTS6WVX-k5spTfT7.js → kanban-definition-PNTS6WVX-HRsNQdJi.js} +1 -1
- package/dist/ui/assets/{line-BFO0LY2j.js → line-BNnBYEq7.js} +1 -1
- package/dist/ui/assets/{linear-Cs_Nmu23.js → linear-Dg21fXMn.js} +1 -1
- package/dist/ui/assets/{mermaid-parser.core-CMSpXjeX.js → mermaid-parser.core-51-5cp-f.js} +3 -3
- package/dist/ui/assets/{mermaid.core-BBeLf7h3.js → mermaid.core-Bh6yYw1O.js} +4 -4
- package/dist/ui/assets/{mindmap-definition-NLK3R4M7-BmsEfsvR.js → mindmap-definition-NLK3R4M7-KvbA5EXr.js} +1 -1
- package/dist/ui/assets/{packet-AYTQ26CC-Cv3YK0Ee.js → packet-AYTQ26CC-DjdXSHI4.js} +1 -1
- package/dist/ui/assets/{pegDiagram-GJSIUBJH-31oI4OLR.js → pegDiagram-GJSIUBJH-C8FSYsRP.js} +1 -1
- package/dist/ui/assets/{pie-WAS4IAKB-bdwe8hf8.js → pie-WAS4IAKB-C46SWflT.js} +1 -1
- package/dist/ui/assets/{pieDiagram-5QR66LMP-TTKdYDzT.js → pieDiagram-5QR66LMP-DcpJ7J7i.js} +1 -1
- package/dist/ui/assets/{quadrantDiagram-O4NWA36T-DxVQLgKu.js → quadrantDiagram-O4NWA36T-CI7l8g1A.js} +1 -1
- package/dist/ui/assets/{radar-RG4KPBEZ-giEqBoGT.js → radar-RG4KPBEZ-PjPzXWz1.js} +1 -1
- package/dist/ui/assets/{railroad-74A4TZTK-D-K0dGi8.js → railroad-74A4TZTK-5pPV-Bvc.js} +1 -1
- package/dist/ui/assets/railroad-abnf-HS5TGJTU-CDH0BmAo.js +1 -0
- package/dist/ui/assets/railroad-ebnf-LZEXJU2U-DK1lYHjb.js +1 -0
- package/dist/ui/assets/railroad-peg-WCYAUIDC-K3xlbKcQ.js +1 -0
- package/dist/ui/assets/{railroadDiagram-XR7U4H2S-DrB5UCmO.js → railroadDiagram-XR7U4H2S-CIexvrBP.js} +1 -1
- package/dist/ui/assets/{requirementDiagram-PLB6GJNP-BQyLWXsL.js → requirementDiagram-PLB6GJNP-Bv8jD81I.js} +1 -1
- package/dist/ui/assets/{sankeyDiagram-IPEJSGJF-De5TIeaU.js → sankeyDiagram-IPEJSGJF-CQ9lxjuX.js} +1 -1
- package/dist/ui/assets/{sequenceDiagram-PO4LG4MO-DUtE2LLg.js → sequenceDiagram-PO4LG4MO-yp4qzDdM.js} +1 -1
- package/dist/ui/assets/{src-DwTKHdVd.js → src-DF6fzdKB.js} +1 -1
- package/dist/ui/assets/{stateDiagram-v2-GCMORJYK-CVT5Ge16.js → stateDiagram-v2-GCMORJYK-DHWaTU4b.js} +1 -1
- package/dist/ui/assets/{swimlanes-2SLR337P-Cu-5s066.js → swimlanes-2SLR337P-BfUiEMri.js} +1 -1
- package/dist/ui/assets/swimlanesDiagram-TC7HE7FX-BVGQ6M2p.js +8 -0
- package/dist/ui/assets/{timeline-definition-EJHVYXUP-CJ8w-7KC.js → timeline-definition-EJHVYXUP-Cj3SdHoX.js} +1 -1
- package/dist/ui/assets/{treeView-Q6P3EWNA-D1S3DvGP.js → treeView-Q6P3EWNA-DmyaZDs_.js} +1 -1
- package/dist/ui/assets/{treemap-WGGIJYW6-DblW82Ly.js → treemap-WGGIJYW6-Cy3z00JO.js} +1 -1
- package/dist/ui/assets/{usecaseDiagram-POWQR4AR-D8BYMSlq.js → usecaseDiagram-POWQR4AR-BHAy9inW.js} +1 -1
- package/dist/ui/assets/{vennDiagram-UO4OBE2U-CosmdYh9.js → vennDiagram-UO4OBE2U-GHEFwE_2.js} +1 -1
- package/dist/ui/assets/{wardley-WFR3VGLG-D9U9ulTn.js → wardley-WFR3VGLG-CjNcKpKj.js} +1 -1
- package/dist/ui/assets/{wardleyDiagram-VNRHLVJA-CgtqeFIO.js → wardleyDiagram-VNRHLVJA-shbe21uu.js} +1 -1
- package/dist/ui/assets/{xychartDiagram-PMCCYNJV-DR25rR7D.js → xychartDiagram-PMCCYNJV-CHbAVh2z.js} +1 -1
- package/dist/ui/index.html +2 -2
- package/dist/workflows/merge.js +17 -1
- package/dist/workflows/observe-projects.js +3 -0
- package/dist/workflows/project-graph.js +7 -0
- package/dist/workflows/pull-requests.js +30 -17
- package/dist/workflows/runtime-migrations.js +72 -0
- package/dist/workflows/start-work.js +3 -0
- package/dist/workflows/test-container.js +1 -0
- package/dist/workflows/unit-tests.js +5 -0
- package/dist/workflows/worktrees.js +91 -8
- package/node_modules/@nodelib/fs.scandir/LICENSE +21 -0
- package/node_modules/@nodelib/fs.scandir/README.md +171 -0
- package/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
- package/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +19 -0
- package/node_modules/@nodelib/fs.scandir/out/constants.d.ts +4 -0
- package/node_modules/@nodelib/fs.scandir/out/constants.js +17 -0
- package/node_modules/@nodelib/fs.scandir/out/index.d.ts +12 -0
- package/node_modules/@nodelib/fs.scandir/out/index.js +26 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/async.js +104 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +1 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/common.js +13 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +5 -0
- package/node_modules/@nodelib/fs.scandir/out/providers/sync.js +54 -0
- package/node_modules/@nodelib/fs.scandir/out/settings.d.ts +20 -0
- package/node_modules/@nodelib/fs.scandir/out/settings.js +24 -0
- package/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
- package/node_modules/@nodelib/fs.scandir/out/types/index.js +2 -0
- package/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +2 -0
- package/node_modules/@nodelib/fs.scandir/out/utils/fs.js +19 -0
- package/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +2 -0
- package/node_modules/@nodelib/fs.scandir/out/utils/index.js +5 -0
- package/node_modules/@nodelib/fs.scandir/package.json +44 -0
- package/node_modules/@nodelib/fs.stat/LICENSE +21 -0
- package/node_modules/@nodelib/fs.stat/README.md +126 -0
- package/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
- package/node_modules/@nodelib/fs.stat/out/adapters/fs.js +17 -0
- package/node_modules/@nodelib/fs.stat/out/index.d.ts +12 -0
- package/node_modules/@nodelib/fs.stat/out/index.js +26 -0
- package/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
- package/node_modules/@nodelib/fs.stat/out/providers/async.js +36 -0
- package/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +3 -0
- package/node_modules/@nodelib/fs.stat/out/providers/sync.js +23 -0
- package/node_modules/@nodelib/fs.stat/out/settings.d.ts +16 -0
- package/node_modules/@nodelib/fs.stat/out/settings.js +16 -0
- package/node_modules/@nodelib/fs.stat/out/types/index.d.ts +4 -0
- package/node_modules/@nodelib/fs.stat/out/types/index.js +2 -0
- package/node_modules/@nodelib/fs.stat/package.json +37 -0
- package/node_modules/@nodelib/fs.walk/LICENSE +21 -0
- package/node_modules/@nodelib/fs.walk/README.md +215 -0
- package/node_modules/@nodelib/fs.walk/out/index.d.ts +14 -0
- package/node_modules/@nodelib/fs.walk/out/index.js +34 -0
- package/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
- package/node_modules/@nodelib/fs.walk/out/providers/async.js +30 -0
- package/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +4 -0
- package/node_modules/@nodelib/fs.walk/out/providers/index.js +9 -0
- package/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +12 -0
- package/node_modules/@nodelib/fs.walk/out/providers/stream.js +34 -0
- package/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +10 -0
- package/node_modules/@nodelib/fs.walk/out/providers/sync.js +14 -0
- package/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
- package/node_modules/@nodelib/fs.walk/out/readers/async.js +97 -0
- package/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +7 -0
- package/node_modules/@nodelib/fs.walk/out/readers/common.js +31 -0
- package/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
- package/node_modules/@nodelib/fs.walk/out/readers/reader.js +11 -0
- package/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +15 -0
- package/node_modules/@nodelib/fs.walk/out/readers/sync.js +59 -0
- package/node_modules/@nodelib/fs.walk/out/settings.d.ts +30 -0
- package/node_modules/@nodelib/fs.walk/out/settings.js +26 -0
- package/node_modules/@nodelib/fs.walk/out/types/index.d.ts +8 -0
- package/node_modules/@nodelib/fs.walk/out/types/index.js +2 -0
- package/node_modules/@nodelib/fs.walk/package.json +44 -0
- package/node_modules/@rushstack/node-core-library/CHANGELOG.json +3087 -0
- package/node_modules/@rushstack/node-core-library/CHANGELOG.md +1710 -0
- package/node_modules/@rushstack/node-core-library/LICENSE +24 -0
- package/node_modules/@rushstack/node-core-library/README.md +38 -0
- package/node_modules/@rushstack/node-core-library/dist/node-core-library.d.ts +4005 -0
- package/node_modules/@rushstack/node-core-library/dist/tsdoc-metadata.json +11 -0
- package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.d.ts +36 -0
- package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.js +54 -0
- package/node_modules/@rushstack/node-core-library/lib/AlreadyReportedError.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Async.d.ts +200 -0
- package/node_modules/@rushstack/node-core-library/lib/Async.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Async.js +236 -0
- package/node_modules/@rushstack/node-core-library/lib/Async.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Constants.d.ts +27 -0
- package/node_modules/@rushstack/node-core-library/lib/Constants.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Constants.js +34 -0
- package/node_modules/@rushstack/node-core-library/lib/Constants.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Enum.d.ts +120 -0
- package/node_modules/@rushstack/node-core-library/lib/Enum.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Enum.js +136 -0
- package/node_modules/@rushstack/node-core-library/lib/Enum.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.d.ts +72 -0
- package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.js +108 -0
- package/node_modules/@rushstack/node-core-library/lib/EnvironmentMap.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Executable.d.ts +349 -0
- package/node_modules/@rushstack/node-core-library/lib/Executable.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Executable.js +698 -0
- package/node_modules/@rushstack/node-core-library/lib/Executable.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileError.d.ts +81 -0
- package/node_modules/@rushstack/node-core-library/lib/FileError.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileError.js +113 -0
- package/node_modules/@rushstack/node-core-library/lib/FileError.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileSystem.d.ts +687 -0
- package/node_modules/@rushstack/node-core-library/lib/FileSystem.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileSystem.js +1201 -0
- package/node_modules/@rushstack/node-core-library/lib/FileSystem.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileWriter.d.ts +67 -0
- package/node_modules/@rushstack/node-core-library/lib/FileWriter.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/FileWriter.js +73 -0
- package/node_modules/@rushstack/node-core-library/lib/FileWriter.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/IPackageJson.d.ts +295 -0
- package/node_modules/@rushstack/node-core-library/lib/IPackageJson.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/IPackageJson.js +5 -0
- package/node_modules/@rushstack/node-core-library/lib/IPackageJson.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Import.d.ts +255 -0
- package/node_modules/@rushstack/node-core-library/lib/Import.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Import.js +390 -0
- package/node_modules/@rushstack/node-core-library/lib/Import.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/InternalError.d.ts +36 -0
- package/node_modules/@rushstack/node-core-library/lib/InternalError.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/InternalError.js +55 -0
- package/node_modules/@rushstack/node-core-library/lib/InternalError.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonFile.d.ts +252 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonFile.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonFile.js +438 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonFile.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonSchema.d.ts +172 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonSchema.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonSchema.js +287 -0
- package/node_modules/@rushstack/node-core-library/lib/JsonSchema.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.d.ts +24 -0
- package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.js +62 -0
- package/node_modules/@rushstack/node-core-library/lib/LegacyAdapters.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/LockFile.d.ts +94 -0
- package/node_modules/@rushstack/node-core-library/lib/LockFile.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/LockFile.js +462 -0
- package/node_modules/@rushstack/node-core-library/lib/LockFile.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/MapExtensions.d.ts +26 -0
- package/node_modules/@rushstack/node-core-library/lib/MapExtensions.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/MapExtensions.js +40 -0
- package/node_modules/@rushstack/node-core-library/lib/MapExtensions.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.d.ts +39 -0
- package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.js +99 -0
- package/node_modules/@rushstack/node-core-library/lib/MinimumHeap.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.d.ts +142 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.js +338 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageJsonLookup.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageName.d.ts +142 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageName.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageName.js +213 -0
- package/node_modules/@rushstack/node-core-library/lib/PackageName.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Path.d.ts +155 -0
- package/node_modules/@rushstack/node-core-library/lib/Path.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Path.js +224 -0
- package/node_modules/@rushstack/node-core-library/lib/Path.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.d.ts +73 -0
- package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.js +83 -0
- package/node_modules/@rushstack/node-core-library/lib/PosixModeBits.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.d.ts +41 -0
- package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.js +5 -0
- package/node_modules/@rushstack/node-core-library/lib/PrimitiveTypes.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.d.ts +83 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.js +90 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMap.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.d.ts +20 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.js +56 -0
- package/node_modules/@rushstack/node-core-library/lib/ProtectableMapView.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.d.ts +58 -0
- package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.js +177 -0
- package/node_modules/@rushstack/node-core-library/lib/RealNodeModulePath.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Sort.d.ts +114 -0
- package/node_modules/@rushstack/node-core-library/lib/Sort.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Sort.js +266 -0
- package/node_modules/@rushstack/node-core-library/lib/Sort.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/StringBuilder.d.ts +46 -0
- package/node_modules/@rushstack/node-core-library/lib/StringBuilder.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/StringBuilder.js +41 -0
- package/node_modules/@rushstack/node-core-library/lib/StringBuilder.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.d.ts +64 -0
- package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.js +190 -0
- package/node_modules/@rushstack/node-core-library/lib/SubprocessTerminator.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Text.d.ts +141 -0
- package/node_modules/@rushstack/node-core-library/lib/Text.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/Text.js +310 -0
- package/node_modules/@rushstack/node-core-library/lib/Text.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/TypeUuid.d.ts +48 -0
- package/node_modules/@rushstack/node-core-library/lib/TypeUuid.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/TypeUuid.js +87 -0
- package/node_modules/@rushstack/node-core-library/lib/TypeUuid.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/index.d.ts +37 -0
- package/node_modules/@rushstack/node-core-library/lib/index.d.ts.map +1 -0
- package/node_modules/@rushstack/node-core-library/lib/index.js +75 -0
- package/node_modules/@rushstack/node-core-library/lib/index.js.map +1 -0
- package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/LICENSE +15 -0
- package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/README.md +166 -0
- package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/index.js +334 -0
- package/node_modules/@rushstack/node-core-library/node_modules/lru-cache/package.json +34 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/LICENSE +15 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/README.md +637 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/bin/semver.js +197 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/comparator.js +141 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/index.js +5 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/range.js +539 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/classes/semver.js +302 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/clean.js +6 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/cmp.js +52 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/coerce.js +52 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/compare-build.js +7 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/compare-loose.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/compare.js +5 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/diff.js +65 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/eq.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/gt.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/gte.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/inc.js +19 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/lt.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/lte.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/major.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/minor.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/neq.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/parse.js +16 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/patch.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/prerelease.js +6 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/rcompare.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/rsort.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/satisfies.js +10 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/sort.js +3 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/functions/valid.js +6 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/index.js +89 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/constants.js +35 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/debug.js +9 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/identifiers.js +23 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/parse-options.js +15 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/internal/re.js +212 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/package.json +87 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/preload.js +2 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/range.bnf +16 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/gtr.js +4 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/intersects.js +7 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/ltr.js +4 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/max-satisfying.js +25 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/min-satisfying.js +24 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/min-version.js +61 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/outside.js +80 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/simplify.js +47 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/subset.js +247 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/to-comparators.js +8 -0
- package/node_modules/@rushstack/node-core-library/node_modules/semver/ranges/valid.js +11 -0
- package/node_modules/@rushstack/node-core-library/package.json +47 -0
- package/node_modules/@rushstack/terminal/CHANGELOG.json +5021 -0
- package/node_modules/@rushstack/terminal/CHANGELOG.md +1661 -0
- package/node_modules/@rushstack/terminal/LICENSE +24 -0
- package/node_modules/@rushstack/terminal/README.md +53 -0
- package/node_modules/@rushstack/terminal/dist/terminal.d.ts +1304 -0
- package/node_modules/@rushstack/terminal/dist/tsdoc-metadata.json +11 -0
- package/node_modules/@rushstack/terminal/lib/AnsiEscape.d.ts +35 -0
- package/node_modules/@rushstack/terminal/lib/AnsiEscape.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/AnsiEscape.js +136 -0
- package/node_modules/@rushstack/terminal/lib/AnsiEscape.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/CallbackWritable.d.ts +29 -0
- package/node_modules/@rushstack/terminal/lib/CallbackWritable.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/CallbackWritable.js +31 -0
- package/node_modules/@rushstack/terminal/lib/CallbackWritable.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/Colorize.d.ts +81 -0
- package/node_modules/@rushstack/terminal/lib/Colorize.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/Colorize.js +162 -0
- package/node_modules/@rushstack/terminal/lib/Colorize.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.d.ts +49 -0
- package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.js +65 -0
- package/node_modules/@rushstack/terminal/lib/ConsoleTerminalProvider.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.d.ts +55 -0
- package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.js +94 -0
- package/node_modules/@rushstack/terminal/lib/DiscardStdoutTransform.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminal.d.ts +81 -0
- package/node_modules/@rushstack/terminal/lib/ITerminal.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminal.js +5 -0
- package/node_modules/@rushstack/terminal/lib/ITerminal.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalChunk.d.ts +45 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalChunk.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalChunk.js +21 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalChunk.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalProvider.d.ts +54 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalProvider.js +32 -0
- package/node_modules/@rushstack/terminal/lib/ITerminalProvider.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/MockWritable.d.ts +15 -0
- package/node_modules/@rushstack/terminal/lib/MockWritable.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/MockWritable.js +32 -0
- package/node_modules/@rushstack/terminal/lib/MockWritable.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.d.ts +23 -0
- package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.js +34 -0
- package/node_modules/@rushstack/terminal/lib/NoOpTerminalProvider.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.d.ts +43 -0
- package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.js +70 -0
- package/node_modules/@rushstack/terminal/lib/NormalizeNewlinesTextRewriter.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.d.ts +57 -0
- package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.js +64 -0
- package/node_modules/@rushstack/terminal/lib/PrefixProxyTerminalProvider.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/PrintUtilities.d.ts +77 -0
- package/node_modules/@rushstack/terminal/lib/PrintUtilities.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/PrintUtilities.js +150 -0
- package/node_modules/@rushstack/terminal/lib/PrintUtilities.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.d.ts +17 -0
- package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.js +95 -0
- package/node_modules/@rushstack/terminal/lib/RemoveColorsTextRewriter.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/SplitterTransform.d.ts +32 -0
- package/node_modules/@rushstack/terminal/lib/SplitterTransform.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/SplitterTransform.js +48 -0
- package/node_modules/@rushstack/terminal/lib/SplitterTransform.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioLineTransform.d.ts +72 -0
- package/node_modules/@rushstack/terminal/lib/StdioLineTransform.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioLineTransform.js +115 -0
- package/node_modules/@rushstack/terminal/lib/StdioLineTransform.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioSummarizer.d.ts +63 -0
- package/node_modules/@rushstack/terminal/lib/StdioSummarizer.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioSummarizer.js +99 -0
- package/node_modules/@rushstack/terminal/lib/StdioSummarizer.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioWritable.d.ts +17 -0
- package/node_modules/@rushstack/terminal/lib/StdioWritable.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StdioWritable.js +34 -0
- package/node_modules/@rushstack/terminal/lib/StdioWritable.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.d.ts +67 -0
- package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.js +113 -0
- package/node_modules/@rushstack/terminal/lib/StringBufferTerminalProvider.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/Terminal.d.ts +63 -0
- package/node_modules/@rushstack/terminal/lib/Terminal.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/Terminal.js +348 -0
- package/node_modules/@rushstack/terminal/lib/Terminal.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.d.ts +33 -0
- package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.js +53 -0
- package/node_modules/@rushstack/terminal/lib/TerminalStreamWritable.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalTransform.d.ts +68 -0
- package/node_modules/@rushstack/terminal/lib/TerminalTransform.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalTransform.js +57 -0
- package/node_modules/@rushstack/terminal/lib/TerminalTransform.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalWritable.d.ts +125 -0
- package/node_modules/@rushstack/terminal/lib/TerminalWritable.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TerminalWritable.js +123 -0
- package/node_modules/@rushstack/terminal/lib/TerminalWritable.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriter.d.ts +70 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriter.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriter.js +39 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriter.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.d.ts +61 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.js +94 -0
- package/node_modules/@rushstack/terminal/lib/TextRewriterTransform.js.map +1 -0
- package/node_modules/@rushstack/terminal/lib/index.d.ts +36 -0
- package/node_modules/@rushstack/terminal/lib/index.d.ts.map +1 -0
- package/node_modules/@rushstack/terminal/lib/index.js +65 -0
- package/node_modules/@rushstack/terminal/lib/index.js.map +1 -0
- package/node_modules/@rushstack/terminal/package.json +38 -0
- package/node_modules/@rushstack/ts-command-line/CHANGELOG.json +2206 -0
- package/node_modules/@rushstack/ts-command-line/CHANGELOG.md +1099 -0
- package/node_modules/@rushstack/ts-command-line/LICENSE +24 -0
- package/node_modules/@rushstack/ts-command-line/README.md +247 -0
- package/node_modules/@rushstack/ts-command-line/dist/ts-command-line.d.ts +1174 -0
- package/node_modules/@rushstack/ts-command-line/dist/tsdoc-metadata.json +11 -0
- package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.d.ts +14 -0
- package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.js +23 -0
- package/node_modules/@rushstack/ts-command-line/lib/CommandLineHelper.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/Constants.d.ts +13 -0
- package/node_modules/@rushstack/ts-command-line/lib/Constants.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/Constants.js +19 -0
- package/node_modules/@rushstack/ts-command-line/lib/Constants.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.d.ts +9 -0
- package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.js +32 -0
- package/node_modules/@rushstack/ts-command-line/lib/TypeUuidLite.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/index.d.ts +25 -0
- package/node_modules/@rushstack/ts-command-line/lib/index.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/index.js +50 -0
- package/node_modules/@rushstack/ts-command-line/lib/index.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.d.ts +130 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.js +168 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/BaseClasses.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.d.ts +33 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.js +83 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceListParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.d.ts +47 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.js +94 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineChoiceParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.d.ts +236 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.js +5 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineDefinition.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.d.ts +29 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.js +69 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineFlagParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.d.ts +29 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.js +79 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerListParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.d.ts +43 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.js +83 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineIntegerParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.d.ts +28 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.js +47 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineRemainder.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.d.ts +29 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.js +70 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringListParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.d.ts +43 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.js +82 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/CommandLineStringParameter.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.d.ts +10 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.js +51 -0
- package/node_modules/@rushstack/ts-command-line/lib/parameters/EnvironmentVariableParser.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.d.ts +60 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.js +168 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/AliasCommandLineAction.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.d.ts +69 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.js +82 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineAction.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.d.ts +332 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.js +707 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParameterProvider.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.d.ts +115 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.js +283 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParser.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.d.ts +10 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.js +67 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/CommandLineParserExitError.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.d.ts +8 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.js +17 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineAction.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.d.ts +7 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.js +13 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/DynamicCommandLineParser.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.d.ts +84 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.js +209 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/ScopedCommandLineAction.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.d.ts +17 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.d.ts.map +1 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.js +173 -0
- package/node_modules/@rushstack/ts-command-line/lib/providers/TabCompletionAction.js.map +1 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/LICENSE +21 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/README.md +257 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/index.js +3 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/append/constant.js +47 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/append.js +53 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/count.js +40 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/help.js +47 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store/constant.js +43 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store/false.js +27 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store/true.js +26 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/store.js +50 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/subparsers.js +149 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action/version.js +47 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action.js +146 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/action_container.js +482 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argparse.js +14 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument/error.js +50 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument/exclusive.js +54 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument/group.js +75 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/argument_parser.js +1161 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/const.js +21 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/help/added_formatters.js +87 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/help/formatter.js +795 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/namespace.js +76 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/lib/utils.js +57 -0
- package/node_modules/@rushstack/ts-command-line/node_modules/argparse/package.json +34 -0
- package/node_modules/@rushstack/ts-command-line/package.json +32 -0
- package/node_modules/@types/argparse/LICENSE +21 -0
- package/node_modules/@types/argparse/README.md +16 -0
- package/node_modules/@types/argparse/index.d.ts +121 -0
- package/node_modules/@types/argparse/package.json +44 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +126 -0
- package/node_modules/ajv-draft-04/LICENSE +21 -0
- package/node_modules/ajv-draft-04/README.md +40 -0
- package/node_modules/ajv-draft-04/dist/index.d.ts +17 -0
- package/node_modules/ajv-draft-04/dist/index.js +50 -0
- package/node_modules/ajv-draft-04/dist/index.js.map +1 -0
- package/node_modules/ajv-draft-04/dist/refs/json-schema-draft-04.json +138 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/core.d.ts +3 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/core.js +13 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/core.js.map +1 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/draft4.d.ts +3 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/draft4.js +16 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/draft4.js.map +1 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/index.d.ts +16 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js +35 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js.map +1 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.d.ts +12 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js +44 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.d.ts +3 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js +19 -0
- package/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js.map +1 -0
- package/node_modules/ajv-draft-04/package.json +74 -0
- package/node_modules/ajv-draft-04/src/index.ts +81 -0
- package/node_modules/ajv-draft-04/src/refs/json-schema-draft-04.json +138 -0
- package/node_modules/ajv-draft-04/src/vocabulary/core.ts +13 -0
- package/node_modules/ajv-draft-04/src/vocabulary/draft4.ts +17 -0
- package/node_modules/ajv-draft-04/src/vocabulary/validation/index.ts +51 -0
- package/node_modules/ajv-draft-04/src/vocabulary/validation/limitNumber.ts +76 -0
- package/node_modules/ajv-draft-04/src/vocabulary/validation/limitNumberExclusive.ts +26 -0
- package/node_modules/ajv-formats/LICENSE +21 -0
- package/node_modules/ajv-formats/README.md +125 -0
- package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/node_modules/ajv-formats/dist/formats.js +208 -0
- package/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/node_modules/ajv-formats/dist/index.js +37 -0
- package/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/node_modules/ajv-formats/dist/limit.js +69 -0
- package/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/node_modules/ajv-formats/package.json +74 -0
- package/node_modules/ajv-formats/src/formats.ts +269 -0
- package/node_modules/ajv-formats/src/index.ts +62 -0
- package/node_modules/ajv-formats/src/limit.ts +99 -0
- package/node_modules/braces/LICENSE +21 -0
- package/node_modules/braces/README.md +586 -0
- package/node_modules/braces/index.js +170 -0
- package/node_modules/braces/lib/compile.js +60 -0
- package/node_modules/braces/lib/constants.js +57 -0
- package/node_modules/braces/lib/expand.js +113 -0
- package/node_modules/braces/lib/parse.js +331 -0
- package/node_modules/braces/lib/stringify.js +32 -0
- package/node_modules/braces/lib/utils.js +122 -0
- package/node_modules/braces/package.json +77 -0
- package/node_modules/emittery/index.d.ts +606 -0
- package/node_modules/emittery/index.js +531 -0
- package/node_modules/emittery/license +9 -0
- package/node_modules/emittery/maps.js +9 -0
- package/node_modules/emittery/package.json +67 -0
- package/node_modules/emittery/readme.md +569 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-glob/LICENSE +21 -0
- package/node_modules/fast-glob/README.md +830 -0
- package/node_modules/fast-glob/out/index.d.ts +40 -0
- package/node_modules/fast-glob/out/index.js +102 -0
- package/node_modules/fast-glob/out/managers/tasks.d.ts +22 -0
- package/node_modules/fast-glob/out/managers/tasks.js +110 -0
- package/node_modules/fast-glob/out/providers/async.d.ts +9 -0
- package/node_modules/fast-glob/out/providers/async.js +23 -0
- package/node_modules/fast-glob/out/providers/filters/deep.d.ts +16 -0
- package/node_modules/fast-glob/out/providers/filters/deep.js +62 -0
- package/node_modules/fast-glob/out/providers/filters/entry.d.ts +17 -0
- package/node_modules/fast-glob/out/providers/filters/entry.js +85 -0
- package/node_modules/fast-glob/out/providers/filters/error.d.ts +8 -0
- package/node_modules/fast-glob/out/providers/filters/error.js +15 -0
- package/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +33 -0
- package/node_modules/fast-glob/out/providers/matchers/matcher.js +45 -0
- package/node_modules/fast-glob/out/providers/matchers/partial.d.ts +4 -0
- package/node_modules/fast-glob/out/providers/matchers/partial.js +38 -0
- package/node_modules/fast-glob/out/providers/provider.d.ts +19 -0
- package/node_modules/fast-glob/out/providers/provider.js +48 -0
- package/node_modules/fast-glob/out/providers/stream.d.ts +11 -0
- package/node_modules/fast-glob/out/providers/stream.js +31 -0
- package/node_modules/fast-glob/out/providers/sync.d.ts +9 -0
- package/node_modules/fast-glob/out/providers/sync.js +23 -0
- package/node_modules/fast-glob/out/providers/transformers/entry.d.ts +8 -0
- package/node_modules/fast-glob/out/providers/transformers/entry.js +26 -0
- package/node_modules/fast-glob/out/readers/async.d.ts +10 -0
- package/node_modules/fast-glob/out/readers/async.js +35 -0
- package/node_modules/fast-glob/out/readers/reader.d.ts +15 -0
- package/node_modules/fast-glob/out/readers/reader.js +33 -0
- package/node_modules/fast-glob/out/readers/stream.d.ts +14 -0
- package/node_modules/fast-glob/out/readers/stream.js +55 -0
- package/node_modules/fast-glob/out/readers/sync.d.ts +12 -0
- package/node_modules/fast-glob/out/readers/sync.js +43 -0
- package/node_modules/fast-glob/out/settings.d.ts +164 -0
- package/node_modules/fast-glob/out/settings.js +59 -0
- package/node_modules/fast-glob/out/types/index.d.ts +31 -0
- package/node_modules/fast-glob/out/types/index.js +2 -0
- package/node_modules/fast-glob/out/utils/array.d.ts +2 -0
- package/node_modules/fast-glob/out/utils/array.js +22 -0
- package/node_modules/fast-glob/out/utils/errno.d.ts +2 -0
- package/node_modules/fast-glob/out/utils/errno.js +7 -0
- package/node_modules/fast-glob/out/utils/fs.d.ts +4 -0
- package/node_modules/fast-glob/out/utils/fs.js +19 -0
- package/node_modules/fast-glob/out/utils/index.d.ts +8 -0
- package/node_modules/fast-glob/out/utils/index.js +17 -0
- package/node_modules/fast-glob/out/utils/path.d.ts +13 -0
- package/node_modules/fast-glob/out/utils/path.js +68 -0
- package/node_modules/fast-glob/out/utils/pattern.d.ts +49 -0
- package/node_modules/fast-glob/out/utils/pattern.js +206 -0
- package/node_modules/fast-glob/out/utils/stream.d.ts +4 -0
- package/node_modules/fast-glob/out/utils/stream.js +17 -0
- package/node_modules/fast-glob/out/utils/string.d.ts +2 -0
- package/node_modules/fast-glob/out/utils/string.js +11 -0
- package/node_modules/fast-glob/package.json +81 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +612 -0
- package/node_modules/fast-uri/lib/schemes.js +272 -0
- package/node_modules/fast-uri/lib/utils.js +740 -0
- package/node_modules/fast-uri/package.json +68 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +105 -0
- package/node_modules/fast-uri/test/equal.test.js +145 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
- package/node_modules/fast-uri/test/ipv6-validation.test.js +90 -0
- package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
- package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
- package/node_modules/fast-uri/test/parse.test.js +327 -0
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +140 -0
- package/node_modules/fast-uri/test/security.test.js +431 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.d.ts +60 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/fastq/LICENSE +13 -0
- package/node_modules/fastq/README.md +310 -0
- package/node_modules/fastq/SECURITY.md +15 -0
- package/node_modules/fastq/bench.js +66 -0
- package/node_modules/fastq/eslint.config.js +11 -0
- package/node_modules/fastq/example.js +14 -0
- package/node_modules/fastq/example.mjs +9 -0
- package/node_modules/fastq/index.d.ts +59 -0
- package/node_modules/fastq/package.json +49 -0
- package/node_modules/fastq/queue.js +348 -0
- package/node_modules/fastq/test/example.ts +83 -0
- package/node_modules/fastq/test/promise.js +356 -0
- package/node_modules/fastq/test/test.js +808 -0
- package/node_modules/fastq/test/tsconfig.json +11 -0
- package/node_modules/fill-range/LICENSE +21 -0
- package/node_modules/fill-range/README.md +237 -0
- package/node_modules/fill-range/index.js +248 -0
- package/node_modules/fill-range/package.json +74 -0
- package/node_modules/fs-extra/LICENSE +15 -0
- package/node_modules/fs-extra/README.md +294 -0
- package/node_modules/fs-extra/lib/copy/copy-sync.js +176 -0
- package/node_modules/fs-extra/lib/copy/copy.js +180 -0
- package/node_modules/fs-extra/lib/copy/index.js +7 -0
- package/node_modules/fs-extra/lib/empty/index.js +39 -0
- package/node_modules/fs-extra/lib/ensure/file.js +66 -0
- package/node_modules/fs-extra/lib/ensure/index.js +23 -0
- package/node_modules/fs-extra/lib/ensure/link.js +64 -0
- package/node_modules/fs-extra/lib/ensure/symlink-paths.js +101 -0
- package/node_modules/fs-extra/lib/ensure/symlink-type.js +34 -0
- package/node_modules/fs-extra/lib/ensure/symlink.js +92 -0
- package/node_modules/fs-extra/lib/esm.mjs +68 -0
- package/node_modules/fs-extra/lib/fs/index.js +146 -0
- package/node_modules/fs-extra/lib/index.js +16 -0
- package/node_modules/fs-extra/lib/json/index.js +16 -0
- package/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- package/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- package/node_modules/fs-extra/lib/json/output-json.js +12 -0
- package/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- package/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
- package/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
- package/node_modules/fs-extra/lib/move/index.js +7 -0
- package/node_modules/fs-extra/lib/move/move-sync.js +55 -0
- package/node_modules/fs-extra/lib/move/move.js +59 -0
- package/node_modules/fs-extra/lib/output-file/index.js +31 -0
- package/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- package/node_modules/fs-extra/lib/remove/index.js +17 -0
- package/node_modules/fs-extra/lib/util/async.js +29 -0
- package/node_modules/fs-extra/lib/util/stat.js +165 -0
- package/node_modules/fs-extra/lib/util/utimes.js +53 -0
- package/node_modules/fs-extra/package.json +71 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/glob-parent/LICENSE +15 -0
- package/node_modules/glob-parent/README.md +137 -0
- package/node_modules/glob-parent/index.js +42 -0
- package/node_modules/glob-parent/package.json +48 -0
- package/node_modules/has-flag/index.d.ts +39 -0
- package/node_modules/has-flag/index.js +8 -0
- package/node_modules/has-flag/license +9 -0
- package/node_modules/has-flag/package.json +46 -0
- package/node_modules/has-flag/readme.md +89 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +58 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +91 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/import-lazy/index.d.ts +26 -0
- package/node_modules/import-lazy/index.js +27 -0
- package/node_modules/import-lazy/license +9 -0
- package/node_modules/import-lazy/package.json +40 -0
- package/node_modules/import-lazy/readme.md +57 -0
- package/node_modules/is-core-module/CHANGELOG.md +243 -0
- package/node_modules/is-core-module/LICENSE +20 -0
- package/node_modules/is-core-module/README.md +58 -0
- package/node_modules/is-core-module/core.json +163 -0
- package/node_modules/is-core-module/index.d.ts +12 -0
- package/node_modules/is-core-module/index.js +76 -0
- package/node_modules/is-core-module/package.json +90 -0
- package/node_modules/is-extglob/LICENSE +21 -0
- package/node_modules/is-extglob/README.md +107 -0
- package/node_modules/is-extglob/index.js +20 -0
- package/node_modules/is-extglob/package.json +69 -0
- package/node_modules/is-glob/LICENSE +21 -0
- package/node_modules/is-glob/README.md +206 -0
- package/node_modules/is-glob/index.js +150 -0
- package/node_modules/is-glob/package.json +81 -0
- package/node_modules/is-number/LICENSE +21 -0
- package/node_modules/is-number/README.md +187 -0
- package/node_modules/is-number/index.js +18 -0
- package/node_modules/is-number/package.json +82 -0
- package/node_modules/jju/LICENSE +21 -0
- package/node_modules/jju/Makefile +20 -0
- package/node_modules/jju/README.md +249 -0
- package/node_modules/jju/index.js +32 -0
- package/node_modules/jju/lib/analyze.js +87 -0
- package/node_modules/jju/lib/document.js +480 -0
- package/node_modules/jju/lib/parse.js +760 -0
- package/node_modules/jju/lib/stringify.js +378 -0
- package/node_modules/jju/lib/unicode.js +70 -0
- package/node_modules/jju/lib/utils.js +46 -0
- package/node_modules/jju/package.json +34 -0
- package/node_modules/jju/package.yaml +36 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/jsonfile/LICENSE +15 -0
- package/node_modules/jsonfile/README.md +230 -0
- package/node_modules/jsonfile/index.js +88 -0
- package/node_modules/jsonfile/package.json +40 -0
- package/node_modules/jsonfile/utils.js +18 -0
- package/node_modules/merge2/LICENSE +21 -0
- package/node_modules/merge2/README.md +144 -0
- package/node_modules/merge2/index.js +144 -0
- package/node_modules/merge2/package.json +43 -0
- package/node_modules/micromatch/LICENSE +21 -0
- package/node_modules/micromatch/README.md +1024 -0
- package/node_modules/micromatch/index.js +474 -0
- package/node_modules/micromatch/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/micromatch/node_modules/picomatch/README.md +716 -0
- package/node_modules/micromatch/node_modules/picomatch/index.js +3 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/constants.js +184 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/parse.js +1392 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/picomatch.js +342 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/scan.js +391 -0
- package/node_modules/micromatch/node_modules/picomatch/lib/utils.js +64 -0
- package/node_modules/micromatch/node_modules/picomatch/package.json +81 -0
- package/node_modules/micromatch/package.json +119 -0
- package/node_modules/path-parse/LICENSE +21 -0
- package/node_modules/path-parse/README.md +42 -0
- package/node_modules/path-parse/index.js +75 -0
- package/node_modules/path-parse/package.json +33 -0
- package/node_modules/pony-cause/LICENSE +14 -0
- package/node_modules/pony-cause/README.md +192 -0
- package/node_modules/pony-cause/compat.d.ts +2 -0
- package/node_modules/pony-cause/index.d.ts +7 -0
- package/node_modules/pony-cause/index.d.ts.map +1 -0
- package/node_modules/pony-cause/index.js +18 -0
- package/node_modules/pony-cause/index.mjs +10 -0
- package/node_modules/pony-cause/lib/error-with-cause-compat.d.ts +7 -0
- package/node_modules/pony-cause/lib/error-with-cause.d.ts +7 -0
- package/node_modules/pony-cause/lib/error-with-cause.d.ts.map +1 -0
- package/node_modules/pony-cause/lib/error-with-cause.js +25 -0
- package/node_modules/pony-cause/lib/error-with-cause.mjs +21 -0
- package/node_modules/pony-cause/lib/helpers.d.ts +9 -0
- package/node_modules/pony-cause/lib/helpers.d.ts.map +1 -0
- package/node_modules/pony-cause/lib/helpers.js +143 -0
- package/node_modules/pony-cause/lib/helpers.mjs +136 -0
- package/node_modules/pony-cause/package.json +106 -0
- package/node_modules/queue-microtask/LICENSE +20 -0
- package/node_modules/queue-microtask/README.md +90 -0
- package/node_modules/queue-microtask/index.d.ts +2 -0
- package/node_modules/queue-microtask/index.js +9 -0
- package/node_modules/queue-microtask/package.json +55 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/resolve/.claude/notes.md +26 -0
- package/node_modules/resolve/.claude/settings.local.json +26 -0
- package/node_modules/resolve/.editorconfig +38 -0
- package/node_modules/resolve/.eslintrc +65 -0
- package/node_modules/resolve/.github/FUNDING.yml +12 -0
- package/node_modules/resolve/.github/INCIDENT_RESPONSE_PROCESS.md +119 -0
- package/node_modules/resolve/.github/THREAT_MODEL.md +74 -0
- package/node_modules/resolve/LICENSE +21 -0
- package/node_modules/resolve/SECURITY.md +13 -0
- package/node_modules/resolve/async.js +3 -0
- package/node_modules/resolve/bin/resolve +50 -0
- package/node_modules/resolve/eslint.config.mjs +80 -0
- package/node_modules/resolve/example/async.js +5 -0
- package/node_modules/resolve/example/sync.js +3 -0
- package/node_modules/resolve/index.js +6 -0
- package/node_modules/resolve/lib/async.js +336 -0
- package/node_modules/resolve/lib/caller.js +12 -0
- package/node_modules/resolve/lib/core.js +12 -0
- package/node_modules/resolve/lib/core.json +162 -0
- package/node_modules/resolve/lib/homedir.js +31 -0
- package/node_modules/resolve/lib/is-core.js +5 -0
- package/node_modules/resolve/lib/node-modules-paths.js +45 -0
- package/node_modules/resolve/lib/normalize-options.js +10 -0
- package/node_modules/resolve/lib/sync.js +216 -0
- package/node_modules/resolve/package.json +78 -0
- package/node_modules/resolve/readme.markdown +300 -0
- package/node_modules/resolve/sync.js +3 -0
- package/node_modules/resolve/test/core.js +88 -0
- package/node_modules/resolve/test/default_paths.js +49 -0
- package/node_modules/resolve/test/dotdot/abc/index.js +2 -0
- package/node_modules/resolve/test/dotdot/index.js +1 -0
- package/node_modules/resolve/test/dotdot.js +29 -0
- package/node_modules/resolve/test/faulty_basedir.js +29 -0
- package/node_modules/resolve/test/filter.js +34 -0
- package/node_modules/resolve/test/filter_sync.js +33 -0
- package/node_modules/resolve/test/home_paths.js +127 -0
- package/node_modules/resolve/test/home_paths_sync.js +114 -0
- package/node_modules/resolve/test/homedir.js +112 -0
- package/node_modules/resolve/test/mock.js +353 -0
- package/node_modules/resolve/test/mock_sync.js +234 -0
- package/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
- package/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
- package/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
- package/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
- package/node_modules/resolve/test/module_dir.js +56 -0
- package/node_modules/resolve/test/node-modules-paths.js +143 -0
- package/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
- package/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
- package/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
- package/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
- package/node_modules/resolve/test/node_path.js +70 -0
- package/node_modules/resolve/test/nonstring.js +9 -0
- package/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
- package/node_modules/resolve/test/pathfilter.js +75 -0
- package/node_modules/resolve/test/pathfilter_sync.js +24 -0
- package/node_modules/resolve/test/precedence/aaa/index.js +1 -0
- package/node_modules/resolve/test/precedence/aaa/main.js +1 -0
- package/node_modules/resolve/test/precedence/aaa.js +1 -0
- package/node_modules/resolve/test/precedence/bbb/main.js +1 -0
- package/node_modules/resolve/test/precedence/bbb.js +1 -0
- package/node_modules/resolve/test/precedence.js +23 -0
- package/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- package/node_modules/resolve/test/resolver/baz/package.json +4 -0
- package/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- package/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
- package/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
- package/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
- package/node_modules/resolve/test/resolver/cup.coffee +1 -0
- package/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
- package/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
- package/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
- package/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
- package/node_modules/resolve/test/resolver/false_main/index.js +0 -0
- package/node_modules/resolve/test/resolver/false_main/package.json +4 -0
- package/node_modules/resolve/test/resolver/foo.js +1 -0
- package/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
- package/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
- package/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
- package/node_modules/resolve/test/resolver/mug.coffee +0 -0
- package/node_modules/resolve/test/resolver/mug.js +0 -0
- package/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
- package/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
- package/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
- package/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
- package/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
- package/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
- package/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- package/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- package/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
- package/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
- package/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
- package/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
- package/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
- package/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
- package/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
- package/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
- package/node_modules/resolve/test/resolver.js +597 -0
- package/node_modules/resolve/test/resolver_sync.js +730 -0
- package/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
- package/node_modules/resolve/test/shadowed_core.js +54 -0
- package/node_modules/resolve/test/subdirs.js +13 -0
- package/node_modules/resolve/test/symlinks.js +176 -0
- package/node_modules/reusify/.github/dependabot.yml +7 -0
- package/node_modules/reusify/.github/workflows/ci.yml +96 -0
- package/node_modules/reusify/LICENSE +22 -0
- package/node_modules/reusify/README.md +139 -0
- package/node_modules/reusify/SECURITY.md +15 -0
- package/node_modules/reusify/benchmarks/createNoCodeFunction.js +30 -0
- package/node_modules/reusify/benchmarks/fib.js +13 -0
- package/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +38 -0
- package/node_modules/reusify/eslint.config.js +14 -0
- package/node_modules/reusify/package.json +50 -0
- package/node_modules/reusify/reusify.d.ts +14 -0
- package/node_modules/reusify/reusify.js +33 -0
- package/node_modules/reusify/test.js +66 -0
- package/node_modules/reusify/tsconfig.json +11 -0
- package/node_modules/run-parallel/LICENSE +20 -0
- package/node_modules/run-parallel/README.md +85 -0
- package/node_modules/run-parallel/index.js +51 -0
- package/node_modules/run-parallel/package.json +58 -0
- package/node_modules/sprintf-js/.npmignore +1 -0
- package/node_modules/sprintf-js/LICENSE +24 -0
- package/node_modules/sprintf-js/README.md +88 -0
- package/node_modules/sprintf-js/bower.json +14 -0
- package/node_modules/sprintf-js/demo/angular.html +20 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js +4 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.map +1 -0
- package/node_modules/sprintf-js/dist/sprintf.min.js +4 -0
- package/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
- package/node_modules/sprintf-js/dist/sprintf.min.map +1 -0
- package/node_modules/sprintf-js/gruntfile.js +36 -0
- package/node_modules/sprintf-js/package.json +22 -0
- package/node_modules/sprintf-js/src/angular-sprintf.js +18 -0
- package/node_modules/sprintf-js/src/sprintf.js +208 -0
- package/node_modules/sprintf-js/test/test.js +82 -0
- package/node_modules/string-argv/CHANGELOG.md +13 -0
- package/node_modules/string-argv/LICENSE +21 -0
- package/node_modules/string-argv/README.md +58 -0
- package/node_modules/string-argv/commonjs/index.js +45 -0
- package/node_modules/string-argv/commonjs/package.json +3 -0
- package/node_modules/string-argv/index.d.ts +2 -0
- package/node_modules/string-argv/index.js +41 -0
- package/node_modules/string-argv/package.json +51 -0
- package/node_modules/supports-color/browser.js +24 -0
- package/node_modules/supports-color/index.js +152 -0
- package/node_modules/supports-color/license +9 -0
- package/node_modules/supports-color/package.json +58 -0
- package/node_modules/supports-color/readme.md +77 -0
- package/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
- package/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
- package/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
- package/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
- package/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
- package/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
- package/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
- package/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
- package/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
- package/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
- package/node_modules/to-regex-range/LICENSE +21 -0
- package/node_modules/to-regex-range/README.md +305 -0
- package/node_modules/to-regex-range/index.js +288 -0
- package/node_modules/to-regex-range/package.json +88 -0
- package/node_modules/type-fest/index.d.ts +178 -0
- package/node_modules/type-fest/license-cc0 +121 -0
- package/node_modules/type-fest/license-mit +9 -0
- package/node_modules/type-fest/package.json +91 -0
- package/node_modules/type-fest/readme.md +1060 -0
- package/node_modules/type-fest/source/all-union-fields.d.ts +88 -0
- package/node_modules/type-fest/source/and.d.ts +25 -0
- package/node_modules/type-fest/source/array-indices.d.ts +23 -0
- package/node_modules/type-fest/source/array-slice.d.ts +109 -0
- package/node_modules/type-fest/source/array-splice.d.ts +99 -0
- package/node_modules/type-fest/source/array-tail.d.ts +76 -0
- package/node_modules/type-fest/source/array-values.d.ts +22 -0
- package/node_modules/type-fest/source/arrayable.d.ts +29 -0
- package/node_modules/type-fest/source/async-return-type.d.ts +23 -0
- package/node_modules/type-fest/source/asyncify.d.ts +32 -0
- package/node_modules/type-fest/source/basic.d.ts +68 -0
- package/node_modules/type-fest/source/camel-case.d.ts +89 -0
- package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +97 -0
- package/node_modules/type-fest/source/camel-cased-properties.d.ts +43 -0
- package/node_modules/type-fest/source/conditional-except.d.ts +45 -0
- package/node_modules/type-fest/source/conditional-keys.d.ts +47 -0
- package/node_modules/type-fest/source/conditional-pick-deep.d.ts +118 -0
- package/node_modules/type-fest/source/conditional-pick.d.ts +44 -0
- package/node_modules/type-fest/source/conditional-simplify.d.ts +32 -0
- package/node_modules/type-fest/source/delimiter-case.d.ts +78 -0
- package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +106 -0
- package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/distributed-omit.d.ts +89 -0
- package/node_modules/type-fest/source/distributed-pick.d.ts +85 -0
- package/node_modules/type-fest/source/empty-object.d.ts +46 -0
- package/node_modules/type-fest/source/enforce-optional.d.ts +47 -0
- package/node_modules/type-fest/source/entries.d.ts +62 -0
- package/node_modules/type-fest/source/entry.d.ts +65 -0
- package/node_modules/type-fest/source/exact.d.ts +68 -0
- package/node_modules/type-fest/source/except.d.ts +108 -0
- package/node_modules/type-fest/source/find-global-type.d.ts +64 -0
- package/node_modules/type-fest/source/fixed-length-array.d.ts +43 -0
- package/node_modules/type-fest/source/get.d.ts +219 -0
- package/node_modules/type-fest/source/global-this.d.ts +21 -0
- package/node_modules/type-fest/source/greater-than-or-equal.d.ts +22 -0
- package/node_modules/type-fest/source/greater-than.d.ts +56 -0
- package/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
- package/node_modules/type-fest/source/has-readonly-keys.d.ts +21 -0
- package/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
- package/node_modules/type-fest/source/has-writable-keys.d.ts +21 -0
- package/node_modules/type-fest/source/if-any.d.ts +24 -0
- package/node_modules/type-fest/source/if-empty-object.d.ts +26 -0
- package/node_modules/type-fest/source/if-never.d.ts +24 -0
- package/node_modules/type-fest/source/if-null.d.ts +24 -0
- package/node_modules/type-fest/source/if-unknown.d.ts +24 -0
- package/node_modules/type-fest/source/includes.d.ts +22 -0
- package/node_modules/type-fest/source/int-closed-range.d.ts +35 -0
- package/node_modules/type-fest/source/int-range.d.ts +55 -0
- package/node_modules/type-fest/source/internal/array.d.ts +126 -0
- package/node_modules/type-fest/source/internal/characters.d.ts +67 -0
- package/node_modules/type-fest/source/internal/index.d.ts +8 -0
- package/node_modules/type-fest/source/internal/keys.d.ts +97 -0
- package/node_modules/type-fest/source/internal/numeric.d.ts +118 -0
- package/node_modules/type-fest/source/internal/object.d.ts +236 -0
- package/node_modules/type-fest/source/internal/string.d.ts +210 -0
- package/node_modules/type-fest/source/internal/tuple.d.ts +90 -0
- package/node_modules/type-fest/source/internal/type.d.ts +139 -0
- package/node_modules/type-fest/source/invariant-of.d.ts +76 -0
- package/node_modules/type-fest/source/is-any.d.ts +33 -0
- package/node_modules/type-fest/source/is-equal.d.ts +31 -0
- package/node_modules/type-fest/source/is-float.d.ts +41 -0
- package/node_modules/type-fest/source/is-integer.d.ts +58 -0
- package/node_modules/type-fest/source/is-literal.d.ts +296 -0
- package/node_modules/type-fest/source/is-never.d.ts +42 -0
- package/node_modules/type-fest/source/is-null.d.ts +20 -0
- package/node_modules/type-fest/source/is-tuple.d.ts +89 -0
- package/node_modules/type-fest/source/is-unknown.d.ts +52 -0
- package/node_modules/type-fest/source/iterable-element.d.ts +64 -0
- package/node_modules/type-fest/source/join.d.ts +68 -0
- package/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/node_modules/type-fest/source/jsonify.d.ts +122 -0
- package/node_modules/type-fest/source/kebab-case.d.ts +44 -0
- package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +63 -0
- package/node_modules/type-fest/source/kebab-cased-properties.d.ts +40 -0
- package/node_modules/type-fest/source/keys-of-union.d.ts +42 -0
- package/node_modules/type-fest/source/last-array-element.d.ts +38 -0
- package/node_modules/type-fest/source/less-than-or-equal.d.ts +22 -0
- package/node_modules/type-fest/source/less-than.d.ts +26 -0
- package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +36 -0
- package/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
- package/node_modules/type-fest/source/literal-union.d.ts +37 -0
- package/node_modules/type-fest/source/merge-deep.d.ts +486 -0
- package/node_modules/type-fest/source/merge-exclusive.d.ts +41 -0
- package/node_modules/type-fest/source/merge.d.ts +48 -0
- package/node_modules/type-fest/source/multidimensional-array.d.ts +44 -0
- package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +48 -0
- package/node_modules/type-fest/source/non-empty-object.d.ts +35 -0
- package/node_modules/type-fest/source/non-empty-string.d.ts +28 -0
- package/node_modules/type-fest/source/non-empty-tuple.d.ts +21 -0
- package/node_modules/type-fest/source/numeric.d.ts +222 -0
- package/node_modules/type-fest/source/observable-like.d.ts +63 -0
- package/node_modules/type-fest/source/omit-deep.d.ts +167 -0
- package/node_modules/type-fest/source/omit-index-signature.d.ts +95 -0
- package/node_modules/type-fest/source/opaque.d.ts +1 -0
- package/node_modules/type-fest/source/optional-keys-of.d.ts +39 -0
- package/node_modules/type-fest/source/or.d.ts +25 -0
- package/node_modules/type-fest/source/override-properties.d.ts +36 -0
- package/node_modules/type-fest/source/package-json.d.ts +676 -0
- package/node_modules/type-fest/source/partial-deep.d.ts +151 -0
- package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +78 -0
- package/node_modules/type-fest/source/pascal-case.d.ts +42 -0
- package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +62 -0
- package/node_modules/type-fest/source/pascal-cased-properties.d.ts +36 -0
- package/node_modules/type-fest/source/paths.d.ts +262 -0
- package/node_modules/type-fest/source/pick-deep.d.ts +149 -0
- package/node_modules/type-fest/source/pick-index-signature.d.ts +50 -0
- package/node_modules/type-fest/source/primitive.d.ts +13 -0
- package/node_modules/type-fest/source/promisable.d.ts +25 -0
- package/node_modules/type-fest/source/readonly-deep.d.ts +81 -0
- package/node_modules/type-fest/source/readonly-keys-of.d.ts +30 -0
- package/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
- package/node_modules/type-fest/source/replace.d.ts +85 -0
- package/node_modules/type-fest/source/require-all-or-none.d.ts +51 -0
- package/node_modules/type-fest/source/require-at-least-one.d.ts +47 -0
- package/node_modules/type-fest/source/require-exactly-one.d.ts +45 -0
- package/node_modules/type-fest/source/require-one-or-none.d.ts +46 -0
- package/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/node_modules/type-fest/source/required-keys-of.d.ts +30 -0
- package/node_modules/type-fest/source/schema.d.ts +114 -0
- package/node_modules/type-fest/source/screaming-snake-case.d.ts +28 -0
- package/node_modules/type-fest/source/set-field-type.d.ts +65 -0
- package/node_modules/type-fest/source/set-non-nullable-deep.d.ts +83 -0
- package/node_modules/type-fest/source/set-non-nullable.d.ts +39 -0
- package/node_modules/type-fest/source/set-optional.d.ts +38 -0
- package/node_modules/type-fest/source/set-parameter-type.d.ts +117 -0
- package/node_modules/type-fest/source/set-readonly.d.ts +39 -0
- package/node_modules/type-fest/source/set-required-deep.d.ts +68 -0
- package/node_modules/type-fest/source/set-required.d.ts +70 -0
- package/node_modules/type-fest/source/set-return-type.d.ts +29 -0
- package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +178 -0
- package/node_modules/type-fest/source/shared-union-fields.d.ts +76 -0
- package/node_modules/type-fest/source/simplify-deep.d.ts +115 -0
- package/node_modules/type-fest/source/simplify.d.ts +58 -0
- package/node_modules/type-fest/source/single-key-object.d.ts +29 -0
- package/node_modules/type-fest/source/snake-case.d.ts +45 -0
- package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +63 -0
- package/node_modules/type-fest/source/snake-cased-properties.d.ts +40 -0
- package/node_modules/type-fest/source/split.d.ts +88 -0
- package/node_modules/type-fest/source/spread.d.ts +84 -0
- package/node_modules/type-fest/source/string-key-of.d.ts +25 -0
- package/node_modules/type-fest/source/string-repeat.d.ts +47 -0
- package/node_modules/type-fest/source/string-slice.d.ts +37 -0
- package/node_modules/type-fest/source/stringified.d.ts +23 -0
- package/node_modules/type-fest/source/structured-cloneable.d.ts +92 -0
- package/node_modules/type-fest/source/subtract.d.ts +83 -0
- package/node_modules/type-fest/source/sum.d.ts +78 -0
- package/node_modules/type-fest/source/tagged-union.d.ts +51 -0
- package/node_modules/type-fest/source/tagged.d.ts +256 -0
- package/node_modules/type-fest/source/trim.d.ts +27 -0
- package/node_modules/type-fest/source/tsconfig-json.d.ts +1294 -0
- package/node_modules/type-fest/source/tuple-to-object.d.ts +42 -0
- package/node_modules/type-fest/source/tuple-to-union.d.ts +51 -0
- package/node_modules/type-fest/source/typed-array.d.ts +17 -0
- package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +80 -0
- package/node_modules/type-fest/source/union-to-intersection.d.ts +61 -0
- package/node_modules/type-fest/source/union-to-tuple.d.ts +56 -0
- package/node_modules/type-fest/source/unknown-array.d.ts +25 -0
- package/node_modules/type-fest/source/unknown-map.d.ts +24 -0
- package/node_modules/type-fest/source/unknown-record.d.ts +31 -0
- package/node_modules/type-fest/source/unknown-set.d.ts +24 -0
- package/node_modules/type-fest/source/value-of.d.ts +42 -0
- package/node_modules/type-fest/source/words.d.ts +118 -0
- package/node_modules/type-fest/source/writable-deep.d.ts +83 -0
- package/node_modules/type-fest/source/writable-keys-of.d.ts +33 -0
- package/node_modules/type-fest/source/writable.d.ts +68 -0
- package/node_modules/umzug/LICENSE +21 -0
- package/node_modules/umzug/README.md +849 -0
- package/node_modules/umzug/lib/cli.d.ts +44 -0
- package/node_modules/umzug/lib/cli.js +275 -0
- package/node_modules/umzug/lib/cli.js.map +1 -0
- package/node_modules/umzug/lib/file-locker.d.ts +46 -0
- package/node_modules/umzug/lib/file-locker.js +96 -0
- package/node_modules/umzug/lib/file-locker.js.map +1 -0
- package/node_modules/umzug/lib/index.d.ts +5 -0
- package/node_modules/umzug/lib/index.js +22 -0
- package/node_modules/umzug/lib/index.js.map +1 -0
- package/node_modules/umzug/lib/storage/contract.d.ts +17 -0
- package/node_modules/umzug/lib/storage/contract.js +18 -0
- package/node_modules/umzug/lib/storage/contract.js.map +1 -0
- package/node_modules/umzug/lib/storage/index.d.ts +5 -0
- package/node_modules/umzug/lib/storage/index.js +24 -0
- package/node_modules/umzug/lib/storage/index.js.map +1 -0
- package/node_modules/umzug/lib/storage/json.d.ts +20 -0
- package/node_modules/umzug/lib/storage/json.js +61 -0
- package/node_modules/umzug/lib/storage/json.js.map +1 -0
- package/node_modules/umzug/lib/storage/memory.d.ts +2 -0
- package/node_modules/umzug/lib/storage/memory.js +17 -0
- package/node_modules/umzug/lib/storage/memory.js.map +1 -0
- package/node_modules/umzug/lib/storage/mongodb.d.ts +35 -0
- package/node_modules/umzug/lib/storage/mongodb.js +31 -0
- package/node_modules/umzug/lib/storage/mongodb.js.map +1 -0
- package/node_modules/umzug/lib/storage/sequelize.d.ts +106 -0
- package/node_modules/umzug/lib/storage/sequelize.js +85 -0
- package/node_modules/umzug/lib/storage/sequelize.js.map +1 -0
- package/node_modules/umzug/lib/templates.d.ts +5 -0
- package/node_modules/umzug/lib/templates.js +32 -0
- package/node_modules/umzug/lib/templates.js.map +1 -0
- package/node_modules/umzug/lib/types.d.ts +129 -0
- package/node_modules/umzug/lib/types.js +12 -0
- package/node_modules/umzug/lib/types.js.map +1 -0
- package/node_modules/umzug/lib/umzug.d.ts +105 -0
- package/node_modules/umzug/lib/umzug.js +414 -0
- package/node_modules/umzug/lib/umzug.js.map +1 -0
- package/node_modules/umzug/package.json +92 -0
- package/node_modules/universalify/LICENSE +20 -0
- package/node_modules/universalify/README.md +76 -0
- package/node_modules/universalify/index.js +24 -0
- package/node_modules/universalify/package.json +34 -0
- package/node_modules/yallist/LICENSE +15 -0
- package/node_modules/yallist/README.md +204 -0
- package/node_modules/yallist/iterator.js +8 -0
- package/node_modules/yallist/package.json +29 -0
- package/node_modules/yallist/yallist.js +426 -0
- package/package.json +4 -2
- package/dist/ui/assets/architecture-7GRP2DOG-DPAY49ac.js +0 -1
- package/dist/ui/assets/channel-B4U25mhB.js +0 -1
- package/dist/ui/assets/eventmodeling-NTZA5JFV-CJyNnV02.js +0 -1
- package/dist/ui/assets/flowDiagram-KWPJA3E3-C0h7u26C.js +0 -1
- package/dist/ui/assets/index-gtLHyvxQ.css +0 -2
- package/dist/ui/assets/railroad-abnf-HS5TGJTU-DcEI15f8.js +0 -1
- package/dist/ui/assets/railroad-ebnf-LZEXJU2U-COHEIK3C.js +0 -1
- package/dist/ui/assets/railroad-peg-WCYAUIDC-DXgo491l.js +0 -1
- package/dist/ui/assets/swimlanesDiagram-TC7HE7FX-636k0i2s.js +0 -8
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.52.1"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This exception can be thrown to indicate that an operation failed and an error message has already
|
|
3
|
+
* been reported appropriately. Thus, the catch handler does not have responsibility for reporting
|
|
4
|
+
* the error.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* For example, suppose a tool writes interactive output to `console.log()`. When an exception is thrown,
|
|
8
|
+
* the `catch` handler will typically provide simplistic reporting such as this:
|
|
9
|
+
*
|
|
10
|
+
* ```ts
|
|
11
|
+
* catch (error) {
|
|
12
|
+
* console.log("ERROR: " + error.message);
|
|
13
|
+
* }
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* Suppose that the code performing the operation normally prints rich output to the console. It may be able to
|
|
17
|
+
* present an error message more nicely (for example, as part of a table, or structured log format). Throwing
|
|
18
|
+
* `AlreadyReportedError` provides a way to use exception handling to abort the operation, but instruct the `catch`
|
|
19
|
+
* handler not to print an error a second time:
|
|
20
|
+
*
|
|
21
|
+
* ```ts
|
|
22
|
+
* catch (error) {
|
|
23
|
+
* if (error instanceof AlreadyReportedError) {
|
|
24
|
+
* return;
|
|
25
|
+
* }
|
|
26
|
+
* console.log("ERROR: " + error.message);
|
|
27
|
+
* }
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare class AlreadyReportedError extends Error {
|
|
33
|
+
constructor();
|
|
34
|
+
static [Symbol.hasInstance](instance: object): boolean;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=AlreadyReportedError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlreadyReportedError.d.ts","sourceRoot":"","sources":["../src/AlreadyReportedError.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,oBAAqB,SAAQ,KAAK;;WAW/B,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;CAG9D"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.AlreadyReportedError = void 0;
|
|
6
|
+
const TypeUuid_1 = require("./TypeUuid");
|
|
7
|
+
const uuidAlreadyReportedError = 'f26b0640-a49b-49d1-9ead-1a516d5920c7';
|
|
8
|
+
/**
|
|
9
|
+
* This exception can be thrown to indicate that an operation failed and an error message has already
|
|
10
|
+
* been reported appropriately. Thus, the catch handler does not have responsibility for reporting
|
|
11
|
+
* the error.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* For example, suppose a tool writes interactive output to `console.log()`. When an exception is thrown,
|
|
15
|
+
* the `catch` handler will typically provide simplistic reporting such as this:
|
|
16
|
+
*
|
|
17
|
+
* ```ts
|
|
18
|
+
* catch (error) {
|
|
19
|
+
* console.log("ERROR: " + error.message);
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* Suppose that the code performing the operation normally prints rich output to the console. It may be able to
|
|
24
|
+
* present an error message more nicely (for example, as part of a table, or structured log format). Throwing
|
|
25
|
+
* `AlreadyReportedError` provides a way to use exception handling to abort the operation, but instruct the `catch`
|
|
26
|
+
* handler not to print an error a second time:
|
|
27
|
+
*
|
|
28
|
+
* ```ts
|
|
29
|
+
* catch (error) {
|
|
30
|
+
* if (error instanceof AlreadyReportedError) {
|
|
31
|
+
* return;
|
|
32
|
+
* }
|
|
33
|
+
* console.log("ERROR: " + error.message);
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
class AlreadyReportedError extends Error {
|
|
40
|
+
constructor() {
|
|
41
|
+
super('An error occurred.');
|
|
42
|
+
// Manually set the prototype, as we can no longer extend built-in classes like Error, Array, Map, etc
|
|
43
|
+
// [https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work](https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work)
|
|
44
|
+
//
|
|
45
|
+
// Note: the prototype must also be set on any classes which extend this one
|
|
46
|
+
this.__proto__ = AlreadyReportedError.prototype; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
47
|
+
}
|
|
48
|
+
static [Symbol.hasInstance](instance) {
|
|
49
|
+
return TypeUuid_1.TypeUuid.isInstanceOf(instance, uuidAlreadyReportedError);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.AlreadyReportedError = AlreadyReportedError;
|
|
53
|
+
TypeUuid_1.TypeUuid.registerClass(AlreadyReportedError, uuidAlreadyReportedError);
|
|
54
|
+
//# sourceMappingURL=AlreadyReportedError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlreadyReportedError.js","sourceRoot":"","sources":["../src/AlreadyReportedError.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAE3D,yCAAsC;AAEtC,MAAM,wBAAwB,GAAW,sCAAsC,CAAC;AAEhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,oBAAqB,SAAQ,KAAK;IAC7C;QACE,KAAK,CAAC,oBAAoB,CAAC,CAAC;QAE5B,sGAAsG;QACtG,2RAA2R;QAC3R,EAAE;QACF,4EAA4E;QAC3E,IAAY,CAAC,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC,yDAAyD;IACrH,CAAC;IAEM,MAAM,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,QAAgB;QACjD,OAAO,mBAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE,wBAAwB,CAAC,CAAC;IACnE,CAAC;CACF;AAdD,oDAcC;AAED,mBAAQ,CAAC,aAAa,CAAC,oBAAoB,EAAE,wBAAwB,CAAC,CAAC","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 { TypeUuid } from './TypeUuid';\n\nconst uuidAlreadyReportedError: string = 'f26b0640-a49b-49d1-9ead-1a516d5920c7';\n\n/**\n * This exception can be thrown to indicate that an operation failed and an error message has already\n * been reported appropriately. Thus, the catch handler does not have responsibility for reporting\n * the error.\n *\n * @remarks\n * For example, suppose a tool writes interactive output to `console.log()`. When an exception is thrown,\n * the `catch` handler will typically provide simplistic reporting such as this:\n *\n * ```ts\n * catch (error) {\n * console.log(\"ERROR: \" + error.message);\n * }\n * ```\n *\n * Suppose that the code performing the operation normally prints rich output to the console. It may be able to\n * present an error message more nicely (for example, as part of a table, or structured log format). Throwing\n * `AlreadyReportedError` provides a way to use exception handling to abort the operation, but instruct the `catch`\n * handler not to print an error a second time:\n *\n * ```ts\n * catch (error) {\n * if (error instanceof AlreadyReportedError) {\n * return;\n * }\n * console.log(\"ERROR: \" + error.message);\n * }\n * ```\n *\n * @public\n */\nexport class AlreadyReportedError extends Error {\n public constructor() {\n super('An error occurred.');\n\n // Manually set the prototype, as we can no longer extend built-in classes like Error, Array, Map, etc\n // [https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work](https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work)\n //\n // Note: the prototype must also be set on any classes which extend this one\n (this as any).__proto__ = AlreadyReportedError.prototype; // eslint-disable-line @typescript-eslint/no-explicit-any\n }\n\n public static [Symbol.hasInstance](instance: object): boolean {\n return TypeUuid.isInstanceOf(instance, uuidAlreadyReportedError);\n }\n}\n\nTypeUuid.registerClass(AlreadyReportedError, uuidAlreadyReportedError);\n"]}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Options for controlling the parallelism of asynchronous operations.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* Used with {@link (Async:class).(mapAsync:1)}, {@link (Async:class).(mapAsync:2)} and
|
|
6
|
+
* {@link (Async:class).(forEachAsync:1)}, and {@link (Async:class).(forEachAsync:2)}.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface IAsyncParallelismOptions {
|
|
11
|
+
/**
|
|
12
|
+
* Optionally used with the {@link (Async:class).(mapAsync:1)}, {@link (Async:class).(mapAsync:2)} and
|
|
13
|
+
* {@link (Async:class).(forEachAsync:1)}, and {@link (Async:class).(forEachAsync:2)} to limit the maximum
|
|
14
|
+
* number of concurrent promises to the specified number.
|
|
15
|
+
*/
|
|
16
|
+
concurrency?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Optionally used with the {@link (Async:class).(forEachAsync:2)} to enable weighted operations where an operation can
|
|
19
|
+
* take up more or less than one concurrency unit.
|
|
20
|
+
*/
|
|
21
|
+
weighted?: boolean;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* Used with {@link Async.runWithRetriesAsync}.
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface IRunWithRetriesOptions<TResult> {
|
|
30
|
+
/**
|
|
31
|
+
* The action to be performed. The action is repeatedly executed until it completes without throwing or the
|
|
32
|
+
* maximum number of retries is reached.
|
|
33
|
+
*
|
|
34
|
+
* @param retryCount - The number of times the action has been retried.
|
|
35
|
+
*/
|
|
36
|
+
action: (retryCount: number) => Promise<TResult> | TResult;
|
|
37
|
+
/**
|
|
38
|
+
* The maximum number of times the action should be retried.
|
|
39
|
+
*/
|
|
40
|
+
maxRetries: number;
|
|
41
|
+
/**
|
|
42
|
+
* The delay in milliseconds between retries.
|
|
43
|
+
*/
|
|
44
|
+
retryDelayMs?: number;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* Used with {@link (Async:class).(forEachAsync:2)} and {@link (Async:class).(mapAsync:2)}.
|
|
49
|
+
*
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export interface IWeighted {
|
|
53
|
+
/**
|
|
54
|
+
* The weight of the element, used to determine the concurrency units that it will take up.
|
|
55
|
+
* Must be a whole number greater than or equal to 0.
|
|
56
|
+
*/
|
|
57
|
+
weight: number;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Utilities for parallel asynchronous operations, for use with the system `Promise` APIs.
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export declare class Async {
|
|
65
|
+
/**
|
|
66
|
+
* Given an input array and a `callback` function, invoke the callback to start a
|
|
67
|
+
* promise for each element in the array. Returns an array containing the results.
|
|
68
|
+
*
|
|
69
|
+
* @remarks
|
|
70
|
+
* This API is similar to the system `Array#map`, except that the loop is asynchronous,
|
|
71
|
+
* and the maximum number of concurrent promises can be throttled
|
|
72
|
+
* using {@link IAsyncParallelismOptions.concurrency}.
|
|
73
|
+
*
|
|
74
|
+
* If `callback` throws a synchronous exception, or if it returns a promise that rejects,
|
|
75
|
+
* then the loop stops immediately. Any remaining array items will be skipped, and
|
|
76
|
+
* overall operation will reject with the first error that was encountered.
|
|
77
|
+
*
|
|
78
|
+
* @param iterable - the array of inputs for the callback function
|
|
79
|
+
* @param callback - a function that starts an asynchronous promise for an element
|
|
80
|
+
* from the array
|
|
81
|
+
* @param options - options for customizing the control flow
|
|
82
|
+
* @returns an array containing the result for each callback, in the same order
|
|
83
|
+
* as the original input `array`
|
|
84
|
+
*/
|
|
85
|
+
static mapAsync<TEntry, TRetVal>(iterable: Iterable<TEntry> | AsyncIterable<TEntry>, callback: (entry: TEntry, arrayIndex: number) => Promise<TRetVal>, options?: (IAsyncParallelismOptions & {
|
|
86
|
+
weighted?: false;
|
|
87
|
+
}) | undefined): Promise<TRetVal[]>;
|
|
88
|
+
/**
|
|
89
|
+
* Given an input array and a `callback` function, invoke the callback to start a
|
|
90
|
+
* promise for each element in the array. Returns an array containing the results.
|
|
91
|
+
*
|
|
92
|
+
* @remarks
|
|
93
|
+
* This API is similar to the system `Array#map`, except that the loop is asynchronous,
|
|
94
|
+
* and the maximum number of concurrent units can be throttled
|
|
95
|
+
* using {@link IAsyncParallelismOptions.concurrency}. Using the {@link IAsyncParallelismOptions.weighted}
|
|
96
|
+
* option, the weight of each operation can be specified, which determines how many concurrent units it takes up.
|
|
97
|
+
*
|
|
98
|
+
* If `callback` throws a synchronous exception, or if it returns a promise that rejects,
|
|
99
|
+
* then the loop stops immediately. Any remaining array items will be skipped, and
|
|
100
|
+
* overall operation will reject with the first error that was encountered.
|
|
101
|
+
*
|
|
102
|
+
* @param iterable - the array of inputs for the callback function
|
|
103
|
+
* @param callback - a function that starts an asynchronous promise for an element
|
|
104
|
+
* from the array
|
|
105
|
+
* @param options - options for customizing the control flow
|
|
106
|
+
* @returns an array containing the result for each callback, in the same order
|
|
107
|
+
* as the original input `array`
|
|
108
|
+
*/
|
|
109
|
+
static mapAsync<TEntry extends IWeighted, TRetVal>(iterable: Iterable<TEntry> | AsyncIterable<TEntry>, callback: (entry: TEntry, arrayIndex: number) => Promise<TRetVal>, options: IAsyncParallelismOptions & {
|
|
110
|
+
weighted: true;
|
|
111
|
+
}): Promise<TRetVal[]>;
|
|
112
|
+
private static _forEachWeightedAsync;
|
|
113
|
+
/**
|
|
114
|
+
* Given an input array and a `callback` function, invoke the callback to start a
|
|
115
|
+
* promise for each element in the array.
|
|
116
|
+
*
|
|
117
|
+
* @remarks
|
|
118
|
+
* This API is similar to the system `Array#forEach`, except that the loop is asynchronous,
|
|
119
|
+
* and the maximum number of concurrent promises can be throttled
|
|
120
|
+
* using {@link IAsyncParallelismOptions.concurrency}.
|
|
121
|
+
*
|
|
122
|
+
* If `callback` throws a synchronous exception, or if it returns a promise that rejects,
|
|
123
|
+
* then the loop stops immediately. Any remaining array items will be skipped, and
|
|
124
|
+
* overall operation will reject with the first error that was encountered.
|
|
125
|
+
*
|
|
126
|
+
* @param iterable - the array of inputs for the callback function
|
|
127
|
+
* @param callback - a function that starts an asynchronous promise for an element
|
|
128
|
+
* from the array
|
|
129
|
+
* @param options - options for customizing the control flow
|
|
130
|
+
*/
|
|
131
|
+
static forEachAsync<TEntry>(iterable: Iterable<TEntry> | AsyncIterable<TEntry>, callback: (entry: TEntry, arrayIndex: number) => Promise<void>, options?: (IAsyncParallelismOptions & {
|
|
132
|
+
weighted?: false;
|
|
133
|
+
}) | undefined): Promise<void>;
|
|
134
|
+
/**
|
|
135
|
+
* Given an input array and a `callback` function, invoke the callback to start a
|
|
136
|
+
* promise for each element in the array.
|
|
137
|
+
*
|
|
138
|
+
* @remarks
|
|
139
|
+
* This API is similar to the other `Array#forEachAsync`, except that each item can have
|
|
140
|
+
* a weight that determines how many concurrent operations are allowed. The unweighted
|
|
141
|
+
* `Array#forEachAsync` is a special case of this method where weight = 1 for all items.
|
|
142
|
+
*
|
|
143
|
+
* The maximum number of concurrent operations can still be throttled using
|
|
144
|
+
* {@link IAsyncParallelismOptions.concurrency}, however it no longer determines the
|
|
145
|
+
* maximum number of operations that can be in progress at once. Instead, it determines the
|
|
146
|
+
* number of concurrency units that can be in progress at once. The weight of each operation
|
|
147
|
+
* determines how many concurrency units it takes up. For example, if the concurrency is 2
|
|
148
|
+
* and the first operation has a weight of 2, then only one more operation can be in progress.
|
|
149
|
+
*
|
|
150
|
+
* If `callback` throws a synchronous exception, or if it returns a promise that rejects,
|
|
151
|
+
* then the loop stops immediately. Any remaining array items will be skipped, and
|
|
152
|
+
* overall operation will reject with the first error that was encountered.
|
|
153
|
+
*
|
|
154
|
+
* @param iterable - the array of inputs for the callback function
|
|
155
|
+
* @param callback - a function that starts an asynchronous promise for an element
|
|
156
|
+
* from the array
|
|
157
|
+
* @param options - options for customizing the control flow
|
|
158
|
+
*/
|
|
159
|
+
static forEachAsync<TEntry extends IWeighted>(iterable: Iterable<TEntry> | AsyncIterable<TEntry>, callback: (entry: TEntry, arrayIndex: number) => Promise<void>, options: IAsyncParallelismOptions & {
|
|
160
|
+
weighted: true;
|
|
161
|
+
}): Promise<void>;
|
|
162
|
+
/**
|
|
163
|
+
* Return a promise that resolves after the specified number of milliseconds.
|
|
164
|
+
*/
|
|
165
|
+
static sleepAsync(ms: number): Promise<void>;
|
|
166
|
+
/**
|
|
167
|
+
* Executes an async function and optionally retries it if it fails.
|
|
168
|
+
*/
|
|
169
|
+
static runWithRetriesAsync<TResult>({ action, maxRetries, retryDelayMs }: IRunWithRetriesOptions<TResult>): Promise<TResult>;
|
|
170
|
+
/**
|
|
171
|
+
* Ensures that the argument is a valid {@link IWeighted}, with a `weight` argument that
|
|
172
|
+
* is a positive integer or 0.
|
|
173
|
+
*/
|
|
174
|
+
static validateWeightedIterable(operation: IWeighted): void;
|
|
175
|
+
/**
|
|
176
|
+
* Returns a Signal, a.k.a. a "deferred promise".
|
|
177
|
+
*/
|
|
178
|
+
static getSignal(): [Promise<void>, () => void, (err: Error) => void];
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* A queue that allows for asynchronous iteration. During iteration, the queue will wait until
|
|
182
|
+
* the next item is pushed into the queue before yielding. If instead all queue items are consumed
|
|
183
|
+
* and all callbacks have been called, the queue will return.
|
|
184
|
+
*
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
export declare class AsyncQueue<T> implements AsyncIterable<[T, () => void]> {
|
|
188
|
+
private _queue;
|
|
189
|
+
private _onPushSignal;
|
|
190
|
+
private _onPushResolve;
|
|
191
|
+
constructor(iterable?: Iterable<T>);
|
|
192
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<[T, () => void]>;
|
|
193
|
+
/**
|
|
194
|
+
* Adds an item to the queue.
|
|
195
|
+
*
|
|
196
|
+
* @param item - The item to push into the queue.
|
|
197
|
+
*/
|
|
198
|
+
push(item: T): void;
|
|
199
|
+
}
|
|
200
|
+
//# sourceMappingURL=Async.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Async.d.ts","sourceRoot":"","sources":["../src/Async.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,236 @@
|
|
|
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 __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
5
|
+
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
6
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
7
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
8
|
+
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
9
|
+
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
|
10
|
+
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
|
|
11
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
12
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
13
|
+
function fulfill(value) { resume("next", value); }
|
|
14
|
+
function reject(value) { resume("throw", value); }
|
|
15
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.AsyncQueue = exports.Async = void 0;
|
|
19
|
+
function toWeightedIterator(iterable, useWeights) {
|
|
20
|
+
const iterator = (iterable[Symbol.iterator] ||
|
|
21
|
+
iterable[Symbol.asyncIterator]).call(iterable);
|
|
22
|
+
return {
|
|
23
|
+
[Symbol.asyncIterator]: () => ({
|
|
24
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
25
|
+
next: async () => {
|
|
26
|
+
// The await is necessary here, but TS will complain - it's a false positive.
|
|
27
|
+
const { value, done } = await iterator.next();
|
|
28
|
+
return {
|
|
29
|
+
value: { element: value, weight: useWeights ? value === null || value === void 0 ? void 0 : value.weight : 1 },
|
|
30
|
+
done: !!done
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
})
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Utilities for parallel asynchronous operations, for use with the system `Promise` APIs.
|
|
38
|
+
*
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
class Async {
|
|
42
|
+
static async mapAsync(iterable, callback, options) {
|
|
43
|
+
const result = [];
|
|
44
|
+
// @ts-expect-error https://github.com/microsoft/TypeScript/issues/22609, it succeeds against the implementation but fails against the overloads
|
|
45
|
+
await Async.forEachAsync(iterable, async (item, arrayIndex) => {
|
|
46
|
+
result[arrayIndex] = await callback(item, arrayIndex);
|
|
47
|
+
}, options);
|
|
48
|
+
return result;
|
|
49
|
+
}
|
|
50
|
+
static async _forEachWeightedAsync(iterable, callback, options) {
|
|
51
|
+
await new Promise((resolve, reject) => {
|
|
52
|
+
const concurrency = (options === null || options === void 0 ? void 0 : options.concurrency) && options.concurrency > 0 ? options.concurrency : Infinity;
|
|
53
|
+
let concurrentUnitsInProgress = 0;
|
|
54
|
+
const iterator = iterable[Symbol.asyncIterator].call(iterable);
|
|
55
|
+
let arrayIndex = 0;
|
|
56
|
+
let iteratorIsComplete = false;
|
|
57
|
+
let promiseHasResolvedOrRejected = false;
|
|
58
|
+
async function queueOperationsAsync() {
|
|
59
|
+
while (concurrentUnitsInProgress < concurrency &&
|
|
60
|
+
!iteratorIsComplete &&
|
|
61
|
+
!promiseHasResolvedOrRejected) {
|
|
62
|
+
// Increment the current concurrency units in progress by the concurrency limit before fetching the iterator weight.
|
|
63
|
+
// This function is reentrant, so this if concurrency is finite, at most 1 operation will be waiting. If it's infinite,
|
|
64
|
+
// there will be effectively no cap on the number of operations waiting.
|
|
65
|
+
const limitedConcurrency = !Number.isFinite(concurrency) ? 1 : concurrency;
|
|
66
|
+
concurrentUnitsInProgress += limitedConcurrency;
|
|
67
|
+
const currentIteratorResult = await iterator.next();
|
|
68
|
+
// eslint-disable-next-line require-atomic-updates
|
|
69
|
+
iteratorIsComplete = !!currentIteratorResult.done;
|
|
70
|
+
if (!iteratorIsComplete) {
|
|
71
|
+
const currentIteratorValue = currentIteratorResult.value;
|
|
72
|
+
Async.validateWeightedIterable(currentIteratorValue);
|
|
73
|
+
// Cap the weight to concurrency, this allows 0 weight items to execute despite the concurrency limit.
|
|
74
|
+
const weight = Math.min(currentIteratorValue.weight, concurrency);
|
|
75
|
+
// Remove the "lock" from the concurrency check and only apply the current weight.
|
|
76
|
+
// This should allow other operations to execute.
|
|
77
|
+
concurrentUnitsInProgress += weight;
|
|
78
|
+
concurrentUnitsInProgress -= limitedConcurrency;
|
|
79
|
+
Promise.resolve(callback(currentIteratorValue.element, arrayIndex++))
|
|
80
|
+
.then(async () => {
|
|
81
|
+
// Remove the operation completely from the in progress units.
|
|
82
|
+
concurrentUnitsInProgress -= weight;
|
|
83
|
+
await onOperationCompletionAsync();
|
|
84
|
+
})
|
|
85
|
+
.catch((error) => {
|
|
86
|
+
promiseHasResolvedOrRejected = true;
|
|
87
|
+
reject(error);
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
// The iterator is complete and there wasn't a value, so untrack the waiting state.
|
|
92
|
+
concurrentUnitsInProgress -= limitedConcurrency;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
if (iteratorIsComplete) {
|
|
96
|
+
await onOperationCompletionAsync();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
async function onOperationCompletionAsync() {
|
|
100
|
+
if (!promiseHasResolvedOrRejected) {
|
|
101
|
+
if (concurrentUnitsInProgress === 0 && iteratorIsComplete) {
|
|
102
|
+
promiseHasResolvedOrRejected = true;
|
|
103
|
+
resolve();
|
|
104
|
+
}
|
|
105
|
+
else if (!iteratorIsComplete) {
|
|
106
|
+
await queueOperationsAsync();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
queueOperationsAsync().catch((error) => {
|
|
111
|
+
promiseHasResolvedOrRejected = true;
|
|
112
|
+
reject(error);
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
static async forEachAsync(iterable, callback, options) {
|
|
117
|
+
await Async._forEachWeightedAsync(toWeightedIterator(iterable, options === null || options === void 0 ? void 0 : options.weighted), callback, options);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Return a promise that resolves after the specified number of milliseconds.
|
|
121
|
+
*/
|
|
122
|
+
static async sleepAsync(ms) {
|
|
123
|
+
await new Promise((resolve) => {
|
|
124
|
+
setTimeout(resolve, ms);
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Executes an async function and optionally retries it if it fails.
|
|
129
|
+
*/
|
|
130
|
+
static async runWithRetriesAsync({ action, maxRetries, retryDelayMs = 0 }) {
|
|
131
|
+
let retryCount = 0;
|
|
132
|
+
// eslint-disable-next-line no-constant-condition
|
|
133
|
+
while (true) {
|
|
134
|
+
try {
|
|
135
|
+
return await action(retryCount);
|
|
136
|
+
}
|
|
137
|
+
catch (e) {
|
|
138
|
+
if (++retryCount > maxRetries) {
|
|
139
|
+
throw e;
|
|
140
|
+
}
|
|
141
|
+
else if (retryDelayMs > 0) {
|
|
142
|
+
await Async.sleepAsync(retryDelayMs);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Ensures that the argument is a valid {@link IWeighted}, with a `weight` argument that
|
|
149
|
+
* is a positive integer or 0.
|
|
150
|
+
*/
|
|
151
|
+
static validateWeightedIterable(operation) {
|
|
152
|
+
if (operation.weight < 0) {
|
|
153
|
+
throw new Error('Weight must be a whole number greater than or equal to 0');
|
|
154
|
+
}
|
|
155
|
+
if (operation.weight % 1 !== 0) {
|
|
156
|
+
throw new Error('Weight must be a whole number greater than or equal to 0');
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Returns a Signal, a.k.a. a "deferred promise".
|
|
161
|
+
*/
|
|
162
|
+
static getSignal() {
|
|
163
|
+
return getSignal();
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
exports.Async = Async;
|
|
167
|
+
/**
|
|
168
|
+
* Returns an unwrapped promise.
|
|
169
|
+
*/
|
|
170
|
+
function getSignal() {
|
|
171
|
+
let resolver;
|
|
172
|
+
let rejecter;
|
|
173
|
+
const promise = new Promise((resolve, reject) => {
|
|
174
|
+
resolver = resolve;
|
|
175
|
+
rejecter = reject;
|
|
176
|
+
});
|
|
177
|
+
return [promise, resolver, rejecter];
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* A queue that allows for asynchronous iteration. During iteration, the queue will wait until
|
|
181
|
+
* the next item is pushed into the queue before yielding. If instead all queue items are consumed
|
|
182
|
+
* and all callbacks have been called, the queue will return.
|
|
183
|
+
*
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
class AsyncQueue {
|
|
187
|
+
constructor(iterable) {
|
|
188
|
+
this._queue = iterable ? Array.from(iterable) : [];
|
|
189
|
+
const [promise, resolver] = getSignal();
|
|
190
|
+
this._onPushSignal = promise;
|
|
191
|
+
this._onPushResolve = resolver;
|
|
192
|
+
}
|
|
193
|
+
[Symbol.asyncIterator]() {
|
|
194
|
+
return __asyncGenerator(this, arguments, function* _a() {
|
|
195
|
+
let activeIterations = 0;
|
|
196
|
+
let [callbackSignal, callbackResolve] = getSignal();
|
|
197
|
+
const callback = () => {
|
|
198
|
+
if (--activeIterations === 0) {
|
|
199
|
+
// Resolve whatever the latest callback promise is and create a new one
|
|
200
|
+
callbackResolve();
|
|
201
|
+
const [newCallbackSignal, newCallbackResolve] = getSignal();
|
|
202
|
+
callbackSignal = newCallbackSignal;
|
|
203
|
+
callbackResolve = newCallbackResolve;
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
let position = 0;
|
|
207
|
+
while (this._queue.length > position || activeIterations > 0) {
|
|
208
|
+
if (this._queue.length > position) {
|
|
209
|
+
activeIterations++;
|
|
210
|
+
yield yield __await([this._queue[position++], callback]);
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
// On push, the item will be added to the queue and the onPushSignal will be resolved.
|
|
214
|
+
// On calling the callback, active iterations will be decremented by the callback and the
|
|
215
|
+
// callbackSignal will be resolved. This means that the loop will continue if there are
|
|
216
|
+
// active iterations or if there are items in the queue that haven't been yielded yet.
|
|
217
|
+
yield __await(Promise.race([this._onPushSignal, callbackSignal]));
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Adds an item to the queue.
|
|
224
|
+
*
|
|
225
|
+
* @param item - The item to push into the queue.
|
|
226
|
+
*/
|
|
227
|
+
push(item) {
|
|
228
|
+
this._queue.push(item);
|
|
229
|
+
this._onPushResolve();
|
|
230
|
+
const [onPushSignal, onPushResolve] = getSignal();
|
|
231
|
+
this._onPushSignal = onPushSignal;
|
|
232
|
+
this._onPushResolve = onPushResolve;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
exports.AsyncQueue = AsyncQueue;
|
|
236
|
+
//# sourceMappingURL=Async.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Async.js","sourceRoot":"","sources":["../src/Async.ts"],"names":[],"mappings":"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","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 * Options for controlling the parallelism of asynchronous operations.\n *\n * @remarks\n * Used with {@link (Async:class).(mapAsync:1)}, {@link (Async:class).(mapAsync:2)} and\n * {@link (Async:class).(forEachAsync:1)}, and {@link (Async:class).(forEachAsync:2)}.\n *\n * @public\n */\nexport interface IAsyncParallelismOptions {\n /**\n * Optionally used with the {@link (Async:class).(mapAsync:1)}, {@link (Async:class).(mapAsync:2)} and\n * {@link (Async:class).(forEachAsync:1)}, and {@link (Async:class).(forEachAsync:2)} to limit the maximum\n * number of concurrent promises to the specified number.\n */\n concurrency?: number;\n\n /**\n * Optionally used with the {@link (Async:class).(forEachAsync:2)} to enable weighted operations where an operation can\n * take up more or less than one concurrency unit.\n */\n weighted?: boolean;\n}\n\n/**\n * @remarks\n * Used with {@link Async.runWithRetriesAsync}.\n *\n * @public\n */\nexport interface IRunWithRetriesOptions<TResult> {\n /**\n * The action to be performed. The action is repeatedly executed until it completes without throwing or the\n * maximum number of retries is reached.\n *\n * @param retryCount - The number of times the action has been retried.\n */\n action: (retryCount: number) => Promise<TResult> | TResult;\n /**\n * The maximum number of times the action should be retried.\n */\n maxRetries: number;\n /**\n * The delay in milliseconds between retries.\n */\n retryDelayMs?: number;\n}\n\n/**\n * @remarks\n * Used with {@link (Async:class).(forEachAsync:2)} and {@link (Async:class).(mapAsync:2)}.\n *\n * @public\n */\nexport interface IWeighted {\n /**\n * The weight of the element, used to determine the concurrency units that it will take up.\n * Must be a whole number greater than or equal to 0.\n */\n weight: number;\n}\n\nfunction toWeightedIterator<TEntry>(\n iterable: Iterable<TEntry> | AsyncIterable<TEntry>,\n useWeights?: boolean\n): AsyncIterable<{ element: TEntry; weight: number }> {\n const iterator: Iterator<TEntry> | AsyncIterator<TEntry, TEntry> = (\n (iterable as Iterable<TEntry>)[Symbol.iterator] ||\n (iterable as AsyncIterable<TEntry>)[Symbol.asyncIterator]\n ).call(iterable);\n return {\n [Symbol.asyncIterator]: () => ({\n // eslint-disable-next-line @typescript-eslint/naming-convention\n next: async () => {\n // The await is necessary here, but TS will complain - it's a false positive.\n const { value, done } = await iterator.next();\n return {\n value: { element: value, weight: useWeights ? value?.weight : 1 },\n done: !!done\n };\n }\n })\n };\n}\n\n/**\n * Utilities for parallel asynchronous operations, for use with the system `Promise` APIs.\n *\n * @public\n */\nexport class Async {\n /**\n * Given an input array and a `callback` function, invoke the callback to start a\n * promise for each element in the array. Returns an array containing the results.\n *\n * @remarks\n * This API is similar to the system `Array#map`, except that the loop is asynchronous,\n * and the maximum number of concurrent promises can be throttled\n * using {@link IAsyncParallelismOptions.concurrency}.\n *\n * If `callback` throws a synchronous exception, or if it returns a promise that rejects,\n * then the loop stops immediately. Any remaining array items will be skipped, and\n * overall operation will reject with the first error that was encountered.\n *\n * @param iterable - the array of inputs for the callback function\n * @param callback - a function that starts an asynchronous promise for an element\n * from the array\n * @param options - options for customizing the control flow\n * @returns an array containing the result for each callback, in the same order\n * as the original input `array`\n */\n public static async mapAsync<TEntry, TRetVal>(\n iterable: Iterable<TEntry> | AsyncIterable<TEntry>,\n callback: (entry: TEntry, arrayIndex: number) => Promise<TRetVal>,\n options?: (IAsyncParallelismOptions & { weighted?: false }) | undefined\n ): Promise<TRetVal[]>;\n\n /**\n * Given an input array and a `callback` function, invoke the callback to start a\n * promise for each element in the array. Returns an array containing the results.\n *\n * @remarks\n * This API is similar to the system `Array#map`, except that the loop is asynchronous,\n * and the maximum number of concurrent units can be throttled\n * using {@link IAsyncParallelismOptions.concurrency}. Using the {@link IAsyncParallelismOptions.weighted}\n * option, the weight of each operation can be specified, which determines how many concurrent units it takes up.\n *\n * If `callback` throws a synchronous exception, or if it returns a promise that rejects,\n * then the loop stops immediately. Any remaining array items will be skipped, and\n * overall operation will reject with the first error that was encountered.\n *\n * @param iterable - the array of inputs for the callback function\n * @param callback - a function that starts an asynchronous promise for an element\n * from the array\n * @param options - options for customizing the control flow\n * @returns an array containing the result for each callback, in the same order\n * as the original input `array`\n */\n public static async mapAsync<TEntry extends IWeighted, TRetVal>(\n iterable: Iterable<TEntry> | AsyncIterable<TEntry>,\n callback: (entry: TEntry, arrayIndex: number) => Promise<TRetVal>,\n options: IAsyncParallelismOptions & { weighted: true }\n ): Promise<TRetVal[]>;\n public static async mapAsync<TEntry, TRetVal>(\n iterable: Iterable<TEntry> | AsyncIterable<TEntry>,\n callback: (entry: TEntry, arrayIndex: number) => Promise<TRetVal>,\n options?: IAsyncParallelismOptions | undefined\n ): Promise<TRetVal[]> {\n const result: TRetVal[] = [];\n\n // @ts-expect-error https://github.com/microsoft/TypeScript/issues/22609, it succeeds against the implementation but fails against the overloads\n await Async.forEachAsync(\n iterable,\n async (item: TEntry, arrayIndex: number): Promise<void> => {\n result[arrayIndex] = await callback(item, arrayIndex);\n },\n options\n );\n\n return result;\n }\n\n private static async _forEachWeightedAsync<TReturn, TEntry extends { weight: number; element: TReturn }>(\n iterable: AsyncIterable<TEntry>,\n callback: (entry: TReturn, arrayIndex: number) => Promise<void>,\n options?: IAsyncParallelismOptions | undefined\n ): Promise<void> {\n await new Promise<void>((resolve: () => void, reject: (error: Error) => void) => {\n const concurrency: number =\n options?.concurrency && options.concurrency > 0 ? options.concurrency : Infinity;\n let concurrentUnitsInProgress: number = 0;\n\n const iterator: Iterator<TEntry> | AsyncIterator<TEntry> = (iterable as AsyncIterable<TEntry>)[\n Symbol.asyncIterator\n ].call(iterable);\n\n let arrayIndex: number = 0;\n let iteratorIsComplete: boolean = false;\n let promiseHasResolvedOrRejected: boolean = false;\n\n async function queueOperationsAsync(): Promise<void> {\n while (\n concurrentUnitsInProgress < concurrency &&\n !iteratorIsComplete &&\n !promiseHasResolvedOrRejected\n ) {\n // Increment the current concurrency units in progress by the concurrency limit before fetching the iterator weight.\n // This function is reentrant, so this if concurrency is finite, at most 1 operation will be waiting. If it's infinite,\n // there will be effectively no cap on the number of operations waiting.\n const limitedConcurrency: number = !Number.isFinite(concurrency) ? 1 : concurrency;\n concurrentUnitsInProgress += limitedConcurrency;\n const currentIteratorResult: IteratorResult<TEntry> = await iterator.next();\n // eslint-disable-next-line require-atomic-updates\n iteratorIsComplete = !!currentIteratorResult.done;\n\n if (!iteratorIsComplete) {\n const currentIteratorValue: TEntry = currentIteratorResult.value;\n Async.validateWeightedIterable(currentIteratorValue);\n // Cap the weight to concurrency, this allows 0 weight items to execute despite the concurrency limit.\n const weight: number = Math.min(currentIteratorValue.weight, concurrency);\n\n // Remove the \"lock\" from the concurrency check and only apply the current weight.\n // This should allow other operations to execute.\n concurrentUnitsInProgress += weight;\n concurrentUnitsInProgress -= limitedConcurrency;\n\n Promise.resolve(callback(currentIteratorValue.element, arrayIndex++))\n .then(async () => {\n // Remove the operation completely from the in progress units.\n concurrentUnitsInProgress -= weight;\n await onOperationCompletionAsync();\n })\n .catch((error) => {\n promiseHasResolvedOrRejected = true;\n reject(error);\n });\n } else {\n // The iterator is complete and there wasn't a value, so untrack the waiting state.\n concurrentUnitsInProgress -= limitedConcurrency;\n }\n }\n\n if (iteratorIsComplete) {\n await onOperationCompletionAsync();\n }\n }\n\n async function onOperationCompletionAsync(): Promise<void> {\n if (!promiseHasResolvedOrRejected) {\n if (concurrentUnitsInProgress === 0 && iteratorIsComplete) {\n promiseHasResolvedOrRejected = true;\n resolve();\n } else if (!iteratorIsComplete) {\n await queueOperationsAsync();\n }\n }\n }\n\n queueOperationsAsync().catch((error) => {\n promiseHasResolvedOrRejected = true;\n reject(error);\n });\n });\n }\n\n /**\n * Given an input array and a `callback` function, invoke the callback to start a\n * promise for each element in the array.\n *\n * @remarks\n * This API is similar to the system `Array#forEach`, except that the loop is asynchronous,\n * and the maximum number of concurrent promises can be throttled\n * using {@link IAsyncParallelismOptions.concurrency}.\n *\n * If `callback` throws a synchronous exception, or if it returns a promise that rejects,\n * then the loop stops immediately. Any remaining array items will be skipped, and\n * overall operation will reject with the first error that was encountered.\n *\n * @param iterable - the array of inputs for the callback function\n * @param callback - a function that starts an asynchronous promise for an element\n * from the array\n * @param options - options for customizing the control flow\n */\n public static async forEachAsync<TEntry>(\n iterable: Iterable<TEntry> | AsyncIterable<TEntry>,\n callback: (entry: TEntry, arrayIndex: number) => Promise<void>,\n options?: (IAsyncParallelismOptions & { weighted?: false }) | undefined\n ): Promise<void>;\n\n /**\n * Given an input array and a `callback` function, invoke the callback to start a\n * promise for each element in the array.\n *\n * @remarks\n * This API is similar to the other `Array#forEachAsync`, except that each item can have\n * a weight that determines how many concurrent operations are allowed. The unweighted\n * `Array#forEachAsync` is a special case of this method where weight = 1 for all items.\n *\n * The maximum number of concurrent operations can still be throttled using\n * {@link IAsyncParallelismOptions.concurrency}, however it no longer determines the\n * maximum number of operations that can be in progress at once. Instead, it determines the\n * number of concurrency units that can be in progress at once. The weight of each operation\n * determines how many concurrency units it takes up. For example, if the concurrency is 2\n * and the first operation has a weight of 2, then only one more operation can be in progress.\n *\n * If `callback` throws a synchronous exception, or if it returns a promise that rejects,\n * then the loop stops immediately. Any remaining array items will be skipped, and\n * overall operation will reject with the first error that was encountered.\n *\n * @param iterable - the array of inputs for the callback function\n * @param callback - a function that starts an asynchronous promise for an element\n * from the array\n * @param options - options for customizing the control flow\n */\n public static async forEachAsync<TEntry extends IWeighted>(\n iterable: Iterable<TEntry> | AsyncIterable<TEntry>,\n callback: (entry: TEntry, arrayIndex: number) => Promise<void>,\n options: IAsyncParallelismOptions & { weighted: true }\n ): Promise<void>;\n public static async forEachAsync<TEntry>(\n iterable: Iterable<TEntry> | AsyncIterable<TEntry>,\n callback: (entry: TEntry, arrayIndex: number) => Promise<void>,\n options?: IAsyncParallelismOptions\n ): Promise<void> {\n await Async._forEachWeightedAsync(toWeightedIterator(iterable, options?.weighted), callback, options);\n }\n\n /**\n * Return a promise that resolves after the specified number of milliseconds.\n */\n public static async sleepAsync(ms: number): Promise<void> {\n await new Promise((resolve) => {\n setTimeout(resolve, ms);\n });\n }\n\n /**\n * Executes an async function and optionally retries it if it fails.\n */\n public static async runWithRetriesAsync<TResult>({\n action,\n maxRetries,\n retryDelayMs = 0\n }: IRunWithRetriesOptions<TResult>): Promise<TResult> {\n let retryCount: number = 0;\n // eslint-disable-next-line no-constant-condition\n while (true) {\n try {\n return await action(retryCount);\n } catch (e) {\n if (++retryCount > maxRetries) {\n throw e;\n } else if (retryDelayMs > 0) {\n await Async.sleepAsync(retryDelayMs);\n }\n }\n }\n }\n\n /**\n * Ensures that the argument is a valid {@link IWeighted}, with a `weight` argument that\n * is a positive integer or 0.\n */\n public static validateWeightedIterable(operation: IWeighted): void {\n if (operation.weight < 0) {\n throw new Error('Weight must be a whole number greater than or equal to 0');\n }\n if (operation.weight % 1 !== 0) {\n throw new Error('Weight must be a whole number greater than or equal to 0');\n }\n }\n\n /**\n * Returns a Signal, a.k.a. a \"deferred promise\".\n */\n public static getSignal(): [Promise<void>, () => void, (err: Error) => void] {\n return getSignal();\n }\n}\n\n/**\n * Returns an unwrapped promise.\n */\nfunction getSignal(): [Promise<void>, () => void, (err: Error) => void] {\n let resolver: () => void;\n let rejecter: (err: Error) => void;\n const promise: Promise<void> = new Promise<void>((resolve, reject) => {\n resolver = resolve;\n rejecter = reject;\n });\n return [promise, resolver!, rejecter!];\n}\n\n/**\n * A queue that allows for asynchronous iteration. During iteration, the queue will wait until\n * the next item is pushed into the queue before yielding. If instead all queue items are consumed\n * and all callbacks have been called, the queue will return.\n *\n * @public\n */\nexport class AsyncQueue<T> implements AsyncIterable<[T, () => void]> {\n private _queue: T[];\n private _onPushSignal: Promise<void>;\n private _onPushResolve: () => void;\n\n public constructor(iterable?: Iterable<T>) {\n this._queue = iterable ? Array.from(iterable) : [];\n const [promise, resolver] = getSignal();\n this._onPushSignal = promise;\n this._onPushResolve = resolver;\n }\n\n public async *[Symbol.asyncIterator](): AsyncIterableIterator<[T, () => void]> {\n let activeIterations: number = 0;\n let [callbackSignal, callbackResolve] = getSignal();\n const callback: () => void = () => {\n if (--activeIterations === 0) {\n // Resolve whatever the latest callback promise is and create a new one\n callbackResolve();\n const [newCallbackSignal, newCallbackResolve] = getSignal();\n callbackSignal = newCallbackSignal;\n callbackResolve = newCallbackResolve;\n }\n };\n\n let position: number = 0;\n while (this._queue.length > position || activeIterations > 0) {\n if (this._queue.length > position) {\n activeIterations++;\n yield [this._queue[position++], callback];\n } else {\n // On push, the item will be added to the queue and the onPushSignal will be resolved.\n // On calling the callback, active iterations will be decremented by the callback and the\n // callbackSignal will be resolved. This means that the loop will continue if there are\n // active iterations or if there are items in the queue that haven't been yielded yet.\n await Promise.race([this._onPushSignal, callbackSignal]);\n }\n }\n }\n\n /**\n * Adds an item to the queue.\n *\n * @param item - The item to push into the queue.\n */\n public push(item: T): void {\n this._queue.push(item);\n this._onPushResolve();\n const [onPushSignal, onPushResolve] = getSignal();\n this._onPushSignal = onPushSignal;\n this._onPushResolve = onPushResolve;\n }\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* String constants for common filenames and parts of filenames.
|
|
3
|
+
*
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare const FileConstants: {
|
|
7
|
+
/**
|
|
8
|
+
* "package.json" - the configuration file that defines an NPM package
|
|
9
|
+
*/
|
|
10
|
+
readonly PackageJson: "package.json";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* String constants for common folder names.
|
|
14
|
+
*
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare const FolderConstants: {
|
|
18
|
+
/**
|
|
19
|
+
* ".git" - the data storage for a Git working folder
|
|
20
|
+
*/
|
|
21
|
+
readonly Git: ".git";
|
|
22
|
+
/**
|
|
23
|
+
* "node_modules" - the folder where package managers install their files
|
|
24
|
+
*/
|
|
25
|
+
readonly NodeModules: "node_modules";
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=Constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../src/Constants.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH,eAAO,MAAM,aAAa;IACxB;;OAEG;;CAEK,CAAC;AAEX;;;;GAIG;AAEH,eAAO,MAAM,eAAe;IAC1B;;OAEG;;IAGH;;OAEG;;CAEK,CAAC"}
|