⬆️(dependencies) update js dependencies

This commit is contained in:
Anthony LC
2025-04-23 11:43:50 +02:00
parent cdafe6fd33
commit 5268699d50
11 changed files with 2503 additions and 778 deletions

View File

@@ -1,9 +1,9 @@
module.exports = { module.exports = {
root: true, root: true,
extends: ["impress/playwright"], extends: ['impress/playwright'],
parserOptions: { parserOptions: {
tsconfigRootDir: __dirname, tsconfigRootDir: __dirname,
project: ["./tsconfig.json"], project: ['./tsconfig.json'],
}, },
ignorePatterns: ["node_modules"], ignorePatterns: ['node_modules'],
}; };

View File

@@ -78,6 +78,7 @@ export const createDoc = async (
}); });
const input = page.getByLabel('doc title input'); const input = page.getByLabel('doc title input');
await expect(input).toBeVisible();
await expect(input).toHaveText(''); await expect(input).toHaveText('');
await input.click(); await input.click();

View File

@@ -79,11 +79,14 @@ test.describe('Config', () => {
test('it checks that collaboration server is configured from config endpoint', async ({ test('it checks that collaboration server is configured from config endpoint', async ({
page, page,
browserName,
}) => { }) => {
await page.goto('/'); await page.goto('/');
void createDoc(page, 'doc-collaboration', browserName, 1); void page
.getByRole('button', {
name: 'New doc',
})
.click();
const webSocket = await page.waitForEvent('websocket', (webSocket) => { const webSocket = await page.waitForEvent('websocket', (webSocket) => {
return webSocket.url().includes('ws://localhost:4444/collaboration/ws/'); return webSocket.url().includes('ws://localhost:4444/collaboration/ws/');

View File

@@ -12,9 +12,9 @@
"test:ui::chromium": "yarn test:ui --project=chromium" "test:ui::chromium": "yarn test:ui --project=chromium"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "1.50.1", "@playwright/test": "1.52.0",
"@types/node": "*", "@types/node": "*",
"@types/pdf-parse": "1.1.4", "@types/pdf-parse": "1.1.5",
"eslint-config-impress": "*", "eslint-config-impress": "*",
"typescript": "*" "typescript": "*"
}, },

View File

@@ -22,32 +22,32 @@
"@blocknote/xl-docx-exporter": "0.23.2-hotfix.0", "@blocknote/xl-docx-exporter": "0.23.2-hotfix.0",
"@blocknote/xl-pdf-exporter": "0.23.2-hotfix.0", "@blocknote/xl-pdf-exporter": "0.23.2-hotfix.0",
"@fontsource/material-icons": "5.2.5", "@fontsource/material-icons": "5.2.5",
"@gouvfr-lasuite/integration": "1.0.2", "@gouvfr-lasuite/integration": "1.0.3",
"@gouvfr-lasuite/ui-kit": "0.1.3", "@gouvfr-lasuite/ui-kit": "0.4.0",
"@hocuspocus/provider": "2.15.2", "@hocuspocus/provider": "2.15.2",
"@openfun/cunningham-react": "3.0.0", "@openfun/cunningham-react": "3.0.0",
"@react-pdf/renderer": "4.1.6", "@react-pdf/renderer": "4.1.6",
"@sentry/nextjs": "9.3.0", "@sentry/nextjs": "9.13.0",
"@tanstack/react-query": "5.67.1", "@tanstack/react-query": "5.74.4",
"canvg": "4.0.3", "canvg": "4.0.3",
"clsx": "2.1.1", "clsx": "2.1.1",
"cmdk": "1.0.4", "cmdk": "1.1.1",
"crisp-sdk-web": "1.0.25", "crisp-sdk-web": "1.0.25",
"docx": "9.1.1", "docx": "9.1.1",
"i18next": "24.2.2", "i18next": "25.0.1",
"i18next-browser-languagedetector": "8.0.4", "i18next-browser-languagedetector": "8.0.5",
"idb": "8.0.2", "idb": "8.0.2",
"lodash": "4.17.21", "lodash": "4.17.21",
"luxon": "3.5.0", "luxon": "3.6.1",
"next": "15.2.4", "next": "15.3.1",
"posthog-js": "1.227.0", "posthog-js": "1.236.5",
"react": "*", "react": "*",
"react-aria-components": "1.6.0", "react-aria-components": "1.8.0",
"react-dom": "*", "react-dom": "*",
"react-i18next": "15.4.1", "react-i18next": "15.4.1",
"react-intersection-observer": "9.15.1", "react-intersection-observer": "9.16.0",
"react-select": "5.10.1", "react-select": "5.10.1",
"styled-components": "6.1.15", "styled-components": "6.1.17",
"use-debounce": "10.0.4", "use-debounce": "10.0.4",
"y-protocols": "1.0.6", "y-protocols": "1.0.6",
"yjs": "*", "yjs": "*",
@@ -55,30 +55,30 @@
}, },
"devDependencies": { "devDependencies": {
"@svgr/webpack": "8.1.0", "@svgr/webpack": "8.1.0",
"@tanstack/react-query-devtools": "5.67.1", "@tanstack/react-query-devtools": "5.74.4",
"@testing-library/dom": "10.4.0", "@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3", "@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.2.0", "@testing-library/react": "16.3.0",
"@testing-library/user-event": "14.6.1", "@testing-library/user-event": "14.6.1",
"@types/jest": "29.5.14", "@types/jest": "29.5.14",
"@types/lodash": "4.17.16", "@types/lodash": "4.17.16",
"@types/luxon": "3.4.2", "@types/luxon": "3.6.2",
"@types/node": "*", "@types/node": "*",
"@types/react": "*", "@types/react": "*",
"@types/react-dom": "*", "@types/react-dom": "*",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"dotenv": "16.4.7", "dotenv": "16.5.0",
"eslint-config-impress": "*", "eslint-config-impress": "*",
"fetch-mock": "9.11.0", "fetch-mock": "9.11.0",
"jest": "29.7.0", "jest": "29.7.0",
"jest-environment-jsdom": "29.7.0", "jest-environment-jsdom": "29.7.0",
"node-fetch": "2.7.0", "node-fetch": "2.7.0",
"prettier": "3.5.3", "prettier": "3.5.3",
"stylelint": "16.15.0", "stylelint": "16.18.0",
"stylelint-config-standard": "37.0.0", "stylelint-config-standard": "38.0.0",
"stylelint-prettier": "5.0.3", "stylelint-prettier": "5.0.3",
"typescript": "*", "typescript": "*",
"webpack": "5.98.0", "webpack": "5.99.6",
"workbox-webpack-plugin": "7.1.0" "workbox-webpack-plugin": "7.1.0"
} }
} }

View File

@@ -28,15 +28,15 @@
"server:test": "yarn COLLABORATION_SERVER run test" "server:test": "yarn COLLABORATION_SERVER run test"
}, },
"resolutions": { "resolutions": {
"@types/node": "22.13.9", "@types/node": "22.14.1",
"@types/react": "19.0.0", "@types/react": "19.1.2",
"@types/react-dom": "19.0.0", "@types/react-dom": "19.1.2",
"@typescript-eslint/eslint-plugin": "8.26.0", "@typescript-eslint/eslint-plugin": "8.31.0",
"@typescript-eslint/parser": "8.26.0", "@typescript-eslint/parser": "8.31.0",
"eslint": "8.57.0", "eslint": "8.57.0",
"react": "19.0.0", "react": "19.1.0",
"react-dom": "19.0.0", "react-dom": "19.1.0",
"typescript": "5.8.2", "typescript": "5.8.3",
"yjs": "13.6.23" "yjs": "13.6.26"
} }
} }

