diff --git a/package.json b/package.json index d4f86c0f61..6ea894910e 100644 --- a/package.json +++ b/package.json @@ -68,17 +68,17 @@ "@microsoft/api-extractor": "^7.23.0", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-node-resolve": "^15.1.0", - "@testing-library/jest-dom": "^6.0.0", - "@testing-library/react": "^14.0.0", - "@testing-library/user-event": "^14.1.1", + "@testing-library/jest-dom": "^6.2.0", + "@testing-library/react": "^14.1.2", + "@testing-library/user-event": "^14.5.2", "@types/lodash-es": "^4.17.7", "@types/node": "^20.10.3", "@types/react": "^18.2.35", "@types/react-dom": "^18.2.4", "@typescript-eslint/eslint-plugin": "^6.1.0", "@typescript-eslint/parser": "^6.1.0", - "@vitejs/plugin-react": "^4.0.2", - "@vitest/coverage-v8": "^1.0.0", + "@vitejs/plugin-react": "^4.2.1", + "@vitest/coverage-v8": "^1.2.0", "@wyw-in-js/rollup": "^0.2.2", "@wyw-in-js/vite": "^0.2.2", "babel-plugin-optimize-clsx": "^2.6.2", @@ -91,12 +91,12 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-sonarjs": "^0.23.0", "eslint-plugin-testing-library": "^6.2.0", - "jsdom": "^23.0.1", + "jsdom": "23.1.0", "jspdf": "^2.5.1", "jspdf-autotable": "^3.5.23", "lodash-es": "^4.17.21", "postcss": "^8.4.25", - "prettier": "3.1.1", + "prettier": "3.2.2", "react": "^18.1.0", "react-dnd": "^16.0.1", "react-dnd-html5-backend": "^16.0.1", @@ -105,8 +105,8 @@ "rollup": "^4.0.2", "rollup-plugin-postcss": "^4.0.2", "typescript": "~5.3.2", - "vite": "^5.0.0", - "vitest": "^1.0.0" + "vite": "^5.0.11", + "vitest": "^1.2.0" }, "peerDependencies": { "react": "^18.0", diff --git a/vite.config.ts b/vite.config.ts index a1ae2b5047..081c187717 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -32,7 +32,6 @@ export default defineConfig({ test: { root: '.', environment: 'jsdom', - pool: 'vmThreads', globals: true, coverage: { provider: 'v8', @@ -40,6 +39,7 @@ export default defineConfig({ include: ['src/**/*.{ts,tsx}', '!src/types.ts'], reporter: ['text', 'json'] }, + pool: 'vmThreads', poolOptions: { vmThreads: { useAtomics: true