Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

upvote button

Chris Bautistafa139ddab41f
diff --git a/next.config.mjs b/next.config.mjs
index 7097c8e1..f22787af 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -2,7 +2,7 @@
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
-await import("./src/env.mjs");
+await import('./src/env.mjs');
/** @type {import("next").NextConfig} */
const config = {
@@ -15,8 +15,12 @@ const config = {
* @see https://github.com/vercel/next.js/issues/41980
*/
i18n: {
- locales: ["en"],
- defaultLocale: "en",
+ locales: ['en'],
+ defaultLocale: 'en',
+ },
+
+ experimental: {
+ serverActions: true,
},
typescript: {
diff --git a/package.json b/package.json
index bd5dbb8f..e081aa9d 100644
--- a/package.json
+++ b/package.json
@@ -7,6 +7,7 @@
"dev": "next dev",
"postinstall": "prisma generate",
"lint": "next lint",
+ "reset": "prisma db push --force-reset --preview-feature",
"start": "next start",
"typecheck": "tsc --noEmit"
},
@@ -24,8 +25,10 @@
"@trpc/next": "^10.26.0",
"@trpc/react-query": "^10.26.0",
"@trpc/server": "^10.26.0",
+ "@types/lodash": "^4.14.195",
"class-variance-authority": "^0.6.0",
"clsx": "^1.2.1",
+ "lodash": "^4.17.21",
"lucide-react": "^0.224.0",
"monaco-vim": "^0.4.0",
"next": "^13.4.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3fcb3f1a..692faf67 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1,22 +1,18 @@
-lockfileVersion: '6.1'
-
-settings:
- autoInstallPeers: true
- excludeLinksFromLockfile: false
+lockfileVersion: '6.0'
dependencies:
'@clerk/nextjs':
specifier: ^4.19.0
'@monaco-editor/react':
specifier: ^4.5.1
'@next-auth/prisma-adapter':
specifier: ^1.0.6
- version: 1.0.7(@prisma/[email protected])([email protected])
+ version: 1.0.6(@prisma/[email protected])([email protected])
'@prisma/client':
specifier: ^4.14.0
- version: 4.15.0([email protected])
+ version: 4.14.0([email protected])
'@radix-ui/react-navigation-menu':
specifier: ^1.1.3
@@ -31,25 +27,31 @@ dependencies:
'@tanstack/react-query':
specifier: ^4.29.7
'@trpc/client':
specifier: ^10.26.0
- version: 10.29.1(@trpc/[email protected])
+ version: 10.26.0(@trpc/[email protected])
'@trpc/next':
specifier: ^10.26.0
'@trpc/react-query':
specifier: ^10.26.0
'@trpc/server':
specifier: ^10.26.0
- version: 10.29.1
+ version: 10.26.0
+ '@types/lodash':
+ specifier: ^4.14.195
+ version: 4.14.195
class-variance-authority:
specifier: ^0.6.0
version: 0.6.0([email protected])
clsx:
specifier: ^1.2.1
version: 1.2.1
+ lodash:
+ specifier: ^4.17.21
+ version: 4.17.21
lucide-react:
specifier: ^0.224.0
version: 0.224.0([email protected])
@@ -58,13 +60,13 @@ dependencies:
version: 0.4.0([email protected])
next:
specifier: ^13.4.2
next-auth:
specifier: ^4.22.1
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -79,10 +81,10 @@ dependencies:
version: 1.12.2
tailwind-merge:
specifier: ^1.12.0
- version: 1.13.0
+ version: 1.12.0
tailwindcss-animate:
specifier: ^1.0.5
- version: 1.0.5([email protected])
+ version: 1.0.5([email protected])
typescript:
specifier: 5.1.3
version: 5.1.3
@@ -96,16 +98,16 @@ dependencies:
devDependencies:
'@tailwindcss/typography':
specifier: ^0.5.9
- version: 0.5.9([email protected])
+ version: 0.5.9([email protected])
'@types/eslint':
specifier: ^8.37.0
- version: 8.40.0
+ version: 8.37.0
'@types/node':
specifier: ^18.16.0
- version: 18.16.16
+ version: 18.16.0
'@types/prettier':
specifier: ^2.7.2
- version: 2.7.3
+ version: 2.7.2
'@types/react':
specifier: ^18.2.8
version: 18.2.8
@@ -114,25 +116,25 @@ devDependencies:
version: 18.2.4
'@typescript-eslint/eslint-plugin':
specifier: ^5.59.6
- version: 5.59.9(@typescript-eslint/[email protected])([email protected])([email protected])
+ version: 5.59.6(@typescript-eslint/[email protected])([email protected])([email protected])
'@typescript-eslint/parser':
specifier: ^5.59.6
autoprefixer:
specifier: ^10.4.14
- version: 10.4.14([email protected])
+ version: 10.4.14([email protected])
eslint:
specifier: ^8.40.0
- version: 8.42.0
+ version: 8.40.0
eslint-config-next:
specifier: ^13.4.2
monaco-editor:
specifier: '=0.36.1'
version: 0.36.1
postcss:
specifier: ^8.4.21
- version: 8.4.24
+ version: 8.4.21
prettier:
specifier: ^2.8.8
version: 2.8.8
@@ -141,22 +143,18 @@ devDependencies:
version: 0.2.8([email protected])
prisma:
specifier: ^4.14.0
- version: 4.15.0
+ version: 4.14.0
tailwindcss:
specifier: ^3.3.0
- version: 3.3.2
+ version: 3.3.0([email protected])
tsx:
specifier: ^3.12.7
version: 3.12.7
packages:
- resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
- engines: {node: '>=10'}
-
- resolution: {integrity: sha512-XsDuspWKLUsxwCp6r7EhsExHtYfbe5oAGQ19kqngTdCPUoPQzOPdUbD/pB9PJiwb2ptYKQDjSJT3R6dC+EPqfQ==}
+ resolution: {integrity: sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA==}
engines: {node: '>=6.9.0'}
dependencies:
regenerator-runtime: 0.13.11
@@ -165,7 +163,7 @@ packages:
resolution: {integrity: sha512-SJr5M6ZM4d9lPK63LFMjU8cDoEmSRIsKXVwl4A0oBMNmxrZ62tZQj6l79nElRObB8jzomq0U/YzqccRSP4/8Sg==}
engines: {node: '>=14'}
dependencies:
- '@clerk/types': 3.40.0
+ '@clerk/types': 3.41.1
'@peculiar/webcrypto': 1.4.1
'@types/node': 16.18.6
deepmerge: 4.2.2
@@ -174,25 +172,38 @@ packages:
tslib: 2.4.1
dev: false
- resolution: {integrity: sha512-shLgZynr3LczT8bH7T0NEgBxuhvPXfOp6GUvZbiiE0Z/WyE/JMZaXt/KOlXNtmVjjaxTXr/f3o8gwNI3IeWdOA==}
+ resolution: {integrity: sha512-EiCBLxImSPmamP1GwPviALgnwin/hN1pWhThwAQNyyDfOuiV8f7G1qEcZ3mS82W4aX+sdtxsl/wuNTOjBbzVRA==}
+ engines: {node: '>=14'}
+ dependencies:
+ '@clerk/types': 3.41.1
+ '@peculiar/webcrypto': 1.4.1
+ '@types/node': 16.18.6
+ deepmerge: 4.2.2
+ node-fetch-native: 1.0.1
+ snakecase-keys: 5.4.4
+ tslib: 2.4.1
+ dev: false
+
+ resolution: {integrity: sha512-yhz+fdkqtg2uUrjWc2u1EVRMdONbGd7yFyzeJ5myayJN1FyDtGRCawo1mKDbDMOHUnyESiwOy3HN1vMgzyXjaw==}
engines: {node: '>=14'}
peerDependencies:
react: '>=16'
dependencies:
- '@clerk/shared': 0.17.1([email protected])
- '@clerk/types': 3.40.0
+ '@clerk/shared': 0.18.0([email protected])
+ '@clerk/types': 3.41.1
react: 18.2.0
swr: 1.3.0([email protected])
tslib: 2.4.1
dev: false
- resolution: {integrity: sha512-lCTkHJfQdJp7+LgaZVoOFAkH/rQ7fSeFExkY3roO4zIM4BfTMbit7RW1Wg6zImDiFZmXGhtb4HQwtU3H3L+qkg==}
+ resolution: {integrity: sha512-P6P5r7QyfVMyrqgwVZcfyGtbv2ihWeN5C++E10W3ZTNjeg0NY3y4CrW4vh0Q7Sziwzp/6DF1c50nH48RRIEKNg==}
engines: {node: '>=14'}
dependencies:
- '@clerk/backend': 0.20.1
- '@clerk/types': 3.40.0
+ '@clerk/backend': 0.22.0
+ '@clerk/types': 3.41.1
'@types/cookies': 0.7.7
'@types/express': 4.17.14
'@types/node-fetch': 2.6.2
@@ -202,7 +213,7 @@ packages:
tslib: 2.4.1
dev: false
resolution: {integrity: sha512-k7BUhu2hV924UOf3bzS/3KnNJWONzUQtWxaeJMHnd8AgS2X2j7iP32Sp5aPL5Jg2+n9h2lyI5A5obgbQhLeo5g==}
engines: {node: '>=14'}
peerDependencies:
@@ -211,27 +222,29 @@ packages:
react-dom: ^17.0.2 || ^18.0.0-0
dependencies:
'@clerk/backend': 0.20.1
- '@clerk/clerk-react': 4.17.0([email protected])
- '@clerk/clerk-sdk-node': 4.10.2
- '@clerk/types': 3.40.0
+ '@clerk/clerk-react': 4.19.0([email protected])
+ '@clerk/clerk-sdk-node': 4.10.4
+ '@clerk/types': 3.41.1
path-to-regexp: 6.2.1
react: 18.2.0
react-dom: 18.2.0([email protected])
tslib: 2.4.1
dev: false
- resolution: {integrity: sha512-tccgZ2dJtcSYPQok2fbeDgqyk+yizZ2foCoiOOKnZIbTuUt16R8qCFvFwAXkiI91pr0WesSraI+rxJ1kbps/rA==}
+ resolution: {integrity: sha512-B1RbvrPjtCPDrBL11qM1CwtOrRcI3Op7tYbG4ucjrYNX8PmKgYqD4t5o6Xks12P0vkkf5dRDHVhoplarHTmxOw==}
peerDependencies:
react: '>=16'
dependencies:
glob-to-regexp: 0.4.1
+ js-cookie: 3.0.1
react: 18.2.0
+ swr: 1.3.0([email protected])
dev: false
- resolution: {integrity: sha512-fmVN4tc14dHELIIE4cZmh6nKMdqt8aqbdtRRShl8DI1QHMJuoV/sNTvrkMBEgZitsrElyStRFofvZL2uDlPMWg==}
+ resolution: {integrity: sha512-T/uNTfrsSmlJgDPA0Teo3wdQ2R3bGoCZ3I3TUaUmxSq1QuOkEEB/NfujPiHqJU4oOOtHWZTKLd9vkEse+L7c1A==}
engines: {node: '>=14'}
dependencies:
csstype: 3.1.1
@@ -456,13 +469,13 @@ packages:
dev: true
optional: true
- /@eslint-community/[email protected]([email protected]):
+ /@eslint-community/[email protected]([email protected]):
resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
dependencies:
- eslint: 8.42.0
+ eslint: 8.40.0
eslint-visitor-keys: 3.4.1
dev: true
@@ -488,8 +501,8 @@ packages:
- supports-color
dev: true
- /@eslint/[email protected]:
- resolution: {integrity: sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==}
+ /@eslint/[email protected]:
+ resolution: {integrity: sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
@@ -563,28 +576,28 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-Cdko4KfcmKjsyHFrWwZ//lfLUbcLqlyFqjd/nYE2m3aZ7tjMNUjpks47iw7NTCnXf+5UWz5Ypyt1dSs1EP5QJw==}
+ resolution: {integrity: sha512-Z7agwfSZEeEcqKqrnisBun7VndRPshd6vyDsoRU68MXbkui8storkHgvN2hnNDrqr/hSCF9aRn56a1qpihaB4A==}
peerDependencies:
'@prisma/client': '>=2.26.0 || >=3'
next-auth: ^4
dependencies:
- '@prisma/client': 4.15.0([email protected])
+ '@prisma/client': 4.14.0([email protected])
dev: false
- resolution: {integrity: sha512-q/y7VZj/9YpgzDe64Zi6rY1xPizx80JjlU2BTevlajtaE3w1LqweH1gGgxou2N7hdFosXHjGrI4OUvtFXXhGLg==}
+ resolution: {integrity: sha512-Wqvo7lDeS0KGwtwg9TT9wKQ8raelmUxt+TQKWvG/xKfcmDXNOtCuaszcfCF8JzlBG1q0VhpI6CKaRMbVPMDWgw==}
dev: false
- resolution: {integrity: sha512-5jnh7q6I15efnjR/rR+/TGTc9hn53g3JTbEjAMjmeQiExKqEUgIXqrHI5zlTNlNyzCPkBB860/ctxXheZaF2Vw==}
+ resolution: {integrity: sha512-ZeFWgrxwckxTpYM+ANeUL9E7LOGPbZKmI94LJIjbDU69iEIgqd4WD0l2pVbOJMr/+vgoZmJ9Dx1m0WJ7WScXHA==}
dependencies:
glob: 7.1.7
dev: true
- resolution: {integrity: sha512-xfjgXvp4KalNUKZMHmsFxr1Ug+aGmmO6NWP0uoh4G3WFqP/mJ1xxfww0gMOeMeSq/Jyr5k7DvoZ2Pv+XOITTtw==}
+ resolution: {integrity: sha512-6BBlqGu3ewgJflv9iLCwO1v1hqlecaIH2AotpKfVUEzUxuuDNJQZ2a4KLb4MBl8T9/vca1YuWhSqtbF6ZuUJJw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@@ -592,8 +605,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-ZY9Ti1hkIwJsxGus3nlubIkvYyB0gNOYxKrfsOrLEqD0I2iCX8D7w8v6QQZ2H+dDl6UT29oeEUdDUNGk4UEpfg==}
+ resolution: {integrity: sha512-iZuYr7ZvGLPjPmfhhMl0ISm+z8EiyLBC1bLyFwGBxkWmPXqdJ60mzuTaDSr5WezDwv0fz32HB7JHmRC6JVHSZg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@@ -601,8 +614,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-+KZnDeMShYkpkqAvGCEDeqYTRADJXc6SY1jWXz+Uo6qWQO/Jd9CoyhTJwRSxvQA16MoYzvILkGaDqirkRNctyA==}
+ resolution: {integrity: sha512-2xVabFtIge6BJTcJrW8YuUnYTuQjh4jEuRuS2mscyNVOj6zUZkom3CQg+egKOoS+zh2rrro66ffSKIS+ztFJTg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -610,8 +623,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-evC1twrny2XDT4uOftoubZvW3EG0zs0ZxMwEtu/dDGVRO5n5pT48S8qqEIBGBUZYu/Xx4zzpOkIxx1vpWdE+9A==}
+ resolution: {integrity: sha512-wKRCQ27xCUJx5d6IivfjYGq8oVngqIhlhSAJntgXLt7Uo9sRT/3EppMHqUZRfyuNBTbykEre1s5166z+pvRB5A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -619,8 +632,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-PX706XcCHr2FfkyhP2lpf+pX/tUvq6/ke7JYnnr0ykNdEMo+sb7cC/o91gnURh4sPYSiZJhsF2gbIqg9rciOHQ==}
+ resolution: {integrity: sha512-NpCa+UVhhuNeaFVUP1Bftm0uqtvLWq2JTm7+Ta48+2Uqj2mNXrDIvyn1DY/ZEfmW/1yvGBRaUAv9zkMkMRixQA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -628,8 +641,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-TKUUx3Ftd95JlHV6XagEnqpT204Y+IsEa3awaYIjayn0MOGjgKZMZibqarK3B1FsMSPaieJf2FEAcu9z0yT5aA==}
+ resolution: {integrity: sha512-ZWVC72x0lW4aj44e3khvBrj2oSYj1bD0jESmyah3zG/3DplEy/FOtYkMzbMjHTdDSheso7zH8GIlW6CDQnKhmQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -637,8 +650,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-FP8AadgSq4+HPtim7WBkCMGbhr5vh9FePXiWx9+YOdjwdQocwoCK5ZVC3OW8oh3TWth6iJ0AXJ/yQ1q1cwSZ3A==}
+ resolution: {integrity: sha512-pLT+OWYpzJig5K4VKhLttlIfBcVZfr2+Xbjra0Tjs83NQSkFS+y7xx+YhCwvpEmXYLIvaggj2ONPyjbiigOvHQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@@ -646,8 +659,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-3WekVmtuA2MCdcAOrgrI+PuFiFURtSyyrN1I3UPtS0ckR2HtLqyqmS334Eulf15g1/bdwMteePdK363X/Y9JMg==}
+ resolution: {integrity: sha512-dhpiksQCyGca4WY0fJyzK3FxMDFoqMb0Cn+uDB+9GYjpU2K5//UGPQlCwiK4JHxuhg8oLMag5Nf3/IPSJNG8jw==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@@ -655,8 +668,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-AHRITu/CrlQ+qzoqQtEMfaTu7GHaQ6bziQln/pVWpOYC1wU+Mq6VQQFlsDtMCnDztPZtppAXdvvbNS7pcfRzlw==}
+ resolution: {integrity: sha512-O7bort1Vld00cu8g0jHZq3cbSTUNMohOEvYqsqE10+yfohhdPHzvzO+ziJRz4Dyyr/fYKREwS7gR4JC0soSOMw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -724,8 +737,8 @@ packages:
tslib: 2.5.3
dev: true
- resolution: {integrity: sha512-xnROvyABcGiwqRNdrObHVZkD9EjkJYHOmVdlKy1yGgI+XOzvMzJ4tRg3dz1pUlsyhKxXGCnjIQjWW+2ur+YXuw==}
+ resolution: {integrity: sha512-MK/XaA2sFdfaOa7I9MjNKz6dxeIEdeZlnpNRoF2w3JuRLlFJLkpp6cD3yaqw2nUUhbrn3Iqe3ZpVV+VuGGil7Q==}
engines: {node: '>=14.17'}
requiresBuild: true
peerDependencies:
@@ -734,22 +747,22 @@ packages:
prisma:
optional: true
dependencies:
- '@prisma/engines-version': 4.15.0-28.8fbc245156db7124f997f4cecdd8d1219e360944
- prisma: 4.15.0
+ '@prisma/engines-version': 4.14.0-67.d9a4c5988f480fa576d43970d5a23641aa77bc9c
+ prisma: 4.14.0
dev: false
- /@prisma/engines-version@4.15.0-28.8fbc245156db7124f997f4cecdd8d1219e360944:
- resolution: {integrity: sha512-sVOig4tjGxxlYaFcXgE71f/rtFhzyYrfyfNFUsxCIEJyVKU9rdOWIlIwQ2NQ7PntvGnn+x0XuFo4OC1jvPJKzg==}
+ /@prisma/engines-version@4.14.0-67.d9a4c5988f480fa576d43970d5a23641aa77bc9c:
+ resolution: {integrity: sha512-3jum8/YSudeSN0zGW5qkpz+wAN2V/NYCQ+BPjvHYDfWatLWlQkqy99toX0GysDeaUoBIJg1vaz2yKqiA3CFcQw==}
dev: false
- /@prisma/[email protected]:
- resolution: {integrity: sha512-FTaOCGs0LL0OW68juZlGxFtYviZa4xdQj/rQEdat2txw0s3Vu/saAPKjNVXfIgUsGXmQ72HPgNr6935/P8FNAA==}
+ /@prisma/[email protected]:
+ resolution: {integrity: sha512-PDNlhP/1vyTgmNyiucGqGCdXIp7HIkkvKO50si3y3PcceeHvqtiKPaH1iJdz63jCWMVMbj2MElSxXPOeBvEVIQ==}
requiresBuild: true
/@radix-ui/[email protected]:
resolution: {integrity: sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw==}
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
dev: false
@@ -765,7 +778,7 @@ packages:
'@types/react-dom':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
@@ -785,7 +798,7 @@ packages:
'@types/react':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@types/react': 18.2.8
react: 18.2.0
dev: false
@@ -799,7 +812,7 @@ packages:
'@types/react':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@types/react': 18.2.8
react: 18.2.0
dev: false
@@ -813,7 +826,7 @@ packages:
'@types/react':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@types/react': 18.2.8
react: 18.2.0
dev: false
@@ -831,7 +844,7 @@ packages:
'@types/react-dom':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/primitive': 1.0.1
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
@@ -852,7 +865,7 @@ packages:
'@types/react':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
'@types/react': 18.2.8
react: 18.2.0
@@ -871,7 +884,7 @@ packages:
'@types/react-dom':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/primitive': 1.0.1
'@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
@@ -905,7 +918,7 @@ packages:
'@types/react-dom':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
'@types/react': 18.2.8
@@ -927,7 +940,7 @@ packages:
'@types/react-dom':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
'@types/react': 18.2.8
'@types/react-dom': 18.2.4
@@ -948,7 +961,7 @@ packages:
'@types/react-dom':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/primitive': 1.0.1
'@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
@@ -973,7 +986,7 @@ packages:
'@types/react':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
'@types/react': 18.2.8
react: 18.2.0
@@ -992,7 +1005,7 @@ packages:
'@types/react-dom':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/primitive': 1.0.1
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])
@@ -1016,7 +1029,7 @@ packages:
'@types/react':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@types/react': 18.2.8
react: 18.2.0
dev: false
@@ -1030,7 +1043,7 @@ packages:
'@types/react':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
'@types/react': 18.2.8
react: 18.2.0
@@ -1045,7 +1058,7 @@ packages:
'@types/react':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
'@types/react': 18.2.8
react: 18.2.0
@@ -1060,7 +1073,7 @@ packages:
'@types/react':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@types/react': 18.2.8
react: 18.2.0
dev: false
@@ -1074,7 +1087,7 @@ packages:
'@types/react':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@types/react': 18.2.8
react: 18.2.0
dev: false
@@ -1092,7 +1105,7 @@ packages:
'@types/react-dom':
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
'@types/react': 18.2.8
'@types/react-dom': 18.2.4
@@ -1100,8 +1113,8 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- /@rushstack/[email protected]:
- resolution: {integrity: sha512-IthPJsJR85GhOkp3Hvp8zFOPK5ynKn6STyHa/WZpioK7E1aYDiBzpqQPrngc14DszIUkIrdd3k9Iu0XSzlP/1w==}
+ /@rushstack/[email protected]:
+ resolution: {integrity: sha512-RkmuBcqiNioeeBKbgzMlOdreUkJfYaSjwgx9XDgGGpjvWgyaxWvDmZVSN9CS6LjEASadhgPv2BcFp+SeouWXXA==}
dev: true
@@ -1131,7 +1144,7 @@ packages:
zod: 3.21.4
dev: false
resolution: {integrity: sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg==}
peerDependencies:
tailwindcss: '>=3.0.0 || insiders'
@@ -1140,15 +1153,15 @@ packages:
lodash.isplainobject: 4.0.6
lodash.merge: 4.6.2
postcss-selector-parser: 6.0.10
- tailwindcss: 3.3.2
+ tailwindcss: 3.3.0([email protected])
dev: true
- /@tanstack/[email protected]:
- resolution: {integrity: sha512-8C+hF6SFAb/TlFZyS9FItgNwrw4PMa7YeX+KQYe2ZAiEz6uzg6yIr+QBzPkUwZ/L0bXvGd1sufTm3wotoz+GwQ==}
+ /@tanstack/[email protected]:
+ resolution: {integrity: sha512-GXG4b5hV2Loir+h2G+RXhJdoZhJLnrBWsuLB2r0qBRyhWuXq9w/dWxzvpP89H0UARlH6Mr9DiVj4SMtpkF/aUA==}
dev: false
- resolution: {integrity: sha512-zhcN6+zF6cxprxhTHQajHGlvxgK8npnp9uLe9yaWhGc6sYcPWXzyO4raL4HomUzQOPzu3jLvkriJQ7BOrDM8vA==}
+ resolution: {integrity: sha512-ijBWEzAIo09fB1yd22slRZzprrZ5zMdWYzBnCg5qiXuFbH78uGN1qtGz8+Ed4MuhaPaYSD+hykn+QEKtQviEtg==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -1159,72 +1172,72 @@ packages:
react-native:
optional: true
dependencies:
- '@tanstack/query-core': 4.29.11
+ '@tanstack/query-core': 4.29.7
react: 18.2.0
react-dom: 18.2.0([email protected])
use-sync-external-store: 1.2.0([email protected])
dev: false
- resolution: {integrity: sha512-+9Tifg6dtKsYLsqOW0wizqc3iILAkXxn16pyYAeMDPlulPEqNvnI85GDJ0zJOJLIkQnQefkRbtCmtDxLNtV9Eg==}
+ resolution: {integrity: sha512-ojHxQFIE97rBEGPK8p1ijbzo0T1IdEBoJ9fFSgWWL9FMuEEA/DNQ9s0uuiOrDKhCCdTFT1unfRharoJhB2/O2w==}
peerDependencies:
- '@trpc/server': 10.29.1
+ '@trpc/server': 10.26.0
dependencies:
- '@trpc/server': 10.29.1
+ '@trpc/server': 10.26.0
dev: false
- resolution: {integrity: sha512-2RNnct2T+k5yExSy748Lv5IDPAKEvx/QKoAJIBo8FqRem3ypW6ZpRTxillyE+vyD8QVRtMaD4v0dnPaFeRhJ3g==}
+ resolution: {integrity: sha512-p328crXBH6C228LKxjqbpDEXdLmy4+LdgsZuYK3oFMqaJEmCT22b+zcQ9IvQrcPfDxhKOpJym0QpuDNaWpG2qg==}
peerDependencies:
'@tanstack/react-query': ^4.18.0
- '@trpc/client': 10.29.1
- '@trpc/react-query': 10.29.1
- '@trpc/server': 10.29.1
+ '@trpc/client': 10.26.0
+ '@trpc/react-query': 10.26.0
+ '@trpc/server': 10.26.0
next: '*'
react: '>=16.8.0'
react-dom: '>=16.8.0'
dependencies:
- '@tanstack/react-query': 4.29.12([email protected])([email protected])
- '@trpc/client': 10.29.1(@trpc/[email protected])
- '@trpc/react-query': 10.29.1(@tanstack/[email protected])(@trpc/[email protected])(@trpc/[email protected])([email protected])([email protected])
- '@trpc/server': 10.29.1
+ '@tanstack/react-query': 4.29.7([email protected])([email protected])
+ '@trpc/client': 10.26.0(@trpc/[email protected])
+ '@trpc/react-query': 10.26.0(@tanstack/[email protected])(@trpc/[email protected])(@trpc/[email protected])([email protected])([email protected])
+ '@trpc/server': 10.26.0
react: 18.2.0
react-dom: 18.2.0([email protected])
react-ssr-prepass: 1.5.0([email protected])
dev: false
- resolution: {integrity: sha512-yWsce8euPSVtn3SeBKXxLmq607/sqyIez7pgMOhMBKehRNdZzrGp3MhjmRwim+IUKLrw71kUgsw7w6uT5FPB0g==}
+ resolution: {integrity: sha512-n+enpalaCZhd3A/mbZmXeydRZHsAJo7mzc2ncgHn5S+C3SrfOM897uQdbHdj02Li25ULxzP1O92w+vZzmFbgkA==}
peerDependencies:
'@tanstack/react-query': ^4.18.0
- '@trpc/client': 10.29.1
- '@trpc/server': 10.29.1
+ '@trpc/client': 10.26.0
+ '@trpc/server': 10.26.0
react: '>=16.8.0'
react-dom: '>=16.8.0'
dependencies:
- '@tanstack/react-query': 4.29.12([email protected])([email protected])
- '@trpc/client': 10.29.1(@trpc/[email protected])
- '@trpc/server': 10.29.1
+ '@tanstack/react-query': 4.29.7([email protected])([email protected])
+ '@trpc/client': 10.26.0(@trpc/[email protected])
+ '@trpc/server': 10.26.0
react: 18.2.0
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-kNXgMh5ya+awuz2tB4eIyVrRs7nVtqGXwSGabzH3l5ZLWz7rbKJquOJ7h6bjvIfWUpaFG62HJNWxxGUtXCRgRw==}
+ resolution: {integrity: sha512-+Wt0NFAeflVSNiUnHIDNN3C8jP7XIRmYrcgJ6IsAnm0lK4p/FkpCpeu1aig5qxrgZx30PHNDLZ/3FttVSEW2aQ==}
dev: false
resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==}
dependencies:
'@types/connect': 3.4.35
- '@types/node': 18.16.16
+ '@types/node': 18.16.0
dev: false
resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==}
dependencies:
- '@types/node': 18.16.16
+ '@types/node': 18.16.0
dev: false
@@ -1233,7 +1246,7 @@ packages:
'@types/connect': 3.4.35
'@types/express': 4.17.14
'@types/keygrip': 1.0.2
- '@types/node': 18.16.16
+ '@types/node': 18.16.0
dev: false
@@ -1242,8 +1255,8 @@ packages:
'@types/ms': 0.7.31
dev: false
- resolution: {integrity: sha512-nbq2mvc/tBrK9zQQuItvjJl++GTN5j06DaPtp3hZCpngmG6Q3xoyEmd0TwZI0gAy/G1X0zhGBbr2imsGFdFV0g==}
+ resolution: {integrity: sha512-Piet7dG2JBuDIfohBngQ3rCt7MgO9xCO4xIMKxBThCq5PNRB91IjlJ10eJVwfoNtvTErmxLzwBZ7rHZtbOMmFQ==}
dependencies:
'@types/estree': 1.0.1
'@types/json-schema': 7.0.12
@@ -1256,7 +1269,7 @@ packages:
resolution: {integrity: sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==}
dependencies:
- '@types/node': 18.16.16
+ '@types/node': 18.16.0
'@types/qs': 6.9.7
'@types/range-parser': 1.2.4
'@types/send': 0.17.1
@@ -1289,6 +1302,10 @@ packages:
resolution: {integrity: sha512-GJhpTepz2udxGexqos8wgaBx4I/zWIDPh/KOGEwAqtuGDkOUJu5eFvwmdBX4AmB8Odsr+9pHCQqiAqDL/yKMKw==}
dev: false
+ resolution: {integrity: sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==}
+ dev: false
+
resolution: {integrity: sha512-Y/uImid8aAwrEA24/1tcRZwpxX3pIFTSilcNDKSPn+Y2iDywSEachzRuvgAYYLR3wpGXAsMbv5lvKLDZLeYPAw==}
dependencies:
@@ -1310,7 +1327,7 @@ packages:
resolution: {integrity: sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==}
dependencies:
- '@types/node': 18.16.16
+ '@types/node': 18.16.0
form-data: 3.0.1
dev: false
@@ -1318,11 +1335,11 @@ packages:
resolution: {integrity: sha512-vmYJF0REqDyyU0gviezF/KHq/fYaUbFhkcNbQCuPGFQj6VTbXuHZoxs/Y7mutWe73C8AC6l9fFu8mSYiBAqkGA==}
dev: false
- resolution: {integrity: sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==}
+ resolution: {integrity: sha512-BsAaKhB+7X+H4GnSjGhJG9Qi8Tw+inU9nJDwmD5CgOmBLEI6ArdhikpLX7DjbjDRDTbqZzU2LSQNZg8WGPiSZQ==}
- resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==}
+ resolution: {integrity: sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg==}
dev: true
@@ -1359,22 +1376,22 @@ packages:
resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==}
dependencies:
'@types/mime': 1.3.2
- '@types/node': 18.16.16
+ '@types/node': 18.16.0
dev: false
resolution: {integrity: sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==}
dependencies:
'@types/mime': 3.0.1
- '@types/node': 18.16.16
+ '@types/node': 18.16.0
dev: false
resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==}
dev: false
- /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):
- resolution: {integrity: sha512-4uQIBq1ffXd2YvF7MAvehWKW3zVv/w+mSfRAu+8cKbfj3nwzyqJLNcZJpQ/WZ1HLbJDiowwmQ6NO+63nCA+fqA==}
+ /@typescript-eslint/[email protected](@typescript-eslint/[email protected])([email protected])([email protected]):
+ resolution: {integrity: sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
'@typescript-eslint/parser': ^5.0.0
@@ -1385,12 +1402,12 @@ packages:
optional: true
dependencies:
'@eslint-community/regexpp': 4.5.1
- '@typescript-eslint/parser': 5.59.9([email protected])([email protected])
- '@typescript-eslint/scope-manager': 5.59.9
- '@typescript-eslint/type-utils': 5.59.9([email protected])([email protected])
- '@typescript-eslint/utils': 5.59.9([email protected])([email protected])
+ '@typescript-eslint/parser': 5.59.6([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 5.59.6
+ '@typescript-eslint/type-utils': 5.59.6([email protected])([email protected])
+ '@typescript-eslint/utils': 5.59.6([email protected])([email protected])
debug: 4.3.4
- eslint: 8.42.0
+ eslint: 8.40.0
grapheme-splitter: 1.0.4
ignore: 5.2.4
natural-compare-lite: 1.4.0
@@ -1401,8 +1418,8 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==}
+ resolution: {integrity: sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@@ -1411,26 +1428,26 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/scope-manager': 5.59.9
- '@typescript-eslint/types': 5.59.9
- '@typescript-eslint/typescript-estree': 5.59.9([email protected])
+ '@typescript-eslint/scope-manager': 5.59.6
+ '@typescript-eslint/types': 5.59.6
+ '@typescript-eslint/typescript-estree': 5.59.6([email protected])
debug: 4.3.4
- eslint: 8.42.0
+ eslint: 8.40.0
typescript: 5.1.3
transitivePeerDependencies:
- supports-color
dev: true
- /@typescript-eslint/[email protected]:
- resolution: {integrity: sha512-8RA+E+w78z1+2dzvK/tGZ2cpGigBZ58VMEHDZtpE1v+LLjzrYGc8mMaTONSxKyEkz3IuXFM0IqYiGHlCsmlZxQ==}
+ /@typescript-eslint/[email protected]:
+ resolution: {integrity: sha512-gLbY3Le9Dxcb8KdpF0+SJr6EQ+hFGYFl6tVY8VxLPFDfUZC7BHFw+Vq7bM5lE9DwWPfx4vMWWTLGXgpc0mAYyQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
- '@typescript-eslint/types': 5.59.9
- '@typescript-eslint/visitor-keys': 5.59.9
+ '@typescript-eslint/types': 5.59.6
+ '@typescript-eslint/visitor-keys': 5.59.6
dev: true
- resolution: {integrity: sha512-ksEsT0/mEHg9e3qZu98AlSrONAQtrSTljL3ow9CGej8eRo7pe+yaC/mvTjptp23Xo/xIf2mLZKC6KPv4Sji26Q==}
+ resolution: {integrity: sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
@@ -1439,23 +1456,23 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/typescript-estree': 5.59.9([email protected])
- '@typescript-eslint/utils': 5.59.9([email protected])([email protected])
+ '@typescript-eslint/typescript-estree': 5.59.6([email protected])
+ '@typescript-eslint/utils': 5.59.6([email protected])([email protected])
debug: 4.3.4
- eslint: 8.42.0
+ eslint: 8.40.0
tsutils: 3.21.0([email protected])
typescript: 5.1.3
transitivePeerDependencies:
- supports-color
dev: true
- /@typescript-eslint/[email protected]:
- resolution: {integrity: sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==}
+ /@typescript-eslint/[email protected]:
+ resolution: {integrity: sha512-tH5lBXZI7T2MOUgOWFdVNUILsI02shyQvfzG9EJkoONWugCG77NDDa1EeDGw7oJ5IvsTAAGVV8I3Tk2PNu9QfA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
- /@typescript-eslint/[email protected]([email protected]):
- resolution: {integrity: sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==}
+ /@typescript-eslint/[email protected]([email protected]):
+ resolution: {integrity: sha512-vW6JP3lMAs/Tq4KjdI/RiHaaJSO7IUsbkz17it/Rl9Q+WkQ77EOuOnlbaU8kKfVIOJxMhnRiBG+olE7f3M16DA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
typescript: '*'
@@ -1463,8 +1480,8 @@ packages:
typescript:
optional: true
dependencies:
- '@typescript-eslint/types': 5.59.9
- '@typescript-eslint/visitor-keys': 5.59.9
+ '@typescript-eslint/types': 5.59.6
+ '@typescript-eslint/visitor-keys': 5.59.6
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
@@ -1475,19 +1492,19 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-1PuMYsju/38I5Ggblaeb98TOoUvjhRvLpLa1DoTOFaLWqaXl/1iQ1eGurTXgBY58NUdtfTXKP5xBq7q9NDaLKg==}
+ resolution: {integrity: sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
- '@eslint-community/eslint-utils': 4.4.0([email protected])
+ '@eslint-community/eslint-utils': 4.4.0([email protected])
'@types/json-schema': 7.0.12
'@types/semver': 7.5.0
- '@typescript-eslint/scope-manager': 5.59.9
- '@typescript-eslint/types': 5.59.9
- '@typescript-eslint/typescript-estree': 5.59.9([email protected])
- eslint: 8.42.0
+ '@typescript-eslint/scope-manager': 5.59.6
+ '@typescript-eslint/types': 5.59.6
+ '@typescript-eslint/typescript-estree': 5.59.6([email protected])
+ eslint: 8.40.0
eslint-scope: 5.1.1
semver: 7.5.1
transitivePeerDependencies:
@@ -1495,11 +1512,11 @@ packages:
- typescript
dev: true
- /@typescript-eslint/[email protected]:
- resolution: {integrity: sha512-bT7s0td97KMaLwpEBckbzj/YohnvXtqbe2XgqNvTl6RJVakY5mvENOTPvw5u66nljfZxthESpDozs86U+oLY8Q==}
+ /@typescript-eslint/[email protected]:
+ resolution: {integrity: sha512-zEfbFLzB9ETcEJ4HZEEsCR9HHeNku5/Qw1jSS5McYJv5BR+ftYXwFFAH5Al+xkGaZEqowMwl7uoJjQb1YSPF8Q==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
- '@typescript-eslint/types': 5.59.9
+ '@typescript-eslint/types': 5.59.6
eslint-visitor-keys: 3.4.1
dev: true
@@ -1631,7 +1648,7 @@ packages:
resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
dev: false
resolution: {integrity: sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==}
engines: {node: ^10 || ^12 || >=14}
hasBin: true
@@ -1639,11 +1656,11 @@ packages:
postcss: ^8.1.0
dependencies:
browserslist: 4.21.7
- caniuse-lite: 1.0.30001495
+ caniuse-lite: 1.0.30001497
fraction.js: 4.2.0
normalize-range: 0.1.2
picocolors: 1.0.0
- postcss: 8.4.24
+ postcss: 8.4.21
postcss-value-parser: 4.2.0
dev: true
@@ -1703,8 +1720,8 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
dependencies:
- caniuse-lite: 1.0.30001495
- electron-to-chromium: 1.4.420
+ caniuse-lite: 1.0.30001497
+ electron-to-chromium: 1.4.427
node-releases: 2.0.12
update-browserslist-db: 1.0.11([email protected])
dev: true
@@ -1757,8 +1774,8 @@ packages:
engines: {node: '>=6'}
dev: false
- resolution: {integrity: sha512-F6x5IEuigtUfU5ZMQK2jsy5JqUUlEFRVZq8bO2a+ysq5K7jD6PPc9YXZj78xDNS3uNchesp1Jw47YXEqr+Viyg==}
+ resolution: {integrity: sha512-I4/duVK4wL6rAK/aKZl3HXB4g+lIZvaT4VLAn2rCgJ38jVLb0lv2Xug6QuqmxXFVRJMF74SPPWPJ/1Sdm3vCzw==}
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
@@ -1816,7 +1833,6 @@ packages:
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
- dev: true
resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
@@ -1845,7 +1861,7 @@ packages:
resolution: {integrity: sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==}
engines: {node: '>=12.13'}
dependencies:
- is-what: 4.1.13
+ is-what: 4.1.15
dev: false
@@ -2013,8 +2029,8 @@ packages:
tslib: 2.4.1
dev: false
- resolution: {integrity: sha512-BpPy2KXZc+UPbI8NGo2QdHU1Mkq11pO/zaNDHY57L09K/0ytrPw+IiLOUvZ1NjI5BlAVF5DkNr1UBUS76Tc4ow==}
+ resolution: {integrity: sha512-HK3r9l+Jm8dYAm1ctXEWIC+hV60zfcjS9UA5BDlYvnI5S7PU/yytjpvSrTNrSSRRkuu3tDyZhdkwIczh+0DWaw==}
dev: true
@@ -2147,8 +2163,8 @@ packages:
engines: {node: '>=10'}
dev: true
- resolution: {integrity: sha512-z/PMbm6L0iC/fwISULxe8IVy4DtNqZk2wQY711o35klenq70O6ns82A8yuMVCFjHC0DIyB2lyugesRtuk9u8dQ==}
+ resolution: {integrity: sha512-zjLJ9B9bbeWSo5q+iHfdt8gVYyT+y2BpWDfjR6XMBtFRSMKRGjllDKxnuKBV1q2Y/QpwLM2PXHJTMRyblCmRAg==}
peerDependencies:
eslint: ^7.23.0 || ^8.0.0
typescript: '>=3.3.1'
@@ -2156,16 +2172,16 @@ packages:
typescript:
optional: true
dependencies:
- '@next/eslint-plugin-next': 13.4.4
- '@rushstack/eslint-patch': 1.3.0
- '@typescript-eslint/parser': 5.59.9([email protected])([email protected])
- eslint: 8.42.0
+ '@next/eslint-plugin-next': 13.4.2
+ '@rushstack/eslint-patch': 1.3.1
+ '@typescript-eslint/parser': 5.59.6([email protected])([email protected])
+ eslint: 8.40.0
eslint-import-resolver-node: 0.3.7
- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected])([email protected])([email protected])
- eslint-plugin-jsx-a11y: 6.7.1([email protected])
- eslint-plugin-react: 7.32.2([email protected])
- eslint-plugin-react-hooks: 4.6.0([email protected])
+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected])([email protected])([email protected])
+ eslint-plugin-jsx-a11y: 6.7.1([email protected])
+ eslint-plugin-react: 7.32.2([email protected])
+ eslint-plugin-react-hooks: 4.6.0([email protected])
typescript: 5.1.3
transitivePeerDependencies:
- eslint-import-resolver-webpack
@@ -2182,7 +2198,7 @@ packages:
- supports-color
dev: true
resolution: {integrity: sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
@@ -2191,9 +2207,9 @@ packages:
dependencies:
debug: 4.3.4
enhanced-resolve: 5.14.1
- eslint: 8.42.0
- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
- eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected])([email protected])([email protected])
+ eslint: 8.40.0
+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected])([email protected])([email protected])
get-tsconfig: 4.6.0
globby: 13.1.4
is-core-module: 2.12.1
@@ -2206,7 +2222,7 @@ packages:
- supports-color
dev: true
resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}
engines: {node: '>=4'}
peerDependencies:
@@ -2227,16 +2243,16 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
- '@typescript-eslint/parser': 5.59.9([email protected])([email protected])
+ '@typescript-eslint/parser': 5.59.6([email protected])([email protected])
debug: 3.2.7
- eslint: 8.42.0
+ eslint: 8.40.0
eslint-import-resolver-node: 0.3.7
- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
transitivePeerDependencies:
- supports-color
dev: true
resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==}
engines: {node: '>=4'}
peerDependencies:
@@ -2246,15 +2262,15 @@ packages:
'@typescript-eslint/parser':
optional: true
dependencies:
- '@typescript-eslint/parser': 5.59.9([email protected])([email protected])
+ '@typescript-eslint/parser': 5.59.6([email protected])([email protected])
array-includes: 3.1.6
array.prototype.flat: 1.3.1
array.prototype.flatmap: 1.3.1
debug: 3.2.7
doctrine: 2.1.0
- eslint: 8.42.0
+ eslint: 8.40.0
eslint-import-resolver-node: 0.3.7
- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
+ eslint-module-utils: 2.8.0(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])
has: 1.0.3
is-core-module: 2.12.1
is-glob: 4.0.3
@@ -2269,13 +2285,13 @@ packages:
- supports-color
dev: true
resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==}
engines: {node: '>=4.0'}
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
aria-query: 5.1.3
array-includes: 3.1.6
array.prototype.flatmap: 1.3.1
@@ -2284,7 +2300,7 @@ packages:
axobject-query: 3.1.1
damerau-levenshtein: 1.0.8
emoji-regex: 9.2.2
- eslint: 8.42.0
+ eslint: 8.40.0
has: 1.0.3
jsx-ast-utils: 3.3.3
language-tags: 1.0.5
@@ -2294,16 +2310,16 @@ packages:
semver: 6.3.0
dev: true
resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==}
engines: {node: '>=10'}
peerDependencies:
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0
dependencies:
- eslint: 8.42.0
+ eslint: 8.40.0
dev: true
resolution: {integrity: sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==}
engines: {node: '>=4'}
peerDependencies:
@@ -2313,7 +2329,7 @@ packages:
array.prototype.flatmap: 1.3.1
array.prototype.tosorted: 1.1.1
doctrine: 2.1.0
- eslint: 8.42.0
+ eslint: 8.40.0
estraverse: 5.3.0
jsx-ast-utils: 3.3.3
minimatch: 3.1.2
@@ -2348,15 +2364,15 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true
- resolution: {integrity: sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==}
+ resolution: {integrity: sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true
dependencies:
- '@eslint-community/eslint-utils': 4.4.0([email protected])
+ '@eslint-community/eslint-utils': 4.4.0([email protected])
'@eslint-community/regexpp': 4.5.1
'@eslint/eslintrc': 2.0.3
- '@eslint/js': 8.42.0
+ '@eslint/js': 8.40.0
'@humanwhocodes/config-array': 0.11.10
'@humanwhocodes/module-importer': 1.0.1
'@nodelib/fs.walk': 1.2.8
@@ -2376,12 +2392,13 @@ packages:
find-up: 5.0.0
glob-parent: 6.0.2
globals: 13.20.0
- graphemer: 1.4.0
+ grapheme-splitter: 1.0.4
ignore: 5.2.4
import-fresh: 3.3.0
imurmurhash: 0.1.4
is-glob: 4.0.3
is-path-inside: 3.0.3
+ js-sdsl: 4.4.1
js-yaml: 4.1.0
json-stable-stringify-without-jsonify: 1.0.1
levn: 0.4.1
@@ -2701,10 +2718,6 @@ packages:
resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==}
dev: true
- resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}
- dev: true
-
resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==}
dev: true
@@ -2985,8 +2998,8 @@ packages:
get-intrinsic: 1.2.1
dev: true
- resolution: {integrity: sha512-Aoe8pT24sWzyoO0S2PTDyutGp9l7qYHyFtzYlC8hMLshyqV/minljBANT4f2hiS5OxnWvcKMiA5io+VaLMJ1oA==}
+ resolution: {integrity: sha512-uKua1wfy3Yt+YqsD6mTUEa2zSi3G1oPlqTflgaPJ7z63vUGN5pxFpnQfeSLMFnJDEsdvOtkp1rUWkYjB4YfhgA==}
engines: {node: '>=12.13'}
dev: false
@@ -3013,10 +3026,19 @@ packages:
resolution: {integrity: sha512-j8GhLiKmUAh+dsFXlX1aJCbt5KMibuKb+d7j1JaOJG6s2UjX1PQlW+OKB/sD4a/5ZYF4RcmYmLSndOoU3Lt/3g==}
dev: false
+ resolution: {integrity: sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw==}
+ engines: {node: '>=12'}
+ dev: false
+
resolution: {integrity: sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ==}
dev: false
+ resolution: {integrity: sha512-6Gsx8R0RucyePbWqPssR8DyfuXmLBooYN5cZFZKjHGnQuaf7pEzhtpceagJxVu4LqhYY5EYA7nko3FmeHZ1KbA==}
+ dev: true
+
resolution: {integrity: sha512-01gwBFreYydzmU9BmZxpVk6svJJHrVxEN3IOiGl6VO93bVKYETJ0sIth6DASI6mIFdt7NmfX9UiByRzsYHGU9w==}
dev: false
@@ -3103,6 +3125,10 @@ packages:
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
dev: true
+ resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
+ dev: false
+
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
hasBin: true
@@ -3444,7 +3470,7 @@ packages:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true
resolution: {integrity: sha512-NTR3f6W7/AWXKw8GSsgSyQcDW6jkslZLH8AiZa5PQ09w1kR8uHtR9rez/E9gAq/o17+p0JYHE8QjF3RoniiObA==}
peerDependencies:
next: ^12.2.5 || ^13
@@ -3455,11 +3481,11 @@ packages:
nodemailer:
optional: true
dependencies:
- '@babel/runtime': 7.22.3
+ '@babel/runtime': 7.22.5
'@panva/hkdf': 1.1.1
cookie: 0.5.0
jose: 4.14.4
oauth: 0.9.15
openid-client: 5.4.2
preact: 10.15.1
@@ -3469,25 +3495,26 @@ packages:
uuid: 8.3.2
dev: false
resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==}
peerDependencies:
next: '*'
react: '*'
react-dom: '*'
dependencies:
react: 18.2.0
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-C5S0ysM0Ily9McL4Jb48nOQHT1BukOWI59uC3X/xCMlYIh9rJZCv7nzG92J6e1cOBqQbKovlpgvHWFmz4eKKEA==}
+ resolution: {integrity: sha512-aNFqLs3a3nTGvLWlO9SUhCuMUHVPSFQC0+tDNGAsDXqx+WJDFSbvc233gOJ5H19SBc7nw36A9LwQepOJ2u/8Kg==}
engines: {node: '>=16.8.0'}
hasBin: true
peerDependencies:
'@opentelemetry/api': ^1.1.0
fibers: '>= 3.1.0'
+ node-sass: ^6.0.0 || ^7.0.0
react: ^18.2.0
react-dom: ^18.2.0
sass: ^1.3.0
@@ -3496,28 +3523,30 @@ packages:
optional: true
fibers:
optional: true
+ node-sass:
+ optional: true
sass:
optional: true
dependencies:
- '@next/env': 13.4.4
+ '@next/env': 13.4.2
'@swc/helpers': 0.5.1
busboy: 1.6.0
- caniuse-lite: 1.0.30001495
+ caniuse-lite: 1.0.30001497
postcss: 8.4.14
react: 18.2.0
react-dom: 18.2.0([email protected])
styled-jsx: 5.1.1([email protected])
zod: 3.21.4
optionalDependencies:
- '@next/swc-darwin-arm64': 13.4.4
- '@next/swc-darwin-x64': 13.4.4
- '@next/swc-linux-arm64-gnu': 13.4.4
- '@next/swc-linux-arm64-musl': 13.4.4
- '@next/swc-linux-x64-gnu': 13.4.4
- '@next/swc-linux-x64-musl': 13.4.4
- '@next/swc-win32-arm64-msvc': 13.4.4
- '@next/swc-win32-ia32-msvc': 13.4.4
- '@next/swc-win32-x64-msvc': 13.4.4
+ '@next/swc-darwin-arm64': 13.4.2
+ '@next/swc-darwin-x64': 13.4.2
+ '@next/swc-linux-arm64-gnu': 13.4.2
+ '@next/swc-linux-arm64-musl': 13.4.2
+ '@next/swc-linux-x64-gnu': 13.4.2
+ '@next/swc-linux-x64-musl': 13.4.2
+ '@next/swc-win32-arm64-msvc': 13.4.2
+ '@next/swc-win32-ia32-msvc': 13.4.2
+ '@next/swc-win32-x64-msvc': 13.4.2
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
@@ -3761,29 +3790,29 @@ packages:
resolution: {integrity: sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==}
engines: {node: '>= 6'}
- resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==}
- engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==}
+ engines: {node: '>=10.0.0'}
peerDependencies:
postcss: ^8.0.0
dependencies:
- postcss: 8.4.24
+ postcss: 8.4.21
postcss-value-parser: 4.2.0
read-cache: 1.0.0
resolve: 1.22.2
resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==}
engines: {node: ^12 || ^14 || >= 16}
peerDependencies:
postcss: ^8.4.21
dependencies:
camelcase-css: 2.0.1
- postcss: 8.4.24
+ postcss: 8.4.21
- resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==}
- engines: {node: '>= 14'}
+ resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==}
+ engines: {node: '>= 10'}
peerDependencies:
postcss: '>=8.0.9'
ts-node: '>=9.0.0'
@@ -3794,16 +3823,16 @@ packages:
optional: true
dependencies:
lilconfig: 2.1.0
- postcss: 8.4.24
- yaml: 2.3.1
+ postcss: 8.4.21
+ yaml: 1.10.2
- resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==}
+ resolution: {integrity: sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==}
engines: {node: '>=12.0'}
peerDependencies:
postcss: ^8.2.14
dependencies:
- postcss: 8.4.24
+ postcss: 8.4.21
postcss-selector-parser: 6.0.13
@@ -3833,8 +3862,8 @@ packages:
source-map-js: 1.0.2
dev: false
- resolution: {integrity: sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==}
+ resolution: {integrity: sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==}
engines: {node: ^10 || ^12 || >=14}
dependencies:
nanoid: 3.3.6
@@ -3921,13 +3950,13 @@ packages:
resolution: {integrity: sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew==}
dev: false
- resolution: {integrity: sha512-iKZZpobPl48gTcSZVawLMQ3lEy6BnXwtoMj7hluoGFYu2kQ6F9LBuBrUyF95zRVnNo8/3KzLXJXJ5TEnLSJFiA==}
+ resolution: {integrity: sha512-+5dMl1uxMQb4RepndY6AwR9xi1cDcaGFICu+ws6/Nmgt93mFPNj8tYxSfTdmfg+rkNrUId9rk/Ac2vTgLe/oXA==}
engines: {node: '>=14.17'}
hasBin: true
requiresBuild: true
dependencies:
- '@prisma/engines': 4.15.0
+ '@prisma/engines': 4.14.0
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
@@ -3964,6 +3993,10 @@ packages:
engines: {node: '>=8'}
dev: false
+ resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==}
peerDependencies:
@@ -4377,26 +4410,28 @@ packages:
tslib: 2.5.3
dev: true
- resolution: {integrity: sha512-mUTmDbcU+IhOvJ0c42eLQ/nRkvolTqfpVaVQRSxfJAv9TabS6Y2zW/1wKpKLdKzyL3Gh8j6NTLl6MWNmvOM6kA==}
+ resolution: {integrity: sha512-Y17eDp7FtN1+JJ4OY0Bqv9OA41O+MS8c1Iyr3T6JFLnOgLg3EvcyMKZAnQ8AGyvB5Nxm3t9Xb5Mhe139m8QT/g==}
dev: false
resolution: {integrity: sha512-UU3qrOJ4lFQABY+MVADmBm+0KW3xZyhMdRvejwtXqYOL7YjHYxmuREFAZdmVG5LPe5E9CAst846SLC4j5I3dcw==}
peerDependencies:
tailwindcss: '>=3.0.0 || insiders'
dependencies:
- tailwindcss: 3.3.2
+ tailwindcss: 3.3.0([email protected])
dev: false
- resolution: {integrity: sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==}
- engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-hOXlFx+YcklJ8kXiCAfk/FMyr4Pm9ck477G0m/us2344Vuj355IpoEDB5UmGAsSpTBmr+4ZhjzW04JuFXkb/fw==}
+ engines: {node: '>=12.13.0'}
hasBin: true
+ peerDependencies:
+ postcss: ^8.0.9
dependencies:
- '@alloc/quick-lru': 5.2.0
arg: 5.0.2
chokidar: 3.5.3
+ color-name: 1.1.4
didyoumean: 1.2.2
dlv: 1.1.3
fast-glob: 3.2.12
@@ -4408,13 +4443,14 @@ packages:
normalize-path: 3.0.0
object-hash: 3.0.0
picocolors: 1.0.0
- postcss: 8.4.24
- postcss-import: 15.1.0([email protected])
- postcss-js: 4.0.1([email protected])
- postcss-load-config: 4.0.1([email protected])
- postcss-nested: 6.0.1([email protected])
+ postcss: 8.4.21
+ postcss-import: 14.1.0([email protected])
+ postcss-js: 4.0.1([email protected])
+ postcss-load-config: 3.1.4([email protected])
+ postcss-nested: 6.0.0([email protected])
postcss-selector-parser: 6.0.13
postcss-value-parser: 4.2.0
+ quick-lru: 5.1.1
resolve: 1.22.2
sucrase: 3.32.0
transitivePeerDependencies:
@@ -4739,9 +4775,9 @@ packages:
resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
- resolution: {integrity: sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==}
- engines: {node: '>= 14'}
+ resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
+ engines: {node: '>= 6'}
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 3bcdfb01..a58b5236 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -62,7 +62,7 @@ model Session {
}
model User {
- id String @id @default(cuid())
+ id String @id @default(uuid())
name String?
email String? @unique
role Role @default(USER)
@@ -94,7 +94,6 @@ model Challenge {
name String
description String
prompt String
- upvotes Int
user User @relation(fields: [userId], references: [id])
userId String
Vote Vote[]
@@ -106,13 +105,13 @@ model Challenge {
}
model Vote {
- id Int @id @default(autoincrement())
- user User @relation(fields: [userId], references: [id])
+ id Int @id @default(autoincrement())
+ user User @relation(fields: [userId], references: [id])
userId String
- challenge Challenge @relation(fields: [challengeId], references: [id])
- challengeId Int
- solution Solution @relation(fields: [solutionId], references: [id])
- solutionId Int
+ challenge Challenge? @relation(fields: [challengeId], references: [id])
+ challengeId Int?
+ solution Solution? @relation(fields: [solutionId], references: [id])
+ solutionId Int?
@@index([userId])
@@index([challengeId])
diff --git a/prisma/seed.ts b/prisma/seed.ts
index 0e367f6f..30f39588 100644
--- a/prisma/seed.ts
+++ b/prisma/seed.ts
@@ -8,6 +8,7 @@ async function main() {
where: { id: trashId },
update: {},
create: {
+ id: trashId,
name: 'chris',
Challenge: {
@@ -28,7 +29,6 @@ Extends<HelloWorld, \`\${string}!\`>()
/* _____________ Your Code Here _____________ */
type HelloWorld =`,
difficulty: 'EASY',
- upvotes: 69,
},
},
},
@@ -38,6 +38,7 @@ type HelloWorld =`,
where: { id: gId },
update: {},
create: {
+ id: gId,
name: 'g',
Challenge: {
@@ -54,7 +55,6 @@ type HelloWorld =`,
type T =`,
difficulty: 'EASY',
- upvotes: 420,
},
},
},
diff --git a/src/app/page.tsx b/src/app/page.tsx
index f0e433e4..00f2fd6f 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,6 +1,6 @@
import { getServerSession } from 'next-auth';
import Head from 'next/head';
-import { SignInOutButton } from '~/components/ui/signInOutButton';
+import { SignInOutButton } from '~/components/ui/sign-in-out-button';
import { authOptions } from '~/server/auth';
export default async function Index() {
diff --git a/src/components/challenge/DescriptionPanel.tsx b/src/components/challenge/DescriptionPanel.tsx
deleted file mode 100644
index 36f4e639..00000000
--- a/src/components/challenge/DescriptionPanel.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-'use client';
-
-import ReactMarkdown from 'react-markdown';
-import { Tabs, TabsList, TabsTrigger, TabsContent } from '../ui/tabs';
-
-interface Props {
- description: string;
-}
-export function DescriptionPanel({ description: markdown }: Props) {
- return (
- <div className="flex-1 rounded-md bg-white dark:bg-zinc-800">
- <Tabs defaultValue="description" className="w-full">
- <TabsList className="grid w-full grid-cols-2">
- <TabsTrigger value="description">Description</TabsTrigger>
- <TabsTrigger value="solutions">Solutions</TabsTrigger>
- </TabsList>
- <TabsContent value="description" className="mt-0">
- <div className="prose-invert prose-h3:text-xl">
- <ReactMarkdown>{markdown}</ReactMarkdown>
- </div>
- </TabsContent>
- <TabsContent value="solutions">
- <div className="p-4">solu</div>
- </TabsContent>
- </Tabs>
- </div>
- );
-}
diff --git a/src/components/challenge/description-panel.tsx b/src/components/challenge/description-panel.tsx
new file mode 100644
index 00000000..8c233e49
--- /dev/null
+++ b/src/components/challenge/description-panel.tsx
@@ -0,0 +1,76 @@
+'use client';
+
+import type { Challenge, Vote } from '@prisma/client';
+import { debounce } from 'lodash';
+import { useSession } from 'next-auth/react';
+import ReactMarkdown from 'react-markdown';
+import { Tabs, TabsContent, TabsList, TabsTrigger } from '../ui/tabs';
+import { incrementOrDecrementUpvote } from './increment.action';
+import { useRef, useState } from 'react';
+import { ArrowBigUp } from 'lucide-react';
+import { clsx } from 'clsx';
+
+interface Props {
+ challenge: Challenge & {
+ Vote: Vote[];
+ _count: {
+ Vote: number;
+ };
+ };
+}
+export function DescriptionPanel({ challenge }: Props) {
+ const [votes, setVotes] = useState(challenge._count.Vote);
+ const [hasVoted, setHasVoted] = useState(challenge.Vote.length > 0);
+ const session = useSession();
+ const debouncedSearch = useRef(
+ debounce(async (challengeId: number, userId: string, shouldIncrement: boolean) => {
+ const votes = await incrementOrDecrementUpvote(challengeId, userId, shouldIncrement);
+ if (votes !== undefined && votes !== null) {
+ setVotes(votes);
+ }
+ }, 500),
+ ).current;
+ return (
+ <div className="flex-1 rounded-md bg-white dark:bg-zinc-800">
+ <Tabs defaultValue="description" className="w-full">
+ <TabsList className="grid w-full grid-cols-2">
+ <TabsTrigger value="description">Description</TabsTrigger>
+ <TabsTrigger value="solutions">Solutions</TabsTrigger>
+ </TabsList>
+ <TabsContent value="description" className="mt-0">
+ <div className="flex">
+ <div className="p-t-[2px] flex w-[30px] items-start justify-center">
+ {session?.data?.user?.id && (
+ <button
+ className=""
+ onClick={async () => {
+ let shouldIncrement: boolean;
+ if (hasVoted) {
+ setVotes((v) => v - 1);
+ shouldIncrement = false;
+ setHasVoted(false);
+ } else {
+ setVotes((v) => v + 1);
+ shouldIncrement = true;
+ setHasVoted(true);
+ }
+ debouncedSearch(challenge.id, session?.data?.user?.id, shouldIncrement);
+ }}
+ >
+ <ArrowBigUp className={clsx({ 'fill-red-500': hasVoted })} />
+ {votes}
+ </button>
+ )}
+ </div>
+ <div className="prose-invert prose-h3:text-xl">
+ <ReactMarkdown>{challenge.description}</ReactMarkdown>
+ </div>
+ </div>
+ </TabsContent>
+ <TabsContent value="solutions">
+ <div className="p-4">solu</div>
+ </TabsContent>
+ </Tabs>
+ </div>
+ );
+}
diff --git a/src/components/challenge/increment.action.ts b/src/components/challenge/increment.action.ts
new file mode 100644
index 00000000..cceca3fb
--- /dev/null
+++ b/src/components/challenge/increment.action.ts
@@ -0,0 +1,41 @@
+'use server';
+import { prisma } from '~/server/db';
+
+export async function incrementOrDecrementUpvote(
+ challengeId: number,
+ userId: string,
+ shouldIncrement: boolean,
+) {
+ const voteExists = await prisma.vote.findFirst({
+ where: {
+ challengeId,
+ userId,
+ },
+ });
+ if (!voteExists && shouldIncrement) {
+ await prisma.vote.create({
+ data: {
+ challengeId,
+ userId,
+ },
+ });
+ }
+ if (voteExists && !shouldIncrement) {
+ await prisma.vote.delete({
+ where: {
+ id: voteExists.id,
+ },
+ });
+ }
+
+ const count = await prisma.challenge.findFirst({
+ where: { id: challengeId },
+ include: {
+ _count: {
+ select: { Vote: true },
+ },
+ },
+ });
+
+ return count?._count.Vote;
+}
diff --git a/src/components/challenge/index.tsx b/src/components/challenge/index.tsx
index 9dbc4fa3..b83c4140 100644
--- a/src/components/challenge/index.tsx
+++ b/src/components/challenge/index.tsx
@@ -1,26 +1,41 @@
import { notFound } from 'next/navigation';
import { prisma } from '~/server/db';
+import { DescriptionPanel } from './description-panel';
import { CodePanel } from './editor';
-import { DescriptionPanel } from './DescriptionPanel';
+import { getServerSession } from 'next-auth';
interface Props {
id: string;
}
export async function Challenge({ id }: Props) {
+ const session = await getServerSession();
+ // query a challenge by id
+ // include the count of votes
+ // include if I voted for this challenge
const challenge = await prisma.challenge.findFirst({
where: { id: +id },
+ include: {
+ _count: {
+ select: { Vote: true },
+ },
+ Vote: {
+ where: {
+ userId: session?.user.id,
+ challengeId: +id,
+ },
+ },
+ },
});
if (!challenge) {
notFound();
}
- console.log({ challenge });
return (
<div className="flex h-full gap-2 p-4">
- <DescriptionPanel description={challenge.description} />
+ <DescriptionPanel challenge={challenge} />
- <div className="h-full flex-1 flex flex-col">
+ <div className="flex h-full flex-1 flex-col">
<CodePanel prompt={challenge.prompt} />
</div>
</div>
diff --git a/src/components/challenge/upvote-button.tsx b/src/components/challenge/upvote-button.tsx
new file mode 100644
index 00000000..30e20220
--- /dev/null
+++ b/src/components/challenge/upvote-button.tsx
@@ -0,0 +1,22 @@
+'use client';
+
+type Props = {
+ upvote: number;
+ incrementUpvote: (challengeId: number) => Promise<void>;
+ challengeId: number;
+ setUpvote: (upvote: number) => void;
+};
+
+export default function UpvoteButton({ incrementUpvote, challengeId, upvote, setUpvote }: Props) {
+ return (
+ <button
+ className="rounded-lg bg-slate-700 p-4 text-white"
+ onClick={async () => {
+ const x = await incrementUpvote(challengeId, userId);
+ setUpvote(x);
+ }}
+ >
+ :arrow_up: {upvote}
+ </button>
+ );
+}
diff --git a/src/components/ui/signInOutButton.tsx b/src/components/ui/sign-in-out-button.tsx
similarity index 94%
rename from src/components/ui/signInOutButton.tsx
rename to src/components/ui/sign-in-out-button.tsx
index 2fb14852..f5c66cbe 100644
--- a/src/components/ui/signInOutButton.tsx
+++ b/src/components/ui/sign-in-out-button.tsx
@@ -5,7 +5,6 @@ import { signIn, signOut, useSession } from 'next-auth/react';
export function SignInOutButton() {
const { data: session, status } = useSession();
- console.log({ session });
return (
<button
className="rounded-full bg-white/10 px-10 py-3 font-semibold text-white no-underline transition hover:bg-white/20"
diff --git a/src/middleware.ts b/src/middleware.ts
index 930747f1..e70aafa1 100644
--- a/src/middleware.ts
+++ b/src/middleware.ts
@@ -4,7 +4,6 @@ import { NextResponse } from 'next/server';
export default withAuth(
async function middleware(req) {
- console.log('asdasd');
const token = await getToken({ req });
const isAuth = !!token;
const isAuthPage =
diff --git a/src/styles/globals.css b/src/styles/globals.css
index 949244da..9ab02bea 100644
--- a/src/styles/globals.css
+++ b/src/styles/globals.css
@@ -40,7 +40,7 @@
--background: 224 71% 4%;
--foreground: 213 31% 91%;
- --muted: 223 47% 11%;
+ --muted: 223 10% 11%;
--muted-foreground: 215.4 16.3% 56.9%;
--popover: 224 71% 4%;