Bump local twake-mui lockfile to 1.1.8.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
lenhanphung
2026-02-04 15:58:12 +07:00
parent 41c839f38b
commit af53ad158a
8 changed files with 2563 additions and 86 deletions
+16
View File
@@ -59,3 +59,19 @@ export function extractVideoConferenceFromDescription(
const match = description.match(/Visio:\s*(https?:\/\/[^\s]+)/);
return match ? match[1] : null;
}
const VISIO_LINE_REGEX = /^Visio:\s*https?:\/\/\S+$/;
/**
* Remove the Visio video conference line from description.
* Finds and removes the line matching "Visio: <url>" regardless of position (start, middle, end).
* @param {string} description - Event description
* @returns {string} Description with the Visio line removed
*/
export function removeVideoConferenceFromDescription(
description: string
): string {
const lines = description.split("\n");
const filtered = lines.filter((line) => !VISIO_LINE_REGEX.test(line.trim()));
return filtered.join("\n").trimEnd();
}