From a25f93a96f96fc7cab5bb68196a4d0fbbf67b5e6 Mon Sep 17 00:00:00 2001 From: Marais Devis Date: Thu, 25 Jul 2024 18:24:36 +0200 Subject: [PATCH] Revrt "Update eslint and add dlete event sql qry" This reverts commit 3515d895961c718f6b1b4d29e46aa73462098575. --- database/events.ts | 17 --- package.json | 2 +- pnpm-lock.yaml | 257 ++++++++++++++++++++++++++++----------------- 3 files changed, 161 insertions(+), 115 deletions(-) diff --git a/database/events.ts b/database/events.ts index 76dc4bf..48a95b3 100644 --- a/database/events.ts +++ b/database/events.ts @@ -69,23 +69,6 @@ export const getEvent = cache(async (sessionToken: string, eventId: number) => { return event; }); -export const deleteEvent = cache( - async (sessionToken: string, eventId: number) => { - const [event] = await sql` - DELETE FROM events USING sessions - WHERE - events.user_id = sessions.user_id - AND events.id = ${eventId} - AND sessions.token = ${sessionToken} - AND sessions.expiry_timestamp > now() - RETURNING - events.* - `; - - return event; - }, -); - export const getEventsInsecure = cache(async () => { const events = await sql` SELECT diff --git a/package.json b/package.json index 4230df7..ce780f7 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@types/node": "^20.14.10", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "eslint-config-upleveled": "^8.6.13", + "eslint-config-upleveled": "^8.6.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "libpg-query": "^16.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 86510f9..6a2a879 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,8 +82,8 @@ importers: specifier: ^18.3.0 version: 18.3.0 eslint-config-upleveled: - specifier: ^8.6.13 - version: 8.6.13(@babel/core@7.24.7)(@types/eslint@8.56.10)(@types/node@20.14.10)(@types/react-dom@18.3.0)(@types/react@18.3.3)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0)(globals@14.0.0)(typescript@5.5.3) + specifier: ^8.6.3 + version: 8.6.3(@babel/core@7.24.7)(@types/eslint@8.56.10)(@types/node@20.14.10)(@types/react-dom@18.3.0)(@types/react@18.3.3)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0)(globals@14.0.0)(typescript@5.5.3) jest: specifier: ^29.7.0 version: 29.7.0(@types/node@20.14.10) @@ -831,6 +831,9 @@ packages: engines: {node: '>=18'} hasBin: true + '@rtsao/scc@1.1.0': + resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} + '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} @@ -973,8 +976,8 @@ packages: '@types/yargs@17.0.32': resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} - '@typescript-eslint/eslint-plugin@8.0.0-alpha.51': - resolution: {integrity: sha512-989dk3/IA2HNdfl8T1Tj0+AEAtqHN5Cdac7Ff1N367Lh5e5xKi3nXWMkptbZaAEo/wi5+CZD8jngQ70wnCRweA==} + '@typescript-eslint/eslint-plugin@8.0.0-alpha.41': + resolution: {integrity: sha512-WePtbzWMaQO4qtGAXp3zzEN8yYZCEuAHVCERCUXgoSUTQ80F5UB7T5lYyA9ySpFDB7rqJ2ev98DtnbS4U3Ms+w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -984,8 +987,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.0.0-alpha.51': - resolution: {integrity: sha512-UPMhWLqkP/wBGB3/eI9fRG8UFFmT8tTLlBUQFN01xtsRNhYlMYS5FQHDMkfPynnKp62AqLRrwkrI49cZN3aDUA==} + '@typescript-eslint/parser@8.0.0-alpha.41': + resolution: {integrity: sha512-7HMXwy/q/59ZASBXz2FtdIsR7LgABrR8j2dTKq9GMR8OkjjdO4klxWSY/uOBozVt4UxlMRYsBdBDhEq4/tHRiw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1002,12 +1005,12 @@ packages: resolution: {integrity: sha512-Q/1yrF/XbxOTvttNVPihxh1b9fxamjEoz2Os/Pe38OHwxC24CyCqXxGTOdpb4lt6HYtqw9HetA/Rf6gDGaMPlw==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/scope-manager@8.0.0-alpha.51': - resolution: {integrity: sha512-zT8Ib31deJCqRVJepZOMFoHiFAsSHOh5TmedcFeqyiMuzrqBMtF95iv6mPJqFDIXNgxmTkahpRan1z043ckBnA==} + '@typescript-eslint/scope-manager@8.0.0-alpha.41': + resolution: {integrity: sha512-iNxuQ0TMVfFiMJ2al4bGd/mY9+aLtBxnHfo7B2xoVzR6cRFgUdBLlMa//MSIjSmVRpCEqNLQnkxpJb96tFG+xw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.0.0-alpha.51': - resolution: {integrity: sha512-KqU2e3KITMGlRfG4ehfO2zS0GutDWc+zV2nwbRDQdUfh1izgFDAh5UqiJ8YafXVzY1v0dnRggnmvjOMotjQa1w==} + '@typescript-eslint/type-utils@8.0.0-alpha.41': + resolution: {integrity: sha512-+QIA1z/jrox6bbvqlyqBQjotpevieLTycfiuoKuqGcKoskFZV5Rma51BV8LCJacnOafwJtSi+7b8zDo8OsXUvA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1023,8 +1026,8 @@ packages: resolution: {integrity: sha512-aV1+B1+ySXbQH0pLK0rx66I3IkiZNidYobyfn0WFsdGhSXw+P3YOqeTq5GED458SfB24tg+ux3S+9g118hjlTw==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/types@8.0.0-alpha.51': - resolution: {integrity: sha512-joqeu3jITe9BbgXAggKKg9mBIGDL6mAf2JVlo00zWP50u4qnsa3NWKMwWp77pjtI9E2DPU0vlTEdL+v/3aTPJA==} + '@typescript-eslint/types@8.0.0-alpha.41': + resolution: {integrity: sha512-n0P2FP3YC3pD3yoiCf4lHqbUP45xlnOk8HkjB+LtKSUZZWLLJ8k1ZXZtQj7MEX22tytCMj//Bmq403xFuCwfIg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/typescript-estree@5.62.0': @@ -1045,8 +1048,8 @@ packages: typescript: optional: true - '@typescript-eslint/typescript-estree@8.0.0-alpha.51': - resolution: {integrity: sha512-p3kD3rVdqmr4Iga86xzUR5wTsIKof/GsqnUMWZbmFpD3fmMXs1VLoXJegTqVMtWncu14dZUohRV2xPSScBAnxg==} + '@typescript-eslint/typescript-estree@8.0.0-alpha.41': + resolution: {integrity: sha512-adCr+vbLYTFhwhIwjIjjMxTdUYiPA2Jlyuhnbj092IzgLHtT79bvuwcgPWeTyLbFb/13SMKmOEka00xHiqLpig==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1066,8 +1069,8 @@ packages: peerDependencies: eslint: ^8.56.0 - '@typescript-eslint/utils@8.0.0-alpha.51': - resolution: {integrity: sha512-OJac7/t6M/jQlgAQSM2yffKXZL8d/6vTbQPChC5v4oGHFuKHF2dEFeevNJlIS9iR6EtquRsHup2GDwqw6bWyrw==} + '@typescript-eslint/utils@8.0.0-alpha.41': + resolution: {integrity: sha512-DTxc9VdERS6iloiw1P5tgRDqRArmp/sIuvgdHBvGh2SiltEFc3VjLGnHHGSTr6GfH7tjFWvcCnCtxx+pjWfp5Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1080,8 +1083,8 @@ packages: resolution: {integrity: sha512-Hqgy/ETgpt2L5xueA/zHHIl4fJI2O4XUE9l4+OIfbJIRSnTJb/QscncdqqZzofQegIJugRIF57OJea1khw2SDw==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/visitor-keys@8.0.0-alpha.51': - resolution: {integrity: sha512-bOLfR14nLfhO9BBD1YpmnQSTNTapAIegKsb4Ms1RAQXkJRKIeuLS42AEYRM8uvLiNLk0hDIBjCnMPTAyDAWLbw==} + '@typescript-eslint/visitor-keys@8.0.0-alpha.41': + resolution: {integrity: sha512-uetCAUBVC+YarBdZnWzDDgX11PpAEGV8Cw31I3d1xNrhx6/bJGThKX+holEmd3amMdnr4w/XUKH/4YuQOgtjDA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@upleveled/ley@0.8.6': @@ -1215,6 +1218,9 @@ packages: resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==} engines: {node: '>= 0.4'} + array.prototype.toreversed@1.1.2: + resolution: {integrity: sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==} + array.prototype.tosorted@1.1.4: resolution: {integrity: sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==} engines: {node: '>= 0.4'} @@ -1726,21 +1732,21 @@ packages: engines: {node: '>=6.0'} hasBin: true - eslint-config-flat-gitignore@0.1.8: - resolution: {integrity: sha512-OEUbS2wzzYtUfshjOqzFo4Bl4lHykXUdM08TCnYNl7ki+niW4Q1R0j0FDFDr0vjVsI5ZFOz5LvluxOP+Ew+dYw==} + eslint-config-flat-gitignore@0.1.7: + resolution: {integrity: sha512-K4UcPriNg6IvNozipPVnLRxuhxys9vRkxYoLLdMPgPDngtWEP/xBT946oUYQHUWLoz4jvX5k+AF/MWh3VN5Lrg==} - eslint-config-upleveled@8.6.13: - resolution: {integrity: sha512-c0Z/smwIvTSijB3HW7UNk3BdEAQgw3gBd80nmSfLtkSkBEwcfVaPj9kNhkaGnirCEJVt77dsBWQB02AN7xWVbg==} + eslint-config-upleveled@8.6.3: + resolution: {integrity: sha512-R3Z0ddfwLEARwX2tXziVvdrSi482VjyuLqUHhZ+rFhavA2vC+Xf2vIb2h2ZmF/C9rroQemWPFQo+cv5XzZOIyg==} engines: {node: '>=20.9.0'} hasBin: true peerDependencies: - '@types/eslint': ^9.6.0 - '@types/node': '>=20.14.11' + '@types/eslint': ^8.56.10 + '@types/node': '>=20.14.10' '@types/react': ^18.3.3 '@types/react-dom': ^18.3.0 - eslint: ^9.7.0 + eslint: ^9.6.0 globals: ^15.8.0 - typescript: ^5.5.4 + typescript: ^5.5.3 eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} @@ -1773,8 +1779,8 @@ packages: eslint-import-resolver-webpack: optional: true - eslint-plugin-import-x@3.1.0: - resolution: {integrity: sha512-/UbPA+bYY7nIxcjL3kpcDY3UNdoLHFhyBFzHox2M0ypcUoueTn6woZUUmzzi5et/dXChksasYYFeKE2wshOrhg==} + eslint-plugin-import-x@3.0.1: + resolution: {integrity: sha512-jzQgJuE4ssxwNi0aMBkOL8whd4eHb0Z/uFWsk8uEoYB7xwTkAptSKojLzRswxgf/1bhH6QgcLjgabUBQqluBIg==} engines: {node: '>=16'} peerDependencies: eslint: ^8.56.0 || ^9.0.0-0 @@ -1801,11 +1807,11 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - eslint-plugin-react@7.35.0: - resolution: {integrity: sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==} + eslint-plugin-react@7.34.3: + resolution: {integrity: sha512-aoW4MV891jkUulwDApQbPYTVZmeuSyFrudpbTAQuj5Fv8VL+o6df2xIGpw8B0hPjAaih1/Fb0om9grCdyFYemA==} engines: {node: '>=4'} peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 eslint-plugin-security@3.0.1: resolution: {integrity: sha512-XjVGBhtDZJfyuhIxnQ/WMm385RbX3DBu7H1J7HNNhmB2tnGxMeqVSnYv79oAj992ayvIBZghsymwkYFS6cGH4Q==} @@ -1951,6 +1957,10 @@ packages: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} + find-up@7.0.0: + resolution: {integrity: sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==} + engines: {node: '>=18'} + flat-cache@4.0.1: resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} engines: {node: '>=16'} @@ -2672,6 +2682,10 @@ packages: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} + locate-path@7.2.0: + resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} @@ -2953,6 +2967,10 @@ packages: resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==} engines: {node: '>= 0.4'} + object.hasown@1.1.4: + resolution: {integrity: sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==} + engines: {node: '>= 0.4'} + object.values@1.2.0: resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==} engines: {node: '>= 0.4'} @@ -2976,6 +2994,10 @@ packages: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} + p-limit@4.0.0: + resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + p-locate@4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} @@ -2984,6 +3006,10 @@ packages: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} engines: {node: '>=10'} + p-locate@6.0.0: + resolution: {integrity: sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + p-map@4.0.0: resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} engines: {node: '>=10'} @@ -3018,6 +3044,10 @@ packages: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} + path-exists@5.0.0: + resolution: {integrity: sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + path-is-absolute@1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} engines: {node: '>=0.10.0'} @@ -3498,9 +3528,6 @@ packages: resolution: {integrity: sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==} engines: {node: '>= 0.4'} - string.prototype.repeat@1.0.0: - resolution: {integrity: sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==} - string.prototype.trim@1.2.9: resolution: {integrity: sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==} engines: {node: '>= 0.4'} @@ -3543,10 +3570,6 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - strip-json-comments@5.0.1: - resolution: {integrity: sha512-0fk9zBqO67Nq5M/m45qHCJxylV/DhBlIOVExqgOMiCCrzrhU6tCibRXNqE3jwJLftzE9SNuZtYbpzcO+i9FiKw==} - engines: {node: '>=14.16'} - styled-jsx@5.1.6: resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==} engines: {node: '>= 12.0.0'} @@ -3757,6 +3780,10 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + unicorn-magic@0.1.0: + resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} + engines: {node: '>=18'} + unique-filename@3.0.0: resolution: {integrity: sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -3916,6 +3943,10 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + yocto-queue@1.1.1: + resolution: {integrity: sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==} + engines: {node: '>=12.20'} + zod-to-json-schema@3.20.1: resolution: {integrity: sha512-U+zmNJUKqzv92E+LdEYv0g2LxBLks4HAwfC6cue8jXby5PAeSEPGO4xV9Sl4zmLYyFvJkm0FOfOs6orUO+AI1w==} peerDependencies: @@ -4665,6 +4696,8 @@ snapshots: dependencies: playwright: 1.45.1 + '@rtsao/scc@1.1.0': {} + '@sinclair/typebox@0.27.8': {} '@sinonjs/commons@3.0.1': @@ -4828,14 +4861,14 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@8.0.0-alpha.51(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0)(typescript@5.5.3)': + '@typescript-eslint/eslint-plugin@8.0.0-alpha.41(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0)(typescript@5.5.3)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3) - '@typescript-eslint/scope-manager': 8.0.0-alpha.51 - '@typescript-eslint/type-utils': 8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3) - '@typescript-eslint/utils': 8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3) - '@typescript-eslint/visitor-keys': 8.0.0-alpha.51 + '@typescript-eslint/parser': 8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3) + '@typescript-eslint/scope-manager': 8.0.0-alpha.41 + '@typescript-eslint/type-utils': 8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3) + '@typescript-eslint/utils': 8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3) + '@typescript-eslint/visitor-keys': 8.0.0-alpha.41 eslint: 9.5.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -4846,12 +4879,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3)': + '@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3)': dependencies: - '@typescript-eslint/scope-manager': 8.0.0-alpha.51 - '@typescript-eslint/types': 8.0.0-alpha.51 - '@typescript-eslint/typescript-estree': 8.0.0-alpha.51(typescript@5.5.3) - '@typescript-eslint/visitor-keys': 8.0.0-alpha.51 + '@typescript-eslint/scope-manager': 8.0.0-alpha.41 + '@typescript-eslint/types': 8.0.0-alpha.41 + '@typescript-eslint/typescript-estree': 8.0.0-alpha.41(typescript@5.5.3) + '@typescript-eslint/visitor-keys': 8.0.0-alpha.41 debug: 4.3.5 eslint: 9.5.0 optionalDependencies: @@ -4869,15 +4902,15 @@ snapshots: '@typescript-eslint/types': 7.15.0 '@typescript-eslint/visitor-keys': 7.15.0 - '@typescript-eslint/scope-manager@8.0.0-alpha.51': + '@typescript-eslint/scope-manager@8.0.0-alpha.41': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.51 - '@typescript-eslint/visitor-keys': 8.0.0-alpha.51 + '@typescript-eslint/types': 8.0.0-alpha.41 + '@typescript-eslint/visitor-keys': 8.0.0-alpha.41 - '@typescript-eslint/type-utils@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3)': + '@typescript-eslint/type-utils@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3)': dependencies: - '@typescript-eslint/typescript-estree': 8.0.0-alpha.51(typescript@5.5.3) - '@typescript-eslint/utils': 8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3) + '@typescript-eslint/typescript-estree': 8.0.0-alpha.41(typescript@5.5.3) + '@typescript-eslint/utils': 8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3) debug: 4.3.5 ts-api-utils: 1.3.0(typescript@5.5.3) optionalDependencies: @@ -4890,7 +4923,7 @@ snapshots: '@typescript-eslint/types@7.15.0': {} - '@typescript-eslint/types@8.0.0-alpha.51': {} + '@typescript-eslint/types@8.0.0-alpha.41': {} '@typescript-eslint/typescript-estree@5.62.0(typescript@5.5.3)': dependencies: @@ -4921,10 +4954,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.0.0-alpha.51(typescript@5.5.3)': + '@typescript-eslint/typescript-estree@8.0.0-alpha.41(typescript@5.5.3)': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.51 - '@typescript-eslint/visitor-keys': 8.0.0-alpha.51 + '@typescript-eslint/types': 8.0.0-alpha.41 + '@typescript-eslint/visitor-keys': 8.0.0-alpha.41 debug: 4.3.5 globby: 11.1.0 is-glob: 4.0.3 @@ -4962,12 +4995,12 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3)': + '@typescript-eslint/utils@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.5.0) - '@typescript-eslint/scope-manager': 8.0.0-alpha.51 - '@typescript-eslint/types': 8.0.0-alpha.51 - '@typescript-eslint/typescript-estree': 8.0.0-alpha.51(typescript@5.5.3) + '@typescript-eslint/scope-manager': 8.0.0-alpha.41 + '@typescript-eslint/types': 8.0.0-alpha.41 + '@typescript-eslint/typescript-estree': 8.0.0-alpha.41(typescript@5.5.3) eslint: 9.5.0 transitivePeerDependencies: - supports-color @@ -4983,9 +5016,9 @@ snapshots: '@typescript-eslint/types': 7.15.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.0.0-alpha.51': + '@typescript-eslint/visitor-keys@8.0.0-alpha.41': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.51 + '@typescript-eslint/types': 8.0.0-alpha.41 eslint-visitor-keys: 3.4.3 '@upleveled/ley@0.8.6': @@ -5141,6 +5174,13 @@ snapshots: es-abstract: 1.23.3 es-shim-unscopables: 1.0.2 + array.prototype.toreversed@1.1.2: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-shim-unscopables: 1.0.2 + array.prototype.tosorted@1.1.4: dependencies: call-bind: 1.0.7 @@ -5758,12 +5798,12 @@ snapshots: optionalDependencies: source-map: 0.6.1 - eslint-config-flat-gitignore@0.1.8: + eslint-config-flat-gitignore@0.1.7: dependencies: - find-up-simple: 1.0.0 + find-up: 7.0.0 parse-gitignore: 2.0.0 - eslint-config-upleveled@8.6.13(@babel/core@7.24.7)(@types/eslint@8.56.10)(@types/node@20.14.10)(@types/react-dom@18.3.0)(@types/react@18.3.3)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0)(globals@14.0.0)(typescript@5.5.3): + eslint-config-upleveled@8.6.3(@babel/core@7.24.7)(@types/eslint@8.56.10)(@types/node@20.14.10)(@types/react-dom@18.3.0)(@types/react@18.3.3)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0)(globals@14.0.0)(typescript@5.5.3): dependencies: '@babel/eslint-parser': 7.24.8(@babel/core@7.24.7)(eslint@9.5.0) '@eslint/compat': 1.1.1 @@ -5772,14 +5812,14 @@ snapshots: '@types/node': 20.14.10 '@types/react': 18.3.3 '@types/react-dom': 18.3.0 - '@typescript-eslint/eslint-plugin': 8.0.0-alpha.51(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0)(typescript@5.5.3) - '@typescript-eslint/parser': 8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3) + '@typescript-eslint/eslint-plugin': 8.0.0-alpha.41(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0)(typescript@5.5.3) + '@typescript-eslint/parser': 8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3) eslint: 9.5.0 - eslint-config-flat-gitignore: 0.1.8 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0) - eslint-plugin-import-x: 3.1.0(eslint@9.5.0)(typescript@5.5.3) + eslint-config-flat-gitignore: 0.1.7 + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0) + eslint-plugin-import-x: 3.0.1(eslint@9.5.0)(typescript@5.5.3) eslint-plugin-jsx-a11y: 6.9.0(eslint@9.5.0) - eslint-plugin-react: 7.35.0(eslint@9.5.0) + eslint-plugin-react: 7.34.3(eslint@9.5.0) eslint-plugin-react-hooks: 4.6.2(eslint@9.5.0) eslint-plugin-security: 3.0.1 eslint-plugin-sonarjs: 1.0.3(eslint@9.5.0) @@ -5789,7 +5829,6 @@ snapshots: globals: 14.0.0 is-plain-obj: 4.1.0 sort-package-json: 2.10.0 - strip-json-comments: 5.0.1 ts-api-utils: 1.3.0(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: @@ -5807,13 +5846,13 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0): + eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0): dependencies: debug: 4.3.5 enhanced-resolve: 5.17.0 eslint: 9.5.0 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0))(eslint@9.5.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0))(eslint@9.5.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0) fast-glob: 3.3.2 get-tsconfig: 4.7.5 is-core-module: 2.14.0 @@ -5824,28 +5863,29 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint-import-resolver-node@0.3.9)(eslint@9.5.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint-import-resolver-node@0.3.9)(eslint@9.5.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3) + '@typescript-eslint/parser': 8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3) eslint: 9.5.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0))(eslint@9.5.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0))(eslint@9.5.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3) + '@typescript-eslint/parser': 8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3) eslint: 9.5.0 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0))(eslint@9.5.0) transitivePeerDependencies: - supports-color - eslint-plugin-import-x@3.1.0(eslint@9.5.0)(typescript@5.5.3): + eslint-plugin-import-x@3.0.1(eslint@9.5.0)(typescript@5.5.3): dependencies: + '@rtsao/scc': 1.1.0 '@typescript-eslint/utils': 7.15.0(eslint@9.5.0)(typescript@5.5.3) debug: 4.3.5 doctrine: 3.0.0 @@ -5861,7 +5901,7 @@ snapshots: - supports-color - typescript - eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint@9.5.0): dependencies: array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 @@ -5871,7 +5911,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.5.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3))(eslint-import-resolver-node@0.3.9)(eslint@9.5.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3))(eslint-import-resolver-node@0.3.9)(eslint@9.5.0) hasown: 2.0.2 is-core-module: 2.14.0 is-glob: 4.0.3 @@ -5882,7 +5922,7 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.0.0-alpha.51(eslint@9.5.0)(typescript@5.5.3) + '@typescript-eslint/parser': 8.0.0-alpha.41(eslint@9.5.0)(typescript@5.5.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -5912,27 +5952,27 @@ snapshots: dependencies: eslint: 9.5.0 - eslint-plugin-react@7.35.0(eslint@9.5.0): + eslint-plugin-react@7.34.3(eslint@9.5.0): dependencies: array-includes: 3.1.8 array.prototype.findlast: 1.2.5 array.prototype.flatmap: 1.3.2 + array.prototype.toreversed: 1.1.2 array.prototype.tosorted: 1.1.4 doctrine: 2.1.0 es-iterator-helpers: 1.0.19 eslint: 9.5.0 estraverse: 5.3.0 - hasown: 2.0.2 jsx-ast-utils: 3.3.5 minimatch: 3.1.2 object.entries: 1.1.8 object.fromentries: 2.0.8 + object.hasown: 1.1.4 object.values: 1.2.0 prop-types: 15.8.1 resolve: 2.0.0-next.5 semver: 6.3.1 string.prototype.matchall: 4.0.11 - string.prototype.repeat: 1.0.0 eslint-plugin-security@3.0.1: dependencies: @@ -6125,6 +6165,12 @@ snapshots: locate-path: 6.0.0 path-exists: 4.0.0 + find-up@7.0.0: + dependencies: + locate-path: 7.2.0 + path-exists: 5.0.0 + unicorn-magic: 0.1.0 + flat-cache@4.0.1: dependencies: flatted: 3.3.1 @@ -7049,6 +7095,10 @@ snapshots: dependencies: p-locate: 5.0.0 + locate-path@7.2.0: + dependencies: + p-locate: 6.0.0 + lodash.merge@4.6.2: {} lodash.truncate@4.4.2: {} @@ -7332,6 +7382,12 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.23.3 + object.hasown@1.1.4: + dependencies: + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-object-atoms: 1.0.0 + object.values@1.2.0: dependencies: call-bind: 1.0.7 @@ -7363,6 +7419,10 @@ snapshots: dependencies: yocto-queue: 0.1.0 + p-limit@4.0.0: + dependencies: + yocto-queue: 1.1.1 + p-locate@4.1.0: dependencies: p-limit: 2.3.0 @@ -7371,6 +7431,10 @@ snapshots: dependencies: p-limit: 3.1.0 + p-locate@6.0.0: + dependencies: + p-limit: 4.0.0 + p-map@4.0.0: dependencies: aggregate-error: 3.1.0 @@ -7402,6 +7466,8 @@ snapshots: path-exists@4.0.0: {} + path-exists@5.0.0: {} + path-is-absolute@1.0.1: {} path-key@3.1.1: {} @@ -7897,11 +7963,6 @@ snapshots: set-function-name: 2.0.2 side-channel: 1.0.6 - string.prototype.repeat@1.0.0: - dependencies: - define-properties: 1.2.1 - es-abstract: 1.23.3 - string.prototype.trim@1.2.9: dependencies: call-bind: 1.0.7 @@ -7945,8 +8006,6 @@ snapshots: strip-json-comments@3.1.1: {} - strip-json-comments@5.0.1: {} - styled-jsx@5.1.6(@babel/core@7.24.7)(react@19.0.0-rc.0): dependencies: client-only: 0.0.1 @@ -8204,6 +8263,8 @@ snapshots: undici-types@5.26.5: {} + unicorn-magic@0.1.0: {} + unique-filename@3.0.0: dependencies: unique-slug: 4.0.0 @@ -8376,6 +8437,8 @@ snapshots: yocto-queue@0.1.0: {} + yocto-queue@1.1.1: {} + zod-to-json-schema@3.20.1(zod@3.23.8): dependencies: zod: 3.23.8