diff --git a/package-lock.json b/package-lock.json index 2527fdb..10d0726 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@sveltejs/kit": "^2.5.5", "@sveltejs/package": "^2.3.1", "@sveltejs/vite-plugin-svelte": "^3.1.0", - "@testing-library/svelte": "^4.1.0", + "@testing-library/svelte": "^5.1.0", "@types/eslint": "^8.56.7", "@typescript-eslint/eslint-plugin": "^7.6.0", "@typescript-eslint/parser": "^7.6.0", @@ -1894,10 +1894,11 @@ } }, "node_modules/@testing-library/svelte": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@testing-library/svelte/-/svelte-4.1.0.tgz", - "integrity": "sha512-MJqe7x9WowkiAVdk9mvazEC2ktFZdmK2OqFVoO557PC37aBemQ4ozqdK3yrG34Zg9kuln3qgTVeLSh08e69AMw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@testing-library/svelte/-/svelte-5.1.0.tgz", + "integrity": "sha512-8GW+rBR72U7Qql0Glxl4CtVTr6GPotYf/MB7MamIH6ZpV45i7IJIOm3oHWH4Wr6ZULdUs37F9recegQygLbC0g==", "dev": true, + "license": "MIT", "dependencies": { "@testing-library/dom": "^9.3.1" }, @@ -1905,7 +1906,17 @@ "node": ">= 10" }, "peerDependencies": { - "svelte": "^3 || ^4" + "svelte": "^3 || ^4 || ^5", + "vite": "*", + "vitest": "*" + }, + "peerDependenciesMeta": { + "vite": { + "optional": true + }, + "vitest": { + "optional": true + } } }, "node_modules/@types/aria-query": { diff --git a/package.json b/package.json index 398ae52..43bf6bd 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "@sveltejs/kit": "^2.5.5", "@sveltejs/package": "^2.3.1", "@sveltejs/vite-plugin-svelte": "^3.1.0", - "@testing-library/svelte": "^4.1.0", + "@testing-library/svelte": "^5.1.0", "@types/eslint": "^8.56.7", "@typescript-eslint/eslint-plugin": "^7.6.0", "@typescript-eslint/parser": "^7.6.0",