mirror of
https://github.com/diced/zipline.git
synced 2025-12-12 07:40:45 -08:00
chore: lint + upgrade packages
This commit is contained in:
88
package.json
88
package.json
@@ -26,37 +26,37 @@
|
||||
"docker:compose:dev:logs": "docker-compose --file docker-compose.dev.yml logs -f"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "3.832.0",
|
||||
"@aws-sdk/lib-storage": "3.832.0",
|
||||
"@aws-sdk/client-s3": "3.859.0",
|
||||
"@aws-sdk/lib-storage": "3.859.0",
|
||||
"@fastify/cookie": "^11.0.2",
|
||||
"@fastify/cors": "^11.0.1",
|
||||
"@fastify/cors": "^11.1.0",
|
||||
"@fastify/multipart": "^9.0.3",
|
||||
"@fastify/rate-limit": "^10.3.0",
|
||||
"@fastify/sensible": "^6.0.3",
|
||||
"@fastify/static": "^8.2.0",
|
||||
"@github/webauthn-json": "^2.1.1",
|
||||
"@mantine/charts": "^8.1.1",
|
||||
"@mantine/code-highlight": "^8.1.1",
|
||||
"@mantine/core": "^8.1.1",
|
||||
"@mantine/dates": "^8.1.1",
|
||||
"@mantine/dropzone": "^8.1.1",
|
||||
"@mantine/form": "^8.1.1",
|
||||
"@mantine/hooks": "^8.1.1",
|
||||
"@mantine/modals": "^8.1.1",
|
||||
"@mantine/notifications": "^8.1.1",
|
||||
"@prisma/client": "^6.10.1",
|
||||
"@prisma/internals": "^6.10.1",
|
||||
"@prisma/migrate": "^6.10.1",
|
||||
"@smithy/node-http-handler": "^4.0.6",
|
||||
"@tabler/icons-react": "^3.34.0",
|
||||
"argon2": "^0.43.0",
|
||||
"@mantine/charts": "^8.2.2",
|
||||
"@mantine/code-highlight": "^8.2.2",
|
||||
"@mantine/core": "^8.2.2",
|
||||
"@mantine/dates": "^8.2.2",
|
||||
"@mantine/dropzone": "^8.2.2",
|
||||
"@mantine/form": "^8.2.2",
|
||||
"@mantine/hooks": "^8.2.2",
|
||||
"@mantine/modals": "^8.2.2",
|
||||
"@mantine/notifications": "^8.2.2",
|
||||
"@prisma/client": "^6.13.0",
|
||||
"@prisma/internals": "^6.13.0",
|
||||
"@prisma/migrate": "^6.13.0",
|
||||
"@smithy/node-http-handler": "^4.1.0",
|
||||
"@tabler/icons-react": "^3.34.1",
|
||||
"argon2": "^0.43.1",
|
||||
"bytes": "^3.1.2",
|
||||
"clsx": "^2.1.1",
|
||||
"colorette": "^2.0.20",
|
||||
"commander": "^14.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"cross-env": "^10.0.0",
|
||||
"dayjs": "^1.11.13",
|
||||
"dotenv": "^16.5.0",
|
||||
"dotenv": "^17.2.1",
|
||||
"fast-glob": "^3.3.3",
|
||||
"fastify": "^5.4.0",
|
||||
"fastify-plugin": "^5.0.1",
|
||||
@@ -64,54 +64,54 @@
|
||||
"fluent-ffmpeg": "^2.1.3",
|
||||
"highlight.js": "^11.11.1",
|
||||
"iron-session": "^8.0.4",
|
||||
"isomorphic-dompurify": "^2.25.0",
|
||||
"isomorphic-dompurify": "^2.26.0",
|
||||
"katex": "^0.16.22",
|
||||
"mantine-datatable": "^8.1.1",
|
||||
"mantine-datatable": "^8.2.0",
|
||||
"ms": "^2.1.3",
|
||||
"multer": "2.0.1",
|
||||
"next": "^15.3.4",
|
||||
"multer": "2.0.2",
|
||||
"next": "^15.4.5",
|
||||
"nuqs": "^2.4.3",
|
||||
"otplib": "^12.0.1",
|
||||
"prisma": "^6.10.1",
|
||||
"prisma": "^6.13.0",
|
||||
"qrcode": "^1.5.4",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"react": "^19.1.1",
|
||||
"react-dom": "^19.1.1",
|
||||
"react-markdown": "^10.1.0",
|
||||
"remark-gfm": "^4.0.1",
|
||||
"sharp": "^0.34.2",
|
||||
"swr": "^2.3.3",
|
||||
"typescript-eslint": "^8.34.1",
|
||||
"zod": "^3.25.67",
|
||||
"zustand": "^5.0.5"
|
||||
"sharp": "^0.34.3",
|
||||
"swr": "^2.3.4",
|
||||
"typescript-eslint": "^8.38.0",
|
||||
"zod": "^4.0.14",
|
||||
"zustand": "^5.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/eslint-plugin-next": "^15.3.4",
|
||||
"@next/eslint-plugin-next": "^15.4.5",
|
||||
"@types/bytes": "^3.1.5",
|
||||
"@types/fluent-ffmpeg": "^2.1.27",
|
||||
"@types/katex": "^0.16.7",
|
||||
"@types/ms": "^2.1.0",
|
||||
"@types/multer": "^1.4.13",
|
||||
"@types/node": "^24.0.3",
|
||||
"@types/multer": "^2.0.0",
|
||||
"@types/node": "^24.1.0",
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"@types/react": "^19.1.8",
|
||||
"@types/react-dom": "^19.1.6",
|
||||
"eslint": "^9.29.0",
|
||||
"eslint-config-next": "^15.3.4",
|
||||
"eslint-config-prettier": "^10.1.5",
|
||||
"@types/react": "^19.1.9",
|
||||
"@types/react-dom": "^19.1.7",
|
||||
"eslint": "^9.32.0",
|
||||
"eslint-config-next": "^15.4.5",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||
"eslint-plugin-prettier": "^5.5.0",
|
||||
"eslint-plugin-prettier": "^5.5.3",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^5.2.0",
|
||||
"eslint-plugin-unused-imports": "^4.1.4",
|
||||
"postcss": "^8.5.6",
|
||||
"postcss-preset-mantine": "^1.17.0",
|
||||
"postcss-preset-mantine": "^1.18.0",
|
||||
"postcss-simple-vars": "^7.0.1",
|
||||
"prettier": "^3.5.3",
|
||||
"prettier": "^3.6.2",
|
||||
"sass": "^1.89.2",
|
||||
"tsc-alias": "^1.8.16",
|
||||
"tsup": "^8.5.0",
|
||||
"tsx": "^4.20.3",
|
||||
"typescript": "^5.8.3"
|
||||
"typescript": "^5.9.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
|
||||
2799
pnpm-lock.yaml
generated
2799
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -91,7 +91,7 @@ export default fastifyPlugin(
|
||||
PATH,
|
||||
{ preHandler: [userMiddleware], ...secondlyRatelimit(2) },
|
||||
async (req, res) => {
|
||||
const { files, favorite, folder } = req.body;
|
||||
const { files } = req.body;
|
||||
|
||||
if (!files || !files.length) return res.badRequest('Cannot process transaction without files');
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { User, userSelect } from '@/lib/db/models/user';
|
||||
import { log } from '@/lib/logger';
|
||||
import { generateKey, totpQrcode, verifyTotpCode } from '@/lib/totp';
|
||||
import { userMiddleware } from '@/server/middleware/user';
|
||||
import { FastifyReply } from 'fastify';
|
||||
import { FastifyReply, FastifyRequest } from 'fastify';
|
||||
import fastifyPlugin from 'fastify-plugin';
|
||||
|
||||
export type ApiUserMfaTotpResponse = User | { secret: string } | { secret: string; qrcode: string };
|
||||
@@ -16,7 +16,7 @@ type Body = {
|
||||
|
||||
const logger = log('api').c('user').c('mfa').c('totp');
|
||||
|
||||
const totpEnabledMiddleware = (_, res: FastifyReply, next: () => void) => {
|
||||
const totpEnabledMiddleware = (_: FastifyRequest, res: FastifyReply, next: () => void) => {
|
||||
if (!config.mfa.totp.enabled) {
|
||||
return res.badRequest('TOTP is disabled');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user