Deps migration (#1988)

* chore: migrate eslint to oxlint

* chore: migrate prettier to oxfmt

* chore: migrate typescript

* chore: toThrow should have a expected value

* chore: cast test value as Day

* chore: small title fix

* chore: mocks should be hoisted

* chore: incorrect async useage

* chore: test should be inside description

* chore: test sohuld include an expeced

* chore: oxfmt

---------

Co-authored-by: alex-Arc <omnivox@LAPTOP-RC5SNBVV.localdomain>
This commit is contained in:
Carlos Valente
2026-03-08 16:22:12 +01:00
committed by GitHub
parent 9516ac21bb
commit 1849b4d39f
501 changed files with 2678 additions and 4654 deletions
+5 -5
View File
@@ -1,12 +1,12 @@
import express, { type Request, type Response, type NextFunction } from 'express';
import type { IncomingMessage } from 'node:http';
import type { WebSocket } from 'ws';
import { parse as parseCookie } from 'cookie';
import express, { type NextFunction, type Request, type Response } from 'express';
import type { WebSocket } from 'ws';
import { hashPassword } from '../utils/hash.js';
import { hasPassword, hashedPassword } from '../api-data/session/session.service.js';
import { srcFiles } from '../setup/index.js';
import { hashedPassword, hasPassword } from '../api-data/session/session.service.js';
import { hashPassword } from '../utils/hash.js';
import { noopMiddleware } from './noop.js';
/**
+1 -1
View File
@@ -1,4 +1,4 @@
import type { Request, Response, NextFunction } from 'express';
import type { NextFunction, Request, Response } from 'express';
export function noopMiddleware(_req: Request, _res: Response, next: NextFunction) {
next();
+2 -1
View File
@@ -1,6 +1,7 @@
import expressStaticGzip from 'express-static-gzip';
import { extname } from 'node:path';
import expressStaticGzip from 'express-static-gzip';
import { srcDir } from '../setup/index.js';
// serve static - react, in dev/test mode we fetch the React app from module