chore: update direct dependencies (#26172)

Updates:
- vite: 4.5.3→4.5.14, 5.4.6→5.4.21
- nodemailer: 6.7.8→7.0.11
- @playwright/test: 1.45.3→1.55.1
- next-auth: 4.22.1→4.24.13
- class-validator: 0.14.0→0.14.3
- dompurify: 3.2.3→3.3.1

Includes type fixes for next-auth adapter compatibility
This commit is contained in:
Pedro Castro authored and GitHub committed 2025-12-23 23:42:55 -03:00
1 parent 054a0fa7db
commit 99b82c55d5
17 files changed
+175 -101

No files matched your search

+2 -2
View File
@@ -45,13 +45,13 @@
},
"devDependencies": {
"@calcom/eslint-config": "workspace:*",
"@playwright/test": "^1.45.3",
"@playwright/test": "^1.55.1",
"@types/react": "18.0.26",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^2.2.0",
"npm-run-all": "^4.1.5",
"typescript": "5.9.2",
"vite": "^4.5.2"
"vite": "^4.5.14"
},
"dependencies": {
"@calcom/embed-core": "workspace:*",
@@ -1,7 +1,7 @@
import { expect } from "@playwright/test";
import { getEmbedIframe } from "@calcom/embed-core/playwright/lib/testUtils";
// eslint-disable-next-line no-restricted-imports
import { test } from "@calcom/web/playwright/lib/fixtures";
test.describe("React Embed", () => {
@@ -13,7 +13,7 @@ test.describe("React Embed", () => {
const calNamespace = "inline";
await embeds.gotoPlayground({ url: "/inline.html", calNamespace });
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
expect(embedIframe).toBeEmbedCalLink("", embeds.getActionFiredDetails, {
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
pathname: "/pro",
searchParams: {
theme: "dark",
@@ -35,7 +35,7 @@ test.describe("React Embed", () => {
await page.click("text=Book my Cal");
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
pathname: "/pro",
searchParams: {
theme: "dark",
@@ -45,7 +45,6 @@ test.describe("React Embed", () => {
});
// TODO: This test is extremely flaky and has been failing a lot, blocking many PRs. Fix this.
// eslint-disable-next-line playwright/no-skipped-test
test.describe.skip("Element Click Popup", () => {
test("should verify that the iframe got created with correct URL - namespaced", async ({
page,
@@ -57,7 +56,7 @@ test.describe("React Embed", () => {
await page.click("text=Click me");
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
pathname: "/pro",
searchParams: {
theme: "dark",