@wo658/redpact 0.3.0 → 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/environment/testcontainers.js +20 -6
- package/dist/adapters/environment/unit-container.js +6 -3
- package/dist/adapters/environment/unit-worker.js +14 -1
- package/dist/adapters/playwright/Dockerfile +3 -0
- package/dist/adapters/playwright/worker.js +23 -1
- 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-D5_0c71T.js → abnfDiagram-O67JEVCF-BiCoaTQf.js} +1 -1
- package/dist/ui/assets/{arc-CvMU1nxC.js → arc-CxrXKzN8.js} +1 -1
- package/dist/ui/assets/architecture-7GRP2DOG-DzS62Mws.js +1 -0
- package/dist/ui/assets/{architectureDiagram-NJMV4G6O-C5pnJhyL.js → architectureDiagram-NJMV4G6O-Ds10Nax8.js} +1 -1
- package/dist/ui/assets/{blockDiagram-BEXU5L5S-CSY4YaYG.js → blockDiagram-BEXU5L5S-Dcwb-Nc2.js} +1 -1
- package/dist/ui/assets/{c4Diagram-YGBWAQC7-BAqi3qgX.js → c4Diagram-YGBWAQC7-HJ2BM4QS.js} +1 -1
- package/dist/ui/assets/channel-B7JCQNOt.js +1 -0
- package/dist/ui/assets/{chunk-3FUC2YCW-Brp5pppL.js → chunk-3FUC2YCW-CuqADqJd.js} +1 -1
- package/dist/ui/assets/{chunk-5DYCD2WN-DPF_imHM.js → chunk-5DYCD2WN-b1GJEpV0.js} +1 -1
- package/dist/ui/assets/{chunk-742MDFTN-B7dqi4lM.js → chunk-742MDFTN-DwTTnubN.js} +1 -1
- package/dist/ui/assets/{chunk-7INBJB4K-owIg7950.js → chunk-7INBJB4K-ByUayPM9.js} +1 -1
- package/dist/ui/assets/{chunk-7M6MHVWA-DxdsTD3q.js → chunk-7M6MHVWA-BzJnRALV.js} +1 -1
- package/dist/ui/assets/{chunk-7PRAP22T-CnZEk7pT.js → chunk-7PRAP22T-CvUIEla0.js} +1 -1
- package/dist/ui/assets/{chunk-GTNCS2PH-tIfcSoKX.js → chunk-GTNCS2PH-BczyBknu.js} +1 -1
- package/dist/ui/assets/{chunk-GWA4HPMP-DvKgnHj7.js → chunk-GWA4HPMP-nIcuf26U.js} +1 -1
- package/dist/ui/assets/{chunk-MBY4JIJT-DecLyoJ2.js → chunk-MBY4JIJT-CPIDP_2H.js} +1 -1
- package/dist/ui/assets/{chunk-NETBCI7D-IIqAxd8x.js → chunk-NETBCI7D-JpQfB3bx.js} +1 -1
- package/dist/ui/assets/{chunk-O7XYJQB3-BYf0cBjb.js → chunk-O7XYJQB3-CC25iKdK.js} +1 -1
- package/dist/ui/assets/{chunk-UA2S7LBM-Axt5K_7j.js → chunk-UA2S7LBM-nOnMeXlB.js} +1 -1
- package/dist/ui/assets/{chunk-WEXAMYUT-DZkcP9P-.js → chunk-WEXAMYUT-Cb5Q6TBg.js} +1 -1
- package/dist/ui/assets/{chunk-XXDRQBXY-DEJDL8DG.js → chunk-XXDRQBXY-BR_j9H82.js} +1 -1
- package/dist/ui/assets/{chunk-Z7XXMR3K-B2eslene.js → chunk-Z7XXMR3K-Br0zWe3T.js} +1 -1
- package/dist/ui/assets/{chunk-ZIGJFQKS-Bo83y6q0.js → chunk-ZIGJFQKS-CawGFIJO.js} +1 -1
- package/dist/ui/assets/{classDiagram-v2-NBCMYWYE-DKtuWfBH.js → classDiagram-v2-NBCMYWYE-NKNUahqj.js} +1 -1
- package/dist/ui/assets/{cose-bilkent-JH36ORCC-jj68zcpo.js → cose-bilkent-JH36ORCC-Y-4g3CTm.js} +1 -1
- package/dist/ui/assets/{cynefin-OW5HDTMX-DHM-y63G.js → cynefin-OW5HDTMX-Chevf1KQ.js} +1 -1
- package/dist/ui/assets/{cynefinDiagram-VND7K2PF-CcbJEZHa.js → cynefinDiagram-VND7K2PF-CixOvfUu.js} +1 -1
- package/dist/ui/assets/{dagre-6A5THRUB-ih8pcWrJ.js → dagre-6A5THRUB-BIi9RwPd.js} +1 -1
- package/dist/ui/assets/{diagram-22UHCM2B-gOFjM4vX.js → diagram-22UHCM2B-7GYKgpWA.js} +1 -1
- package/dist/ui/assets/{diagram-3UASUU5V-A2EuBZrm.js → diagram-3UASUU5V-lDVeRm5S.js} +1 -1
- package/dist/ui/assets/{diagram-ATOU4E4O-NEnWb4jR.js → diagram-ATOU4E4O-BbeHNWgT.js} +1 -1
- package/dist/ui/assets/{diagram-CDSNMT55-BDkkiBbT.js → diagram-CDSNMT55-DEPkOKCq.js} +1 -1
- package/dist/ui/assets/{diagram-MLGK6HIB-BuxDP96l.js → diagram-MLGK6HIB-BOhVXMr1.js} +1 -1
- package/dist/ui/assets/{diagram-MPIPVDR6-DOvr2wp9.js → diagram-MPIPVDR6-B1zhvHtS.js} +1 -1
- package/dist/ui/assets/{dist-BMqRQFXW.js → dist-Y9mhSTs4.js} +1 -1
- package/dist/ui/assets/{ebnfDiagram-ZINNZB2B-C5aqA0VA.js → ebnfDiagram-ZINNZB2B-DkBkKcsD.js} +1 -1
- package/dist/ui/assets/{elk-276RUBZZ-C6X_c2Qp.js → elk-276RUBZZ-D-FlTgY6.js} +1 -1
- package/dist/ui/assets/{erDiagram-OPXOYQCR-DzZLfUpD.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-uqyVG-ha.js → ganttDiagram-FUAMR5RP-D9hU2YEJ.js} +1 -1
- package/dist/ui/assets/{gitGraph-4MIJSDKK-54WYqHOb.js → gitGraph-4MIJSDKK-DcM8C44E.js} +1 -1
- package/dist/ui/assets/{gitGraphDiagram-X574FWY7-CoyxlEFA.js → gitGraphDiagram-X574FWY7-BpyLWtlE.js} +1 -1
- package/dist/ui/assets/{index-BPzC2fNH.js → index-C6BQea5D.js} +85 -36
- package/dist/ui/assets/index-wV1j-lxy.css +2 -0
- package/dist/ui/assets/{info-A6RAGUB7-6Lv6e68U.js → info-A6RAGUB7-kmvTF9rq.js} +1 -1
- package/dist/ui/assets/{infoDiagram-VRGFBTTK-BghGYAtB.js → infoDiagram-VRGFBTTK-C4j1703E.js} +1 -1
- package/dist/ui/assets/{ishikawaDiagram-OU5B5YK6-BbkNzdDX.js → ishikawaDiagram-OU5B5YK6-CKT-7Yqr.js} +1 -1
- package/dist/ui/assets/{journeyDiagram-ZHPQQLJL-CK0HYMSC.js → journeyDiagram-ZHPQQLJL--1ABIaof.js} +1 -1
- package/dist/ui/assets/{kanban-definition-PNTS6WVX-CGSylxjl.js → kanban-definition-PNTS6WVX-HRsNQdJi.js} +1 -1
- package/dist/ui/assets/{line-CVcWw_Fo.js → line-BNnBYEq7.js} +1 -1
- package/dist/ui/assets/{linear-RJCo1zL5.js → linear-Dg21fXMn.js} +1 -1
- package/dist/ui/assets/{mermaid-parser.core-Cin6zZf8.js → mermaid-parser.core-51-5cp-f.js} +3 -3
- package/dist/ui/assets/{mermaid.core-Dmtm0D6c.js → mermaid.core-Bh6yYw1O.js} +4 -4
- package/dist/ui/assets/{mindmap-definition-NLK3R4M7-8pvUDbSj.js → mindmap-definition-NLK3R4M7-KvbA5EXr.js} +1 -1
- package/dist/ui/assets/{packet-AYTQ26CC-CEo_fz3H.js → packet-AYTQ26CC-DjdXSHI4.js} +1 -1
- package/dist/ui/assets/{pegDiagram-GJSIUBJH-DOOIWOJx.js → pegDiagram-GJSIUBJH-C8FSYsRP.js} +1 -1
- package/dist/ui/assets/{pie-WAS4IAKB-BrexEBCD.js → pie-WAS4IAKB-C46SWflT.js} +1 -1
- package/dist/ui/assets/{pieDiagram-5QR66LMP-CBc41tNG.js → pieDiagram-5QR66LMP-DcpJ7J7i.js} +1 -1
- package/dist/ui/assets/{quadrantDiagram-O4NWA36T-yer4erh3.js → quadrantDiagram-O4NWA36T-CI7l8g1A.js} +1 -1
- package/dist/ui/assets/{radar-RG4KPBEZ-JE5pdoOY.js → radar-RG4KPBEZ-PjPzXWz1.js} +1 -1
- package/dist/ui/assets/{railroad-74A4TZTK-B9nKImjh.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-C2FoKWNS.js → railroadDiagram-XR7U4H2S-CIexvrBP.js} +1 -1
- package/dist/ui/assets/{requirementDiagram-PLB6GJNP-BTN63NDy.js → requirementDiagram-PLB6GJNP-Bv8jD81I.js} +1 -1
- package/dist/ui/assets/{sankeyDiagram-IPEJSGJF-BjQ9u5cf.js → sankeyDiagram-IPEJSGJF-CQ9lxjuX.js} +1 -1
- package/dist/ui/assets/{sequenceDiagram-PO4LG4MO-B7FKQ9Xt.js → sequenceDiagram-PO4LG4MO-yp4qzDdM.js} +1 -1
- package/dist/ui/assets/{src-Bej7g-L4.js → src-DF6fzdKB.js} +1 -1
- package/dist/ui/assets/{stateDiagram-v2-GCMORJYK-DzUKzX-s.js → stateDiagram-v2-GCMORJYK-DHWaTU4b.js} +1 -1
- package/dist/ui/assets/{swimlanes-2SLR337P-Bjc68vr3.js → swimlanes-2SLR337P-BfUiEMri.js} +1 -1
- package/dist/ui/assets/swimlanesDiagram-TC7HE7FX-BVGQ6M2p.js +8 -0
- package/dist/ui/assets/{timeline-definition-EJHVYXUP-VZqo3r3d.js → timeline-definition-EJHVYXUP-Cj3SdHoX.js} +1 -1
- package/dist/ui/assets/{treeView-Q6P3EWNA--uDmQgIe.js → treeView-Q6P3EWNA-DmyaZDs_.js} +1 -1
- package/dist/ui/assets/{treemap-WGGIJYW6-CW9TiLvB.js → treemap-WGGIJYW6-Cy3z00JO.js} +1 -1
- package/dist/ui/assets/{usecaseDiagram-POWQR4AR-CmyArIke.js → usecaseDiagram-POWQR4AR-BHAy9inW.js} +1 -1
- package/dist/ui/assets/{vennDiagram-UO4OBE2U-DUhnK8jn.js → vennDiagram-UO4OBE2U-GHEFwE_2.js} +1 -1
- package/dist/ui/assets/{wardley-WFR3VGLG-DZocd00g.js → wardley-WFR3VGLG-CjNcKpKj.js} +1 -1
- package/dist/ui/assets/{wardleyDiagram-VNRHLVJA-DnHCIASf.js → wardleyDiagram-VNRHLVJA-shbe21uu.js} +1 -1
- package/dist/ui/assets/{xychartDiagram-PMCCYNJV-BzqtLoNZ.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-C_8wRkfR.js +0 -1
- package/dist/ui/assets/channel-IXYN7T6d.js +0 -1
- package/dist/ui/assets/eventmodeling-NTZA5JFV-DJMyacNa.js +0 -1
- package/dist/ui/assets/flowDiagram-KWPJA3E3-iAaJj6dh.js +0 -1
- package/dist/ui/assets/index-gtLHyvxQ.css +0 -2
- package/dist/ui/assets/railroad-abnf-HS5TGJTU-CAGz711E.js +0 -1
- package/dist/ui/assets/railroad-ebnf-LZEXJU2U-y05iApC_.js +0 -1
- package/dist/ui/assets/railroad-peg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AC,SAAS,CAAC,GAAG,CAAC,aAAa;oBAC3D,sBAAsB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,+CAA+C,CAChG,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF;AA1lBD,gCA0lBC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport * as os from 'os';\nimport * as child_process from 'child_process';\nimport * as path from 'path';\nimport { EnvironmentMap } from './EnvironmentMap';\n\nimport { FileSystem } from './FileSystem';\nimport { PosixModeBits } from './PosixModeBits';\nimport { Text } from './Text';\nimport { InternalError } from './InternalError';\n\nconst OS_PLATFORM: NodeJS.Platform = os.platform();\n\n/**\n * Typings for one of the streams inside IExecutableSpawnSyncOptions.stdio.\n * @public\n */\nexport type ExecutableStdioStreamMapping =\n | 'pipe'\n | 'ignore'\n | 'inherit'\n | NodeJS.WritableStream\n | NodeJS.ReadableStream\n | number\n | undefined;\n\n/**\n * Types for {@link IExecutableSpawnSyncOptions.stdio}\n * and {@link IExecutableSpawnOptions.stdio}\n * @public\n */\nexport type ExecutableStdioMapping = 'pipe' | 'ignore' | 'inherit' | ExecutableStdioStreamMapping[];\n\n/**\n * Options for Executable.tryResolve().\n * @public\n */\nexport interface IExecutableResolveOptions {\n /**\n * The current working directory. If omitted, process.cwd() will be used.\n */\n currentWorkingDirectory?: string;\n\n /**\n * The environment variables for the child process.\n *\n * @remarks\n * If `environment` and `environmentMap` are both omitted, then `process.env` will be used.\n * If `environment` and `environmentMap` cannot both be specified.\n */\n environment?: NodeJS.ProcessEnv;\n\n /**\n * The environment variables for the child process.\n *\n * @remarks\n * If `environment` and `environmentMap` are both omitted, then `process.env` will be used.\n * If `environment` and `environmentMap` cannot both be specified.\n */\n environmentMap?: EnvironmentMap;\n}\n\n/**\n * Options for {@link Executable.spawnSync}\n * @public\n */\nexport interface IExecutableSpawnSyncOptions extends IExecutableResolveOptions {\n /**\n * The content to be passed to the child process's stdin.\n *\n * NOTE: If specified, this content replaces any IExecutableSpawnSyncOptions.stdio[0]\n * mapping for stdin.\n */\n input?: string;\n\n /**\n * The stdio mappings for the child process.\n *\n * NOTE: If IExecutableSpawnSyncOptions.input is provided, it will take precedence\n * over the stdin mapping (stdio[0]).\n */\n stdio?: ExecutableStdioMapping;\n\n /**\n * The maximum time the process is allowed to run before it will be terminated.\n */\n timeoutMs?: number;\n\n /**\n * The largest amount of bytes allowed on stdout or stderr for this synchronous operation.\n * If exceeded, the child process will be terminated. The default is 200 * 1024.\n */\n maxBuffer?: number;\n}\n\n/**\n * Options for {@link Executable.spawn}\n * @public\n */\nexport interface IExecutableSpawnOptions extends IExecutableResolveOptions {\n /**\n * The stdio mappings for the child process.\n *\n * NOTE: If IExecutableSpawnSyncOptions.input is provided, it will take precedence\n * over the stdin mapping (stdio[0]).\n */\n stdio?: ExecutableStdioMapping;\n}\n\n/**\n * The options for running a process to completion using {@link Executable.(waitForExitAsync:3)}.\n *\n * @public\n */\nexport interface IWaitForExitOptions {\n /**\n * Whether or not to throw when the process completes with a non-zero exit code. Defaults to false.\n *\n * @defaultValue false\n */\n throwOnNonZeroExitCode?: boolean;\n\n /**\n * Whether or not to throw when the process is terminated by a signal. Defaults to false.\n *\n * @defaultValue false\n */\n throwOnSignal?: boolean;\n\n /**\n * The encoding of the output. If not provided, the output will not be collected.\n */\n encoding?: BufferEncoding | 'buffer';\n}\n\n/**\n * {@inheritDoc IWaitForExitOptions}\n *\n * @public\n */\nexport interface IWaitForExitWithStringOptions extends IWaitForExitOptions {\n /**\n * {@inheritDoc IWaitForExitOptions.encoding}\n */\n encoding: BufferEncoding;\n}\n\n/**\n * {@inheritDoc IWaitForExitOptions}\n *\n * @public\n */\nexport interface IWaitForExitWithBufferOptions extends IWaitForExitOptions {\n /**\n * {@inheritDoc IWaitForExitOptions.encoding}\n */\n encoding: 'buffer';\n}\n\n/**\n * The result of running a process to completion using {@link Executable.(waitForExitAsync:3)}.\n *\n * @public\n */\nexport interface IWaitForExitResult<T extends Buffer | string | never = never> {\n /**\n * The process stdout output, if encoding was specified.\n */\n stdout: T;\n\n /**\n * The process stderr output, if encoding was specified.\n */\n stderr: T;\n\n /**\n * The process exit code. If the process was terminated, this will be null.\n */\n // eslint-disable-next-line @rushstack/no-new-null\n exitCode: number | null;\n\n /**\n * The process signal that terminated the process. If the process exited normally, this will be null.\n */\n // eslint-disable-next-line @rushstack/no-new-null\n signal: string | null;\n}\n\n// Common environmental state used by Executable members\ninterface IExecutableContext {\n currentWorkingDirectory: string;\n environmentMap: EnvironmentMap;\n // For Windows, the parsed PATHEXT environment variable\n windowsExecutableExtensions: string[];\n}\n\ninterface ICommandLineOptions {\n path: string;\n args: string[];\n}\n\n/**\n * Process information sourced from the system. This process info is sourced differently depending\n * on the operating system:\n * - On Windows, this uses the `wmic.exe` utility.\n * - On Unix, this uses the `ps` utility.\n *\n * @public\n */\nexport interface IProcessInfo {\n /**\n * The name of the process.\n *\n * @remarks On Windows, the process name will be empty if the process is a kernel process.\n * On Unix, the process name will be empty if the process is the root process.\n */\n processName: string;\n\n /**\n * The process ID.\n */\n processId: number;\n\n /**\n * The parent process info.\n *\n * @remarks On Windows, the parent process info will be undefined if the process is a kernel process.\n * On Unix, the parent process info will be undefined if the process is the root process.\n */\n parentProcessInfo: IProcessInfo | undefined;\n\n /**\n * The child process infos.\n */\n childProcessInfos: IProcessInfo[];\n}\n\nexport async function parseProcessListOutputAsync(\n stream: NodeJS.ReadableStream,\n platform: NodeJS.Platform = OS_PLATFORM\n): Promise<Map<number, IProcessInfo>> {\n const processInfoById: Map<number, IProcessInfo> = new Map<number, IProcessInfo>();\n let seenHeaders: boolean = false;\n for await (const line of Text.readLinesFromIterableAsync(stream, { ignoreEmptyLines: true })) {\n if (!seenHeaders) {\n seenHeaders = true;\n } else {\n parseProcessInfoEntry(line, processInfoById, platform);\n }\n }\n return processInfoById;\n}\n\nexport function parseProcessListOutput(\n // eslint-disable-next-line @rushstack/no-new-null\n output: Iterable<string | null>,\n platform: NodeJS.Platform = OS_PLATFORM\n): Map<number, IProcessInfo> {\n const processInfoById: Map<number, IProcessInfo> = new Map<number, IProcessInfo>();\n let seenHeaders: boolean = false;\n for (const line of Text.readLinesFromIterable(output, { ignoreEmptyLines: true })) {\n if (!seenHeaders) {\n seenHeaders = true;\n } else {\n parseProcessInfoEntry(line, processInfoById, platform);\n }\n }\n return processInfoById;\n}\n\n// win32 format:\n// Name ParentProcessId ProcessId\n// process name 1234 5678\n// unix format:\n// PPID PID COMMAND\n// 51234 56784 process name\nconst NAME_GROUP: 'name' = 'name';\nconst PROCESS_ID_GROUP: 'pid' = 'pid';\nconst PARENT_PROCESS_ID_GROUP: 'ppid' = 'ppid';\n// eslint-disable-next-line @rushstack/security/no-unsafe-regexp\nconst PROCESS_LIST_ENTRY_REGEX_WIN32: RegExp = new RegExp(\n `^(?<${NAME_GROUP}>.+?)\\\\s+(?<${PARENT_PROCESS_ID_GROUP}>\\\\d+)\\\\s+(?<${PROCESS_ID_GROUP}>\\\\d+)\\\\s*$`\n);\n// eslint-disable-next-line @rushstack/security/no-unsafe-regexp\nconst PROCESS_LIST_ENTRY_REGEX_UNIX: RegExp = new RegExp(\n `^\\\\s*(?<${PARENT_PROCESS_ID_GROUP}>\\\\d+)\\\\s+(?<${PROCESS_ID_GROUP}>\\\\d+)\\\\s+(?<${NAME_GROUP}>.+?)\\\\s*$`\n);\n\nfunction parseProcessInfoEntry(\n line: string,\n existingProcessInfoById: Map<number, IProcessInfo>,\n platform: NodeJS.Platform\n): void {\n const processListEntryRegex: RegExp =\n platform === 'win32' ? PROCESS_LIST_ENTRY_REGEX_WIN32 : PROCESS_LIST_ENTRY_REGEX_UNIX;\n const match: RegExpMatchArray | null = line.match(processListEntryRegex);\n if (!match?.groups) {\n throw new InternalError(`Invalid process list entry: ${line}`);\n }\n\n const processName: string = match.groups[NAME_GROUP];\n const processId: number = parseInt(match.groups[PROCESS_ID_GROUP], 10);\n const parentProcessId: number = parseInt(match.groups[PARENT_PROCESS_ID_GROUP], 10);\n\n // Only care about the parent process if it is not the same as the current process.\n let parentProcessInfo: IProcessInfo | undefined;\n if (parentProcessId !== processId) {\n parentProcessInfo = existingProcessInfoById.get(parentProcessId);\n if (!parentProcessInfo) {\n // Create a new placeholder entry for the parent with the information we have so far\n parentProcessInfo = {\n processName: '',\n processId: parentProcessId,\n parentProcessInfo: undefined,\n childProcessInfos: []\n };\n existingProcessInfoById.set(parentProcessId, parentProcessInfo);\n }\n }\n\n let processInfo: IProcessInfo | undefined = existingProcessInfoById.get(processId);\n if (!processInfo) {\n // Create a new entry\n processInfo = {\n processName,\n processId,\n parentProcessInfo,\n childProcessInfos: []\n };\n existingProcessInfoById.set(processId, processInfo);\n } else {\n // Update placeholder entry\n processInfo.processName = processName;\n processInfo.parentProcessInfo = parentProcessInfo;\n }\n\n // Add the process as a child of the parent process\n parentProcessInfo?.childProcessInfos.push(processInfo);\n}\n\nfunction convertToProcessInfoByNameMap(\n processInfoById: Map<number, IProcessInfo>\n): Map<string, IProcessInfo[]> {\n const processInfoByNameMap: Map<string, IProcessInfo[]> = new Map<string, IProcessInfo[]>();\n for (const processInfo of processInfoById.values()) {\n let processInfoNameEntries: IProcessInfo[] | undefined = processInfoByNameMap.get(\n processInfo.processName\n );\n if (!processInfoNameEntries) {\n processInfoNameEntries = [];\n processInfoByNameMap.set(processInfo.processName, processInfoNameEntries);\n }\n processInfoNameEntries.push(processInfo);\n }\n return processInfoByNameMap;\n}\n\nfunction getProcessListProcessOptions(): ICommandLineOptions {\n let command: string;\n let args: string[];\n if (OS_PLATFORM === 'win32') {\n command = 'wmic.exe';\n // Order of declared properties does not impact the order of the output\n args = ['process', 'get', 'Name,ParentProcessId,ProcessId'];\n } else {\n command = 'ps';\n // -A: Select all processes\n // -w: Wide format\n // -o: User-defined format\n // Order of declared properties impacts the order of the output. We will\n // need to request the \"comm\" property last in order to ensure that the\n // process names are not truncated on certain platforms\n args = ['-Awo', 'ppid,pid,comm'];\n }\n return { path: command, args };\n}\n\n/**\n * The Executable class provides a safe, portable, recommended solution for tools that need\n * to launch child processes.\n *\n * @remarks\n * The NodeJS child_process API provides a solution for launching child processes, however\n * its design encourages reliance on the operating system shell for certain features.\n * Invoking the OS shell is not safe, not portable, and generally not recommended:\n *\n * - Different shells have different behavior and command-line syntax, and which shell you\n * will get with NodeJS is unpredictable. There is no universal shell guaranteed to be\n * available on all platforms.\n *\n * - If a command parameter contains symbol characters, a shell may interpret them, which\n * can introduce a security vulnerability\n *\n * - Each shell has different rules for escaping these symbols. On Windows, the default\n * shell is incapable of escaping certain character sequences.\n *\n * The Executable API provides a pure JavaScript implementation of primitive shell-like\n * functionality for searching the default PATH, appending default file extensions on Windows,\n * and executing a file that may contain a POSIX shebang. This primitive functionality\n * is sufficient (and recommended) for most tooling scenarios.\n *\n * If you need additional shell features such as wildcard globbing, environment variable\n * expansion, piping, or built-in commands, then we recommend to use the `@microsoft/rushell`\n * library instead. Rushell is a pure JavaScript shell with a standard syntax that is\n * guaranteed to work consistently across all platforms.\n *\n * @public\n */\nexport class Executable {\n /**\n * Synchronously create a child process and optionally capture its output.\n *\n * @remarks\n * This function is similar to child_process.spawnSync(). The main differences are:\n *\n * - It does not invoke the OS shell unless the executable file is a shell script.\n * - Command-line arguments containing special characters are more accurately passed\n * through to the child process.\n * - If the filename is missing a path, then the shell's default PATH will be searched.\n * - If the filename is missing a file extension, then Windows default file extensions\n * will be searched.\n *\n * @param filename - The name of the executable file. This string must not contain any\n * command-line arguments. If the name contains any path delimiters, then the shell's\n * default PATH will not be searched.\n * @param args - The command-line arguments to be passed to the process.\n * @param options - Additional options\n * @returns the same data type as returned by the NodeJS child_process.spawnSync() API\n *\n * @privateRemarks\n *\n * NOTE: The NodeJS spawnSync() returns SpawnSyncReturns<string> or SpawnSyncReturns<Buffer>\n * polymorphically based on the options.encoding parameter value. This is a fairly confusing\n * design. In most cases, developers want string with the default encoding. If/when someone\n * wants binary output or a non-default text encoding, we will introduce a separate API function\n * with a name like \"spawnWithBufferSync\".\n */\n public static spawnSync(\n filename: string,\n args: string[],\n options?: IExecutableSpawnSyncOptions\n ): child_process.SpawnSyncReturns<string> {\n if (!options) {\n options = {};\n }\n\n const context: IExecutableContext = Executable._getExecutableContext(options);\n\n const resolvedPath: string | undefined = Executable._tryResolve(filename, options, context);\n if (!resolvedPath) {\n throw new Error(`The executable file was not found: \"${filename}\"`);\n }\n\n const spawnOptions: child_process.SpawnSyncOptionsWithStringEncoding = {\n cwd: context.currentWorkingDirectory,\n env: context.environmentMap.toObject(),\n input: options.input,\n stdio: options.stdio as child_process.StdioOptions,\n timeout: options.timeoutMs,\n maxBuffer: options.maxBuffer,\n\n // Contrary to what the NodeJS typings imply, we must explicitly specify \"utf8\" here\n // if we want the result to be SpawnSyncReturns<string> instead of SpawnSyncReturns<Buffer>.\n encoding: 'utf8',\n\n // NOTE: This is always false, because Rushell will be recommended instead of relying on the OS shell.\n shell: false\n };\n\n const normalizedCommandLine: ICommandLineOptions = Executable._buildCommandLineFixup(\n resolvedPath,\n args,\n context\n );\n\n return child_process.spawnSync(normalizedCommandLine.path, normalizedCommandLine.args, spawnOptions);\n }\n\n /**\n * Start a child process.\n *\n * @remarks\n * This function is similar to child_process.spawn(). The main differences are:\n *\n * - It does not invoke the OS shell unless the executable file is a shell script.\n * - Command-line arguments containing special characters are more accurately passed\n * through to the child process.\n * - If the filename is missing a path, then the shell's default PATH will be searched.\n * - If the filename is missing a file extension, then Windows default file extensions\n * will be searched.\n *\n * This command is asynchronous, but it does not return a `Promise`. Instead it returns\n * a Node.js `ChildProcess` supporting event notifications.\n *\n * @param filename - The name of the executable file. This string must not contain any\n * command-line arguments. If the name contains any path delimiters, then the shell's\n * default PATH will not be searched.\n * @param args - The command-line arguments to be passed to the process.\n * @param options - Additional options\n * @returns the same data type as returned by the NodeJS child_process.spawnSync() API\n */\n public static spawn(\n filename: string,\n args: string[],\n options?: IExecutableSpawnOptions\n ): child_process.ChildProcess {\n if (!options) {\n options = {};\n }\n\n const context: IExecutableContext = Executable._getExecutableContext(options);\n\n const resolvedPath: string | undefined = Executable._tryResolve(filename, options, context);\n if (!resolvedPath) {\n throw new Error(`The executable file was not found: \"${filename}\"`);\n }\n\n const spawnOptions: child_process.SpawnOptions = {\n cwd: context.currentWorkingDirectory,\n env: context.environmentMap.toObject(),\n stdio: options.stdio as child_process.StdioOptions,\n\n // NOTE: This is always false, because Rushell will be recommended instead of relying on the OS shell.\n shell: false\n };\n\n const normalizedCommandLine: ICommandLineOptions = Executable._buildCommandLineFixup(\n resolvedPath,\n args,\n context\n );\n\n return child_process.spawn(normalizedCommandLine.path, normalizedCommandLine.args, spawnOptions);\n }\n\n /* eslint-disable @rushstack/no-new-null */\n /** {@inheritDoc Executable.(waitForExitAsync:3)} */\n public static async waitForExitAsync(\n childProcess: child_process.ChildProcess,\n options: IWaitForExitWithStringOptions\n ): Promise<IWaitForExitResult<string>>;\n\n /** {@inheritDoc Executable.(waitForExitAsync:3)} */\n public static async waitForExitAsync(\n childProcess: child_process.ChildProcess,\n options: IWaitForExitWithBufferOptions\n ): Promise<IWaitForExitResult<Buffer>>;\n\n /**\n * Wait for a child process to exit and return the result.\n *\n * @param childProcess - The child process to wait for.\n * @param options - Options for waiting for the process to exit.\n */\n public static async waitForExitAsync(\n childProcess: child_process.ChildProcess,\n options?: IWaitForExitOptions\n ): Promise<IWaitForExitResult<never>>;\n\n public static async waitForExitAsync<T extends Buffer | string | never = never>(\n childProcess: child_process.ChildProcess,\n options: IWaitForExitOptions = {}\n ): Promise<IWaitForExitResult<T>> {\n const { throwOnNonZeroExitCode, throwOnSignal, encoding } = options;\n if (encoding && (!childProcess.stdout || !childProcess.stderr)) {\n throw new Error(\n 'An encoding was specified, but stdout and/or stderr on the child process are not defined'\n );\n }\n\n const collectedStdout: T[] = [];\n const collectedStderr: T[] = [];\n const useBufferEncoding: boolean = encoding === 'buffer';\n\n function normalizeChunk<TChunk extends Buffer | string>(chunk: Buffer | string): TChunk {\n if (typeof chunk === 'string') {\n return (useBufferEncoding ? Buffer.from(chunk) : chunk) as TChunk;\n } else {\n return (useBufferEncoding ? chunk : chunk.toString(encoding as BufferEncoding)) as TChunk;\n }\n }\n\n type ISignalAndExitCode = Pick<IWaitForExitResult<T>, 'exitCode' | 'signal'>;\n\n let errorThrown: Error | undefined = undefined;\n const { exitCode, signal } = await new Promise<ISignalAndExitCode>(\n (resolve: (result: ISignalAndExitCode) => void, reject: (error: Error) => void) => {\n if (encoding) {\n childProcess.stdout!.on('data', (chunk: Buffer | string) => {\n collectedStdout.push(normalizeChunk(chunk));\n });\n childProcess.stderr!.on('data', (chunk: Buffer | string) => {\n collectedStderr.push(normalizeChunk(chunk));\n });\n }\n childProcess.on('error', (error: Error) => {\n // Wait to call reject() until any output is collected\n errorThrown = error;\n });\n childProcess.on('close', (closeExitCode: number | null, closeSignal: NodeJS.Signals | null) => {\n if (errorThrown) {\n reject(errorThrown);\n }\n if (closeSignal && throwOnSignal) {\n reject(new Error(`Process terminated by ${closeSignal}`));\n } else if (closeExitCode !== 0 && throwOnNonZeroExitCode) {\n reject(new Error(`Process exited with code ${closeExitCode}`));\n } else {\n resolve({ exitCode: closeExitCode, signal: closeSignal });\n }\n });\n }\n );\n\n let stdout: T | undefined;\n let stderr: T | undefined;\n if (encoding === 'buffer') {\n stdout = Buffer.concat(collectedStdout as Buffer[]) as T;\n stderr = Buffer.concat(collectedStderr as Buffer[]) as T;\n } else if (encoding !== undefined) {\n stdout = collectedStdout.join('') as T;\n stderr = collectedStderr.join('') as T;\n }\n\n const result: IWaitForExitResult<T> = {\n stdout: stdout as T,\n stderr: stderr as T,\n exitCode,\n signal\n };\n\n return result;\n }\n /* eslint-enable @rushstack/no-new-null */\n\n /**\n * Get the list of processes currently running on the system, keyed by the process ID.\n *\n * @remarks The underlying implementation depends on the operating system:\n * - On Windows, this uses the `wmic.exe` utility.\n * - On Unix, this uses the `ps` utility.\n */\n public static async getProcessInfoByIdAsync(): Promise<Map<number, IProcessInfo>> {\n const { path: command, args } = getProcessListProcessOptions();\n const process: child_process.ChildProcess = Executable.spawn(command, args, {\n stdio: ['ignore', 'pipe', 'ignore']\n });\n if (process.stdout === null) {\n throw new InternalError('Child process did not provide stdout');\n }\n const [processInfoByIdMap] = await Promise.all([\n parseProcessListOutputAsync(process.stdout),\n // Don't collect output in the result since we process it directly\n Executable.waitForExitAsync(process, { throwOnNonZeroExitCode: true, throwOnSignal: true })\n ]);\n return processInfoByIdMap;\n }\n\n /**\n * {@inheritDoc Executable.getProcessInfoByIdAsync}\n */\n public static getProcessInfoById(): Map<number, IProcessInfo> {\n const { path: command, args } = getProcessListProcessOptions();\n const processOutput: child_process.SpawnSyncReturns<string> = Executable.spawnSync(command, args);\n if (processOutput.error) {\n throw new Error(`Unable to list processes: ${command} failed with error ${processOutput.error}`);\n }\n if (processOutput.status !== 0) {\n throw new Error(`Unable to list processes: ${command} exited with code ${processOutput.status}`);\n }\n return parseProcessListOutput(processOutput.output);\n }\n\n /**\n * Get the list of processes currently running on the system, keyed by the process name. All processes\n * with the same name will be grouped.\n *\n * @remarks The underlying implementation depends on the operating system:\n * - On Windows, this uses the `wmic.exe` utility.\n * - On Unix, this uses the `ps` utility.\n */\n public static async getProcessInfoByNameAsync(): Promise<Map<string, IProcessInfo[]>> {\n const processInfoById: Map<number, IProcessInfo> = await Executable.getProcessInfoByIdAsync();\n return convertToProcessInfoByNameMap(processInfoById);\n }\n\n /**\n * {@inheritDoc Executable.getProcessInfoByNameAsync}\n */\n public static getProcessInfoByName(): Map<string, IProcessInfo[]> {\n const processInfoByIdMap: Map<number, IProcessInfo> = Executable.getProcessInfoById();\n return convertToProcessInfoByNameMap(processInfoByIdMap);\n }\n\n // PROBLEM: Given an \"args\" array of strings that may contain special characters (e.g. spaces,\n // backslashes, quotes), ensure that these strings pass through to the child process's ARGV array\n // without anything getting corrupted along the way.\n //\n // On Unix you just pass the array to spawnSync(). But on Windows, this is a very complex problem:\n // - The Win32 CreateProcess() API expects the args to be encoded as a single text string\n // - The decoding of this string is up to the application (not the OS), and there are 3 different\n // algorithms in common usage: the cmd.exe shell, the Microsoft CRT library init code, and\n // the Win32 CommandLineToArgvW()\n // - The encodings are counterintuitive and have lots of special cases\n // - NodeJS spawnSync() tries do the encoding without knowing which decoder will be used\n //\n // See these articles for a full analysis:\n // http://www.windowsinspired.com/understanding-the-command-line-string-and-arguments-received-by-a-windows-program/\n // http://www.windowsinspired.com/how-a-windows-programs-splits-its-command-line-into-individual-arguments/\n private static _buildCommandLineFixup(\n resolvedPath: string,\n args: string[],\n context: IExecutableContext\n ): ICommandLineOptions {\n const fileExtension: string = path.extname(resolvedPath);\n\n if (OS_PLATFORM === 'win32') {\n // Do we need a custom handler for this file type?\n switch (fileExtension.toUpperCase()) {\n case '.EXE':\n case '.COM':\n // okay to execute directly\n break;\n case '.BAT':\n case '.CMD': {\n Executable._validateArgsForWindowsShell(args);\n\n // These file types must be invoked via the Windows shell\n let shellPath: string | undefined = context.environmentMap.get('COMSPEC');\n if (!shellPath || !Executable._canExecute(shellPath, context)) {\n shellPath = Executable.tryResolve('cmd.exe');\n }\n if (!shellPath) {\n throw new Error(\n `Unable to execute \"${path.basename(resolvedPath)}\" ` +\n `because CMD.exe was not found in the PATH`\n );\n }\n\n const shellArgs: string[] = [];\n // /D: Disable execution of AutoRun commands when starting the new shell context\n shellArgs.push('/d');\n // /S: Disable Cmd.exe's parsing of double-quote characters inside the command-line\n shellArgs.push('/s');\n // /C: Execute the following command and then exit immediately\n shellArgs.push('/c');\n\n // If the path contains special charactrers (e.g. spaces), escape them so that\n // they don't get interpreted by the shell\n shellArgs.push(Executable._getEscapedForWindowsShell(resolvedPath));\n shellArgs.push(...args);\n\n return { path: shellPath, args: shellArgs };\n }\n default:\n throw new Error(\n `Cannot execute \"${path.basename(resolvedPath)}\" because the file type is not supported`\n );\n }\n }\n\n return {\n path: resolvedPath,\n args: args\n };\n }\n\n /**\n * Given a filename, this determines the absolute path of the executable file that would\n * be executed by a shell:\n *\n * - If the filename is missing a path, then the shell's default PATH will be searched.\n * - If the filename is missing a file extension, then Windows default file extensions\n * will be searched.\n *\n * @remarks\n *\n * @param filename - The name of the executable file. This string must not contain any\n * command-line arguments. If the name contains any path delimiters, then the shell's\n * default PATH will not be searched.\n * @param options - optional other parameters\n * @returns the absolute path of the executable, or undefined if it was not found\n */\n public static tryResolve(filename: string, options?: IExecutableResolveOptions): string | undefined {\n return Executable._tryResolve(filename, options || {}, Executable._getExecutableContext(options));\n }\n\n private static _tryResolve(\n filename: string,\n options: IExecutableResolveOptions,\n context: IExecutableContext\n ): string | undefined {\n // NOTE: Since \"filename\" cannot contain command-line arguments, the \"/\" here\n // must be interpreted as a path delimiter\n const hasPathSeparators: boolean =\n filename.indexOf('/') >= 0 || (OS_PLATFORM === 'win32' && filename.indexOf('\\\\') >= 0);\n\n // Are there any path separators?\n if (hasPathSeparators) {\n // If so, then don't search the PATH. Just resolve relative to the current working directory\n const resolvedPath: string = path.resolve(context.currentWorkingDirectory, filename);\n return Executable._tryResolveFileExtension(resolvedPath, context);\n } else {\n // Otherwise if it's a bare name, then try everything in the shell PATH\n const pathsToSearch: string[] = Executable._getSearchFolders(context);\n\n for (const pathToSearch of pathsToSearch) {\n const resolvedPath: string = path.join(pathToSearch, filename);\n const result: string | undefined = Executable._tryResolveFileExtension(resolvedPath, context);\n if (result) {\n return result;\n }\n }\n\n // No match was found\n return undefined;\n }\n }\n\n private static _tryResolveFileExtension(\n resolvedPath: string,\n context: IExecutableContext\n ): string | undefined {\n if (Executable._canExecute(resolvedPath, context)) {\n return resolvedPath;\n }\n\n // Try the default file extensions\n for (const shellExtension of context.windowsExecutableExtensions) {\n const resolvedNameWithExtension: string = resolvedPath + shellExtension;\n\n if (Executable._canExecute(resolvedNameWithExtension, context)) {\n return resolvedNameWithExtension;\n }\n }\n\n return undefined;\n }\n\n private static _buildEnvironmentMap(options: IExecutableResolveOptions): EnvironmentMap {\n const environmentMap: EnvironmentMap = new EnvironmentMap();\n if (options.environment !== undefined && options.environmentMap !== undefined) {\n throw new Error(\n 'IExecutableResolveOptions.environment and IExecutableResolveOptions.environmentMap' +\n ' cannot both be specified'\n );\n }\n if (options.environment !== undefined) {\n environmentMap.mergeFromObject(options.environment);\n } else if (options.environmentMap !== undefined) {\n environmentMap.mergeFrom(options.environmentMap);\n } else {\n environmentMap.mergeFromObject(process.env);\n }\n return environmentMap;\n }\n\n /**\n * This is used when searching the shell PATH for an executable, to determine\n * whether a match should be skipped or not. If it returns true, this does not\n * guarantee that the file can be successfully executed.\n */\n private static _canExecute(filePath: string, context: IExecutableContext): boolean {\n if (!FileSystem.exists(filePath)) {\n return false;\n }\n\n if (OS_PLATFORM === 'win32') {\n // NOTE: For Windows, we don't validate that the file extension appears in PATHEXT.\n // That environment variable determines which extensions can be appended if the\n // extension is missing, but it does not affect whether a file may be executed or not.\n // Windows does have a (seldom used) ACL that can be used to deny execution permissions\n // for a file, but NodeJS doesn't expose that API, so we don't bother checking it.\n\n // However, Windows *does* require that the file has some kind of file extension\n if (path.extname(filePath) === '') {\n return false;\n }\n } else {\n // For Unix, check whether any of the POSIX execute bits are set\n try {\n // eslint-disable-next-line no-bitwise\n if ((FileSystem.getPosixModeBits(filePath) & PosixModeBits.AllExecute) === 0) {\n return false; // not executable\n }\n } catch (error) {\n // If we have trouble accessing the file, ignore the error and consider it \"not executable\"\n // since that's what a shell would do\n }\n }\n\n return true;\n }\n\n /**\n * Returns the list of folders where we will search for an executable,\n * based on the PATH environment variable.\n */\n private static _getSearchFolders(context: IExecutableContext): string[] {\n const pathList: string = context.environmentMap.get('PATH') || '';\n\n const folders: string[] = [];\n\n // Avoid processing duplicates\n const seenPaths: Set<string> = new Set<string>();\n\n // NOTE: Cmd.exe on Windows always searches the current working directory first.\n // PowerShell and Unix shells do NOT do that, because it's a security concern.\n // We follow their behavior.\n\n for (const splitPath of pathList.split(path.delimiter)) {\n const trimmedPath: string = splitPath.trim();\n if (trimmedPath !== '') {\n if (!seenPaths.has(trimmedPath)) {\n // Fun fact: If you put relative paths in your PATH environment variable,\n // all shells will dynamically match them against the current working directory.\n // This is a terrible design, and in practice nobody does that, but it is supported...\n // so we allow it here.\n const resolvedPath: string = path.resolve(context.currentWorkingDirectory, trimmedPath);\n\n if (!seenPaths.has(resolvedPath)) {\n if (FileSystem.exists(resolvedPath)) {\n folders.push(resolvedPath);\n }\n\n seenPaths.add(resolvedPath);\n }\n\n seenPaths.add(trimmedPath);\n }\n }\n }\n\n return folders;\n }\n\n private static _getExecutableContext(options: IExecutableResolveOptions | undefined): IExecutableContext {\n if (!options) {\n options = {};\n }\n\n const environment: EnvironmentMap = Executable._buildEnvironmentMap(options);\n\n let currentWorkingDirectory: string;\n if (options.currentWorkingDirectory) {\n currentWorkingDirectory = path.resolve(options.currentWorkingDirectory);\n } else {\n currentWorkingDirectory = process.cwd();\n }\n\n const windowsExecutableExtensions: string[] = [];\n\n if (OS_PLATFORM === 'win32') {\n const pathExtVariable: string = environment.get('PATHEXT') || '';\n for (const splitValue of pathExtVariable.split(';')) {\n const trimmed: string = splitValue.trim().toLowerCase();\n // Ignore malformed extensions\n if (/^\\.[a-z0-9\\.]*[a-z0-9]$/i.test(trimmed)) {\n // Don't add the same extension twice\n if (windowsExecutableExtensions.indexOf(trimmed) < 0) {\n windowsExecutableExtensions.push(trimmed);\n }\n }\n }\n }\n\n return {\n environmentMap: environment,\n currentWorkingDirectory,\n windowsExecutableExtensions\n };\n }\n\n /**\n * Given an input string containing special symbol characters, this inserts the \"^\" escape\n * character to ensure the symbols are interpreted literally by the Windows shell.\n */\n private static _getEscapedForWindowsShell(text: string): string {\n const escapableCharRegExp: RegExp = /[%\\^&|<> ]/g;\n return text.replace(escapableCharRegExp, (value) => '^' + value);\n }\n\n /**\n * Checks for characters that are unsafe to pass to a Windows batch file\n * due to the way that cmd.exe implements escaping.\n */\n private static _validateArgsForWindowsShell(args: string[]): void {\n const specialCharRegExp: RegExp = /[%\\^&|<>\\r\\n]/g;\n\n for (const arg of args) {\n const match: RegExpMatchArray | null = arg.match(specialCharRegExp);\n if (match) {\n // NOTE: It is possible to escape some of these characters by prefixing them\n // with a caret (^), which allows these characters to be successfully passed\n // through to the batch file %1 variables. But they will be expanded again\n // whenever they are used. For example, NPM's binary wrapper batch files\n // use \"%*\" to pass their arguments to Node.exe, which causes them to be expanded\n // again. Unfortunately the Cmd.exe batch language provides native escaping\n // function (that could be used to insert the carets again).\n //\n // We could work around that by adding double carets, but in general there\n // is no way to predict how many times the variable will get expanded.\n // Thus, there is no generally reliable way to pass these characters.\n throw new Error(\n `The command line argument ${JSON.stringify(arg)} contains a` +\n ` special character ${JSON.stringify(match[0])} that cannot be escaped for the Windows shell`\n );\n }\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type FileLocationStyle } from './Path';
|
|
2
|
+
/**
|
|
3
|
+
* Provides options for the creation of a FileError.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface IFileErrorOptions {
|
|
8
|
+
/**
|
|
9
|
+
* The absolute path to the file that contains the error.
|
|
10
|
+
*/
|
|
11
|
+
absolutePath: string;
|
|
12
|
+
/**
|
|
13
|
+
* The root folder for the project that the error is in relation to.
|
|
14
|
+
*/
|
|
15
|
+
projectFolder: string;
|
|
16
|
+
/**
|
|
17
|
+
* The line number of the error in the target file. Minimum value is 1.
|
|
18
|
+
*/
|
|
19
|
+
line?: number;
|
|
20
|
+
/**
|
|
21
|
+
* The column number of the error in the target file. Minimum value is 1.
|
|
22
|
+
*/
|
|
23
|
+
column?: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Provides options for the output message of a file error.
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export interface IFileErrorFormattingOptions {
|
|
31
|
+
/**
|
|
32
|
+
* The format for the error message. If no format is provided, format 'Unix' is used by default.
|
|
33
|
+
*/
|
|
34
|
+
format?: FileLocationStyle;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* An `Error` subclass that should be thrown to report an unexpected state that specifically references
|
|
38
|
+
* a location in a file.
|
|
39
|
+
*
|
|
40
|
+
* @remarks The file path provided to the FileError constructor is expected to exist on disk. FileError
|
|
41
|
+
* should not be used for reporting errors that are not in reference to an existing file.
|
|
42
|
+
*
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export declare class FileError extends Error {
|
|
46
|
+
/** @internal */
|
|
47
|
+
static _sanitizedEnvironmentVariable: string | undefined;
|
|
48
|
+
/** @internal */
|
|
49
|
+
static _environmentVariableIsAbsolutePath: boolean;
|
|
50
|
+
private static _environmentVariableBasePathFnMap;
|
|
51
|
+
/** {@inheritdoc IFileErrorOptions.absolutePath} */
|
|
52
|
+
readonly absolutePath: string;
|
|
53
|
+
/** {@inheritdoc IFileErrorOptions.projectFolder} */
|
|
54
|
+
readonly projectFolder: string;
|
|
55
|
+
/** {@inheritdoc IFileErrorOptions.line} */
|
|
56
|
+
readonly line: number | undefined;
|
|
57
|
+
/** {@inheritdoc IFileErrorOptions.column} */
|
|
58
|
+
readonly column: number | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Constructs a new instance of the {@link FileError} class.
|
|
61
|
+
*
|
|
62
|
+
* @param message - A message describing the error.
|
|
63
|
+
* @param options - Options for the error.
|
|
64
|
+
*/
|
|
65
|
+
constructor(message: string, options: IFileErrorOptions);
|
|
66
|
+
/**
|
|
67
|
+
* Get the Unix-formatted the error message.
|
|
68
|
+
*
|
|
69
|
+
* @override
|
|
70
|
+
*/
|
|
71
|
+
toString(): string;
|
|
72
|
+
/**
|
|
73
|
+
* Get the formatted error message.
|
|
74
|
+
*
|
|
75
|
+
* @param options - Options for the error message format.
|
|
76
|
+
*/
|
|
77
|
+
getFormattedErrorMessage(options?: IFileErrorFormattingOptions): string;
|
|
78
|
+
private _evaluateBaseFolder;
|
|
79
|
+
static [Symbol.hasInstance](instance: object): boolean;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=FileError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileError.d.ts","sourceRoot":"","sources":["../src/FileError.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,iBAAiB,EAAQ,MAAM,QAAQ,CAAC;AAGtD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAMD;;;;;;;;GAQG;AACH,qBAAa,SAAU,SAAQ,KAAK;IAClC,gBAAgB;IAChB,OAAc,6BAA6B,EAAE,MAAM,GAAG,SAAS,CAAC;IAChE,gBAAgB;IAChB,OAAc,kCAAkC,EAAE,OAAO,CAAS;IAElE,OAAO,CAAC,MAAM,CAAC,iCAAiC,CAO7C;IAEH,mDAAmD;IACnD,SAAgB,YAAY,EAAE,MAAM,CAAC;IACrC,oDAAoD;IACpD,SAAgB,aAAa,EAAE,MAAM,CAAC;IACtC,2CAA2C;IAC3C,SAAgB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,6CAA6C;IAC7C,SAAgB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAE3C;;;;;OAKG;gBACgB,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB;IAe9D;;;;OAIG;IACI,QAAQ,IAAI,MAAM;IAKzB;;;;OAIG;IACI,wBAAwB,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,MAAM;IAW9E,OAAO,CAAC,mBAAmB;WAgDb,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;CAG9D"}
|
|
@@ -0,0 +1,113 @@
|
|
|
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.FileError = void 0;
|
|
6
|
+
const Path_1 = require("./Path");
|
|
7
|
+
const TypeUuid_1 = require("./TypeUuid");
|
|
8
|
+
const uuidFileError = '37a4c772-2dc8-4c66-89ae-262f8cc1f0c1';
|
|
9
|
+
const baseFolderEnvVar = 'RUSHSTACK_FILE_ERROR_BASE_FOLDER';
|
|
10
|
+
/**
|
|
11
|
+
* An `Error` subclass that should be thrown to report an unexpected state that specifically references
|
|
12
|
+
* a location in a file.
|
|
13
|
+
*
|
|
14
|
+
* @remarks The file path provided to the FileError constructor is expected to exist on disk. FileError
|
|
15
|
+
* should not be used for reporting errors that are not in reference to an existing file.
|
|
16
|
+
*
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
class FileError extends Error {
|
|
20
|
+
/**
|
|
21
|
+
* Constructs a new instance of the {@link FileError} class.
|
|
22
|
+
*
|
|
23
|
+
* @param message - A message describing the error.
|
|
24
|
+
* @param options - Options for the error.
|
|
25
|
+
*/
|
|
26
|
+
constructor(message, options) {
|
|
27
|
+
super(message);
|
|
28
|
+
this.absolutePath = options.absolutePath;
|
|
29
|
+
this.projectFolder = options.projectFolder;
|
|
30
|
+
this.line = options.line;
|
|
31
|
+
this.column = options.column;
|
|
32
|
+
// Manually set the prototype, as we can no longer extend built-in classes like Error, Array, Map, etc.
|
|
33
|
+
// https://github.com/microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
|
|
34
|
+
//
|
|
35
|
+
// Note: the prototype must also be set on any classes which extend this one
|
|
36
|
+
this.__proto__ = FileError.prototype; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Get the Unix-formatted the error message.
|
|
40
|
+
*
|
|
41
|
+
* @override
|
|
42
|
+
*/
|
|
43
|
+
toString() {
|
|
44
|
+
// Default to formatting in 'Unix' format, for consistency.
|
|
45
|
+
return this.getFormattedErrorMessage();
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get the formatted error message.
|
|
49
|
+
*
|
|
50
|
+
* @param options - Options for the error message format.
|
|
51
|
+
*/
|
|
52
|
+
getFormattedErrorMessage(options) {
|
|
53
|
+
return Path_1.Path.formatFileLocation({
|
|
54
|
+
format: (options === null || options === void 0 ? void 0 : options.format) || 'Unix',
|
|
55
|
+
baseFolder: this._evaluateBaseFolder(),
|
|
56
|
+
pathToFormat: this.absolutePath,
|
|
57
|
+
message: this.message,
|
|
58
|
+
line: this.line,
|
|
59
|
+
column: this.column
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
_evaluateBaseFolder() {
|
|
63
|
+
// Cache the sanitized environment variable. This means that we don't support changing
|
|
64
|
+
// the environment variable mid-execution. This is a reasonable tradeoff for the benefit
|
|
65
|
+
// of being able to cache absolute paths, since that is only able to be determined after
|
|
66
|
+
// running the regex, which is expensive. Since this would be a common execution path for
|
|
67
|
+
// tools like Rush, we should optimize for that.
|
|
68
|
+
if (!FileError._sanitizedEnvironmentVariable && process.env[baseFolderEnvVar]) {
|
|
69
|
+
// Strip leading and trailing quotes, if present.
|
|
70
|
+
FileError._sanitizedEnvironmentVariable = process.env[baseFolderEnvVar].replace(/^("|')|("|')$/g, '');
|
|
71
|
+
}
|
|
72
|
+
if (FileError._environmentVariableIsAbsolutePath) {
|
|
73
|
+
return FileError._sanitizedEnvironmentVariable;
|
|
74
|
+
}
|
|
75
|
+
// undefined environment variable has a mapping to the project folder
|
|
76
|
+
const baseFolderFn = FileError._environmentVariableBasePathFnMap.get(FileError._sanitizedEnvironmentVariable);
|
|
77
|
+
if (baseFolderFn) {
|
|
78
|
+
return baseFolderFn(this);
|
|
79
|
+
}
|
|
80
|
+
const baseFolderTokenRegex = /{([^}]+)}/g;
|
|
81
|
+
const result = baseFolderTokenRegex.exec(FileError._sanitizedEnvironmentVariable);
|
|
82
|
+
if (!result) {
|
|
83
|
+
// No tokens, assume absolute path
|
|
84
|
+
FileError._environmentVariableIsAbsolutePath = true;
|
|
85
|
+
return FileError._sanitizedEnvironmentVariable;
|
|
86
|
+
}
|
|
87
|
+
else if (result.index !== 0) {
|
|
88
|
+
// Currently only support the token being first in the string.
|
|
89
|
+
throw new Error(`The ${baseFolderEnvVar} environment variable contains text before the token "${result[0]}".`);
|
|
90
|
+
}
|
|
91
|
+
else if (result[0].length !== FileError._sanitizedEnvironmentVariable.length) {
|
|
92
|
+
// Currently only support the token being the entire string.
|
|
93
|
+
throw new Error(`The ${baseFolderEnvVar} environment variable contains text after the token "${result[0]}".`);
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
throw new Error(`The ${baseFolderEnvVar} environment variable contains a token "${result[0]}", which is not ` +
|
|
97
|
+
'supported.');
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
static [Symbol.hasInstance](instance) {
|
|
101
|
+
return TypeUuid_1.TypeUuid.isInstanceOf(instance, uuidFileError);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.FileError = FileError;
|
|
105
|
+
/** @internal */
|
|
106
|
+
FileError._environmentVariableIsAbsolutePath = false;
|
|
107
|
+
FileError._environmentVariableBasePathFnMap = new Map([
|
|
108
|
+
[undefined, (fileError) => fileError.projectFolder],
|
|
109
|
+
['{PROJECT_FOLDER}', (fileError) => fileError.projectFolder],
|
|
110
|
+
['{ABSOLUTE_PATH}', (fileError) => undefined]
|
|
111
|
+
]);
|
|
112
|
+
TypeUuid_1.TypeUuid.registerClass(FileError, uuidFileError);
|
|
113
|
+
//# sourceMappingURL=FileError.js.map
|
|
@@ -0,0 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7F,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,KAAK,CACb,OAAO,gBAAgB,2CAA2C,MAAM,CAAC,CAAC,CAAC,kBAAkB;gBAC3F,YAAY,CACf,CAAC;QACJ,CAAC;IACH,CAAC;IAEM,MAAM,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,QAAgB;QACjD,OAAO,mBAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IACxD,CAAC;;AAzHH,8BA0HC;AAvHC,gBAAgB;AACF,4CAAkC,GAAY,KAAK,CAAC;AAEnD,2CAAiC,GAG5C,IAAI,GAAG,CAAC;IACV,CAAC,SAAS,EAAE,CAAC,SAAoB,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC;IAC9D,CAAC,kBAAkB,EAAE,CAAC,SAAoB,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC;IACvE,CAAC,iBAAiB,EAAE,CAAC,SAAoB,EAAE,EAAE,CAAC,SAA+B,CAAC;CAC/E,CAAC,CAAC;AA+GL,mBAAQ,CAAC,aAAa,CAAC,SAAS,EAAE,aAAa,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 { type FileLocationStyle, Path } from './Path';\nimport { TypeUuid } from './TypeUuid';\n\n/**\n * Provides options for the creation of a FileError.\n *\n * @public\n */\nexport interface IFileErrorOptions {\n /**\n * The absolute path to the file that contains the error.\n */\n absolutePath: string;\n\n /**\n * The root folder for the project that the error is in relation to.\n */\n projectFolder: string;\n\n /**\n * The line number of the error in the target file. Minimum value is 1.\n */\n line?: number;\n\n /**\n * The column number of the error in the target file. Minimum value is 1.\n */\n column?: number;\n}\n\n/**\n * Provides options for the output message of a file error.\n *\n * @public\n */\nexport interface IFileErrorFormattingOptions {\n /**\n * The format for the error message. If no format is provided, format 'Unix' is used by default.\n */\n format?: FileLocationStyle;\n}\n\nconst uuidFileError: string = '37a4c772-2dc8-4c66-89ae-262f8cc1f0c1';\n\nconst baseFolderEnvVar: string = 'RUSHSTACK_FILE_ERROR_BASE_FOLDER';\n\n/**\n * An `Error` subclass that should be thrown to report an unexpected state that specifically references\n * a location in a file.\n *\n * @remarks The file path provided to the FileError constructor is expected to exist on disk. FileError\n * should not be used for reporting errors that are not in reference to an existing file.\n *\n * @public\n */\nexport class FileError extends Error {\n /** @internal */\n public static _sanitizedEnvironmentVariable: string | undefined;\n /** @internal */\n public static _environmentVariableIsAbsolutePath: boolean = false;\n\n private static _environmentVariableBasePathFnMap: ReadonlyMap<\n string | undefined,\n (fileError: FileError) => string | undefined\n > = new Map([\n [undefined, (fileError: FileError) => fileError.projectFolder],\n ['{PROJECT_FOLDER}', (fileError: FileError) => fileError.projectFolder],\n ['{ABSOLUTE_PATH}', (fileError: FileError) => undefined as string | undefined]\n ]);\n\n /** {@inheritdoc IFileErrorOptions.absolutePath} */\n public readonly absolutePath: string;\n /** {@inheritdoc IFileErrorOptions.projectFolder} */\n public readonly projectFolder: string;\n /** {@inheritdoc IFileErrorOptions.line} */\n public readonly line: number | undefined;\n /** {@inheritdoc IFileErrorOptions.column} */\n public readonly column: number | undefined;\n\n /**\n * Constructs a new instance of the {@link FileError} class.\n *\n * @param message - A message describing the error.\n * @param options - Options for the error.\n */\n public constructor(message: string, options: IFileErrorOptions) {\n super(message);\n\n this.absolutePath = options.absolutePath;\n this.projectFolder = options.projectFolder;\n this.line = options.line;\n this.column = options.column;\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\n //\n // Note: the prototype must also be set on any classes which extend this one\n (this as any).__proto__ = FileError.prototype; // eslint-disable-line @typescript-eslint/no-explicit-any\n }\n\n /**\n * Get the Unix-formatted the error message.\n *\n * @override\n */\n public toString(): string {\n // Default to formatting in 'Unix' format, for consistency.\n return this.getFormattedErrorMessage();\n }\n\n /**\n * Get the formatted error message.\n *\n * @param options - Options for the error message format.\n */\n public getFormattedErrorMessage(options?: IFileErrorFormattingOptions): string {\n return Path.formatFileLocation({\n format: options?.format || 'Unix',\n baseFolder: this._evaluateBaseFolder(),\n pathToFormat: this.absolutePath,\n message: this.message,\n line: this.line,\n column: this.column\n });\n }\n\n private _evaluateBaseFolder(): string | undefined {\n // Cache the sanitized environment variable. This means that we don't support changing\n // the environment variable mid-execution. This is a reasonable tradeoff for the benefit\n // of being able to cache absolute paths, since that is only able to be determined after\n // running the regex, which is expensive. Since this would be a common execution path for\n // tools like Rush, we should optimize for that.\n if (!FileError._sanitizedEnvironmentVariable && process.env[baseFolderEnvVar]) {\n // Strip leading and trailing quotes, if present.\n FileError._sanitizedEnvironmentVariable = process.env[baseFolderEnvVar]!.replace(/^(\"|')|(\"|')$/g, '');\n }\n\n if (FileError._environmentVariableIsAbsolutePath) {\n return FileError._sanitizedEnvironmentVariable;\n }\n\n // undefined environment variable has a mapping to the project folder\n const baseFolderFn: ((fileError: FileError) => string | undefined) | undefined =\n FileError._environmentVariableBasePathFnMap.get(FileError._sanitizedEnvironmentVariable);\n if (baseFolderFn) {\n return baseFolderFn(this);\n }\n\n const baseFolderTokenRegex: RegExp = /{([^}]+)}/g;\n const result: RegExpExecArray | null = baseFolderTokenRegex.exec(\n FileError._sanitizedEnvironmentVariable!\n );\n if (!result) {\n // No tokens, assume absolute path\n FileError._environmentVariableIsAbsolutePath = true;\n return FileError._sanitizedEnvironmentVariable;\n } else if (result.index !== 0) {\n // Currently only support the token being first in the string.\n throw new Error(\n `The ${baseFolderEnvVar} environment variable contains text before the token \"${result[0]}\".`\n );\n } else if (result[0].length !== FileError._sanitizedEnvironmentVariable!.length) {\n // Currently only support the token being the entire string.\n throw new Error(\n `The ${baseFolderEnvVar} environment variable contains text after the token \"${result[0]}\".`\n );\n } else {\n throw new Error(\n `The ${baseFolderEnvVar} environment variable contains a token \"${result[0]}\", which is not ` +\n 'supported.'\n );\n }\n }\n\n public static [Symbol.hasInstance](instance: object): boolean {\n return TypeUuid.isInstanceOf(instance, uuidFileError);\n }\n}\n\nTypeUuid.registerClass(FileError, uuidFileError);\n"]}
|