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
@@ -41,7 +41,7 @@
"dist"
],
"devDependencies": {
"@playwright/test": "^1.45.3",
"@playwright/test": "^1.55.1",
"@tailwindcss/cli": "^4.0.0",
"@tailwindcss/postcss": "^4.0.0",
"@vitejs/plugin-basic-ssl": "^1.1.0",
@@ -50,7 +50,7 @@
"postcss": "8.5.6",
"tailwindcss": "4.1.17",
"typescript": "5.9.2",
"vite": "4.5.3",
"vite": "4.5.14",
"vite-plugin-environment": "^1.1.3"
}
}
@@ -18,7 +18,7 @@ test.describe("Inline Iframe", () => {
await embeds.gotoPlayground({ calNamespace: "", url: "/?only=ns:default" });
const calNamespace = "";
const embedIframe = await ensureEmbedIframe({ calNamespace, page, pathname: "/pro" });
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
searchParams: {
theme: "dark",
},
@@ -57,7 +57,7 @@ test.describe("Inline Iframe", () => {
await embeds.gotoPlayground({ calNamespace, url: `?only=ns:autoScrollTest` });
const calLink = `${user.username}/multiple-duration`;
await page.goto(`/?only=ns:autoScrollTest&cal-link=${calLink}`);
const embedIframe = await ensureEmbedIframe({ calNamespace, page, pathname: `/${calLink}` });
await ensureEmbedIframe({ calNamespace, page, pathname: `/${calLink}` });
const finalScrollPosition = await page.evaluate(() => window.scrollY);
expect(finalScrollPosition).toBe(0);
});
@@ -1,6 +1,6 @@
import { expect } from "@playwright/test";
// eslint-disable-next-line no-restricted-imports
import { test } from "@calcom/web/playwright/lib/fixtures";
import { getEmbedIframe } from "../lib/testUtils";
@@ -12,7 +12,7 @@ test.describe("Namespacing", () => {
await embeds.gotoPlayground({ calNamespace, url: "/" });
await page.click("#add-inline-embed-in-a-new-namespace-without-reload-button");
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
pathname: "/pro",
searchParams: {
case: "addInlineEmbedInANewNamespaceWithoutReload",
@@ -25,7 +25,7 @@ test.describe("Namespacing", () => {
await embeds.gotoPlayground({ calNamespace, url: "/" });
await page.click("#double-install-snippet-with-inline-embed-non-default-namespace-button");
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
pathname: "/pro",
searchParams: {
case: "doubleInstallSnippetWithInlineEmbedWithNonDefaultNamespace",
@@ -42,7 +42,7 @@ test.describe("Namespacing", () => {
await embeds.gotoPlayground({ calNamespace, url: "/" });
await page.click("#double-install-snippet-with-inline-embed-default-namespace-button");
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
pathname: "/pro",
searchParams: {
case: "doubleInstallSnippetWithInlineEmbed",
+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",
+1 -1
View File
@@ -27,7 +27,7 @@
"devDependencies": {
"@calcom/eslint-config": "workspace:*",
"typescript": "5.9.2",
"vite": "4.5.3"
"vite": "4.5.14"
},
"dependencies": {
"@calcom/embed-core": "workspace:*"