View File

@@ -6,19 +6,18 @@
"lint": "eslint --ext .js ." "lint": "eslint --ext .js ."
}, },
"dependencies": { "dependencies": {
"@next/eslint-plugin-next": "15.2.1", "@next/eslint-plugin-next": "15.3.1",
"@tanstack/eslint-plugin-query": "5.66.1", "@tanstack/eslint-plugin-query": "5.73.3",
"@typescript-eslint/eslint-plugin": "*", "@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*", "@typescript-eslint/parser": "*",
"eslint": "*", "eslint": "*",
"eslint-config-next": "15.2.1", "eslint-config-next": "15.3.1",
"eslint-config-prettier": "10.0.2", "eslint-config-prettier": "10.1.2",
"eslint-plugin-import": "2.31.0", "eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.11.0", "eslint-plugin-jest": "28.11.0",
"eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-playwright": "2.2.0", "eslint-plugin-playwright": "2.2.0",
"eslint-plugin-prettier": "5.2.3", "eslint-plugin-prettier": "5.2.6",
"eslint-plugin-react": "7.37.4",
"eslint-plugin-testing-library": "7.1.1", "eslint-plugin-testing-library": "7.1.1",
"prettier": "3.5.3" "prettier": "3.5.3"
} }

View File

@@ -18,7 +18,7 @@
"eslint-plugin-import": "2.31.0", "eslint-plugin-import": "2.31.0",
"i18next-parser": "9.3.0", "i18next-parser": "9.3.0",
"jest": "29.7.0", "jest": "29.7.0",
"ts-jest": "29.2.6", "ts-jest": "29.3.2",
"typescript": "*", "typescript": "*",
"yargs": "17.7.2" "yargs": "17.7.2"
} }

