Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

Update dependencies (#448)

Luke Vellafea5ff278727
diff --git a/package.json b/package.json
index a8aa952a8..dc40a6021 100644
--- a/package.json
+++ b/package.json
@@ -39,15 +39,14 @@
"axios": "^0.24.0",
"clsx": "^1.1.1",
"dayjs": "^1.11.7",
- "eta": "^1.12.3",
+ "eta": "^2.0.0",
"framer-motion": "^6.3.11",
"i18next": "^22.0.4",
"immer": "^9.0.15",
"iron-session": "^6.1.3",
- "jose": "^4.5.1",
"js-cookie": "^3.0.1",
"lodash": "^4.17.21",
- "nanoid": "^3.1.30",
+ "nanoid": "^4.0.0",
"next": "13.0.6",
"next-i18next": "^12.1.0",
"next-seo": "^5.15.0",
diff --git a/src/utils/api-utils.ts b/src/utils/api-utils.ts
index 4fc6ca131..16802b315 100644
--- a/src/utils/api-utils.ts
+++ b/src/utils/api-utils.ts
@@ -97,7 +97,7 @@ export const sendEmailTemplate = async ({
to,
subject,
}: SendEmailTemplateParams) => {
- const rendered = await Eta.render(templateString, templateVars);
+ const rendered = Eta.render(templateString, templateVars);
if (rendered) {
await sendEmail({
diff --git a/tests/authentication.spec.ts b/tests/authentication.spec.ts
index e20650b77..9afdcd510 100644
--- a/tests/authentication.spec.ts
+++ b/tests/authentication.spec.ts
@@ -44,9 +44,9 @@ test.describe.serial(() => {
await page.goto("/login");
// your login page test logic
- await page.type("input[name=email]", "[email protected]");
+ await page.getByPlaceholder("[email protected]").type(testUserEmail);
- await page.click("text=Continue");
+ await page.getByText("Continue").click();
// Make sure the user doesn't exist yet and that logging in is not possible
await expect(
diff --git a/yarn.lock b/yarn.lock
index 4ce491461..a4c17ebe7 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3522,10 +3522,10 @@ esutils@^2.0.2:
resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz"
integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
-eta@^1.12.3:
- version "1.12.3"
- resolved "https://registry.yarnpkg.com/eta/-/eta-1.12.3.tgz#2982d08adfbef39f9fa50e2fbd42d7337e7338b1"
- integrity sha512-qHixwbDLtekO/d51Yr4glcaUJCIjGVJyTzuqV4GPlgZo1YpgOKG+avQynErZIYrfM6JIJdtiG2Kox8tbb+DoGg==
+eta@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/eta/-/eta-2.0.0.tgz#376865fadebc899e5b6dfce82fae64cbbe47e594"
+ integrity sha512-NqE7S2VmVwgMS8yBxsH4VgNQjNjLq1gfGU0u9I6Cjh468nPRMoDfGdK9n1p/3Dvsw3ebklDkZsFAnKJ9sefjBA==
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
version "3.1.3"
@@ -4270,11 +4270,6 @@ joi@^17.6.0:
"@sideway/formula" "^3.0.0"
"@sideway/pinpoint" "^2.0.0"
-jose@^4.5.1:
- version "4.5.1"
- resolved "https://registry.yarnpkg.com/jose/-/jose-4.5.1.tgz#1531d491fafe567338fd517f118293cce27aa0aa"
- integrity sha512-uhjuzZjKGKmi5DVJ/eghN8hJklLhwZRLRAaaG9MkkMAdfRYlHvZ10i4z/4WSN1hSTMffCet+k7iRHvbdGwmZPw==
-
js-cookie@^2.2.1:
version "2.2.1"
resolved "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz"
@@ -4674,16 +4669,16 @@ nano-css@^5.3.1:
stacktrace-js "^2.0.2"
stylis "^4.0.6"
-nanoid@^3.1.30:
- version "3.1.30"
- resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.1.30.tgz"
- integrity sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==
-
nanoid@^3.3.4:
version "3.3.4"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
+nanoid@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-4.0.0.tgz#6e144dee117609232c3f415c34b0e550e64999a5"
+ integrity sha512-IgBP8piMxe/gf73RTQx7hmnhwz0aaEXYakvqZyE302IXW3HyVNhdNGC+O2MwMAVhLEnvXlvKtGbtJf6wvHihCg==
+
natural-compare@^1.4.0:
version "1.4.0"
resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz"