Skip to content

Commit 99b82c5

Browse files
authored
chore: update direct dependencies (calcom#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
1 parent 054a0fa commit 99b82c5

17 files changed

Lines changed: 175 additions & 101 deletions

File tree

apps/api/v2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"body-parser": "^1.20.2",
6464
"bull": "^4.12.4",
6565
"class-transformer": "^0.5.1",
66-
"class-validator": "^0.14.0",
66+
"class-validator": "^0.14.3",
6767
"cookie-parser": "^1.4.6",
6868
"dotenv": "16.6.1",
6969
"fs-extra": "^11.2.0",

apps/web/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"bcryptjs": "^2.4.3",
9191
"botid": "^1.5.7",
9292
"classnames": "^2.3.1",
93-
"dompurify": "3.2.3",
93+
"dompurify": "3.3.1",
9494
"entities": "4.5.0",
9595
"gray-matter": "^4.0.3",
9696
"handlebars": "^4.7.7",
@@ -111,12 +111,12 @@
111111
"micro": "^10.0.1",
112112
"mime-types": "2.1.35",
113113
"next": "16.1.0",
114-
"next-auth": "^4.22.1",
114+
"next-auth": "^4.24.13",
115115
"next-axiom": "^0.17.0",
116116
"next-i18next": "^15.4.2",
117117
"next-seo": "^6.0.0",
118118
"next-themes": "^0.2.0",
119-
"nodemailer": "^6.7.8",
119+
"nodemailer": "^7.0.11",
120120
"nuqs": "^2.8.2",
121121
"openid-client": "6.5.0",
122122
"otplib": "^12.0.1",
@@ -163,7 +163,7 @@
163163
"@calcom/eslint-config": "workspace:*",
164164
"@calcom/types": "workspace:*",
165165
"@microsoft/microsoft-graph-types-beta": "0.15.0-preview",
166-
"@playwright/test": "^1.45.3",
166+
"@playwright/test": "^1.55.1",
167167
"@tailwindcss/postcss": "^4.0.0",
168168
"@testing-library/react": "^13.3.0",
169169
"@types/accept-language-parser": "1.5.2",

apps/web/playwright/wipe-my-cal.e2e.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,11 @@ test.describe("Wipe my Cal App Test", () => {
4848

4949
await page.locator("data-testid=wipe-today-button").click();
5050

51-
// Don't await send_request click, otherwise mutation can possibly occur before observer is attached
52-
page.locator("data-testid=send_request").click();
51+
// Setup response listener before clicking to ensure we capture the API response
52+
const wipeResponsePromise = page.waitForResponse("**/api/integrations/wipemycalother/wipe");
53+
await page.locator("data-testid=send_request").click();
54+
await wipeResponsePromise;
55+
5356
// There will not be any today-bookings
5457
await expect(page.locator('[data-testid="today-bookings"]')).toBeHidden();
5558
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"@changesets/cli": "2.29.4",
9191
"@faker-js/faker": "9.2.0",
9292
"@jetstreamapp/soql-parser-js": "^6.1.0",
93-
"@playwright/test": "^1.45.3",
93+
"@playwright/test": "^1.55.1",
9494
"@prisma/internals": "^6.16.2",
9595
"@snaplet/copycat": "^4.1.0",
9696
"@testing-library/jest-dom": "^5.16.5",

packages/embeds/embed-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"dist"
4242
],
4343
"devDependencies": {
44-
"@playwright/test": "^1.45.3",
44+
"@playwright/test": "^1.55.1",
4545
"@tailwindcss/cli": "^4.0.0",
4646
"@tailwindcss/postcss": "^4.0.0",
4747
"@vitejs/plugin-basic-ssl": "^1.1.0",
@@ -50,7 +50,7 @@
5050
"postcss": "8.5.6",
5151
"tailwindcss": "4.1.17",
5252
"typescript": "5.9.2",
53-
"vite": "4.5.3",
53+
"vite": "4.5.14",
5454
"vite-plugin-environment": "^1.1.3"
5555
}
5656
}

packages/embeds/embed-core/playwright/tests/inline.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test.describe("Inline Iframe", () => {
1818
await embeds.gotoPlayground({ calNamespace: "", url: "/?only=ns:default" });
1919
const calNamespace = "";
2020
const embedIframe = await ensureEmbedIframe({ calNamespace, page, pathname: "/pro" });
21-
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
21+
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
2222
searchParams: {
2323
theme: "dark",
2424
},
@@ -57,7 +57,7 @@ test.describe("Inline Iframe", () => {
5757
await embeds.gotoPlayground({ calNamespace, url: `?only=ns:autoScrollTest` });
5858
const calLink = `${user.username}/multiple-duration`;
5959
await page.goto(`/?only=ns:autoScrollTest&cal-link=${calLink}`);
60-
const embedIframe = await ensureEmbedIframe({ calNamespace, page, pathname: `/${calLink}` });
60+
await ensureEmbedIframe({ calNamespace, page, pathname: `/${calLink}` });
6161
const finalScrollPosition = await page.evaluate(() => window.scrollY);
6262
expect(finalScrollPosition).toBe(0);
6363
});

packages/embeds/embed-core/playwright/tests/namespacing.e2e.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect } from "@playwright/test";
22

3-
// eslint-disable-next-line no-restricted-imports
3+
44
import { test } from "@calcom/web/playwright/lib/fixtures";
55

66
import { getEmbedIframe } from "../lib/testUtils";
@@ -12,7 +12,7 @@ test.describe("Namespacing", () => {
1212
await embeds.gotoPlayground({ calNamespace, url: "/" });
1313
await page.click("#add-inline-embed-in-a-new-namespace-without-reload-button");
1414
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
15-
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
15+
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
1616
pathname: "/pro",
1717
searchParams: {
1818
case: "addInlineEmbedInANewNamespaceWithoutReload",
@@ -25,7 +25,7 @@ test.describe("Namespacing", () => {
2525
await embeds.gotoPlayground({ calNamespace, url: "/" });
2626
await page.click("#double-install-snippet-with-inline-embed-non-default-namespace-button");
2727
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
28-
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
28+
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
2929
pathname: "/pro",
3030
searchParams: {
3131
case: "doubleInstallSnippetWithInlineEmbedWithNonDefaultNamespace",
@@ -42,7 +42,7 @@ test.describe("Namespacing", () => {
4242
await embeds.gotoPlayground({ calNamespace, url: "/" });
4343
await page.click("#double-install-snippet-with-inline-embed-default-namespace-button");
4444
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
45-
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
45+
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
4646
pathname: "/pro",
4747
searchParams: {
4848
case: "doubleInstallSnippetWithInlineEmbed",

packages/embeds/embed-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
},
4646
"devDependencies": {
4747
"@calcom/eslint-config": "workspace:*",
48-
"@playwright/test": "^1.45.3",
48+
"@playwright/test": "^1.55.1",
4949
"@types/react": "18.0.26",
5050
"@types/react-dom": "^18.0.9",
5151
"@vitejs/plugin-react": "^2.2.0",
5252
"npm-run-all": "^4.1.5",
5353
"typescript": "5.9.2",
54-
"vite": "^4.5.2"
54+
"vite": "^4.5.14"
5555
},
5656
"dependencies": {
5757
"@calcom/embed-core": "workspace:*",

packages/embeds/embed-react/playwright/tests/basic.e2e.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect } from "@playwright/test";
22

33
import { getEmbedIframe } from "@calcom/embed-core/playwright/lib/testUtils";
4-
// eslint-disable-next-line no-restricted-imports
4+
55
import { test } from "@calcom/web/playwright/lib/fixtures";
66

77
test.describe("React Embed", () => {
@@ -13,7 +13,7 @@ test.describe("React Embed", () => {
1313
const calNamespace = "inline";
1414
await embeds.gotoPlayground({ url: "/inline.html", calNamespace });
1515
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
16-
expect(embedIframe).toBeEmbedCalLink("", embeds.getActionFiredDetails, {
16+
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
1717
pathname: "/pro",
1818
searchParams: {
1919
theme: "dark",
@@ -35,7 +35,7 @@ test.describe("React Embed", () => {
3535
await page.click("text=Book my Cal");
3636

3737
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
38-
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
38+
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
3939
pathname: "/pro",
4040
searchParams: {
4141
theme: "dark",
@@ -45,7 +45,6 @@ test.describe("React Embed", () => {
4545
});
4646

4747
// TODO: This test is extremely flaky and has been failing a lot, blocking many PRs. Fix this.
48-
// eslint-disable-next-line playwright/no-skipped-test
4948
test.describe.skip("Element Click Popup", () => {
5049
test("should verify that the iframe got created with correct URL - namespaced", async ({
5150
page,
@@ -57,7 +56,7 @@ test.describe("React Embed", () => {
5756
await page.click("text=Click me");
5857

5958
const embedIframe = await getEmbedIframe({ calNamespace, page, pathname: "/pro" });
60-
expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
59+
await expect(embedIframe).toBeEmbedCalLink(calNamespace, embeds.getActionFiredDetails, {
6160
pathname: "/pro",
6261
searchParams: {
6362
theme: "dark",

packages/embeds/embed-snippet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"devDependencies": {
2828
"@calcom/eslint-config": "workspace:*",
2929
"typescript": "5.9.2",
30-
"vite": "4.5.3"
30+
"vite": "4.5.14"
3131
},
3232
"dependencies": {
3333
"@calcom/embed-core": "workspace:*"

0 commit comments

Comments
 (0)