View File

@@ -10,5 +10,8 @@ module.exports = {
rootDir: __dirname, rootDir: __dirname,
}, },
}, },
rules: {
'@next/next/no-html-link-for-pages': 'off',
},
ignorePatterns: ['node_modules', '.eslintrc.js'], ignorePatterns: ['node_modules', '.eslintrc.js'],
}; };

View File

@@ -16,13 +16,13 @@
"node": ">=18" "node": ">=18"
}, },
"dependencies": { "dependencies": {
"@blocknote/server-util": "0.23.2", "@blocknote/server-util": "0.23.2-hotfix.0",
"@hocuspocus/server": "2.15.2", "@hocuspocus/server": "2.15.2",
"@sentry/node": "9.3.0", "@sentry/node": "9.13.0",
"@sentry/profiling-node": "9.3.0", "@sentry/profiling-node": "9.13.0",
"axios": "1.8.2", "axios": "1.8.4",
"cors": "2.8.5", "cors": "2.8.5",
"express": "4.21.2", "express": "5.1.0",
"express-ws": "5.0.2", "express-ws": "5.0.2",
"uuid": "11.1.0", "uuid": "11.1.0",
"y-protocols": "1.0.6", "y-protocols": "1.0.6",
@@ -31,20 +31,20 @@
"devDependencies": { "devDependencies": {
"@hocuspocus/provider": "2.15.2", "@hocuspocus/provider": "2.15.2",
"@types/cors": "2.8.17", "@types/cors": "2.8.17",
"@types/express": "5.0.0", "@types/express": "5.0.1",
"@types/express-ws": "3.0.5", "@types/express-ws": "3.0.5",
"@types/jest": "29.5.14", "@types/jest": "29.5.14",
"@types/node": "*", "@types/node": "*",
"@types/supertest": "6.0.2", "@types/supertest": "6.0.3",
"@types/ws": "8.5.14", "@types/ws": "8.18.1",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"eslint-config-impress": "*", "eslint-config-impress": "*",
"jest": "29.7.0", "jest": "29.7.0",
"nodemon": "3.1.9", "nodemon": "3.1.9",
"supertest": "7.0.0", "supertest": "7.1.0",
"ts-jest": "29.2.6", "ts-jest": "29.3.2",
"ts-node": "10.9.2", "ts-node": "10.9.2",
"tsc-alias": "1.8.11", "tsc-alias": "1.8.15",
"typescript": "*", "typescript": "*",
"ws": "8.18.1" "ws": "8.18.1"
} }

File diff suppressed because it is too large Load Diff