diff --git a/package.json b/package.json index f48b8f6..b1ca58c 100644 --- a/package.json +++ b/package.json @@ -52,11 +52,11 @@ "resolve-pkg-maps": "^1.0.0" }, "devDependencies": { - "@types/node": "^18.15.10", + "@types/node": "^20.12.8", "@yarnpkg/pnp": "3.3.1", "clean-pkg-json": "^1.2.0", "execa": "^8.0.1", - "fs-fixture": "^1.2.0", + "fs-fixture": "^2.0.0", "is-fs-case-sensitive": "^1.0.0", "jsonc-parser": "^3.2.1", "lintroll": "^1.5.1", @@ -65,6 +65,6 @@ "slash": "^5.1.0", "tsx": "^4.8.2", "type-fest": "^4.18.1", - "typescript": "^5.0.4" + "typescript": "~5.2.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d49f037..9aa30f9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,8 +13,8 @@ importers: version: 1.0.0 devDependencies: '@types/node': - specifier: ^18.15.10 - version: 18.15.10 + specifier: ^20.12.8 + version: 20.12.8 '@yarnpkg/pnp': specifier: 3.3.1 version: 3.3.1 @@ -25,8 +25,8 @@ importers: specifier: ^8.0.1 version: 8.0.1 fs-fixture: - specifier: ^1.2.0 - version: 1.2.0 + specifier: ^2.0.0 + version: 2.0.0 is-fs-case-sensitive: specifier: ^1.0.0 version: 1.0.0 @@ -35,13 +35,13 @@ importers: version: 3.2.1 lintroll: specifier: ^1.5.1 - version: 1.5.1(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0))(typescript@5.0.4) + version: 1.5.1(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0))(typescript@5.2.2) manten: specifier: ^1.3.0 version: 1.3.0 pkgroll: specifier: ^2.0.2 - version: 2.0.2(typescript@5.0.4) + version: 2.0.2(typescript@5.2.2) slash: specifier: ^5.1.0 version: 5.1.0 @@ -52,35 +52,19 @@ importers: specifier: ^4.18.1 version: 4.18.1 typescript: - specifier: ^5.0.4 - version: 5.0.4 + specifier: ~5.2.0 + version: 5.2.2 packages: - '@aashutoshrathi/word-wrap@1.2.6': - resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} - engines: {node: '>=0.10.0'} - - '@babel/code-frame@7.22.13': - resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} - engines: {node: '>=6.9.0'} - '@babel/code-frame@7.24.2': resolution: {integrity: sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.22.20': - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} - engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.24.5': resolution: {integrity: sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==} engines: {node: '>=6.9.0'} - '@babel/highlight@7.22.20': - resolution: {integrity: sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==} - engines: {node: '>=6.9.0'} - '@babel/highlight@7.24.5': resolution: {integrity: sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==} engines: {node: '>=6.9.0'} @@ -255,8 +239,8 @@ packages: resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} - '@humanwhocodes/object-schema@2.0.2': - resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==} + '@humanwhocodes/object-schema@2.0.3': + resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} '@jest/expect-utils@29.7.0': resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} @@ -484,32 +468,29 @@ packages: '@types/json5@0.0.29': resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} - '@types/mdast@3.0.10': - resolution: {integrity: sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==} + '@types/mdast@3.0.15': + resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==} '@types/node@13.13.52': resolution: {integrity: sha512-s3nugnZumCC//n4moGGe6tkNMyYEdaDBitVjwPxXmR5lnMG5dHePinH2EdxkG3Rh1ghFHHixAG4NJhpJW1rthQ==} - '@types/node@18.15.10': - resolution: {integrity: sha512-9avDaQJczATcXgfmMAW3MIWArOO7A+m90vuCFLr8AotWf8igO/mRoYukrk2cqZVtv38tHs33retzHEilM7FpeQ==} + '@types/node@20.12.8': + resolution: {integrity: sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w==} - '@types/normalize-package-data@2.4.1': - resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} + '@types/normalize-package-data@2.4.4': + resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} - '@types/semver@7.5.6': - resolution: {integrity: sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==} - '@types/semver@7.5.8': resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} '@types/stack-utils@2.0.3': resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} - '@types/unist@2.0.6': - resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} + '@types/unist@2.0.10': + resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==} '@types/yargs-parser@21.0.3': resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} @@ -622,11 +603,6 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn@8.11.2: - resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==} - engines: {node: '>=0.4.0'} - hasBin: true - acorn@8.11.3: resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} engines: {node: '>=0.4.0'} @@ -654,17 +630,10 @@ packages: argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - array-buffer-byte-length@1.0.0: - resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} - array-buffer-byte-length@1.0.1: resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} engines: {node: '>= 0.4'} - array-includes@3.1.7: - resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} - engines: {node: '>= 0.4'} - array-includes@3.1.8: resolution: {integrity: sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==} engines: {node: '>= 0.4'} @@ -695,18 +664,10 @@ packages: array.prototype.tosorted@1.1.3: resolution: {integrity: sha512-/DdH4TiTmOKzyQbp/eadcCVexiCb36xJg7HshYOYJnNZFDj33GEv0P7GxsynpShhq4OLYJzbGcBDkLsDt7MnNg==} - arraybuffer.prototype.slice@1.0.2: - resolution: {integrity: sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==} - engines: {node: '>= 0.4'} - arraybuffer.prototype.slice@1.0.3: resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==} engines: {node: '>= 0.4'} - available-typed-arrays@1.0.5: - resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} - engines: {node: '>= 0.4'} - available-typed-arrays@1.0.7: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} @@ -736,9 +697,6 @@ packages: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} - call-bind@1.0.5: - resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} - call-bind@1.0.7: resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} engines: {node: '>= 0.4'} @@ -807,7 +765,7 @@ packages: resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} concat-map@0.0.1: - resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} confusing-browser-globals@1.0.11: resolution: {integrity: sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==} @@ -860,10 +818,6 @@ packages: resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} - define-data-property@1.1.1: - resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==} - engines: {node: '>= 0.4'} - define-data-property@1.1.4: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} @@ -891,10 +845,6 @@ packages: electron-to-chromium@1.4.754: resolution: {integrity: sha512-7Kr5jUdns5rL/M9wFFmMZAgFDuL2YOnanFH4OI4iFzUqyh3XOL7nAGbSlSMZdzKMIyyTpNSbqZsWG9odwLeKvA==} - enhanced-resolve@5.12.0: - resolution: {integrity: sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==} - engines: {node: '>=10.13.0'} - enhanced-resolve@5.16.0: resolution: {integrity: sha512-O+QWCviPNSSLAD9Ucn8Awv+poAkqn3T1XY5/N7kR7rQO9yfSGWkYZDwpJ+iKF7B8rxaQKWngSqACpgzeapSyoA==} engines: {node: '>=10.13.0'} @@ -902,10 +852,6 @@ packages: error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - es-abstract@1.22.3: - resolution: {integrity: sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==} - engines: {node: '>= 0.4'} - es-abstract@1.23.3: resolution: {integrity: sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==} engines: {node: '>= 0.4'} @@ -926,17 +872,10 @@ packages: resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==} engines: {node: '>= 0.4'} - es-set-tostringtag@2.0.2: - resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} - engines: {node: '>= 0.4'} - es-set-tostringtag@2.0.3: resolution: {integrity: sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==} engines: {node: '>= 0.4'} - es-shim-unscopables@1.0.0: - resolution: {integrity: sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==} - es-shim-unscopables@1.0.2: resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} @@ -965,12 +904,6 @@ packages: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} - eslint-compat-utils@0.1.2: - resolution: {integrity: sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==} - engines: {node: '>=12'} - peerDependencies: - eslint: '>=6.0.0' - eslint-compat-utils@0.5.0: resolution: {integrity: sha512-dc6Y8tzEcSYZMHa+CMPLi/hyo1FzNeonbhJL7Ol0ccuKQkwopJcJBA9YL/xmMTLU1eKigXo9vj9nALElWYSowg==} engines: {node: '>=12'} @@ -987,27 +920,6 @@ packages: eslint: '*' eslint-plugin-import: '*' - eslint-module-utils@2.8.0: - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: '*' - eslint-import-resolver-node: '*' - eslint-import-resolver-typescript: '*' - eslint-import-resolver-webpack: '*' - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - eslint: - optional: true - eslint-import-resolver-node: - optional: true - eslint-import-resolver-typescript: - optional: true - eslint-import-resolver-webpack: - optional: true - eslint-module-utils@2.8.1: resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} @@ -1029,8 +941,8 @@ packages: eslint-import-resolver-webpack: optional: true - eslint-plugin-es-x@7.5.0: - resolution: {integrity: sha512-ODswlDSO0HJDzXU0XvgZ3lF3lS3XAZEossh15Q2UHjwrJggWeBoKqqEsLTZLXl+dh5eOAozG0zRcYtuE35oTuQ==} + eslint-plugin-es-x@7.6.0: + resolution: {integrity: sha512-I0AmeNgevgaTR7y2lrVCJmGYF0rjoznpDvqV/kIkZSZbZ8Rw3eu4cGlvBBULScfkSOCzqKbff5LR4CNrV7mZHA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '>=8' @@ -1119,10 +1031,6 @@ packages: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@3.3.0: - resolution: {integrity: sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-visitor-keys@3.4.3: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1176,8 +1084,8 @@ packages: fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - fastq@1.15.0: - resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} + fastq@1.17.1: + resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} @@ -1205,9 +1113,9 @@ packages: for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} - fs-fixture@1.2.0: - resolution: {integrity: sha512-bPBNW12US81zxCXzP/BQ6ntSvMXNgX76nHVUxzQJVTmHkzXnbfp+M4mNWeJ9LuCG8M1wyeFov7oiwO9wnCEBjQ==} - engines: {node: '>=16.7.0'} + fs-fixture@2.0.0: + resolution: {integrity: sha512-UwzKP76FyNdnQwFPaA82X/S0Qx6cQ7cEVT2FjhcDSCYhaeqJZHTRHSIcDOPCisPn2WAlVII+abhZt6T1KhNQ8w==} + engines: {node: '>=18.0.0'} fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} @@ -1230,9 +1138,6 @@ packages: get-conditions@1.0.0: resolution: {integrity: sha512-9wKpu0AjWat7OKzvChkghCCkLmYwc3lUbRP5xDSNI4+SrK4599OXcmJamgpU3pNBUOuaKjSg1NE/6ukFSC8kSA==} - get-intrinsic@1.2.2: - resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} - get-intrinsic@1.2.4: resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} engines: {node: '>= 0.4'} @@ -1245,17 +1150,10 @@ packages: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} engines: {node: '>=16'} - get-symbol-description@1.0.0: - resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} - engines: {node: '>= 0.4'} - get-symbol-description@1.0.2: resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==} engines: {node: '>= 0.4'} - get-tsconfig@4.7.2: - resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==} - get-tsconfig@4.7.3: resolution: {integrity: sha512-ZvkrzoUA0PQZM6fy6+/Hce561s+faD1rsNwhnO5FelNjyy7EMGJ3Rz1AQ8GYDWjhRs/7dBLOEJvhK8MiEJOAFg==} @@ -1282,8 +1180,8 @@ packages: resolution: {integrity: sha512-926gJqg+4mkxwYKiFvoomM4J0kWESfk3qfTvRL2/oc/tK/eTDBbrfcKnSa2KtfdxB5onoL7D3A3qIHQFpd4+UA==} engines: {node: '>=18'} - globalthis@1.0.3: - resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} + globalthis@1.0.4: + resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} globby@11.1.0: @@ -1310,16 +1208,9 @@ packages: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} - has-property-descriptors@1.0.0: - resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} - has-property-descriptors@1.0.2: resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} - has-proto@1.0.1: - resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==} - engines: {node: '>= 0.4'} - has-proto@1.0.3: resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} engines: {node: '>= 0.4'} @@ -1328,18 +1219,10 @@ packages: resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} engines: {node: '>= 0.4'} - has-tostringtag@1.0.0: - resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} - engines: {node: '>= 0.4'} - has-tostringtag@1.0.2: resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} engines: {node: '>= 0.4'} - has@1.0.3: - resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} - engines: {node: '>= 0.4.0'} - hasown@2.0.0: resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} engines: {node: '>= 0.4'} @@ -1355,10 +1238,6 @@ packages: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} - ignore@5.3.0: - resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==} - engines: {node: '>= 4'} - ignore@5.3.1: resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} @@ -1381,10 +1260,6 @@ packages: inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - internal-slot@1.0.6: - resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} - engines: {node: '>= 0.4'} - internal-slot@1.0.7: resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} engines: {node: '>= 0.4'} @@ -1395,9 +1270,6 @@ packages: is-alphanumerical@1.0.4: resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==} - is-array-buffer@3.0.2: - resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} - is-array-buffer@3.0.4: resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} engines: {node: '>= 0.4'} @@ -1465,16 +1337,13 @@ packages: is-js-type@2.0.0: resolution: {integrity: sha512-Aj13l47+uyTjlQNHtXBV8Cji3jb037vxwMWCgopRR8h6xocgBGW3qG8qGlIOEmbXQtkKShKuBM9e8AA1OeQ+xw==} - is-map@2.0.2: - resolution: {integrity: sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==} + is-map@2.0.3: + resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==} + engines: {node: '>= 0.4'} is-module@1.0.0: resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} - is-negative-zero@2.0.2: - resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} - engines: {node: '>= 0.4'} - is-negative-zero@2.0.3: resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} engines: {node: '>= 0.4'} @@ -1504,11 +1373,9 @@ packages: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} - is-set@2.0.2: - resolution: {integrity: sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==} - - is-shared-array-buffer@1.0.2: - resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} + is-set@2.0.3: + resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==} + engines: {node: '>= 0.4'} is-shared-array-buffer@1.0.3: resolution: {integrity: sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==} @@ -1526,22 +1393,20 @@ packages: resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} engines: {node: '>= 0.4'} - is-typed-array@1.1.12: - resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==} - engines: {node: '>= 0.4'} - is-typed-array@1.1.13: resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} engines: {node: '>= 0.4'} - is-weakmap@2.0.1: - resolution: {integrity: sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==} + is-weakmap@2.0.2: + resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==} + engines: {node: '>= 0.4'} is-weakref@1.0.2: resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} - is-weakset@2.0.2: - resolution: {integrity: sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==} + is-weakset@2.0.3: + resolution: {integrity: sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==} + engines: {node: '>= 0.4'} isarray@2.0.5: resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} @@ -1612,15 +1477,15 @@ packages: resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} hasBin: true - jsonc-eslint-parser@2.1.0: - resolution: {integrity: sha512-qCRJWlbP2v6HbmKW7R3lFbeiVWHo+oMJ0j+MizwvauqnCV/EvtAeEeuCgoc/ErtsuoKgYB8U4Ih8AxJbXoE6/g==} + jsonc-eslint-parser@2.4.0: + resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} jsonc-parser@3.2.1: resolution: {integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==} - jsx-ast-utils@3.3.3: - resolution: {integrity: sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==} + jsx-ast-utils@3.3.5: + resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} engines: {node: '>=4.0'} keyv@4.5.4: @@ -1752,10 +1617,6 @@ packages: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} engines: {node: '>= 0.4'} - object.assign@4.1.4: - resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} - engines: {node: '>= 0.4'} - object.assign@4.1.5: resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==} engines: {node: '>= 0.4'} @@ -1764,10 +1625,6 @@ packages: resolution: {integrity: sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ==} engines: {node: '>= 0.4'} - object.fromentries@2.0.7: - resolution: {integrity: sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==} - engines: {node: '>= 0.4'} - object.fromentries@2.0.8: resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==} engines: {node: '>= 0.4'} @@ -1780,10 +1637,6 @@ packages: resolution: {integrity: sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==} engines: {node: '>= 0.4'} - object.values@1.1.7: - resolution: {integrity: sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==} - engines: {node: '>= 0.4'} - object.values@1.2.0: resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==} engines: {node: '>= 0.4'} @@ -1795,8 +1648,8 @@ packages: resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} engines: {node: '>=12'} - optionator@0.9.3: - resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} + optionator@0.9.4: + resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} p-limit@2.3.0: @@ -1926,8 +1779,8 @@ packages: resolution: {integrity: sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - reflect.getprototypeof@1.0.4: - resolution: {integrity: sha512-ECkTw8TmJwW60lOTR+ZkODISW6RQ8+2CL3COqtiJKLd6MmB45hN51HprHFziKLGkAuTGQhBb91V8cy+KHlaCjw==} + reflect.getprototypeof@1.0.6: + resolution: {integrity: sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==} engines: {node: '>= 0.4'} regexp-ast-analysis@0.7.1: @@ -1938,10 +1791,6 @@ packages: resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} hasBin: true - regexp.prototype.flags@1.5.1: - resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} - engines: {node: '>= 0.4'} - regexp.prototype.flags@1.5.2: resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==} engines: {node: '>= 0.4'} @@ -1981,17 +1830,10 @@ packages: run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - safe-array-concat@1.0.1: - resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} - engines: {node: '>=0.4'} - safe-array-concat@1.1.2: resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==} engines: {node: '>=0.4'} - safe-regex-test@1.0.0: - resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} - safe-regex-test@1.0.3: resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} engines: {node: '>= 0.4'} @@ -2000,36 +1842,23 @@ packages: resolution: {integrity: sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==} engines: {node: ^14.0.0 || >=16.0.0} - semver@5.7.1: - resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} + semver@5.7.2: + resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} hasBin: true semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - semver@7.5.4: - resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} - engines: {node: '>=10'} - hasBin: true - semver@7.6.0: resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} engines: {node: '>=10'} hasBin: true - set-function-length@1.1.1: - resolution: {integrity: sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==} - engines: {node: '>= 0.4'} - set-function-length@1.2.2: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} - set-function-name@2.0.1: - resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} - engines: {node: '>= 0.4'} - set-function-name@2.0.2: resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==} engines: {node: '>= 0.4'} @@ -2045,9 +1874,6 @@ packages: shell-quote@1.8.1: resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} - side-channel@1.0.4: - resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} - side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} @@ -2068,17 +1894,17 @@ packages: resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} engines: {node: '>=14.16'} - spdx-correct@3.1.1: - resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==} + spdx-correct@3.2.0: + resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} - spdx-exceptions@2.3.0: - resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} + spdx-exceptions@2.5.0: + resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} spdx-expression-parse@3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} - spdx-license-ids@3.0.12: - resolution: {integrity: sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==} + spdx-license-ids@3.0.17: + resolution: {integrity: sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==} stack-utils@2.0.6: resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} @@ -2088,23 +1914,13 @@ packages: resolution: {integrity: sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==} engines: {node: '>= 0.4'} - string.prototype.trim@1.2.8: - resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} - engines: {node: '>= 0.4'} - string.prototype.trim@1.2.9: resolution: {integrity: sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==} engines: {node: '>= 0.4'} - string.prototype.trimend@1.0.7: - resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} - string.prototype.trimend@1.0.8: resolution: {integrity: sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==} - string.prototype.trimstart@1.0.7: - resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} - string.prototype.trimstart@1.0.8: resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==} engines: {node: '>= 0.4'} @@ -2159,12 +1975,6 @@ packages: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} - ts-api-utils@1.0.3: - resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} - engines: {node: '>=16.13.0'} - peerDependencies: - typescript: '>=4.2.0' - ts-api-utils@1.3.0: resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} engines: {node: '>=16'} @@ -2208,45 +2018,33 @@ packages: type-flag@3.0.0: resolution: {integrity: sha512-3YaYwMseXCAhBB14RXW5cRQfJQlEknS6i4C8fCfeUdS3ihG9EdccdR9kt3vP73ZdeTGmPb4bZtkDn5XMIn1DLA==} - typed-array-buffer@1.0.0: - resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} - engines: {node: '>= 0.4'} - typed-array-buffer@1.0.2: resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} engines: {node: '>= 0.4'} - typed-array-byte-length@1.0.0: - resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} - engines: {node: '>= 0.4'} - typed-array-byte-length@1.0.1: resolution: {integrity: sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==} engines: {node: '>= 0.4'} - typed-array-byte-offset@1.0.0: - resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==} - engines: {node: '>= 0.4'} - typed-array-byte-offset@1.0.2: resolution: {integrity: sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==} engines: {node: '>= 0.4'} - typed-array-length@1.0.4: - resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} - typed-array-length@1.0.6: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} - typescript@5.0.4: - resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} - engines: {node: '>=12.20'} + typescript@5.2.2: + resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} + engines: {node: '>=14.17'} hasBin: true unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} + undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + unist-util-stringify-position@2.0.3: resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} @@ -2278,11 +2076,8 @@ packages: resolution: {integrity: sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==} engines: {node: '>= 0.4'} - which-collection@1.0.1: - resolution: {integrity: sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==} - - which-typed-array@1.1.13: - resolution: {integrity: sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==} + which-collection@1.0.2: + resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==} engines: {node: '>= 0.4'} which-typed-array@1.1.15: @@ -2294,6 +2089,10 @@ packages: engines: {node: '>= 8'} hasBin: true + word-wrap@1.2.5: + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} + wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} @@ -2308,9 +2107,10 @@ packages: resolution: {integrity: sha512-pEwzfsKbTrB8G3xc/sN7aw1v6A6c/pKxLAkjclnAyo5g5qOh6eL9WGu0o3cSDQZKrTNk4KL4lQSwZW+nBkANEg==} engines: {node: ^14.17.0 || >=16.0.0} - yaml@2.3.4: - resolution: {integrity: sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==} + yaml@2.4.2: + resolution: {integrity: sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==} engines: {node: '>= 14'} + hasBin: true yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} @@ -2318,28 +2118,13 @@ packages: snapshots: - '@aashutoshrathi/word-wrap@1.2.6': {} - - '@babel/code-frame@7.22.13': - dependencies: - '@babel/highlight': 7.22.20 - chalk: 2.4.2 - '@babel/code-frame@7.24.2': dependencies: '@babel/highlight': 7.24.5 picocolors: 1.0.0 - '@babel/helper-validator-identifier@7.22.20': {} - '@babel/helper-validator-identifier@7.24.5': {} - '@babel/highlight@7.22.20': - dependencies: - '@babel/helper-validator-identifier': 7.22.20 - chalk: 2.4.2 - js-tokens: 4.0.0 - '@babel/highlight@7.24.5': dependencies: '@babel/helper-validator-identifier': 7.24.5 @@ -2425,7 +2210,7 @@ snapshots: '@eslint-community/eslint-utils@4.4.0(eslint@8.57.0)': dependencies: eslint: 8.57.0 - eslint-visitor-keys: 3.3.0 + eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.10.0': {} @@ -2447,7 +2232,7 @@ snapshots: '@humanwhocodes/config-array@0.11.14': dependencies: - '@humanwhocodes/object-schema': 2.0.2 + '@humanwhocodes/object-schema': 2.0.3 debug: 4.3.4 minimatch: 3.1.2 transitivePeerDependencies: @@ -2455,7 +2240,7 @@ snapshots: '@humanwhocodes/module-importer@1.0.1': {} - '@humanwhocodes/object-schema@2.0.2': {} + '@humanwhocodes/object-schema@2.0.3': {} '@jest/expect-utils@29.7.0': dependencies: @@ -2470,7 +2255,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 18.15.10 + '@types/node': 20.12.8 '@types/yargs': 17.0.32 chalk: 4.1.2 @@ -2486,7 +2271,7 @@ snapshots: '@nodelib/fs.walk@1.2.8': dependencies: '@nodelib/fs.scandir': 2.1.5 - fastq: 1.15.0 + fastq: 1.17.1 '@rollup/plugin-alias@5.1.0(rollup@4.17.2)': dependencies: @@ -2612,31 +2397,31 @@ snapshots: estraverse: 5.3.0 picomatch: 4.0.2 - '@stylistic/eslint-plugin-plus@1.8.0(eslint@8.57.0)(typescript@5.0.4)': + '@stylistic/eslint-plugin-plus@1.8.0(eslint@8.57.0)(typescript@5.2.2)': dependencies: '@types/eslint': 8.56.10 - '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.0.4) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.2.2) eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript - '@stylistic/eslint-plugin-ts@1.8.0(eslint@8.57.0)(typescript@5.0.4)': + '@stylistic/eslint-plugin-ts@1.8.0(eslint@8.57.0)(typescript@5.2.2)': dependencies: '@stylistic/eslint-plugin-js': 1.8.0(eslint@8.57.0) '@types/eslint': 8.56.10 - '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.0.4) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.2.2) eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript - '@stylistic/eslint-plugin@1.8.0(eslint@8.57.0)(typescript@5.0.4)': + '@stylistic/eslint-plugin@1.8.0(eslint@8.57.0)(typescript@5.2.2)': dependencies: '@stylistic/eslint-plugin-js': 1.8.0(eslint@8.57.0) '@stylistic/eslint-plugin-jsx': 1.8.0(eslint@8.57.0) - '@stylistic/eslint-plugin-plus': 1.8.0(eslint@8.57.0)(typescript@5.0.4) - '@stylistic/eslint-plugin-ts': 1.8.0(eslint@8.57.0)(typescript@5.0.4) + '@stylistic/eslint-plugin-plus': 1.8.0(eslint@8.57.0)(typescript@5.2.2) + '@stylistic/eslint-plugin-ts': 1.8.0(eslint@8.57.0)(typescript@5.2.2) '@types/eslint': 8.56.10 eslint: 8.57.0 transitivePeerDependencies: @@ -2666,25 +2451,25 @@ snapshots: '@types/json5@0.0.29': {} - '@types/mdast@3.0.10': + '@types/mdast@3.0.15': dependencies: - '@types/unist': 2.0.6 + '@types/unist': 2.0.10 '@types/node@13.13.52': {} - '@types/node@18.15.10': {} + '@types/node@20.12.8': + dependencies: + undici-types: 5.26.5 - '@types/normalize-package-data@2.4.1': {} + '@types/normalize-package-data@2.4.4': {} '@types/resolve@1.20.2': {} - '@types/semver@7.5.6': {} - '@types/semver@7.5.8': {} '@types/stack-utils@2.0.3': {} - '@types/unist@2.0.6': {} + '@types/unist@2.0.10': {} '@types/yargs-parser@21.0.3': {} @@ -2692,13 +2477,13 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0)(typescript@5.0.4)': + '@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0)(typescript@5.2.2)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.0.4) + '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.2.2) '@typescript-eslint/scope-manager': 7.8.0 - '@typescript-eslint/type-utils': 7.8.0(eslint@8.57.0)(typescript@5.0.4) - '@typescript-eslint/utils': 7.8.0(eslint@8.57.0)(typescript@5.0.4) + '@typescript-eslint/type-utils': 7.8.0(eslint@8.57.0)(typescript@5.2.2) + '@typescript-eslint/utils': 7.8.0(eslint@8.57.0)(typescript@5.2.2) '@typescript-eslint/visitor-keys': 7.8.0 debug: 4.3.4 eslint: 8.57.0 @@ -2706,22 +2491,22 @@ snapshots: ignore: 5.3.1 natural-compare: 1.4.0 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.0.4) + ts-api-utils: 1.3.0(typescript@5.2.2) optionalDependencies: - typescript: 5.0.4 + typescript: 5.2.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4)': + '@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2)': dependencies: '@typescript-eslint/scope-manager': 7.8.0 '@typescript-eslint/types': 7.8.0 - '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.0.4) + '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.2.2) '@typescript-eslint/visitor-keys': 7.8.0 debug: 4.3.4 eslint: 8.57.0 optionalDependencies: - typescript: 5.0.4 + typescript: 5.2.2 transitivePeerDependencies: - supports-color @@ -2735,15 +2520,15 @@ snapshots: '@typescript-eslint/types': 7.8.0 '@typescript-eslint/visitor-keys': 7.8.0 - '@typescript-eslint/type-utils@7.8.0(eslint@8.57.0)(typescript@5.0.4)': + '@typescript-eslint/type-utils@7.8.0(eslint@8.57.0)(typescript@5.2.2)': dependencies: - '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.0.4) - '@typescript-eslint/utils': 7.8.0(eslint@8.57.0)(typescript@5.0.4) + '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.2.2) + '@typescript-eslint/utils': 7.8.0(eslint@8.57.0)(typescript@5.2.2) debug: 4.3.4 eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.0.4) + ts-api-utils: 1.3.0(typescript@5.2.2) optionalDependencies: - typescript: 5.0.4 + typescript: 5.2.2 transitivePeerDependencies: - supports-color @@ -2751,7 +2536,7 @@ snapshots: '@typescript-eslint/types@7.8.0': {} - '@typescript-eslint/typescript-estree@6.21.0(typescript@5.0.4)': + '@typescript-eslint/typescript-estree@6.21.0(typescript@5.2.2)': dependencies: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/visitor-keys': 6.21.0 @@ -2759,14 +2544,14 @@ snapshots: globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.0.4) + semver: 7.6.0 + ts-api-utils: 1.3.0(typescript@5.2.2) optionalDependencies: - typescript: 5.0.4 + typescript: 5.2.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@7.8.0(typescript@5.0.4)': + '@typescript-eslint/typescript-estree@7.8.0(typescript@5.2.2)': dependencies: '@typescript-eslint/types': 7.8.0 '@typescript-eslint/visitor-keys': 7.8.0 @@ -2775,34 +2560,34 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.4 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.0.4) + ts-api-utils: 1.3.0(typescript@5.2.2) optionalDependencies: - typescript: 5.0.4 + typescript: 5.2.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.0.4)': + '@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.2.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.15 - '@types/semver': 7.5.6 + '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.0.4) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.2.2) eslint: 8.57.0 - semver: 7.5.4 + semver: 7.6.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/utils@7.8.0(eslint@8.57.0)(typescript@5.0.4)': + '@typescript-eslint/utils@7.8.0(eslint@8.57.0)(typescript@5.2.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 7.8.0 '@typescript-eslint/types': 7.8.0 - '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.0.4) + '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.2.2) eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: @@ -2836,11 +2621,9 @@ snapshots: '@types/node': 13.13.52 '@yarnpkg/fslib': 2.10.2 - acorn-jsx@5.3.2(acorn@8.11.2): + acorn-jsx@5.3.2(acorn@8.11.3): dependencies: - acorn: 8.11.2 - - acorn@8.11.2: {} + acorn: 8.11.3 acorn@8.11.3: {} @@ -2865,24 +2648,11 @@ snapshots: argparse@2.0.1: {} - array-buffer-byte-length@1.0.0: - dependencies: - call-bind: 1.0.5 - is-array-buffer: 3.0.2 - array-buffer-byte-length@1.0.1: dependencies: call-bind: 1.0.7 is-array-buffer: 3.0.4 - array-includes@3.1.7: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - get-intrinsic: 1.2.2 - is-string: 1.0.7 - array-includes@3.1.8: dependencies: call-bind: 1.0.7 @@ -2921,36 +2691,26 @@ snapshots: array.prototype.flatmap@1.3.2: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 - es-shim-unscopables: 1.0.0 + es-abstract: 1.23.3 + es-shim-unscopables: 1.0.2 array.prototype.toreversed@1.1.2: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 - es-shim-unscopables: 1.0.0 + es-abstract: 1.23.3 + es-shim-unscopables: 1.0.2 array.prototype.tosorted@1.1.3: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.23.3 es-errors: 1.3.0 es-shim-unscopables: 1.0.2 - arraybuffer.prototype.slice@1.0.2: - dependencies: - array-buffer-byte-length: 1.0.0 - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - get-intrinsic: 1.2.2 - is-array-buffer: 3.0.2 - is-shared-array-buffer: 1.0.2 - arraybuffer.prototype.slice@1.0.3: dependencies: array-buffer-byte-length: 1.0.1 @@ -2962,8 +2722,6 @@ snapshots: is-array-buffer: 3.0.4 is-shared-array-buffer: 1.0.3 - available-typed-arrays@1.0.5: {} - available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.0.0 @@ -2994,12 +2752,6 @@ snapshots: builtin-modules@3.3.0: {} - call-bind@1.0.5: - dependencies: - function-bind: 1.1.2 - get-intrinsic: 1.2.2 - set-function-length: 1.1.1 - call-bind@1.0.7: dependencies: es-define-property: 1.0.0 @@ -3106,12 +2858,6 @@ snapshots: deepmerge@4.3.1: {} - define-data-property@1.1.1: - dependencies: - get-intrinsic: 1.2.2 - gopd: 1.0.1 - has-property-descriptors: 1.0.0 - define-data-property@1.1.4: dependencies: es-define-property: 1.0.0 @@ -3120,8 +2866,8 @@ snapshots: define-properties@1.2.1: dependencies: - define-data-property: 1.1.1 - has-property-descriptors: 1.0.0 + define-data-property: 1.1.4 + has-property-descriptors: 1.0.2 object-keys: 1.1.1 diff-sequences@29.6.3: {} @@ -3140,11 +2886,6 @@ snapshots: electron-to-chromium@1.4.754: {} - enhanced-resolve@5.12.0: - dependencies: - graceful-fs: 4.2.11 - tapable: 2.2.1 - enhanced-resolve@5.16.0: dependencies: graceful-fs: 4.2.11 @@ -3154,48 +2895,6 @@ snapshots: dependencies: is-arrayish: 0.2.1 - es-abstract@1.22.3: - dependencies: - array-buffer-byte-length: 1.0.0 - arraybuffer.prototype.slice: 1.0.2 - available-typed-arrays: 1.0.5 - call-bind: 1.0.5 - es-set-tostringtag: 2.0.2 - es-to-primitive: 1.2.1 - function.prototype.name: 1.1.6 - get-intrinsic: 1.2.2 - get-symbol-description: 1.0.0 - globalthis: 1.0.3 - gopd: 1.0.1 - has-property-descriptors: 1.0.0 - has-proto: 1.0.1 - has-symbols: 1.0.3 - hasown: 2.0.0 - internal-slot: 1.0.6 - is-array-buffer: 3.0.2 - is-callable: 1.2.7 - is-negative-zero: 2.0.2 - is-regex: 1.1.4 - is-shared-array-buffer: 1.0.2 - is-string: 1.0.7 - is-typed-array: 1.1.12 - is-weakref: 1.0.2 - object-inspect: 1.13.1 - object-keys: 1.1.1 - object.assign: 4.1.4 - regexp.prototype.flags: 1.5.1 - safe-array-concat: 1.0.1 - safe-regex-test: 1.0.0 - string.prototype.trim: 1.2.8 - string.prototype.trimend: 1.0.7 - string.prototype.trimstart: 1.0.7 - typed-array-buffer: 1.0.0 - typed-array-byte-length: 1.0.0 - typed-array-byte-offset: 1.0.0 - typed-array-length: 1.0.4 - unbox-primitive: 1.0.2 - which-typed-array: 1.1.13 - es-abstract@1.23.3: dependencies: array-buffer-byte-length: 1.0.1 @@ -3213,7 +2912,7 @@ snapshots: function.prototype.name: 1.1.6 get-intrinsic: 1.2.4 get-symbol-description: 1.0.2 - globalthis: 1.0.3 + globalthis: 1.0.4 gopd: 1.0.1 has-property-descriptors: 1.0.2 has-proto: 1.0.3 @@ -3260,7 +2959,7 @@ snapshots: es-set-tostringtag: 2.0.3 function-bind: 1.1.2 get-intrinsic: 1.2.4 - globalthis: 1.0.3 + globalthis: 1.0.4 has-property-descriptors: 1.0.2 has-proto: 1.0.3 has-symbols: 1.0.3 @@ -3272,22 +2971,12 @@ snapshots: dependencies: es-errors: 1.3.0 - es-set-tostringtag@2.0.2: - dependencies: - get-intrinsic: 1.2.2 - has-tostringtag: 1.0.0 - hasown: 2.0.0 - es-set-tostringtag@2.0.3: dependencies: get-intrinsic: 1.2.4 has-tostringtag: 1.0.2 hasown: 2.0.2 - es-shim-unscopables@1.0.0: - dependencies: - has: 1.0.3 - es-shim-unscopables@1.0.2: dependencies: hasown: 2.0.0 @@ -3332,14 +3021,10 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-compat-utils@0.1.2(eslint@8.57.0): - dependencies: - eslint: 8.57.0 - eslint-compat-utils@0.5.0(eslint@8.57.0): dependencies: eslint: 8.57.0 - semver: 7.5.4 + semver: 7.6.0 eslint-import-resolver-node@0.3.9: dependencies: @@ -3349,15 +3034,15 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0))(eslint@8.57.0): + eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0))(eslint@8.57.0): dependencies: debug: 4.3.4 - enhanced-resolve: 5.12.0 + enhanced-resolve: 5.16.0 eslint: 8.57.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0) fast-glob: 3.3.2 - get-tsconfig: 4.7.2 + get-tsconfig: 4.7.3 is-core-module: 2.13.1 is-glob: 4.0.3 transitivePeerDependencies: @@ -3366,36 +3051,36 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.0.4) + '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.2.2) eslint: 8.57.0 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0))(eslint@8.57.0) + eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.0.4) + '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.2.2) eslint: 8.57.0 - eslint-import-resolver-node: 0.3.9 + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0))(eslint@8.57.0) transitivePeerDependencies: - supports-color - eslint-plugin-es-x@7.5.0(eslint@8.57.0): + eslint-plugin-es-x@7.6.0(eslint@8.57.0): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@eslint-community/regexpp': 4.10.0 eslint: 8.57.0 - eslint-compat-utils: 0.1.2(eslint@8.57.0) + eslint-compat-utils: 0.5.0(eslint@8.57.0) - eslint-plugin-import-x@0.5.0(eslint@8.57.0)(typescript@5.0.4): + eslint-plugin-import-x@0.5.0(eslint@8.57.0)(typescript@5.2.2): dependencies: - '@typescript-eslint/utils': 7.8.0(eslint@8.57.0)(typescript@5.0.4) + '@typescript-eslint/utils': 7.8.0(eslint@8.57.0)(typescript@5.2.2) debug: 4.3.4 doctrine: 3.0.0 eslint: 8.57.0 @@ -3408,7 +3093,7 @@ snapshots: - supports-color - typescript - eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0): dependencies: array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 @@ -3418,7 +3103,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -3429,7 +3114,7 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.0.4) + '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.2.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -3442,7 +3127,7 @@ snapshots: eslint-compat-utils: 0.5.0(eslint@8.57.0) espree: 9.6.1 graphemer: 1.4.0 - jsonc-eslint-parser: 2.1.0 + jsonc-eslint-parser: 2.4.0 natural-compare: 1.4.0 synckit: 0.6.2 @@ -3458,12 +3143,12 @@ snapshots: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) enhanced-resolve: 5.16.0 eslint: 8.57.0 - eslint-plugin-es-x: 7.5.0(eslint@8.57.0) + eslint-plugin-es-x: 7.6.0(eslint@8.57.0) get-tsconfig: 4.7.3 globals: 15.1.0 ignore: 5.3.1 minimatch: 9.0.4 - semver: 7.5.4 + semver: 7.6.0 eslint-plugin-no-use-extend-native@0.5.0: dependencies: @@ -3482,7 +3167,7 @@ snapshots: eslint-plugin-react@7.34.1(eslint@8.57.0): dependencies: - array-includes: 3.1.7 + array-includes: 3.1.8 array.prototype.findlast: 1.2.5 array.prototype.flatmap: 1.3.2 array.prototype.toreversed: 1.1.2 @@ -3491,12 +3176,12 @@ snapshots: es-iterator-helpers: 1.0.19 eslint: 8.57.0 estraverse: 5.3.0 - jsx-ast-utils: 3.3.3 + jsx-ast-utils: 3.3.5 minimatch: 3.1.2 object.entries: 1.1.8 - object.fromentries: 2.0.7 + object.fromentries: 2.0.8 object.hasown: 1.1.4 - object.values: 1.1.7 + object.values: 1.2.0 prop-types: 15.8.1 resolve: 2.0.0-next.5 semver: 6.3.1 @@ -3515,7 +3200,7 @@ snapshots: eslint-plugin-unicorn@52.0.0(eslint@8.57.0): dependencies: - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.24.5 '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@eslint/eslintrc': 2.1.4 ci-info: 4.0.0 @@ -3530,7 +3215,7 @@ snapshots: read-pkg-up: 7.0.1 regexp-tree: 0.1.27 regjsparser: 0.10.0 - semver: 7.5.4 + semver: 7.6.0 strip-indent: 3.0.0 transitivePeerDependencies: - supports-color @@ -3565,8 +3250,6 @@ snapshots: esrecurse: 4.3.0 estraverse: 5.3.0 - eslint-visitor-keys@3.3.0: {} - eslint-visitor-keys@3.4.3: {} eslint@8.57.0: @@ -3606,7 +3289,7 @@ snapshots: lodash.merge: 4.6.2 minimatch: 3.1.2 natural-compare: 1.4.0 - optionator: 0.9.3 + optionator: 0.9.4 strip-ansi: 6.0.1 text-table: 0.2.0 transitivePeerDependencies: @@ -3614,8 +3297,8 @@ snapshots: espree@9.6.1: dependencies: - acorn: 8.11.2 - acorn-jsx: 5.3.2(acorn@8.11.2) + acorn: 8.11.3 + acorn-jsx: 5.3.2(acorn@8.11.3) eslint-visitor-keys: 3.4.3 esquery@1.5.0: @@ -3666,7 +3349,7 @@ snapshots: fast-levenshtein@2.0.6: {} - fastq@1.15.0: + fastq@1.17.1: dependencies: reusify: 1.0.4 @@ -3700,7 +3383,7 @@ snapshots: dependencies: is-callable: 1.2.7 - fs-fixture@1.2.0: {} + fs-fixture@2.0.0: {} fs.realpath@1.0.0: {} @@ -3711,9 +3394,9 @@ snapshots: function.prototype.name@1.1.6: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.23.3 functions-have-names: 1.2.3 functions-have-names@1.2.3: {} @@ -3723,13 +3406,6 @@ snapshots: shell-quote: 1.8.1 type-flag: 3.0.0 - get-intrinsic@1.2.2: - dependencies: - function-bind: 1.1.2 - has-proto: 1.0.1 - has-symbols: 1.0.3 - hasown: 2.0.0 - get-intrinsic@1.2.4: dependencies: es-errors: 1.3.0 @@ -3742,21 +3418,12 @@ snapshots: get-stream@8.0.1: {} - get-symbol-description@1.0.0: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - get-symbol-description@1.0.2: dependencies: call-bind: 1.0.7 es-errors: 1.3.0 get-intrinsic: 1.2.4 - get-tsconfig@4.7.2: - dependencies: - resolve-pkg-maps: 1.0.0 - get-tsconfig@4.7.3: dependencies: resolve-pkg-maps: 1.0.0 @@ -3792,22 +3459,23 @@ snapshots: globals@15.1.0: {} - globalthis@1.0.3: + globalthis@1.0.4: dependencies: define-properties: 1.2.1 + gopd: 1.0.1 globby@11.1.0: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 fast-glob: 3.3.2 - ignore: 5.3.0 + ignore: 5.3.1 merge2: 1.4.1 slash: 3.0.0 gopd@1.0.1: dependencies: - get-intrinsic: 1.2.2 + get-intrinsic: 1.2.4 graceful-fs@4.2.11: {} @@ -3819,32 +3487,18 @@ snapshots: has-flag@4.0.0: {} - has-property-descriptors@1.0.0: - dependencies: - get-intrinsic: 1.2.2 - has-property-descriptors@1.0.2: dependencies: es-define-property: 1.0.0 - has-proto@1.0.1: {} - has-proto@1.0.3: {} has-symbols@1.0.3: {} - has-tostringtag@1.0.0: - dependencies: - has-symbols: 1.0.3 - has-tostringtag@1.0.2: dependencies: has-symbols: 1.0.3 - has@1.0.3: - dependencies: - function-bind: 1.1.2 - hasown@2.0.0: dependencies: function-bind: 1.1.2 @@ -3857,8 +3511,6 @@ snapshots: human-signals@5.0.0: {} - ignore@5.3.0: {} - ignore@5.3.1: {} import-fresh@3.3.0: @@ -3877,17 +3529,11 @@ snapshots: inherits@2.0.4: {} - internal-slot@1.0.6: - dependencies: - get-intrinsic: 1.2.2 - hasown: 2.0.0 - side-channel: 1.0.4 - internal-slot@1.0.7: dependencies: es-errors: 1.3.0 hasown: 2.0.0 - side-channel: 1.0.4 + side-channel: 1.0.6 is-alphabetical@1.0.4: {} @@ -3896,12 +3542,6 @@ snapshots: is-alphabetical: 1.0.4 is-decimal: 1.0.4 - is-array-buffer@3.0.2: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - is-typed-array: 1.1.12 - is-array-buffer@3.0.4: dependencies: call-bind: 1.0.7 @@ -3911,7 +3551,7 @@ snapshots: is-async-function@2.0.0: dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 is-bigint@1.0.4: dependencies: @@ -3919,8 +3559,8 @@ snapshots: is-boolean-object@1.1.2: dependencies: - call-bind: 1.0.5 - has-tostringtag: 1.0.0 + call-bind: 1.0.7 + has-tostringtag: 1.0.2 is-builtin-module@3.2.1: dependencies: @@ -3938,7 +3578,7 @@ snapshots: is-date-object@1.0.5: dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 is-decimal@1.0.4: {} @@ -3946,13 +3586,13 @@ snapshots: is-finalizationregistry@1.0.2: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 is-fs-case-sensitive@1.0.0: {} is-generator-function@1.0.10: dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 is-get-set-prop@1.0.0: dependencies: @@ -3969,17 +3609,15 @@ snapshots: dependencies: js-types: 1.0.0 - is-map@2.0.2: {} + is-map@2.0.3: {} is-module@1.0.0: {} - is-negative-zero@2.0.2: {} - is-negative-zero@2.0.3: {} is-number-object@1.0.7: dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 is-number@7.0.0: {} @@ -4001,14 +3639,10 @@ snapshots: is-regex@1.1.4: dependencies: - call-bind: 1.0.5 - has-tostringtag: 1.0.0 - - is-set@2.0.2: {} + call-bind: 1.0.7 + has-tostringtag: 1.0.2 - is-shared-array-buffer@1.0.2: - dependencies: - call-bind: 1.0.5 + is-set@2.0.3: {} is-shared-array-buffer@1.0.3: dependencies: @@ -4018,30 +3652,26 @@ snapshots: is-string@1.0.7: dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 is-symbol@1.0.4: dependencies: has-symbols: 1.0.3 - is-typed-array@1.1.12: - dependencies: - which-typed-array: 1.1.13 - is-typed-array@1.1.13: dependencies: which-typed-array: 1.1.15 - is-weakmap@2.0.1: {} + is-weakmap@2.0.2: {} is-weakref@1.0.2: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 - is-weakset@2.0.2: + is-weakset@2.0.3: dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 + call-bind: 1.0.7 + get-intrinsic: 1.2.4 isarray@2.0.5: {} @@ -4050,10 +3680,10 @@ snapshots: iterator.prototype@1.1.2: dependencies: define-properties: 1.2.1 - get-intrinsic: 1.2.2 + get-intrinsic: 1.2.4 has-symbols: 1.0.3 - reflect.getprototypeof: 1.0.4 - set-function-name: 2.0.1 + reflect.getprototypeof: 1.0.6 + set-function-name: 2.0.2 jest-diff@29.7.0: dependencies: @@ -4086,7 +3716,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 18.15.10 + '@types/node': 20.12.8 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4118,19 +3748,21 @@ snapshots: dependencies: minimist: 1.2.8 - jsonc-eslint-parser@2.1.0: + jsonc-eslint-parser@2.4.0: dependencies: - acorn: 8.11.2 + acorn: 8.11.3 eslint-visitor-keys: 3.4.3 espree: 9.6.1 - semver: 7.5.4 + semver: 7.6.0 jsonc-parser@3.2.1: {} - jsx-ast-utils@3.3.3: + jsx-ast-utils@3.3.5: dependencies: - array-includes: 3.1.7 - object.assign: 4.1.4 + array-includes: 3.1.8 + array.prototype.flat: 1.3.2 + object.assign: 4.1.5 + object.values: 1.2.0 keyv@4.5.4: dependencies: @@ -4143,18 +3775,18 @@ snapshots: lines-and-columns@1.2.4: {} - lintroll@1.5.1(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0))(typescript@5.0.4): + lintroll@1.5.1(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0))(typescript@5.2.2): dependencies: '@eslint-community/eslint-plugin-eslint-comments': 4.3.0(eslint@8.57.0) '@eslint/js': 8.57.0 - '@stylistic/eslint-plugin': 1.8.0(eslint@8.57.0)(typescript@5.0.4) - '@typescript-eslint/eslint-plugin': 7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0)(typescript@5.0.4) - '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.0.4) + '@stylistic/eslint-plugin': 1.8.0(eslint@8.57.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0)(typescript@5.2.2) + '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.2.2) cleye: 1.3.2 confusing-browser-globals: 1.0.11 eslint: 8.57.0 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.0.4))(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import-x: 0.5.0(eslint@8.57.0)(typescript@5.0.4) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.2.2))(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import-x: 0.5.0(eslint@8.57.0)(typescript@5.2.2) eslint-plugin-jsonc: 2.15.1(eslint@8.57.0) eslint-plugin-markdown: 4.0.1(eslint@8.57.0) eslint-plugin-n: 17.4.0(eslint@8.57.0) @@ -4213,7 +3845,7 @@ snapshots: mdast-util-from-markdown@0.8.5: dependencies: - '@types/mdast': 3.0.10 + '@types/mdast': 3.0.15 mdast-util-to-string: 2.0.0 micromark: 2.11.4 parse-entities: 2.0.0 @@ -4273,7 +3905,7 @@ snapshots: dependencies: hosted-git-info: 2.8.9 resolve: 1.22.8 - semver: 5.7.1 + semver: 5.7.2 validate-npm-package-license: 3.0.4 npm-run-path@5.1.0: @@ -4292,13 +3924,6 @@ snapshots: object-keys@1.1.1: {} - object.assign@4.1.4: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - has-symbols: 1.0.3 - object-keys: 1.1.1 - object.assign@4.1.5: dependencies: call-bind: 1.0.7 @@ -4312,12 +3937,6 @@ snapshots: define-properties: 1.2.1 es-object-atoms: 1.0.0 - object.fromentries@2.0.7: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - object.fromentries@2.0.8: dependencies: call-bind: 1.0.7 @@ -4337,12 +3956,6 @@ snapshots: es-abstract: 1.23.3 es-object-atoms: 1.0.0 - object.values@1.1.7: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - object.values@1.2.0: dependencies: call-bind: 1.0.7 @@ -4357,14 +3970,14 @@ snapshots: dependencies: mimic-fn: 4.0.0 - optionator@0.9.3: + optionator@0.9.4: dependencies: - '@aashutoshrathi/word-wrap': 1.2.6 deep-is: 0.1.4 fast-levenshtein: 2.0.6 levn: 0.4.1 prelude-ls: 1.2.1 type-check: 0.4.0 + word-wrap: 1.2.5 p-limit@2.3.0: dependencies: @@ -4399,7 +4012,7 @@ snapshots: parse-json@5.2.0: dependencies: - '@babel/code-frame': 7.22.13 + '@babel/code-frame': 7.24.2 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -4422,7 +4035,7 @@ snapshots: picomatch@4.0.2: {} - pkgroll@2.0.2(typescript@5.0.4): + pkgroll@2.0.2(typescript@5.2.2): dependencies: '@rollup/plugin-alias': 5.1.0(rollup@4.17.2) '@rollup/plugin-commonjs': 25.0.7(rollup@4.17.2) @@ -4435,7 +4048,7 @@ snapshots: magic-string: 0.30.10 rollup: 4.17.2 optionalDependencies: - typescript: 5.0.4 + typescript: 5.2.2 pluralize@8.0.0: {} @@ -4478,7 +4091,7 @@ snapshots: read-pkg@5.2.0: dependencies: - '@types/normalize-package-data': 2.4.1 + '@types/normalize-package-data': 2.4.4 normalize-package-data: 2.5.0 parse-json: 5.2.0 type-fest: 0.6.0 @@ -4487,13 +4100,14 @@ snapshots: dependencies: '@eslint-community/regexpp': 4.10.0 - reflect.getprototypeof@1.0.4: + reflect.getprototypeof@1.0.6: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 - get-intrinsic: 1.2.2 - globalthis: 1.0.3 + es-abstract: 1.23.3 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + globalthis: 1.0.4 which-builtin-type: 1.1.3 regexp-ast-analysis@0.7.1: @@ -4503,12 +4117,6 @@ snapshots: regexp-tree@0.1.27: {} - regexp.prototype.flags@1.5.1: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - set-function-name: 2.0.1 - regexp.prototype.flags@1.5.2: dependencies: call-bind: 1.0.7 @@ -4568,13 +4176,6 @@ snapshots: dependencies: queue-microtask: 1.2.3 - safe-array-concat@1.0.1: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - has-symbols: 1.0.3 - isarray: 2.0.5 - safe-array-concat@1.1.2: dependencies: call-bind: 1.0.7 @@ -4582,12 +4183,6 @@ snapshots: has-symbols: 1.0.3 isarray: 2.0.5 - safe-regex-test@1.0.0: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - is-regex: 1.1.4 - safe-regex-test@1.0.3: dependencies: call-bind: 1.0.7 @@ -4600,25 +4195,14 @@ snapshots: refa: 0.12.1 regexp-ast-analysis: 0.7.1 - semver@5.7.1: {} + semver@5.7.2: {} semver@6.3.1: {} - semver@7.5.4: - dependencies: - lru-cache: 6.0.0 - semver@7.6.0: dependencies: lru-cache: 6.0.0 - set-function-length@1.1.1: - dependencies: - define-data-property: 1.1.1 - get-intrinsic: 1.2.2 - gopd: 1.0.1 - has-property-descriptors: 1.0.0 - set-function-length@1.2.2: dependencies: define-data-property: 1.1.4 @@ -4628,12 +4212,6 @@ snapshots: gopd: 1.0.1 has-property-descriptors: 1.0.2 - set-function-name@2.0.1: - dependencies: - define-data-property: 1.1.1 - functions-have-names: 1.2.3 - has-property-descriptors: 1.0.0 - set-function-name@2.0.2: dependencies: define-data-property: 1.1.4 @@ -4649,12 +4227,6 @@ snapshots: shell-quote@1.8.1: {} - side-channel@1.0.4: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - object-inspect: 1.13.1 - side-channel@1.0.6: dependencies: call-bind: 1.0.7 @@ -4670,19 +4242,19 @@ snapshots: slash@5.1.0: {} - spdx-correct@3.1.1: + spdx-correct@3.2.0: dependencies: spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.12 + spdx-license-ids: 3.0.17 - spdx-exceptions@2.3.0: {} + spdx-exceptions@2.5.0: {} spdx-expression-parse@3.0.1: dependencies: - spdx-exceptions: 2.3.0 - spdx-license-ids: 3.0.12 + spdx-exceptions: 2.5.0 + spdx-license-ids: 3.0.17 - spdx-license-ids@3.0.12: {} + spdx-license-ids@3.0.17: {} stack-utils@2.0.6: dependencies: @@ -4703,12 +4275,6 @@ snapshots: set-function-name: 2.0.2 side-channel: 1.0.6 - string.prototype.trim@1.2.8: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - string.prototype.trim@1.2.9: dependencies: call-bind: 1.0.7 @@ -4716,24 +4282,12 @@ snapshots: es-abstract: 1.23.3 es-object-atoms: 1.0.0 - string.prototype.trimend@1.0.7: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - string.prototype.trimend@1.0.8: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 es-object-atoms: 1.0.0 - string.prototype.trimstart@1.0.7: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - string.prototype.trimstart@1.0.8: dependencies: call-bind: 1.0.7 @@ -4778,13 +4332,9 @@ snapshots: dependencies: is-number: 7.0.0 - ts-api-utils@1.0.3(typescript@5.0.4): + ts-api-utils@1.3.0(typescript@5.2.2): dependencies: - typescript: 5.0.4 - - ts-api-utils@1.3.0(typescript@5.0.4): - dependencies: - typescript: 5.0.4 + typescript: 5.2.2 tsconfig-paths@3.15.0: dependencies: @@ -4818,25 +4368,12 @@ snapshots: type-flag@3.0.0: {} - typed-array-buffer@1.0.0: - dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - is-typed-array: 1.1.12 - typed-array-buffer@1.0.2: dependencies: call-bind: 1.0.7 es-errors: 1.3.0 is-typed-array: 1.1.13 - typed-array-byte-length@1.0.0: - dependencies: - call-bind: 1.0.5 - for-each: 0.3.3 - has-proto: 1.0.1 - is-typed-array: 1.1.12 - typed-array-byte-length@1.0.1: dependencies: call-bind: 1.0.7 @@ -4845,14 +4382,6 @@ snapshots: has-proto: 1.0.3 is-typed-array: 1.1.13 - typed-array-byte-offset@1.0.0: - dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.5 - for-each: 0.3.3 - has-proto: 1.0.1 - is-typed-array: 1.1.12 - typed-array-byte-offset@1.0.2: dependencies: available-typed-arrays: 1.0.7 @@ -4862,12 +4391,6 @@ snapshots: has-proto: 1.0.3 is-typed-array: 1.1.13 - typed-array-length@1.0.4: - dependencies: - call-bind: 1.0.5 - for-each: 0.3.3 - is-typed-array: 1.1.12 - typed-array-length@1.0.6: dependencies: call-bind: 1.0.7 @@ -4877,18 +4400,20 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript@5.0.4: {} + typescript@5.2.2: {} unbox-primitive@1.0.2: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 has-bigints: 1.0.2 has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 + undici-types@5.26.5: {} + unist-util-stringify-position@2.0.3: dependencies: - '@types/unist': 2.0.6 + '@types/unist': 2.0.10 update-browserslist-db@1.0.14(browserslist@4.23.0): dependencies: @@ -4904,7 +4429,7 @@ snapshots: validate-npm-package-license@3.0.4: dependencies: - spdx-correct: 3.1.1 + spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 vue-eslint-parser@9.4.2(eslint@8.57.0): @@ -4916,7 +4441,7 @@ snapshots: espree: 9.6.1 esquery: 1.5.0 lodash: 4.17.21 - semver: 7.5.4 + semver: 7.6.0 transitivePeerDependencies: - supports-color @@ -4931,7 +4456,7 @@ snapshots: which-builtin-type@1.1.3: dependencies: function.prototype.name: 1.1.6 - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 is-async-function: 2.0.0 is-date-object: 1.0.5 is-finalizationregistry: 1.0.2 @@ -4940,23 +4465,15 @@ snapshots: is-weakref: 1.0.2 isarray: 2.0.5 which-boxed-primitive: 1.0.2 - which-collection: 1.0.1 - which-typed-array: 1.1.13 - - which-collection@1.0.1: - dependencies: - is-map: 2.0.2 - is-set: 2.0.2 - is-weakmap: 2.0.1 - is-weakset: 2.0.2 + which-collection: 1.0.2 + which-typed-array: 1.1.15 - which-typed-array@1.1.13: + which-collection@1.0.2: dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.5 - for-each: 0.3.3 - gopd: 1.0.1 - has-tostringtag: 1.0.0 + is-map: 2.0.3 + is-set: 2.0.3 + is-weakmap: 2.0.2 + is-weakset: 2.0.3 which-typed-array@1.1.15: dependencies: @@ -4970,6 +4487,8 @@ snapshots: dependencies: isexe: 2.0.0 + word-wrap@1.2.5: {} + wrappy@1.0.2: {} xml-name-validator@4.0.0: {} @@ -4980,8 +4499,8 @@ snapshots: dependencies: eslint-visitor-keys: 3.4.3 lodash: 4.17.21 - yaml: 2.3.4 + yaml: 2.4.2 - yaml@2.3.4: {} + yaml@2.4.2: {} yocto-queue@0.1.0: {} diff --git a/tests/specs/create-files-matcher.ts b/tests/specs/create-files-matcher.ts index 0b171ea..b87fe14 100644 --- a/tests/specs/create-files-matcher.ts +++ b/tests/specs/create-files-matcher.ts @@ -76,7 +76,7 @@ export default testSuite(({ describe }) => { describe('error handling', ({ test }) => { test('should throw on relative path', async () => { const tsconfig: TsConfigJsonResolved = {}; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'index.ts': '', }); @@ -87,15 +87,13 @@ export default testSuite(({ describe }) => { }); expect(() => matches('index.ts')).toThrow('Path must be absolute'); - - await fixture.rm(); }); test('should not match path outside of directory', async () => { const tsconfig: TsConfigJsonResolved = {}; const tsconfigSubpath = 'some-dir/tsconfig.json'; - const fixture = await createFixture({ + await using fixture = await createFixture({ [tsconfigSubpath]: createTsconfigJson(tsconfig), 'index.ts': '', }); @@ -110,8 +108,6 @@ export default testSuite(({ describe }) => { }); expect(matches('/index.ts')).toBe(undefined); - - await fixture.rm(); }); }); @@ -121,7 +117,7 @@ export default testSuite(({ describe }) => { files: ['index.ts'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'index.ts': '', 'no-match.ts': '', @@ -141,8 +137,6 @@ export default testSuite(({ describe }) => { assertFilesMatch(matches, tsFiles); expect(matches(path.join(fixture.path, 'no-match.ts'))).toBe(undefined); - - await fixture.rm(); }); test('files outside of project', async () => { @@ -150,7 +144,7 @@ export default testSuite(({ describe }) => { files: ['../index.ts'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'project/tsconfig.json': createTsconfigJson(tsconfig), 'index.ts': '', }); @@ -168,8 +162,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); test('files takes precedence over extensions', async () => { @@ -177,7 +169,7 @@ export default testSuite(({ describe }) => { files: ['some-dir/index.js'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'some-dir/index.js': '', }); @@ -195,8 +187,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); test('files takes precedence over exclude', async () => { @@ -205,7 +195,7 @@ export default testSuite(({ describe }) => { exclude: ['some-dir/index.ts'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'some-dir/index.ts': '', }); @@ -223,8 +213,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); }); @@ -232,7 +220,7 @@ export default testSuite(({ describe }) => { test('default include matches all TS files', async () => { const tsconfig: TsConfigJsonResolved = {}; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'some-directory': testFiles, }); @@ -247,8 +235,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); test('specific directories', async () => { @@ -262,7 +248,7 @@ export default testSuite(({ describe }) => { ], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), directory: testFiles, 'ends-with-slash': testFiles, @@ -281,8 +267,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); test('include matches nested directories', async () => { @@ -290,7 +274,7 @@ export default testSuite(({ describe }) => { include: ['dir-a'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'dir-a/dir-b/dir-c': testFiles, }); @@ -305,8 +289,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); test('should not match directory with prefix', async () => { @@ -314,7 +296,7 @@ export default testSuite(({ describe }) => { include: ['dir-a'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'dir-abc': testFiles, }); @@ -331,8 +313,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, 'dir-abc/ts.ts'), )).toBe(undefined); - - await fixture.rm(); }); test('relative parent directory', async () => { @@ -340,7 +320,7 @@ export default testSuite(({ describe }) => { include: ['../src'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'src/a.ts': '', 'project/tsconfig.json': createTsconfigJson(tsconfig), }); @@ -359,8 +339,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); describe('hidden files', ({ test }) => { @@ -368,7 +346,7 @@ export default testSuite(({ describe }) => { const directoryName = 'some-dir'; const tsconfig: TsConfigJsonResolved = {}; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [directoryName]: Object.fromEntries( fileNames.map(fileName => [`.${fileName}`, '']), @@ -386,15 +364,13 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, directoryName, '.index.ts'), )).toBe(undefined); - - await fixture.rm(); }); test('should not match hidden directory by default', async () => { const directoryName = '.hidden-dir'; const tsconfig: TsConfigJsonResolved = {}; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [directoryName]: testFiles, }); @@ -410,8 +386,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, directoryName, 'index.ts'), )).toBe(undefined); - - await fixture.rm(); }); test('explicit directory name without star should not match', async () => { @@ -421,7 +395,7 @@ export default testSuite(({ describe }) => { include: [directoryName], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [directoryName]: testFiles, }); @@ -437,8 +411,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, directoryName, 'index.ts'), )).toBe(undefined); - - await fixture.rm(); }); test('explicit directory name with star should match', async () => { @@ -448,7 +420,7 @@ export default testSuite(({ describe }) => { include: [`${directoryName}/*`], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [directoryName]: testFiles, }); @@ -464,7 +436,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - await fixture.rm(); }); test('explicit hidden glob should match hidden directory', async () => { @@ -474,7 +445,7 @@ export default testSuite(({ describe }) => { include: ['.*/*'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [directoryName]: testFiles, }); @@ -490,7 +461,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - await fixture.rm(); }); test('explicit hidden glob should match hidden files', async () => { @@ -500,7 +470,7 @@ export default testSuite(({ describe }) => { include: ['**/.*'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [directoryName]: Object.fromEntries( fileNames.map(fileName => [`.${fileName}`, '']), @@ -518,7 +488,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - await fixture.rm(); }); }); @@ -528,7 +497,7 @@ export default testSuite(({ describe }) => { const directoryName = `${directory}/some-pkg`; const tsconfig: TsConfigJsonResolved = {}; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [directoryName]: testFiles, }); @@ -544,8 +513,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, directoryName, 'index.ts'), )).toBe(undefined); - - await fixture.rm(); }); test('explictly include', async () => { @@ -553,7 +520,7 @@ export default testSuite(({ describe }) => { include: [directory], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [`${directory}/some-pkg`]: testFiles, }); @@ -569,13 +536,12 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - await fixture.rm(); }); test(`project in ${directory}`, async () => { const tsconfig: TsConfigJsonResolved = {}; - const fixture = await createFixture({ + await using fixture = await createFixture({ [directory]: { 'tsconfig.json': createTsconfigJson(tsconfig), 'some-dir': testFiles, @@ -593,7 +559,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - await fixture.rm(); }); }); } @@ -653,7 +618,7 @@ export default testSuite(({ describe }) => { ], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'some-dir': { 'a.ts': '', @@ -677,8 +642,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, 'some-dir/nested-dir/d.ts'), )).toBe(undefined); - - await fixture.rm(); }); describe('*', ({ test }) => { @@ -687,7 +650,7 @@ export default testSuite(({ describe }) => { include: ['*'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'a.ts': '', }); @@ -706,8 +669,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); test('multiple', async () => { @@ -718,7 +679,7 @@ export default testSuite(({ describe }) => { ], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'some-dir': { 'a.ts': '', @@ -746,8 +707,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, 'some-dir/nested-dir/d.ts'), )).toBe(undefined); - - await fixture.rm(); }); }); @@ -756,7 +715,7 @@ export default testSuite(({ describe }) => { include: ['some-dir/**/*'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'some-dir': { 'a.ts': '', @@ -782,7 +741,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - await fixture.rm(); }); }); }); @@ -798,7 +756,7 @@ export default testSuite(({ describe }) => { files: [filePath], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [filePath]: '', }); @@ -816,8 +774,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); test('explicit include', async () => { @@ -828,7 +784,7 @@ export default testSuite(({ describe }) => { include: [filePath], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [filePath]: '', }); @@ -846,8 +802,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); test('empty exclude', async () => { @@ -858,7 +812,7 @@ export default testSuite(({ describe }) => { exclude: [], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [filePath]: '', }); @@ -875,8 +829,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, filePath), )).toBe(undefined); - - await fixture.rm(); }); test('empty exclude with directory include', async () => { @@ -888,7 +840,7 @@ export default testSuite(({ describe }) => { exclude: [], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [filePath]: '', }); @@ -905,8 +857,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, filePath), )).toBe(undefined); - - await fixture.rm(); }); }); @@ -932,7 +882,7 @@ export default testSuite(({ describe }) => { }, }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), ...directories, }); @@ -950,8 +900,6 @@ export default testSuite(({ describe }) => { const absoluteFilePath = path.join(fixture.path, filePath); expect(matches(absoluteFilePath)).toBe(undefined); } - - await fixture.rm(); }); test('overwritable', async () => { @@ -963,7 +911,7 @@ export default testSuite(({ describe }) => { exclude: [], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), ...directories, }); @@ -984,8 +932,6 @@ export default testSuite(({ describe }) => { const absoluteFilePath = path.join(fixture.path, filePath); expect(matches(absoluteFilePath)).toBeTruthy(); } - - await fixture.rm(); }); }); @@ -995,7 +941,7 @@ export default testSuite(({ describe }) => { exclude: ['some-dir'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'some-dir/index.ts': '', }); @@ -1012,8 +958,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, 'some-dir/index.ts'), )).toBe(undefined); - - await fixture.rm(); }); test('should not ignore directory with prefix', async () => { @@ -1021,7 +965,7 @@ export default testSuite(({ describe }) => { exclude: ['dir-prefix'], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'dir-prefixabc': testFiles, }); @@ -1037,8 +981,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); describe('case sensitivity', ({ test }) => { @@ -1096,7 +1038,7 @@ export default testSuite(({ describe }) => { ], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'some-dir': { 'a.ts': '', @@ -1127,8 +1069,6 @@ export default testSuite(({ describe }) => { )).toBe(undefined); assertFilesMatch(matches, tsFiles); - - await fixture.rm(); }); test('*', async () => { @@ -1139,7 +1079,7 @@ export default testSuite(({ describe }) => { ], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), 'some-dir': { 'a.ts': '', @@ -1170,8 +1110,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, 'some-dir/qwwweeerrrt.ts'), )).toBe(undefined); - - await fixture.rm(); }); test('**/', async () => { @@ -1185,7 +1123,7 @@ export default testSuite(({ describe }) => { 'some-dir/nested-dir/c.ts', ]; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), ...Object.fromEntries( files.map(fileName => [fileName, '']), @@ -1212,8 +1150,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, files[2]), )).toBe(undefined); - - await fixture.rm(); }); }); }); @@ -1223,7 +1159,7 @@ export default testSuite(({ describe }) => { const tsconfig: TsConfigJsonResolved = {}; const jsFilePath = 'index.js'; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [jsFilePath]: '', }); @@ -1240,8 +1176,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, jsFilePath), )).toBe(undefined); - - await fixture.rm(); }); test('should match with allowJs', async () => { @@ -1252,7 +1186,7 @@ export default testSuite(({ describe }) => { }; const jsFilePath = 'index.js'; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [jsFilePath]: '', }); @@ -1271,8 +1205,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); test('shouldnt match .js even if explicitly in "includes"', async () => { @@ -1281,7 +1213,7 @@ export default testSuite(({ describe }) => { include: [filePath], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [filePath]: '', }); @@ -1297,8 +1229,6 @@ export default testSuite(({ describe }) => { expect(matches( path.join(fixture.path, filePath), )).toBe(undefined); - - await fixture.rm(); }); test('matches .js if explicitly in "files"', async () => { @@ -1307,7 +1237,7 @@ export default testSuite(({ describe }) => { files: [filePath], }; - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson(tsconfig), [filePath]: '', }); @@ -1327,8 +1257,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); }); @@ -1346,7 +1274,7 @@ export default testSuite(({ describe }) => { }); test('should match', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { allowJs: true, @@ -1377,8 +1305,6 @@ export default testSuite(({ describe }) => { }), tsFiles, ); - - await fixture.rm(); }); }); }); diff --git a/tests/specs/create-paths-matcher.ts b/tests/specs/create-paths-matcher.ts index 45f5211..63fde86 100644 --- a/tests/specs/create-paths-matcher.ts +++ b/tests/specs/create-paths-matcher.ts @@ -14,7 +14,7 @@ export default testSuite(({ describe }) => { describe('paths', ({ describe, test }) => { describe('error cases', ({ test }) => { test('no baseUrl or paths should be fine', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: {}, }), @@ -23,12 +23,10 @@ export default testSuite(({ describe }) => { const tsconfig = getTsconfig(fixture.path); expect(tsconfig).not.toBeNull(); expect(createPathsMatcher(tsconfig!)).toBeNull(); - - await fixture.rm(); }); test('no baseUrl nor relative paths', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -51,12 +49,10 @@ export default testSuite(({ describe }) => { const tsconfig = getTsconfig(fixture.path); expect(tsconfig).not.toBeNull(); expect(() => createPathsMatcher(tsconfig!)).toThrow(errorMessage); - - await fixture.rm(); }); test('no baseUrl nor relative paths in extends', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'some-dir2/tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -85,12 +81,10 @@ export default testSuite(({ describe }) => { const tsconfig = getTsconfig(fixture.path); expect(tsconfig).not.toBeNull(); expect(() => createPathsMatcher(tsconfig!)).toThrow(errorMessage); - - await fixture.rm(); }); test('multiple * in pattern', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -103,12 +97,10 @@ export default testSuite(({ describe }) => { const tsconfig = getTsconfig(fixture.path); expect(tsconfig).not.toBeNull(); expect(() => createPathsMatcher(tsconfig!)).toThrow('Pattern \'a/*/*\' can have at most one \'*\' character.'); - - await fixture.rm(); }); test('multiple * in substitution', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -121,12 +113,10 @@ export default testSuite(({ describe }) => { const tsconfig = getTsconfig(fixture.path); expect(tsconfig).not.toBeNull(); expect(() => createPathsMatcher(tsconfig!)).toThrow('Substitution \'*/*\' in pattern \'a/*\' can have at most one \'*\' character.'); - - await fixture.rm(); }); test('no match', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -143,14 +133,12 @@ export default testSuite(({ describe }) => { expect(matcher).not.toBeNull(); expect(matcher('specifier')).toStrictEqual([]); - - await fixture.rm(); }); }); describe('baseUrl', ({ test }) => { test('baseUrl', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { baseUrl: '.', @@ -168,12 +156,10 @@ export default testSuite(({ describe }) => { expect(matcher('exactMatch')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); test('inherited from extends', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'src/lib/file': '', 'some-dir/tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -203,12 +189,10 @@ export default testSuite(({ describe }) => { expect(matcher('$lib')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); test('absolute path', async () => { - const fixture = await createFixture(); + await using fixture = await createFixture(); await fixture.writeFile( 'tsconfig.json', createTsconfigJson({ @@ -228,13 +212,11 @@ export default testSuite(({ describe }) => { expect(matcher('exactMatch')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); }); test('exact match', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -254,13 +236,11 @@ export default testSuite(({ describe }) => { expect(matcher('exactMatch')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); // #17 test('exact match with parent path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -280,12 +260,10 @@ export default testSuite(({ describe }) => { expect(matcher('exactMatch')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); test('exact match with literal wildcard', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'b/file': '', 'tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -306,12 +284,10 @@ export default testSuite(({ describe }) => { expect(matcher('exactMatch')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); test('prefix match', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'prefixed/specifier': '', 'tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -332,12 +308,10 @@ export default testSuite(({ describe }) => { expect(matcher('prefix-specifier')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); test('suffix match', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'suffixed/specifier': '', 'tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -358,12 +332,10 @@ export default testSuite(({ describe }) => { expect(matcher('specifier-suffix')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); test('doesnt match current directory', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -380,12 +352,10 @@ export default testSuite(({ describe }) => { expect(tsconfig).not.toBeNull(); expect(matcher('.')).toStrictEqual([]); - - await fixture.rm(); }); test('doesnt match parent directory', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -402,12 +372,10 @@ export default testSuite(({ describe }) => { expect(tsconfig).not.toBeNull(); expect(matcher('..')).toStrictEqual([]); - - await fixture.rm(); }); test('doesnt match relative paths', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -424,12 +392,10 @@ export default testSuite(({ describe }) => { expect(tsconfig).not.toBeNull(); expect(matcher('./relative')).toStrictEqual([]); - - await fixture.rm(); }); test('matches absolute paths', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -449,12 +415,10 @@ export default testSuite(({ describe }) => { expect(matcher('/absolute')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); test('matches absolute target paths', async () => { - const fixture = await createFixture(); + await using fixture = await createFixture(); await fixture.writeFile( 'tsconfig.json', @@ -478,12 +442,10 @@ export default testSuite(({ describe }) => { expect(matcher('dir')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); test('matches path that starts with .', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { paths: { @@ -503,13 +465,11 @@ export default testSuite(({ describe }) => { expect(matcher('.src')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); describe('extends w/ no baseUrl', ({ test }) => { test('extended config should resolve relative to self', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ tsconfigs: { 'tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -536,12 +496,10 @@ export default testSuite(({ describe }) => { expect(matcher('@')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); test('extended config should implicitly resolve paths from self', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ tsconfigs: { 'tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -568,12 +526,10 @@ export default testSuite(({ describe }) => { expect(matcher('@')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); test('extended config should implicitly resolve paths from self - complex', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'some-dir2/tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -600,8 +556,6 @@ export default testSuite(({ describe }) => { expect(matcher('@')).toStrictEqual([ resolvedAttempts[0].filePath.slice(0, -3), ]); - - await fixture.rm(); }); }); }); diff --git a/tests/specs/get-tsconfig.ts b/tests/specs/get-tsconfig.ts index 1488029..304f1aa 100644 --- a/tests/specs/get-tsconfig.ts +++ b/tests/specs/get-tsconfig.ts @@ -31,7 +31,7 @@ export default testSuite(({ describe }) => { }); test('from directory path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': tsconfigJson, }); @@ -40,12 +40,10 @@ export default testSuite(({ describe }) => { path: slash(path.join(fixture.path, 'tsconfig.json')), config: { compilerOptions }, }); - - await fixture.rm(); }); test('from index.js path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': tsconfigJson, }); @@ -54,13 +52,11 @@ export default testSuite(({ describe }) => { path: slash(path.join(fixture.path, 'tsconfig.json')), config: { compilerOptions }, }); - - await fixture.rm(); }); test('custom name', async () => { const customName = 'tsconfig-custom-name.json'; - const fixture = await createFixture({ + await using fixture = await createFixture({ [customName]: tsconfigJson, }); @@ -69,12 +65,10 @@ export default testSuite(({ describe }) => { path: slash(path.join(fixture.path, customName)), config: { compilerOptions }, }); - - await fixture.rm(); }); test('cache', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': tsconfigJson, }); @@ -92,8 +86,6 @@ export default testSuite(({ describe }) => { const tsconfigCacheHit = getTsconfig(fixture.path, 'tsconfig.json', cache); expect(tsconfigCacheHit).toStrictEqual(expectedResult); - - await fixture.rm(); }); }); }); diff --git a/tests/specs/parse-tsconfig/extends/merges.spec.ts b/tests/specs/parse-tsconfig/extends/merges.spec.ts index f2efa12..9e69ace 100644 --- a/tests/specs/parse-tsconfig/extends/merges.spec.ts +++ b/tests/specs/parse-tsconfig/extends/merges.spec.ts @@ -8,7 +8,7 @@ export default testSuite(({ describe }) => { describe('merges', ({ describe, test }) => { describe('error handling', ({ test }) => { test('invalid path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.json': createTsconfigJson({ extends: './non-existent.json', @@ -18,12 +18,10 @@ export default testSuite(({ describe }) => { expect( () => parseTsconfig(path.join(fixture.path, 'tsconfig.json')), ).toThrow('File \'./non-existent.json\' not found.'); - - await fixture.rm(); }); test('invalid json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.empty.json': 'require("fs")', 'tsconfig.json': createTsconfigJson({ @@ -34,13 +32,11 @@ export default testSuite(({ describe }) => { expect( () => parseTsconfig(path.join(fixture.path, 'tsconfig.json')), ).toThrow('Failed to parse tsconfig at:'); - - await fixture.rm(); }); }); test('empty file', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.empty.json': '', 'tsconfig.json': createTsconfigJson({ @@ -53,12 +49,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('empty json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.empty.json': createTsconfigJson({}), 'tsconfig.json': createTsconfigJson({ @@ -71,12 +65,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('jsonc', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.base.json': `{ // comment @@ -94,12 +86,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('references is ignored', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.base.json': createTsconfigJson({ compilerOptions: { strict: true, @@ -123,13 +113,11 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); describe('files', ({ test }) => { test('inherits with relative path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'some-dir': { src: { 'a.ts': '', @@ -150,12 +138,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('gets overwritten', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'some-dir': { src: { 'a.ts': '', @@ -179,14 +165,12 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); describe('include', ({ test }) => { test('inherits with relative path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'src-a': { 'a.ts': '', 'b.ts': '', @@ -206,12 +190,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('gets overwritten', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'src-a': { 'a.ts': '', 'b.ts': '', @@ -237,14 +219,12 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); describe('baseUrl', ({ test }) => { test('path becomes prefixed with ./', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'src-a': { 'a.ts': '', }, @@ -261,12 +241,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('gets inherited with relative path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ project: { 'src-a': { 'a.ts': '', @@ -287,12 +265,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('resolves parent baseUrl path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'project/tsconfig.json': createTsconfigJson({ compilerOptions: { baseUrl: '..', @@ -309,12 +285,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('resolves parent baseUrl & paths', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'project/tsconfig.json': createTsconfigJson({ compilerOptions: { baseUrl: '.', @@ -334,13 +308,11 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); test('nested extends', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'some-dir/some-dir/b': createTsconfigJson({ extends: '../../c.json', @@ -368,12 +340,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('extends array', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.a.json': createTsconfigJson({ compilerOptions: { @@ -403,7 +373,7 @@ export default testSuite(({ describe }) => { }); test('watchOptions', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.base.json': createTsconfigJson({ watchOptions: { @@ -425,8 +395,6 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); }); diff --git a/tests/specs/parse-tsconfig/extends/resolves/absolute-path.spec.ts b/tests/specs/parse-tsconfig/extends/resolves/absolute-path.spec.ts index 3206152..e6ecd88 100644 --- a/tests/specs/parse-tsconfig/extends/resolves/absolute-path.spec.ts +++ b/tests/specs/parse-tsconfig/extends/resolves/absolute-path.spec.ts @@ -7,7 +7,7 @@ import { parseTsconfig } from '#get-tsconfig'; export default testSuite(({ describe }) => { describe('absolute path', ({ test }) => { test('absolute path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'dep/tsconfig.json': createTsconfigJson({ compilerOptions: { strict: true, @@ -25,12 +25,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('no extension', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'dep/tsconfig.json': createTsconfigJson({ compilerOptions: { strict: true, @@ -48,12 +46,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('arbitrary extension', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'dep/tsconfig.tsx': createTsconfigJson({ compilerOptions: { strict: true, @@ -71,8 +67,6 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); }); diff --git a/tests/specs/parse-tsconfig/extends/resolves/index.ts b/tests/specs/parse-tsconfig/extends/resolves/index.ts index 876a32e..e874434 100644 --- a/tests/specs/parse-tsconfig/extends/resolves/index.ts +++ b/tests/specs/parse-tsconfig/extends/resolves/index.ts @@ -7,7 +7,7 @@ import { parseTsconfig } from '#get-tsconfig'; export default testSuite(({ describe }) => { describe('resolves', ({ test, describe, runTestSuite }) => { test('handles missing extends', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.json': createTsconfigJson({ extends: 'missing-package', @@ -17,13 +17,11 @@ export default testSuite(({ describe }) => { expect( () => parseTsconfig(path.join(fixture.path, 'tsconfig.json')), ).toThrow('File \'missing-package\' not found.'); - - await fixture.rm(); }); describe('circularity', ({ test }) => { test('self extend', async ({ onTestFinish }) => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ extends: './tsconfig.json', }), @@ -38,12 +36,10 @@ export default testSuite(({ describe }) => { expect( () => parseTsconfig(path.join(fixture.path, 'tsconfig.json')), ).toThrow(errorMessage); - - await fixture.rm(); }); test('recursive', async ({ onTestFinish }) => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'base.json': createTsconfigJson({ extends: './tsconfig.json', }), @@ -60,7 +56,7 @@ export default testSuite(({ describe }) => { }); test('extends array with common base', async ({ onTestFinish }) => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'base.json': createTsconfigJson({}), 'tsconfig-b.json': createTsconfigJson({ extends: './base.json', diff --git a/tests/specs/parse-tsconfig/extends/resolves/node-modules.spec.ts b/tests/specs/parse-tsconfig/extends/resolves/node-modules.spec.ts index 2d4634c..d395e9b 100644 --- a/tests/specs/parse-tsconfig/extends/resolves/node-modules.spec.ts +++ b/tests/specs/parse-tsconfig/extends/resolves/node-modules.spec.ts @@ -8,7 +8,7 @@ import { parseTsconfig } from '#get-tsconfig'; export default testSuite(({ describe }) => { describe('node_modules', ({ describe, test }) => { test('prefers file over package', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ node_modules: { 'dep.json': createTsconfigJson({ compilerOptions: { @@ -32,13 +32,11 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); describe('extends dependency', ({ test }) => { test('implicit tsconfig.json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ main: './index.js', @@ -62,12 +60,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('without package.json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep/tsconfig.json': createTsconfigJson({ compilerOptions: { strict: true, @@ -85,12 +81,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('ignores invalid package.json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': 'invalid json', 'some-config.json': createTsconfigJson({ @@ -116,12 +110,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('ignores invalid package.json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': 'invalid json', 'tsconfig.json': createTsconfigJson({ @@ -141,12 +133,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('empty package.json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': '', 'custom.json': createTsconfigJson({ @@ -171,12 +161,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('empty object package.json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': '{}', 'custom.json': createTsconfigJson({ @@ -201,14 +189,12 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); describe('dependency file', ({ test }) => { test('direct tsconfig.json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep/some-file.json': createTsconfigJson({ compilerOptions: { strict: true, @@ -226,12 +212,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('implicit .json extension', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep/react-native.json': createTsconfigJson({ compilerOptions: { strict: true, @@ -249,12 +233,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('prefers implicit .json over directory', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/config-package/lib/tsconfig.json': createTsconfigJson({ compilerOptions: { jsx: 'react-jsxdev', @@ -276,12 +258,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('extensionless file should not work', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep/tsconfig': createTsconfigJson({ compilerOptions: { strict: true, @@ -299,12 +279,10 @@ export default testSuite(({ describe }) => { getTscTsconfig(fixture.path), ).rejects.toThrow(errorMessage); expect(() => parseTsconfig(path.join(fixture.path, 'tsconfig.json'))).toThrow(errorMessage); - - await fixture.rm(); }); test('arbitrary extension should not work', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep/tsconfig.ts': createTsconfigJson({ compilerOptions: { strict: true, @@ -322,13 +300,11 @@ export default testSuite(({ describe }) => { getTscTsconfig(fixture.path), ).rejects.toThrow(errorMessage); expect(() => parseTsconfig(path.join(fixture.path, 'tsconfig.json'))).toThrow(errorMessage); - - await fixture.rm(); }); }); test('directory named "tsconfig.json"', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep/tsconfig.json/tsconfig.json': createTsconfigJson({ compilerOptions: { strict: true, @@ -346,12 +322,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('extends dependency package far', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep/tsconfig.json': createTsconfigJson({ compilerOptions: { strict: true, @@ -372,13 +346,11 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixturePath, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); describe('package.json#tsconfig', ({ test }) => { test('package.json#tsconfig', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ tsconfig: './some-config.json', @@ -408,12 +380,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('reads nested package.json#tsconfig', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep/some-directory': { 'package.json': createPackageJson({ // This is ignored because its not at root @@ -447,8 +417,6 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); @@ -472,7 +440,7 @@ export default testSuite(({ describe }) => { describe('package.json exports', ({ test, describe }) => { test('main', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ exports: './some-config.json', @@ -502,12 +470,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('subpath', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ exports: { './config': './some-config.json' }, @@ -537,13 +503,11 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); describe('conditions', ({ test }) => { test('require', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ exports: { @@ -575,12 +539,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('types', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ exports: { @@ -612,12 +574,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('missing condition should fail', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ exports: { @@ -651,13 +611,11 @@ export default testSuite(({ describe }) => { expect( () => parseTsconfig(path.join(fixture.path, 'tsconfig.json')), ).toThrow(errorMessage); - - await fixture.rm(); }); }); test('missing subpath should fail', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ exports: { @@ -691,13 +649,11 @@ export default testSuite(({ describe }) => { expect( () => parseTsconfig(path.join(fixture.path, 'tsconfig.json')), ).toThrow(errorMessage); - - await fixture.rm(); }); // Seems like a TypeScript bug test('null exports should resolve tsconfig.json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ exports: null, @@ -720,12 +676,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('null exports should resolve tsconfig.json in directory', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ exports: null, @@ -748,12 +702,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('path block should not resolve tsconfig.json', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep': { 'package.json': createPackageJson({ exports: { @@ -780,12 +732,10 @@ export default testSuite(({ describe }) => { expect( () => parseTsconfig(path.join(fixture.path, 'tsconfig.json')), ).toThrow(errorMessage); - - await fixture.rm(); }); test('package.json ignored in nested directory', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'node_modules/dep/a': { 'package.json': createPackageJson({ exports: { @@ -809,8 +759,6 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); }); diff --git a/tests/specs/parse-tsconfig/extends/resolves/relative-path.spec.ts b/tests/specs/parse-tsconfig/extends/resolves/relative-path.spec.ts index 5ff6ebc..6b7622d 100644 --- a/tests/specs/parse-tsconfig/extends/resolves/relative-path.spec.ts +++ b/tests/specs/parse-tsconfig/extends/resolves/relative-path.spec.ts @@ -7,7 +7,7 @@ import { parseTsconfig } from '#get-tsconfig'; export default testSuite(({ describe }) => { describe('relative path', ({ test }) => { test('extensionless file', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ asdf: createTsconfigJson({ compilerOptions: { jsx: 'react', @@ -28,12 +28,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('prefers exact match (extensionless file)', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ asdf: createTsconfigJson({ compilerOptions: { jsx: 'react', @@ -60,12 +58,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('arbitrary extension', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'asdf.ts': createTsconfigJson({ compilerOptions: { jsx: 'react', @@ -86,12 +82,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('parent directory', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'tsconfig.json': createTsconfigJson({ compilerOptions: { jsx: 'react', @@ -115,12 +109,10 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(testDirectory, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('shoud not resolve directory', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'directory/tsconfig.json': createTsconfigJson({ compilerOptions: { jsx: 'react', @@ -134,12 +126,10 @@ export default testSuite(({ describe }) => { expect( () => parseTsconfig(path.join(fixture.path, 'tsconfig.json')), ).toThrow('File \'./directory\' not found.'); - - await fixture.rm(); }); test('shoud not resolve directory even with package.json#tsconfig', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ directory: { 'package.json': createPackageJson({ tsconfig: './tsconfig.json', @@ -158,12 +148,10 @@ export default testSuite(({ describe }) => { expect( () => parseTsconfig(path.join(fixture.path, 'tsconfig.json')), ).toThrow('File \'./directory\' not found.'); - - await fixture.rm(); }); test('outDir in extends', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'a/dep.json': createTsconfigJson({ compilerOptions: { jsx: 'react-native', @@ -187,8 +175,6 @@ export default testSuite(({ describe }) => { const tsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(tsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); }); diff --git a/tests/specs/parse-tsconfig/parses.spec.ts b/tests/specs/parse-tsconfig/parses.spec.ts index fc7f1dc..08af8a9 100644 --- a/tests/specs/parse-tsconfig/parses.spec.ts +++ b/tests/specs/parse-tsconfig/parses.spec.ts @@ -14,7 +14,7 @@ export default testSuite(({ describe }) => { }); test('empty file', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.json': '', }); @@ -24,12 +24,10 @@ export default testSuite(({ describe }) => { const parsedTsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(parsedTsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('json invalid', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.json': 'asdf', }); @@ -38,12 +36,10 @@ export default testSuite(({ describe }) => { expect(parsedTsconfig).toStrictEqual({ compilerOptions: {}, }); - - await fixture.rm(); }); test('json non-object', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.json': '"asdf"', }); @@ -51,12 +47,10 @@ export default testSuite(({ describe }) => { expect( () => parseTsconfig(path.join(fixture.path, 'tsconfig.json')), ).toThrow('Failed to parse tsconfig at'); - - await fixture.rm(); }); test('json empty', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.json': '{}', }); @@ -66,13 +60,11 @@ export default testSuite(({ describe }) => { const parsedTsconfig = parseTsconfig(path.join(fixture.path, 'tsconfig.json')); expect(parsedTsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); test('parses a path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -94,13 +86,11 @@ export default testSuite(({ describe }) => { delete expectedTsconfig.files; expect(parsedTsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); describe('baseUrl', ({ test }) => { test('relative path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -115,12 +105,10 @@ export default testSuite(({ describe }) => { delete expectedTsconfig.files; expect(parsedTsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); test('absolute path', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -135,13 +123,11 @@ export default testSuite(({ describe }) => { delete expectedTsconfig.files; expect(parsedTsconfig).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); test('cache', async () => { - const fixture = await createFixture({ + await using fixture = await createFixture({ 'file.ts': '', 'tsconfig.json': createTsconfigJson({ compilerOptions: { @@ -171,8 +157,6 @@ export default testSuite(({ describe }) => { expect(cache.size).toBe(2); expect(parsedTsconfigCached).toStrictEqual(expectedTsconfig); - - await fixture.rm(); }); }); }); diff --git a/tsconfig.json b/tsconfig.json index 08bed8a..d4274db 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,9 @@ "compilerOptions": { "module": "Node16", "strict": true, + "noEmit": true, "esModuleInterop": true, "isolatedModules": true, + "skipLibCheck": true, }, }