@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-WCYAUIDC-C18zuwAF.js +0 -1
- package/dist/ui/assets/swimlanesDiagram-TC7HE7FX-1XAlwl_J.js +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubprocessTerminator.js","sourceRoot":"","sources":["../src/SubprocessTerminator.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport type * as child_process from 'child_process';\nimport process from 'process';\n\nimport { Executable } from './Executable';\n\n/**\n * Details about how the `child_process.ChildProcess` was created.\n *\n * @beta\n */\nexport interface ISubprocessOptions {\n /**\n * Whether or not the child process was started in detached mode.\n *\n * @remarks\n * On POSIX systems, detached=true is required for killing the subtree. Attempting to kill the\n * subtree on POSIX systems with detached=false will throw an error. On Windows, detached=true\n * creates a separate console window and is not required for killing the subtree. In general,\n * it is recommended to use SubprocessTerminator.RECOMMENDED_OPTIONS when forking or spawning\n * a child process.\n */\n detached: boolean;\n}\n\ninterface ITrackedSubprocess {\n subprocess: child_process.ChildProcess;\n subprocessOptions: ISubprocessOptions;\n}\n\n/**\n * When a child process is created, registering it with the SubprocessTerminator will ensure\n * that the child gets terminated when the current process terminates.\n *\n * @remarks\n * This works by hooking the current process's events for SIGTERM/SIGINT/exit, and ensuring the\n * child process gets terminated in those cases.\n *\n * SubprocessTerminator doesn't do anything on Windows, since by default Windows automatically\n * terminates child processes when their parent is terminated.\n *\n * @beta\n */\nexport class SubprocessTerminator {\n /**\n * Whether the hooks are installed\n */\n private static _initialized: boolean = false;\n\n /**\n * The list of registered child processes. Processes are removed from this set if they\n * terminate on their own.\n */\n private static _subprocessesByPid: Map<number, ITrackedSubprocess> = new Map();\n\n private static readonly _isWindows: boolean = process.platform === 'win32';\n\n /**\n * The recommended options when creating a child process.\n */\n public static readonly RECOMMENDED_OPTIONS: ISubprocessOptions = {\n detached: process.platform !== 'win32'\n };\n\n /**\n * Registers a child process so that it will be terminated automatically if the current process\n * is terminated.\n */\n public static killProcessTreeOnExit(\n subprocess: child_process.ChildProcess,\n subprocessOptions: ISubprocessOptions\n ): void {\n if (typeof subprocess.exitCode === 'number') {\n // Process has already been killed\n return;\n }\n\n SubprocessTerminator._validateSubprocessOptions(subprocessOptions);\n\n SubprocessTerminator._ensureInitialized();\n\n // Closure variable\n const pid: number | undefined = subprocess.pid;\n if (pid === undefined) {\n // The process failed to spawn.\n return;\n }\n\n subprocess.on('close', (exitCode: number | null, signal: NodeJS.Signals | null): void => {\n if (SubprocessTerminator._subprocessesByPid.delete(pid)) {\n SubprocessTerminator._logDebug(`untracking #${pid}`);\n }\n });\n SubprocessTerminator._subprocessesByPid.set(pid, {\n subprocess,\n subprocessOptions\n });\n\n SubprocessTerminator._logDebug(`tracking #${pid}`);\n }\n\n /**\n * Terminate the child process and all of its children.\n */\n public static killProcessTree(\n subprocess: child_process.ChildProcess,\n subprocessOptions: ISubprocessOptions\n ): void {\n const pid: number | undefined = subprocess.pid;\n if (pid === undefined) {\n // The process failed to spawn.\n return;\n }\n\n // Don't attempt to kill the same process twice\n if (SubprocessTerminator._subprocessesByPid.delete(pid)) {\n SubprocessTerminator._logDebug(`untracking #${pid} via killProcessTree()`);\n }\n\n SubprocessTerminator._validateSubprocessOptions(subprocessOptions);\n\n if (typeof subprocess.exitCode === 'number') {\n // Process has already been killed\n return;\n }\n\n SubprocessTerminator._logDebug(`terminating #${pid}`);\n\n if (SubprocessTerminator._isWindows) {\n // On Windows we have a problem that CMD.exe launches child processes, but when CMD.exe is killed\n // the child processes may continue running. Also if we send signals to CMD.exe the child processes\n // will not receive them. The safest solution is not to attempt a graceful shutdown, but simply\n // kill the entire process tree.\n const result: child_process.SpawnSyncReturns<string> = Executable.spawnSync('TaskKill.exe', [\n '/T', // \"Terminates the specified process and any child processes which were started by it.\"\n '/F', // Without this, TaskKill will try to use WM_CLOSE which doesn't work with CLI tools\n '/PID',\n pid.toString()\n ]);\n\n if (result.status) {\n const output: string = result.output.join('\\n');\n // Nonzero exit code\n if (output.indexOf('not found') >= 0) {\n // The PID does not exist\n } else {\n // Another error occurred, for example TaskKill.exe does not support\n // the expected CLI syntax\n throw new Error(`TaskKill.exe returned exit code ${result.status}:\\n` + output + '\\n');\n }\n }\n } else {\n // Passing a negative PID terminates the entire group instead of just the one process\n process.kill(-pid, 'SIGKILL');\n }\n }\n\n // Install the hooks\n private static _ensureInitialized(): void {\n if (!SubprocessTerminator._initialized) {\n SubprocessTerminator._initialized = true;\n\n SubprocessTerminator._logDebug('initialize');\n\n process.prependListener('SIGTERM', SubprocessTerminator._onTerminateSignal);\n process.prependListener('SIGINT', SubprocessTerminator._onTerminateSignal);\n\n process.prependListener('exit', SubprocessTerminator._onExit);\n }\n }\n\n // Uninstall the hooks and perform cleanup\n private static _cleanupChildProcesses(): void {\n if (SubprocessTerminator._initialized) {\n SubprocessTerminator._initialized = false;\n\n process.removeListener('SIGTERM', SubprocessTerminator._onTerminateSignal);\n process.removeListener('SIGINT', SubprocessTerminator._onTerminateSignal);\n\n const trackedSubprocesses: ITrackedSubprocess[] = Array.from(\n SubprocessTerminator._subprocessesByPid.values()\n );\n\n let firstError: Error | undefined = undefined;\n\n for (const trackedSubprocess of trackedSubprocesses) {\n try {\n SubprocessTerminator.killProcessTree(trackedSubprocess.subprocess, { detached: true });\n } catch (error) {\n if (firstError === undefined) {\n firstError = error as Error;\n }\n }\n }\n\n if (firstError !== undefined) {\n // This is generally an unexpected error such as the TaskKill.exe command not being found,\n // not a trivial issue such as a nonexistent PID. Since this occurs during process shutdown,\n // we should not interfere with control flow by throwing an exception or calling process.exit().\n // So simply write to STDERR and ensure our exit code indicates the problem.\n // eslint-disable-next-line no-console\n console.error('\\nAn unexpected error was encountered while attempting to clean up child processes:');\n // eslint-disable-next-line no-console\n console.error(firstError.toString());\n if (!process.exitCode) {\n process.exitCode = 1;\n }\n }\n }\n }\n\n private static _validateSubprocessOptions(subprocessOptions: ISubprocessOptions): void {\n if (!SubprocessTerminator._isWindows) {\n if (!subprocessOptions.detached) {\n // Setting detached=true is what creates the process group that we use to kill the children\n throw new Error('killProcessTree() requires detached=true on this operating system');\n }\n }\n }\n\n private static _onExit(exitCode: number): void {\n SubprocessTerminator._logDebug(`received exit(${exitCode})`);\n\n SubprocessTerminator._cleanupChildProcesses();\n\n SubprocessTerminator._logDebug(`finished exit()`);\n }\n\n private static _onTerminateSignal(signal: string): void {\n SubprocessTerminator._logDebug(`received signal ${signal}`);\n\n SubprocessTerminator._cleanupChildProcesses();\n\n // When a listener is added to SIGTERM, Node.js strangely provides no way to reference\n // the original handler. But we can invoke it by removing our listener and then resending\n // the signal to our own process.\n SubprocessTerminator._logDebug(`relaying ${signal}`);\n process.kill(process.pid, signal);\n }\n\n // For debugging\n private static _logDebug(message: string): void {\n //const logLine: string = `SubprocessTerminator: [${process.pid}] ${message}`;\n // fs.writeFileSync('trace.log', logLine + '\\n', { flag: 'a' });\n //console.log(logLine);\n }\n}\n"]}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The allowed types of encodings, as supported by Node.js
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare enum Encoding {
|
|
6
|
+
Utf8 = "utf8"
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Enumeration controlling conversion of newline characters.
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export declare enum NewlineKind {
|
|
13
|
+
/**
|
|
14
|
+
* Windows-style newlines
|
|
15
|
+
*/
|
|
16
|
+
CrLf = "\r\n",
|
|
17
|
+
/**
|
|
18
|
+
* POSIX-style newlines
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
|
|
22
|
+
*/
|
|
23
|
+
Lf = "\n",
|
|
24
|
+
/**
|
|
25
|
+
* Default newline type for this operating system (`os.EOL`).
|
|
26
|
+
*/
|
|
27
|
+
OsDefault = "os"
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Options used when calling the {@link Text.readLinesFromIterable} or
|
|
31
|
+
* {@link Text.readLinesFromIterableAsync} methods.
|
|
32
|
+
*
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface IReadLinesFromIterableOptions {
|
|
36
|
+
/**
|
|
37
|
+
* The encoding of the input iterable. The default is utf8.
|
|
38
|
+
*/
|
|
39
|
+
encoding?: Encoding;
|
|
40
|
+
/**
|
|
41
|
+
* If true, empty lines will not be returned. The default is false.
|
|
42
|
+
*/
|
|
43
|
+
ignoreEmptyLines?: boolean;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Operations for working with strings that contain text.
|
|
47
|
+
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* The utilities provided by this class are intended to be simple, small, and very
|
|
50
|
+
* broadly applicable.
|
|
51
|
+
*
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export declare class Text {
|
|
55
|
+
private static readonly _newLineRegEx;
|
|
56
|
+
private static readonly _newLineAtEndRegEx;
|
|
57
|
+
/**
|
|
58
|
+
* Returns the same thing as targetString.replace(searchValue, replaceValue), except that
|
|
59
|
+
* all matches are replaced, rather than just the first match.
|
|
60
|
+
* @param input - The string to be modified
|
|
61
|
+
* @param searchValue - The value to search for
|
|
62
|
+
* @param replaceValue - The replacement text
|
|
63
|
+
*/
|
|
64
|
+
static replaceAll(input: string, searchValue: string, replaceValue: string): string;
|
|
65
|
+
/**
|
|
66
|
+
* Converts all newlines in the provided string to use Windows-style CRLF end of line characters.
|
|
67
|
+
*/
|
|
68
|
+
static convertToCrLf(input: string): string;
|
|
69
|
+
/**
|
|
70
|
+
* Converts all newlines in the provided string to use POSIX-style LF end of line characters.
|
|
71
|
+
*
|
|
72
|
+
* POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
|
|
73
|
+
*/
|
|
74
|
+
static convertToLf(input: string): string;
|
|
75
|
+
/**
|
|
76
|
+
* Converts all newlines in the provided string to use the specified newline type.
|
|
77
|
+
*/
|
|
78
|
+
static convertTo(input: string, newlineKind: NewlineKind): string;
|
|
79
|
+
/**
|
|
80
|
+
* Returns the newline character sequence for the specified `NewlineKind`.
|
|
81
|
+
*/
|
|
82
|
+
static getNewline(newlineKind: NewlineKind): string;
|
|
83
|
+
/**
|
|
84
|
+
* Append characters to the end of a string to ensure the result has a minimum length.
|
|
85
|
+
* @remarks
|
|
86
|
+
* If the string length already exceeds the minimum length, then the string is unchanged.
|
|
87
|
+
* The string is not truncated.
|
|
88
|
+
*/
|
|
89
|
+
static padEnd(s: string, minimumLength: number, paddingCharacter?: string): string;
|
|
90
|
+
/**
|
|
91
|
+
* Append characters to the start of a string to ensure the result has a minimum length.
|
|
92
|
+
* @remarks
|
|
93
|
+
* If the string length already exceeds the minimum length, then the string is unchanged.
|
|
94
|
+
* The string is not truncated.
|
|
95
|
+
*/
|
|
96
|
+
static padStart(s: string, minimumLength: number, paddingCharacter?: string): string;
|
|
97
|
+
/**
|
|
98
|
+
* If the string is longer than maximumLength characters, truncate it to that length
|
|
99
|
+
* using "..." to indicate the truncation.
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* For example truncateWithEllipsis('1234578', 5) would produce '12...'.
|
|
103
|
+
*/
|
|
104
|
+
static truncateWithEllipsis(s: string, maximumLength: number): string;
|
|
105
|
+
/**
|
|
106
|
+
* Returns the input string with a trailing `\n` character appended, if not already present.
|
|
107
|
+
*/
|
|
108
|
+
static ensureTrailingNewline(s: string, newlineKind?: NewlineKind): string;
|
|
109
|
+
/**
|
|
110
|
+
* Escapes a string so that it can be treated as a literal string when used in a regular expression.
|
|
111
|
+
*/
|
|
112
|
+
static escapeRegExp(literal: string): string;
|
|
113
|
+
/**
|
|
114
|
+
* Read lines from an iterable object that returns strings or buffers, and return a generator that
|
|
115
|
+
* produces the lines as strings. The lines will not include the newline characters.
|
|
116
|
+
*
|
|
117
|
+
* @param iterable - An iterable object that returns strings or buffers
|
|
118
|
+
* @param options - Options used when reading the lines from the provided iterable
|
|
119
|
+
*/
|
|
120
|
+
static readLinesFromIterableAsync(iterable: AsyncIterable<string | Buffer>, options?: IReadLinesFromIterableOptions): AsyncGenerator<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Read lines from an iterable object that returns strings or buffers, and return a generator that
|
|
123
|
+
* produces the lines as strings. The lines will not include the newline characters.
|
|
124
|
+
*
|
|
125
|
+
* @param iterable - An iterable object that returns strings or buffers
|
|
126
|
+
* @param options - Options used when reading the lines from the provided iterable
|
|
127
|
+
*/
|
|
128
|
+
static readLinesFromIterable(iterable: Iterable<string | Buffer | null>, options?: IReadLinesFromIterableOptions): Generator<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Returns a new string that is the input string with the order of characters reversed.
|
|
131
|
+
*/
|
|
132
|
+
static reverse(s: string): string;
|
|
133
|
+
/**
|
|
134
|
+
* Splits the provided string by newlines. Note that leading and trailing newlines will produce
|
|
135
|
+
* leading or trailing empty string array entries.
|
|
136
|
+
*/
|
|
137
|
+
static splitByNewLines(s: undefined): undefined;
|
|
138
|
+
static splitByNewLines(s: string): string[];
|
|
139
|
+
static splitByNewLines(s: string | undefined): string[] | undefined;
|
|
140
|
+
}
|
|
141
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../src/Text.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,oBAAY,QAAQ;IAClB,IAAI,SAAS;CACd;AAED;;;GAGG;AACH,oBAAY,WAAW;IACrB;;OAEG;IACH,IAAI,SAAS;IAEb;;;;;OAKG;IACH,EAAE,OAAO;IAET;;OAEG;IACH,SAAS,OAAO;CACjB;AAED;;;;;GAKG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAgCD;;;;;;;;GAQG;AACH,qBAAa,IAAI;IACf,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAyB;IAC9D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CAAgC;IAE1E;;;;;;OAMG;WACW,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM;IAI1F;;OAEG;WACW,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIlD;;;;OAIG;WACW,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIhD;;OAEG;WACW,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAG,MAAM;IAIxE;;OAEG;WACW,UAAU,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM;IAa1D;;;;;OAKG;WACW,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,gBAAgB,GAAE,MAAY,GAAG,MAAM;IAc9F;;;;;OAKG;WACW,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,gBAAgB,GAAE,MAAY,GAAG,MAAM;IAchG;;;;;;OAMG;WACW,oBAAoB,CAAC,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,MAAM;IAgB5E;;OAEG;WACW,qBAAqB,CAAC,CAAC,EAAE,MAAM,EAAE,WAAW,GAAE,WAA4B,GAAG,MAAM;IAQjG;;OAEG;WACW,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAInD;;;;;;OAMG;WACkB,0BAA0B,CAC7C,QAAQ,EAAE,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC,EACxC,OAAO,GAAE,6BAAkC,GAC1C,cAAc,CAAC,MAAM,CAAC;IAYzB;;;;;;OAMG;WACY,qBAAqB,CAElC,QAAQ,EAAE,QAAQ,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,EAC1C,OAAO,GAAE,6BAAkC,GAC1C,SAAS,CAAC,MAAM,CAAC;IAYpB;;OAEG;WACW,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;IAKxC;;;OAGG;WACW,eAAe,CAAC,CAAC,EAAE,SAAS,GAAG,SAAS;WACxC,eAAe,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE;WACpC,eAAe,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,GAAG,SAAS;CAI3E"}
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
3
|
+
// See LICENSE in the project root for license information.
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
var __asyncValues = (this && this.__asyncValues) || function (o) {
|
|
38
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
39
|
+
var m = o[Symbol.asyncIterator], i;
|
|
40
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
41
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
42
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
43
|
+
};
|
|
44
|
+
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
45
|
+
var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {
|
|
46
|
+
var i, p;
|
|
47
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
48
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
49
|
+
};
|
|
50
|
+
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
51
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
52
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
53
|
+
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
54
|
+
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
|
55
|
+
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
|
|
56
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
57
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
58
|
+
function fulfill(value) { resume("next", value); }
|
|
59
|
+
function reject(value) { resume("throw", value); }
|
|
60
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
61
|
+
};
|
|
62
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63
|
+
exports.Text = exports.NewlineKind = exports.Encoding = void 0;
|
|
64
|
+
const os = __importStar(require("os"));
|
|
65
|
+
/**
|
|
66
|
+
* The allowed types of encodings, as supported by Node.js
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
var Encoding;
|
|
70
|
+
(function (Encoding) {
|
|
71
|
+
Encoding["Utf8"] = "utf8";
|
|
72
|
+
})(Encoding || (exports.Encoding = Encoding = {}));
|
|
73
|
+
/**
|
|
74
|
+
* Enumeration controlling conversion of newline characters.
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
var NewlineKind;
|
|
78
|
+
(function (NewlineKind) {
|
|
79
|
+
/**
|
|
80
|
+
* Windows-style newlines
|
|
81
|
+
*/
|
|
82
|
+
NewlineKind["CrLf"] = "\r\n";
|
|
83
|
+
/**
|
|
84
|
+
* POSIX-style newlines
|
|
85
|
+
*
|
|
86
|
+
* @remarks
|
|
87
|
+
* POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
|
|
88
|
+
*/
|
|
89
|
+
NewlineKind["Lf"] = "\n";
|
|
90
|
+
/**
|
|
91
|
+
* Default newline type for this operating system (`os.EOL`).
|
|
92
|
+
*/
|
|
93
|
+
NewlineKind["OsDefault"] = "os";
|
|
94
|
+
})(NewlineKind || (exports.NewlineKind = NewlineKind = {}));
|
|
95
|
+
const NEWLINE_REGEX = /\r\n|\n\r|\r|\n/g;
|
|
96
|
+
const NEWLINE_AT_END_REGEX = /(\r\n|\n\r|\r|\n)$/;
|
|
97
|
+
function* readLinesFromChunk(
|
|
98
|
+
// eslint-disable-next-line @rushstack/no-new-null
|
|
99
|
+
chunk, encoding, ignoreEmptyLines, state) {
|
|
100
|
+
if (!chunk) {
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
const remaining = state.remaining + (typeof chunk === 'string' ? chunk : chunk.toString(encoding));
|
|
104
|
+
let startIndex = 0;
|
|
105
|
+
const matches = remaining.matchAll(NEWLINE_REGEX);
|
|
106
|
+
for (const match of matches) {
|
|
107
|
+
const endIndex = match.index;
|
|
108
|
+
if (startIndex !== endIndex || !ignoreEmptyLines) {
|
|
109
|
+
yield remaining.substring(startIndex, endIndex);
|
|
110
|
+
}
|
|
111
|
+
startIndex = endIndex + match[0].length;
|
|
112
|
+
}
|
|
113
|
+
state.remaining = remaining.substring(startIndex);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Operations for working with strings that contain text.
|
|
117
|
+
*
|
|
118
|
+
* @remarks
|
|
119
|
+
* The utilities provided by this class are intended to be simple, small, and very
|
|
120
|
+
* broadly applicable.
|
|
121
|
+
*
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
class Text {
|
|
125
|
+
/**
|
|
126
|
+
* Returns the same thing as targetString.replace(searchValue, replaceValue), except that
|
|
127
|
+
* all matches are replaced, rather than just the first match.
|
|
128
|
+
* @param input - The string to be modified
|
|
129
|
+
* @param searchValue - The value to search for
|
|
130
|
+
* @param replaceValue - The replacement text
|
|
131
|
+
*/
|
|
132
|
+
static replaceAll(input, searchValue, replaceValue) {
|
|
133
|
+
return input.split(searchValue).join(replaceValue);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Converts all newlines in the provided string to use Windows-style CRLF end of line characters.
|
|
137
|
+
*/
|
|
138
|
+
static convertToCrLf(input) {
|
|
139
|
+
return input.replace(Text._newLineRegEx, '\r\n');
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Converts all newlines in the provided string to use POSIX-style LF end of line characters.
|
|
143
|
+
*
|
|
144
|
+
* POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.
|
|
145
|
+
*/
|
|
146
|
+
static convertToLf(input) {
|
|
147
|
+
return input.replace(Text._newLineRegEx, '\n');
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Converts all newlines in the provided string to use the specified newline type.
|
|
151
|
+
*/
|
|
152
|
+
static convertTo(input, newlineKind) {
|
|
153
|
+
return input.replace(Text._newLineRegEx, Text.getNewline(newlineKind));
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Returns the newline character sequence for the specified `NewlineKind`.
|
|
157
|
+
*/
|
|
158
|
+
static getNewline(newlineKind) {
|
|
159
|
+
switch (newlineKind) {
|
|
160
|
+
case NewlineKind.CrLf:
|
|
161
|
+
return '\r\n';
|
|
162
|
+
case NewlineKind.Lf:
|
|
163
|
+
return '\n';
|
|
164
|
+
case NewlineKind.OsDefault:
|
|
165
|
+
return os.EOL;
|
|
166
|
+
default:
|
|
167
|
+
throw new Error('Unsupported newline kind');
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Append characters to the end of a string to ensure the result has a minimum length.
|
|
172
|
+
* @remarks
|
|
173
|
+
* If the string length already exceeds the minimum length, then the string is unchanged.
|
|
174
|
+
* The string is not truncated.
|
|
175
|
+
*/
|
|
176
|
+
static padEnd(s, minimumLength, paddingCharacter = ' ') {
|
|
177
|
+
if (paddingCharacter.length !== 1) {
|
|
178
|
+
throw new Error('The paddingCharacter parameter must be a single character.');
|
|
179
|
+
}
|
|
180
|
+
if (s.length < minimumLength) {
|
|
181
|
+
const paddingArray = new Array(minimumLength - s.length);
|
|
182
|
+
paddingArray.unshift(s);
|
|
183
|
+
return paddingArray.join(paddingCharacter);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
return s;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Append characters to the start of a string to ensure the result has a minimum length.
|
|
191
|
+
* @remarks
|
|
192
|
+
* If the string length already exceeds the minimum length, then the string is unchanged.
|
|
193
|
+
* The string is not truncated.
|
|
194
|
+
*/
|
|
195
|
+
static padStart(s, minimumLength, paddingCharacter = ' ') {
|
|
196
|
+
if (paddingCharacter.length !== 1) {
|
|
197
|
+
throw new Error('The paddingCharacter parameter must be a single character.');
|
|
198
|
+
}
|
|
199
|
+
if (s.length < minimumLength) {
|
|
200
|
+
const paddingArray = new Array(minimumLength - s.length);
|
|
201
|
+
paddingArray.push(s);
|
|
202
|
+
return paddingArray.join(paddingCharacter);
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
return s;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* If the string is longer than maximumLength characters, truncate it to that length
|
|
210
|
+
* using "..." to indicate the truncation.
|
|
211
|
+
*
|
|
212
|
+
* @remarks
|
|
213
|
+
* For example truncateWithEllipsis('1234578', 5) would produce '12...'.
|
|
214
|
+
*/
|
|
215
|
+
static truncateWithEllipsis(s, maximumLength) {
|
|
216
|
+
if (maximumLength < 0) {
|
|
217
|
+
throw new Error('The maximumLength cannot be a negative number');
|
|
218
|
+
}
|
|
219
|
+
if (s.length <= maximumLength) {
|
|
220
|
+
return s;
|
|
221
|
+
}
|
|
222
|
+
if (s.length <= 3) {
|
|
223
|
+
return s.substring(0, maximumLength);
|
|
224
|
+
}
|
|
225
|
+
return s.substring(0, maximumLength - 3) + '...';
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Returns the input string with a trailing `\n` character appended, if not already present.
|
|
229
|
+
*/
|
|
230
|
+
static ensureTrailingNewline(s, newlineKind = NewlineKind.Lf) {
|
|
231
|
+
// Is there already a newline?
|
|
232
|
+
if (Text._newLineAtEndRegEx.test(s)) {
|
|
233
|
+
return s; // yes, no change
|
|
234
|
+
}
|
|
235
|
+
return s + newlineKind; // no, add it
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Escapes a string so that it can be treated as a literal string when used in a regular expression.
|
|
239
|
+
*/
|
|
240
|
+
static escapeRegExp(literal) {
|
|
241
|
+
return literal.replace(/[^A-Za-z0-9_]/g, '\\$&');
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Read lines from an iterable object that returns strings or buffers, and return a generator that
|
|
245
|
+
* produces the lines as strings. The lines will not include the newline characters.
|
|
246
|
+
*
|
|
247
|
+
* @param iterable - An iterable object that returns strings or buffers
|
|
248
|
+
* @param options - Options used when reading the lines from the provided iterable
|
|
249
|
+
*/
|
|
250
|
+
static readLinesFromIterableAsync(iterable_1) {
|
|
251
|
+
return __asyncGenerator(this, arguments, function* readLinesFromIterableAsync_1(iterable, options = {}) {
|
|
252
|
+
var _a, e_1, _b, _c;
|
|
253
|
+
const { encoding = Encoding.Utf8, ignoreEmptyLines = false } = options;
|
|
254
|
+
const state = { remaining: '' };
|
|
255
|
+
try {
|
|
256
|
+
for (var _d = true, iterable_2 = __asyncValues(iterable), iterable_2_1; iterable_2_1 = yield __await(iterable_2.next()), _a = iterable_2_1.done, !_a; _d = true) {
|
|
257
|
+
_c = iterable_2_1.value;
|
|
258
|
+
_d = false;
|
|
259
|
+
const chunk = _c;
|
|
260
|
+
yield __await(yield* __asyncDelegator(__asyncValues(readLinesFromChunk(chunk, encoding, ignoreEmptyLines, state))));
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
264
|
+
finally {
|
|
265
|
+
try {
|
|
266
|
+
if (!_d && !_a && (_b = iterable_2.return)) yield __await(_b.call(iterable_2));
|
|
267
|
+
}
|
|
268
|
+
finally { if (e_1) throw e_1.error; }
|
|
269
|
+
}
|
|
270
|
+
const remaining = state.remaining;
|
|
271
|
+
if (remaining.length) {
|
|
272
|
+
yield yield __await(remaining);
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Read lines from an iterable object that returns strings or buffers, and return a generator that
|
|
278
|
+
* produces the lines as strings. The lines will not include the newline characters.
|
|
279
|
+
*
|
|
280
|
+
* @param iterable - An iterable object that returns strings or buffers
|
|
281
|
+
* @param options - Options used when reading the lines from the provided iterable
|
|
282
|
+
*/
|
|
283
|
+
static *readLinesFromIterable(
|
|
284
|
+
// eslint-disable-next-line @rushstack/no-new-null
|
|
285
|
+
iterable, options = {}) {
|
|
286
|
+
const { encoding = Encoding.Utf8, ignoreEmptyLines = false } = options;
|
|
287
|
+
const state = { remaining: '' };
|
|
288
|
+
for (const chunk of iterable) {
|
|
289
|
+
yield* readLinesFromChunk(chunk, encoding, ignoreEmptyLines, state);
|
|
290
|
+
}
|
|
291
|
+
const remaining = state.remaining;
|
|
292
|
+
if (remaining.length) {
|
|
293
|
+
yield remaining;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Returns a new string that is the input string with the order of characters reversed.
|
|
298
|
+
*/
|
|
299
|
+
static reverse(s) {
|
|
300
|
+
// Benchmarks of several algorithms: https://jsbench.me/4bkfflcm2z
|
|
301
|
+
return s.split('').reduce((newString, char) => char + newString, '');
|
|
302
|
+
}
|
|
303
|
+
static splitByNewLines(s) {
|
|
304
|
+
return s === null || s === void 0 ? void 0 : s.split(/\r?\n/);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
exports.Text = Text;
|
|
308
|
+
Text._newLineRegEx = NEWLINE_REGEX;
|
|
309
|
+
Text._newLineAtEndRegEx = NEWLINE_AT_END_REGEX;
|
|
310
|
+
//# sourceMappingURL=Text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../src/Text.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3D,uCAAyB;AAEzB;;;GAGG;AACH,IAAY,QAEX;AAFD,WAAY,QAAQ;IAClB,yBAAa,CAAA;AACf,CAAC,EAFW,QAAQ,wBAAR,QAAQ,QAEnB;AAED;;;GAGG;AACH,IAAY,WAkBX;AAlBD,WAAY,WAAW;IACrB;;OAEG;IACH,4BAAa,CAAA;IAEb;;;;;OAKG;IACH,wBAAS,CAAA;IAET;;OAEG;IACH,+BAAgB,CAAA;AAClB,CAAC,EAlBW,WAAW,2BAAX,WAAW,QAkBtB;AAwBD,MAAM,aAAa,GAAW,kBAAkB,CAAC;AACjD,MAAM,oBAAoB,GAAW,oBAAoB,CAAC;AAE1D,QAAQ,CAAC,CAAC,kBAAkB;AAC1B,kDAAkD;AAClD,KAA6B,EAC7B,QAAkB,EAClB,gBAAyB,EACzB,KAAkC;IAElC,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO;IACT,CAAC;IACD,MAAM,SAAS,GAAW,KAAK,CAAC,SAAS,GAAG,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3G,IAAI,UAAU,GAAW,CAAC,CAAC;IAC3B,MAAM,OAAO,GAAuC,SAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;IACtF,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;QAC5B,MAAM,QAAQ,GAAW,KAAK,CAAC,KAAM,CAAC;QACtC,IAAI,UAAU,KAAK,QAAQ,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACjD,MAAM,SAAS,CAAC,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;QAClD,CAAC;QACD,UAAU,GAAG,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,CAAC;IACD,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;AACpD,CAAC;AAED;;;;;;;;GAQG;AACH,MAAa,IAAI;IAIf;;;;;;OAMG;IACI,MAAM,CAAC,UAAU,CAAC,KAAa,EAAE,WAAmB,EAAE,YAAoB;QAC/E,OAAO,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACrD,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,aAAa,CAAC,KAAa;QACvC,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;IAED;;;;OAIG;IACI,MAAM,CAAC,WAAW,CAAC,KAAa;QACrC,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,SAAS,CAAC,KAAa,EAAE,WAAwB;QAC7D,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC;IACzE,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,UAAU,CAAC,WAAwB;QAC/C,QAAQ,WAAW,EAAE,CAAC;YACpB,KAAK,WAAW,CAAC,IAAI;gBACnB,OAAO,MAAM,CAAC;YAChB,KAAK,WAAW,CAAC,EAAE;gBACjB,OAAO,IAAI,CAAC;YACd,KAAK,WAAW,CAAC,SAAS;gBACxB,OAAO,EAAE,CAAC,GAAG,CAAC;YAChB;gBACE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,MAAM,CAAC,CAAS,EAAE,aAAqB,EAAE,mBAA2B,GAAG;QACnF,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAClC,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;QAChF,CAAC;QAED,IAAI,CAAC,CAAC,MAAM,GAAG,aAAa,EAAE,CAAC;YAC7B,MAAM,YAAY,GAAa,IAAI,KAAK,CAAC,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC;YACnE,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YACxB,OAAO,YAAY,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC7C,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,CAAC;QACX,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,QAAQ,CAAC,CAAS,EAAE,aAAqB,EAAE,mBAA2B,GAAG;QACrF,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAClC,MAAM,IAAI,KAAK,CAAC,4DAA4D,CAAC,CAAC;QAChF,CAAC;QAED,IAAI,CAAC,CAAC,MAAM,GAAG,aAAa,EAAE,CAAC;YAC7B,MAAM,YAAY,GAAa,IAAI,KAAK,CAAC,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC;YACnE,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACrB,OAAO,YAAY,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC7C,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,CAAC;QACX,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,oBAAoB,CAAC,CAAS,EAAE,aAAqB;QACjE,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;QACnE,CAAC;QAED,IAAI,CAAC,CAAC,MAAM,IAAI,aAAa,EAAE,CAAC;YAC9B,OAAO,CAAC,CAAC;QACX,CAAC;QAED,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;YAClB,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC;QACvC,CAAC;QAED,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,aAAa,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC;IACnD,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,qBAAqB,CAAC,CAAS,EAAE,cAA2B,WAAW,CAAC,EAAE;QACtF,8BAA8B;QAC9B,IAAI,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;YACpC,OAAO,CAAC,CAAC,CAAC,iBAAiB;QAC7B,CAAC;QACD,OAAO,CAAC,GAAG,WAAW,CAAC,CAAC,aAAa;IACvC,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,YAAY,CAAC,OAAe;QACxC,OAAO,OAAO,CAAC,OAAO,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAQ,0BAA0B;wFAC7C,QAAwC,EACxC,UAAyC,EAAE;;YAE3C,MAAM,EAAE,QAAQ,GAAG,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,KAAK,EAAE,GAAG,OAAO,CAAC;YACvE,MAAM,KAAK,GAAgC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;;gBAC7D,KAA0B,eAAA,aAAA,cAAA,QAAQ,CAAA,cAAA,2FAAE,CAAC;oBAAX,wBAAQ;oBAAR,WAAQ;oBAAvB,MAAM,KAAK,KAAA,CAAA;oBACpB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,kBAAkB,CAAC,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,KAAK,CAAC,CAAA,CAAA,CAAA,CAAC;gBACtE,CAAC;;;;;;;;;YACD,MAAM,SAAS,GAAW,KAAK,CAAC,SAAS,CAAC;YAC1C,IAAI,SAAS,CAAC,MAAM,EAAE,CAAC;gBACrB,oBAAM,SAAS,CAAA,CAAC;YAClB,CAAC;QACH,CAAC;KAAA;IAED;;;;;;OAMG;IACI,MAAM,CAAC,CAAC,qBAAqB;IAClC,kDAAkD;IAClD,QAA0C,EAC1C,UAAyC,EAAE;QAE3C,MAAM,EAAE,QAAQ,GAAG,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,KAAK,EAAE,GAAG,OAAO,CAAC;QACvE,MAAM,KAAK,GAAgC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;QAC7D,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE,CAAC;YAC7B,KAAK,CAAC,CAAC,kBAAkB,CAAC,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,KAAK,CAAC,CAAC;QACtE,CAAC;QACD,MAAM,SAAS,GAAW,KAAK,CAAC,SAAS,CAAC;QAC1C,IAAI,SAAS,CAAC,MAAM,EAAE,CAAC;YACrB,MAAM,SAAS,CAAC;QAClB,CAAC;IACH,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,OAAO,CAAC,CAAS;QAC7B,kEAAkE;QAClE,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,SAAS,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IASM,MAAM,CAAC,eAAe,CAAC,CAAqB;QACjD,OAAO,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;;AArMH,oBAsMC;AArMyB,kBAAa,GAAW,aAAa,CAAC;AACtC,uBAAkB,GAAW,oBAAoB,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 * as os from 'os';\n\n/**\n * The allowed types of encodings, as supported by Node.js\n * @public\n */\nexport enum Encoding {\n Utf8 = 'utf8'\n}\n\n/**\n * Enumeration controlling conversion of newline characters.\n * @public\n */\nexport enum NewlineKind {\n /**\n * Windows-style newlines\n */\n CrLf = '\\r\\n',\n\n /**\n * POSIX-style newlines\n *\n * @remarks\n * POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.\n */\n Lf = '\\n',\n\n /**\n * Default newline type for this operating system (`os.EOL`).\n */\n OsDefault = 'os'\n}\n\n/**\n * Options used when calling the {@link Text.readLinesFromIterable} or\n * {@link Text.readLinesFromIterableAsync} methods.\n *\n * @public\n */\nexport interface IReadLinesFromIterableOptions {\n /**\n * The encoding of the input iterable. The default is utf8.\n */\n encoding?: Encoding;\n\n /**\n * If true, empty lines will not be returned. The default is false.\n */\n ignoreEmptyLines?: boolean;\n}\n\ninterface IReadLinesFromIterableState {\n remaining: string;\n}\n\nconst NEWLINE_REGEX: RegExp = /\\r\\n|\\n\\r|\\r|\\n/g;\nconst NEWLINE_AT_END_REGEX: RegExp = /(\\r\\n|\\n\\r|\\r|\\n)$/;\n\nfunction* readLinesFromChunk(\n // eslint-disable-next-line @rushstack/no-new-null\n chunk: string | Buffer | null,\n encoding: Encoding,\n ignoreEmptyLines: boolean,\n state: IReadLinesFromIterableState\n): Generator<string> {\n if (!chunk) {\n return;\n }\n const remaining: string = state.remaining + (typeof chunk === 'string' ? chunk : chunk.toString(encoding));\n let startIndex: number = 0;\n const matches: IterableIterator<RegExpMatchArray> = remaining.matchAll(NEWLINE_REGEX);\n for (const match of matches) {\n const endIndex: number = match.index!;\n if (startIndex !== endIndex || !ignoreEmptyLines) {\n yield remaining.substring(startIndex, endIndex);\n }\n startIndex = endIndex + match[0].length;\n }\n state.remaining = remaining.substring(startIndex);\n}\n\n/**\n * Operations for working with strings that contain text.\n *\n * @remarks\n * The utilities provided by this class are intended to be simple, small, and very\n * broadly applicable.\n *\n * @public\n */\nexport class Text {\n private static readonly _newLineRegEx: RegExp = NEWLINE_REGEX;\n private static readonly _newLineAtEndRegEx: RegExp = NEWLINE_AT_END_REGEX;\n\n /**\n * Returns the same thing as targetString.replace(searchValue, replaceValue), except that\n * all matches are replaced, rather than just the first match.\n * @param input - The string to be modified\n * @param searchValue - The value to search for\n * @param replaceValue - The replacement text\n */\n public static replaceAll(input: string, searchValue: string, replaceValue: string): string {\n return input.split(searchValue).join(replaceValue);\n }\n\n /**\n * Converts all newlines in the provided string to use Windows-style CRLF end of line characters.\n */\n public static convertToCrLf(input: string): string {\n return input.replace(Text._newLineRegEx, '\\r\\n');\n }\n\n /**\n * Converts all newlines in the provided string to use POSIX-style LF end of line characters.\n *\n * POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.\n */\n public static convertToLf(input: string): string {\n return input.replace(Text._newLineRegEx, '\\n');\n }\n\n /**\n * Converts all newlines in the provided string to use the specified newline type.\n */\n public static convertTo(input: string, newlineKind: NewlineKind): string {\n return input.replace(Text._newLineRegEx, Text.getNewline(newlineKind));\n }\n\n /**\n * Returns the newline character sequence for the specified `NewlineKind`.\n */\n public static getNewline(newlineKind: NewlineKind): string {\n switch (newlineKind) {\n case NewlineKind.CrLf:\n return '\\r\\n';\n case NewlineKind.Lf:\n return '\\n';\n case NewlineKind.OsDefault:\n return os.EOL;\n default:\n throw new Error('Unsupported newline kind');\n }\n }\n\n /**\n * Append characters to the end of a string to ensure the result has a minimum length.\n * @remarks\n * If the string length already exceeds the minimum length, then the string is unchanged.\n * The string is not truncated.\n */\n public static padEnd(s: string, minimumLength: number, paddingCharacter: string = ' '): string {\n if (paddingCharacter.length !== 1) {\n throw new Error('The paddingCharacter parameter must be a single character.');\n }\n\n if (s.length < minimumLength) {\n const paddingArray: string[] = new Array(minimumLength - s.length);\n paddingArray.unshift(s);\n return paddingArray.join(paddingCharacter);\n } else {\n return s;\n }\n }\n\n /**\n * Append characters to the start of a string to ensure the result has a minimum length.\n * @remarks\n * If the string length already exceeds the minimum length, then the string is unchanged.\n * The string is not truncated.\n */\n public static padStart(s: string, minimumLength: number, paddingCharacter: string = ' '): string {\n if (paddingCharacter.length !== 1) {\n throw new Error('The paddingCharacter parameter must be a single character.');\n }\n\n if (s.length < minimumLength) {\n const paddingArray: string[] = new Array(minimumLength - s.length);\n paddingArray.push(s);\n return paddingArray.join(paddingCharacter);\n } else {\n return s;\n }\n }\n\n /**\n * If the string is longer than maximumLength characters, truncate it to that length\n * using \"...\" to indicate the truncation.\n *\n * @remarks\n * For example truncateWithEllipsis('1234578', 5) would produce '12...'.\n */\n public static truncateWithEllipsis(s: string, maximumLength: number): string {\n if (maximumLength < 0) {\n throw new Error('The maximumLength cannot be a negative number');\n }\n\n if (s.length <= maximumLength) {\n return s;\n }\n\n if (s.length <= 3) {\n return s.substring(0, maximumLength);\n }\n\n return s.substring(0, maximumLength - 3) + '...';\n }\n\n /**\n * Returns the input string with a trailing `\\n` character appended, if not already present.\n */\n public static ensureTrailingNewline(s: string, newlineKind: NewlineKind = NewlineKind.Lf): string {\n // Is there already a newline?\n if (Text._newLineAtEndRegEx.test(s)) {\n return s; // yes, no change\n }\n return s + newlineKind; // no, add it\n }\n\n /**\n * Escapes a string so that it can be treated as a literal string when used in a regular expression.\n */\n public static escapeRegExp(literal: string): string {\n return literal.replace(/[^A-Za-z0-9_]/g, '\\\\$&');\n }\n\n /**\n * Read lines from an iterable object that returns strings or buffers, and return a generator that\n * produces the lines as strings. The lines will not include the newline characters.\n *\n * @param iterable - An iterable object that returns strings or buffers\n * @param options - Options used when reading the lines from the provided iterable\n */\n public static async *readLinesFromIterableAsync(\n iterable: AsyncIterable<string | Buffer>,\n options: IReadLinesFromIterableOptions = {}\n ): AsyncGenerator<string> {\n const { encoding = Encoding.Utf8, ignoreEmptyLines = false } = options;\n const state: IReadLinesFromIterableState = { remaining: '' };\n for await (const chunk of iterable) {\n yield* readLinesFromChunk(chunk, encoding, ignoreEmptyLines, state);\n }\n const remaining: string = state.remaining;\n if (remaining.length) {\n yield remaining;\n }\n }\n\n /**\n * Read lines from an iterable object that returns strings or buffers, and return a generator that\n * produces the lines as strings. The lines will not include the newline characters.\n *\n * @param iterable - An iterable object that returns strings or buffers\n * @param options - Options used when reading the lines from the provided iterable\n */\n public static *readLinesFromIterable(\n // eslint-disable-next-line @rushstack/no-new-null\n iterable: Iterable<string | Buffer | null>,\n options: IReadLinesFromIterableOptions = {}\n ): Generator<string> {\n const { encoding = Encoding.Utf8, ignoreEmptyLines = false } = options;\n const state: IReadLinesFromIterableState = { remaining: '' };\n for (const chunk of iterable) {\n yield* readLinesFromChunk(chunk, encoding, ignoreEmptyLines, state);\n }\n const remaining: string = state.remaining;\n if (remaining.length) {\n yield remaining;\n }\n }\n\n /**\n * Returns a new string that is the input string with the order of characters reversed.\n */\n public static reverse(s: string): string {\n // Benchmarks of several algorithms: https://jsbench.me/4bkfflcm2z\n return s.split('').reduce((newString, char) => char + newString, '');\n }\n\n /**\n * Splits the provided string by newlines. Note that leading and trailing newlines will produce\n * leading or trailing empty string array entries.\n */\n public static splitByNewLines(s: undefined): undefined;\n public static splitByNewLines(s: string): string[];\n public static splitByNewLines(s: string | undefined): string[] | undefined;\n public static splitByNewLines(s: string | undefined): string[] | undefined {\n return s?.split(/\\r?\\n/);\n }\n}\n"]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provides a version-independent implementation of the JavaScript `instanceof` operator.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* The JavaScript `instanceof` operator normally only identifies objects from a particular library instance.
|
|
6
|
+
* For example, suppose the NPM package `example-lib` has two published versions 1.2.0 and 1.3.0, and
|
|
7
|
+
* it exports a class called `A`. Suppose some code consumes version `1.3.0` of the library, but it receives
|
|
8
|
+
* an object that was constructed using version `1.2.0`. In this situation `a instanceof A` will return `false`,
|
|
9
|
+
* even though `a` is an instance of `A`. The reason is that there are two prototypes for `A`; one for each
|
|
10
|
+
* version.
|
|
11
|
+
*
|
|
12
|
+
* The `TypeUuid` facility provides a way to make `a instanceof A` return true for both prototypes of `A`,
|
|
13
|
+
* by instead using a universally unique identifier (UUID) to detect object instances.
|
|
14
|
+
*
|
|
15
|
+
* You can use `Symbol.hasInstance` to enable the system `instanceof` operator to recognize type UUID equivalence:
|
|
16
|
+
* ```ts
|
|
17
|
+
* const uuidWidget: string = '9c340ef0-d29f-4e2e-a09f-42bacc59024b';
|
|
18
|
+
* class Widget {
|
|
19
|
+
* public static [Symbol.hasInstance](instance: object): boolean {
|
|
20
|
+
* return TypeUuid.isInstanceOf(instance, uuidWidget);
|
|
21
|
+
* }
|
|
22
|
+
* }
|
|
23
|
+
* ```
|
|
24
|
+
* // Example usage:
|
|
25
|
+
* ```ts
|
|
26
|
+
* import { Widget as Widget1 } from 'v1-of-library';
|
|
27
|
+
* import { Widget as Widget2 } from 'v2-of-library';
|
|
28
|
+
* const widget = new Widget2();
|
|
29
|
+
* console.log(widget instanceof Widget1); // prints true
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class TypeUuid {
|
|
35
|
+
private static _uuidRegExp;
|
|
36
|
+
/**
|
|
37
|
+
* Registers a JavaScript class as having a type identified by the specified UUID.
|
|
38
|
+
* @privateRemarks
|
|
39
|
+
* We cannot use a construct signature for `targetClass` because it may be an abstract class.
|
|
40
|
+
*/
|
|
41
|
+
static registerClass(targetClass: any, typeUuid: string): void;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the `targetObject` is an instance of a JavaScript class that was previously
|
|
44
|
+
* registered using the specified `typeUuid`. Base classes are also considered.
|
|
45
|
+
*/
|
|
46
|
+
static isInstanceOf(targetObject: unknown, typeUuid: string): boolean;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=TypeUuid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypeUuid.d.ts","sourceRoot":"","sources":["../src/TypeUuid.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,QAAQ;IACnB,OAAO,CAAC,MAAM,CAAC,WAAW,CAA4E;IAEtG;;;;OAIG;WAEW,aAAa,CAAC,WAAW,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;IAsBrE;;;OAGG;WACW,YAAY,CAAC,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;CAkB7E"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.TypeUuid = void 0;
|
|
6
|
+
const InternalError_1 = require("./InternalError");
|
|
7
|
+
const classPrototypeUuidSymbol = Symbol.for('TypeUuid.classPrototypeUuid');
|
|
8
|
+
/**
|
|
9
|
+
* Provides a version-independent implementation of the JavaScript `instanceof` operator.
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* The JavaScript `instanceof` operator normally only identifies objects from a particular library instance.
|
|
13
|
+
* For example, suppose the NPM package `example-lib` has two published versions 1.2.0 and 1.3.0, and
|
|
14
|
+
* it exports a class called `A`. Suppose some code consumes version `1.3.0` of the library, but it receives
|
|
15
|
+
* an object that was constructed using version `1.2.0`. In this situation `a instanceof A` will return `false`,
|
|
16
|
+
* even though `a` is an instance of `A`. The reason is that there are two prototypes for `A`; one for each
|
|
17
|
+
* version.
|
|
18
|
+
*
|
|
19
|
+
* The `TypeUuid` facility provides a way to make `a instanceof A` return true for both prototypes of `A`,
|
|
20
|
+
* by instead using a universally unique identifier (UUID) to detect object instances.
|
|
21
|
+
*
|
|
22
|
+
* You can use `Symbol.hasInstance` to enable the system `instanceof` operator to recognize type UUID equivalence:
|
|
23
|
+
* ```ts
|
|
24
|
+
* const uuidWidget: string = '9c340ef0-d29f-4e2e-a09f-42bacc59024b';
|
|
25
|
+
* class Widget {
|
|
26
|
+
* public static [Symbol.hasInstance](instance: object): boolean {
|
|
27
|
+
* return TypeUuid.isInstanceOf(instance, uuidWidget);
|
|
28
|
+
* }
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
* // Example usage:
|
|
32
|
+
* ```ts
|
|
33
|
+
* import { Widget as Widget1 } from 'v1-of-library';
|
|
34
|
+
* import { Widget as Widget2 } from 'v2-of-library';
|
|
35
|
+
* const widget = new Widget2();
|
|
36
|
+
* console.log(widget instanceof Widget1); // prints true
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
class TypeUuid {
|
|
42
|
+
/**
|
|
43
|
+
* Registers a JavaScript class as having a type identified by the specified UUID.
|
|
44
|
+
* @privateRemarks
|
|
45
|
+
* We cannot use a construct signature for `targetClass` because it may be an abstract class.
|
|
46
|
+
*/
|
|
47
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
48
|
+
static registerClass(targetClass, typeUuid) {
|
|
49
|
+
if (typeof targetClass !== 'function') {
|
|
50
|
+
throw new Error('The targetClass parameter must be a JavaScript class');
|
|
51
|
+
}
|
|
52
|
+
if (!TypeUuid._uuidRegExp.test(typeUuid)) {
|
|
53
|
+
throw new Error(`The type UUID must be specified as lowercase hexadecimal with dashes: "${typeUuid}"`);
|
|
54
|
+
}
|
|
55
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
56
|
+
const targetClassPrototype = targetClass.prototype;
|
|
57
|
+
if (Object.hasOwnProperty.call(targetClassPrototype, classPrototypeUuidSymbol)) {
|
|
58
|
+
const existingUuid = targetClassPrototype[classPrototypeUuidSymbol];
|
|
59
|
+
throw new InternalError_1.InternalError(`Cannot register the target class ${targetClass.name || ''} typeUuid=${typeUuid}` +
|
|
60
|
+
` because it was already registered with typeUuid=${existingUuid}`);
|
|
61
|
+
}
|
|
62
|
+
targetClassPrototype[classPrototypeUuidSymbol] = typeUuid;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the `targetObject` is an instance of a JavaScript class that was previously
|
|
66
|
+
* registered using the specified `typeUuid`. Base classes are also considered.
|
|
67
|
+
*/
|
|
68
|
+
static isInstanceOf(targetObject, typeUuid) {
|
|
69
|
+
if (targetObject === undefined || targetObject === null) {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
let objectPrototype = Object.getPrototypeOf(targetObject);
|
|
73
|
+
while (objectPrototype !== undefined && objectPrototype !== null) {
|
|
74
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
75
|
+
const registeredUuid = objectPrototype[classPrototypeUuidSymbol];
|
|
76
|
+
if (registeredUuid === typeUuid) {
|
|
77
|
+
return true;
|
|
78
|
+
}
|
|
79
|
+
// Walk upwards an examine base class prototypes
|
|
80
|
+
objectPrototype = Object.getPrototypeOf(objectPrototype);
|
|
81
|
+
}
|
|
82
|
+
return false;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.TypeUuid = TypeUuid;
|
|
86
|
+
TypeUuid._uuidRegExp = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
87
|
+
//# sourceMappingURL=TypeUuid.js.map
|