Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/frontend/apps/e2e/__tests__/app-impress/doc-grid.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ test.describe('Documents Grid', () => {
test('checks all the elements are visible', async ({ page }) => {
void page.goto('/');

let docs: SmallDoc[] = [];
let docs: SmallDoc[];
const response = await page.waitForResponse(
(response) =>
response.url().endsWith('documents/?page=1') &&
Expand All @@ -290,7 +290,7 @@ test.describe('Documents Grid', () => {
});

test('checks the infinite scroll', async ({ page }) => {
let docs: SmallDoc[] = [];
let docs: SmallDoc[];
const responsePromisePage1 = page.waitForResponse((response) => {
return (
response.url().endsWith(`/documents/?page=1`) &&
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/apps/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test:ui::chromium": "yarn test:ui --project=chromium"
},
"devDependencies": {
"@playwright/test": "1.57.0",
"@playwright/test": "1.58.2",
"@types/node": "*",
"@types/pdf-parse": "1.1.5",
"eslint-plugin-docs": "*",
Expand Down
68 changes: 34 additions & 34 deletions src/frontend/apps/impress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,30 @@
},
"dependencies": {
"@ag-media/react-pdf-table": "2.0.3",
"@blocknote/code-block": "0.46.2",
"@blocknote/core": "0.46.2",
"@blocknote/mantine": "0.46.2",
"@blocknote/react": "0.46.2",
"@blocknote/xl-docx-exporter": "0.46.2",
"@blocknote/xl-multi-column": "0.46.2",
"@blocknote/xl-odt-exporter": "0.46.2",
"@blocknote/xl-pdf-exporter": "0.46.2",
"@blocknote/code-block": "0.47.0",
"@blocknote/core": "0.47.0",
"@blocknote/mantine": "0.47.0",
"@blocknote/react": "0.47.0",
"@blocknote/xl-docx-exporter": "0.47.0",
"@blocknote/xl-multi-column": "0.47.0",
"@blocknote/xl-odt-exporter": "0.47.0",
"@blocknote/xl-pdf-exporter": "0.47.0",
"@dnd-kit/core": "6.3.1",
"@dnd-kit/modifiers": "9.0.0",
"@emoji-mart/data": "1.2.1",
"@emoji-mart/react": "1.1.1",
"@fontsource-variable/inter": "5.2.8",
"@fontsource-variable/material-symbols-outlined": "5.2.31",
"@fontsource-variable/material-symbols-outlined": "5.2.35",
"@fontsource/material-icons": "5.2.7",
"@gouvfr-lasuite/cunningham-react": "4.1.0",
"@gouvfr-lasuite/cunningham-react": "4.2.0",
"@gouvfr-lasuite/integration": "1.0.3",
"@gouvfr-lasuite/ui-kit": "0.18.7",
"@hocuspocus/provider": "3.4.3",
"@mantine/core": "8.3.12",
"@mantine/hooks": "8.3.12",
"@gouvfr-lasuite/ui-kit": "0.19.6",
"@hocuspocus/provider": "3.4.4",
"@mantine/core": "8.3.14",
"@mantine/hooks": "8.3.14",
"@react-pdf/renderer": "4.3.1",
"@sentry/nextjs": "10.34.0",
"@tanstack/react-query": "5.90.18",
"@sentry/nextjs": "10.38.0",
"@tanstack/react-query": "5.90.21",
"@tiptap/extensions": "*",
"canvg": "4.0.3",
"clsx": "2.1.1",
Expand All @@ -51,56 +51,56 @@
"emoji-datasource-apple": "16.0.0",
"emoji-mart": "5.6.0",
"emoji-regex": "10.6.0",
"i18next": "25.7.4",
"i18next-browser-languagedetector": "8.2.0",
"i18next": "25.8.8",
"i18next-browser-languagedetector": "8.2.1",
"idb": "8.0.3",
"lodash": "4.17.23",
"luxon": "3.7.2",
"next": "15.5.9",
"posthog-js": "1.325.0",
"next": "15.5.10",
"posthog-js": "1.347.2",
"react": "*",
"react-aria-components": "1.14.0",
"react-aria-components": "1.15.1",
"react-dom": "*",
"react-dropzone": "14.3.8",
"react-i18next": "16.5.3",
"react-dropzone": "15.0.0",
"react-i18next": "16.5.4",
"react-intersection-observer": "10.0.2",
"react-resizable-panels": "3.0.6",
"react-select": "5.10.2",
"styled-components": "6.3.8",
"styled-components": "6.3.9",
"use-debounce": "10.1.0",
"uuid": "13.0.0",
"y-protocols": "1.0.7",
"yjs": "*",
"zustand": "5.0.10"
"zustand": "5.0.11"
},
"devDependencies": {
"@svgr/webpack": "8.1.0",
"@tanstack/react-query-devtools": "5.91.2",
"@tanstack/react-query-devtools": "5.91.3",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.1",
"@testing-library/react": "16.3.2",
"@testing-library/user-event": "14.6.1",
"@types/lodash": "4.17.23",
"@types/luxon": "3.7.1",
"@types/node": "*",
"@types/react": "*",
"@types/react-dom": "*",
"@vitejs/plugin-react": "5.1.2",
"@vitejs/plugin-react": "5.1.4",
"copy-webpack-plugin": "13.0.1",
"cross-env": "10.1.0",
"dotenv": "17.2.3",
"dotenv": "17.3.1",
"eslint-plugin-docs": "*",
"fetch-mock": "9.11.0",
"jsdom": "27.4.0",
"jsdom": "28.1.0",
"node-fetch": "2.7.0",
"prettier": "3.8.0",
"prettier": "3.8.1",
"stylelint": "16.26.1",
"stylelint-config-standard": "39.0.1",
"stylelint-prettier": "5.0.3",
"typescript": "*",
"vite-tsconfig-paths": "6.0.4",
"vitest": "4.0.17",
"webpack": "5.104.1",
"vite-tsconfig-paths": "6.1.1",
"vitest": "4.0.18",
"webpack": "5.105.2",
"workbox-webpack-plugin": "7.1.0"
},
"packageManager": "yarn@1.22.22"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export const improveHtmlAccessibility = (
}

let previousSibling = item.previousElementSibling;
let listContainer: HTMLElement | null = null;
let listContainer: HTMLElement | null;

if (previousSibling?.tagName.toLowerCase() === 'ul') {
listContainer = previousSibling as HTMLElement;
Expand Down Expand Up @@ -409,7 +409,7 @@ export const addMediaFilesToZip = async (

// Only download same-origin resources (internal media like /media/...).
// External URLs keep their original src and are not included in the ZIP
let url: URL | null = null;
let url: URL | null;
try {
url = new URL(src, mediaUrl);
} catch {
Expand Down
1 change: 1 addition & 0 deletions src/frontend/apps/impress/src/i18n/initI18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ let isInitialized = false;

// Initialize i18next with the base translations only once
if (!isInitialized && !i18next.isInitialized) {
// eslint-disable-next-line no-useless-assignment
isInitialized = true;

i18next
Expand Down
15 changes: 8 additions & 7 deletions src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@
"server:test": "yarn COLLABORATION_SERVER run test"
},
"resolutions": {
"@tiptap/extensions": "3.14.0",
"@types/node": "24.10.9",
"@types/react": "19.2.8",
"@tiptap/extensions": "3.19.0",
"@types/node": "24.10.13",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"eslint": "9.39.2",
"prosemirror-view": "1.41.4",
"react": "19.2.3",
"react-dom": "19.2.3",
"eslint": "10.0.1",
"glob": "13.0.6",
"prosemirror-view": "1.41.6",
"react": "19.2.4",
"react-dom": "19.2.4",
"typescript": "5.9.3",
"wrap-ansi": "9.0.2",
"yjs": "13.6.29"
Expand Down
22 changes: 12 additions & 10 deletions src/frontend/packages/eslint-plugin-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,26 @@
"lint": "eslint"
},
"peerDependencies": {
"eslint": ">=9.0.0"
"eslint": ">=10.0.1"
},
"dependencies": {
"@next/eslint-plugin-next": "15.5.9",
"@tanstack/eslint-plugin-query": "5.91.2",
"@typescript-eslint/eslint-plugin": "8.53.0",
"@typescript-eslint/parser": "8.53.0",
"@vitest/eslint-plugin": "1.6.6",
"eslint-config-next": "15.5.9",
"@eslint/js": "10.0.1",
"@next/eslint-plugin-next": "15.5.10",
"@tanstack/eslint-plugin-query": "5.91.4",
"@typescript-eslint/eslint-plugin": "8.56.0",
"@typescript-eslint/parser": "8.56.0",
"@typescript-eslint/utils": "8.56.0",
"@vitest/eslint-plugin": "1.6.9",
"eslint-config-next": "15.5.10",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jest": "29.12.1",
"eslint-plugin-jest": "29.15.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-playwright": "2.5.0",
"eslint-plugin-playwright": "2.5.1",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-testing-library": "7.15.4",
"prettier": "3.8.0"
"prettier": "3.8.1"
},
"packageManager": "yarn@1.22.22"
}
16 changes: 8 additions & 8 deletions src/frontend/servers/y-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@
"node": ">=22"
},
"dependencies": {
"@blocknote/server-util": "0.46.2",
"@hocuspocus/server": "3.4.3",
"@sentry/node": "10.34.0",
"@sentry/profiling-node": "10.34.0",
"@blocknote/server-util": "0.47.0",
"@hocuspocus/server": "3.4.4",
"@sentry/node": "10.38.0",
"@sentry/profiling-node": "10.38.0",
"@tiptap/extensions": "*",
"axios": "1.13.5",
"cors": "2.8.5",
"cors": "2.8.6",
"express": "5.2.1",
"express-ws": "5.0.2",
"uuid": "13.0.0",
"y-protocols": "1.0.7",
"yjs": "*"
},
"devDependencies": {
"@blocknote/core": "0.46.2",
"@hocuspocus/provider": "3.4.3",
"@blocknote/core": "0.47.0",
"@hocuspocus/provider": "3.4.4",
"@types/cors": "2.8.19",
"@types/express": "5.0.6",
"@types/express-ws": "3.0.6",
Expand All @@ -45,7 +45,7 @@
"ts-node": "10.9.2",
"tsc-alias": "1.8.16",
"typescript": "*",
"vitest": "4.0.17",
"vitest": "4.0.18",
"vitest-mock-extended": "3.1.0",
"ws": "8.19.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const convertHandler = async (
DefaultInlineContentSchema,
DefaultStyleSchema
>[]
| null = null;
| null;
try {
try {
blocks = await reader.read(req.body);
Expand Down
5 changes: 2 additions & 3 deletions src/frontend/servers/y-provider/src/servers/appServer.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// eslint-disable-next-line import/order
import '../services/sentry';

import * as Sentry from '@sentry/node';
import express from 'express';
import expressWebsockets from 'express-ws';
Expand All @@ -16,6 +13,8 @@ import { corsMiddleware, httpSecurity, wsSecurity } from '@/middlewares';
import { routes } from '@/routes';
import { logger } from '@/utils';

import '../services/sentry';

/**
* init the collaboration server.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const hocuspocusServer = new Server({
return Promise.reject(new Error('Wrong room name: Unauthorized'));
}

let canEdit = false;
let canEdit;

try {
const document = await fetchDocument(documentName, requestHeaders);
Expand Down
Loading
Loading