1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-23 21:42:27 +03:00

Update dependency vite to v7.1.11 [SECURITY] (#31048)

* Update dependency vite to v7.1.11 [SECURITY]

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
renovate[bot]
2025-11-12 13:32:59 +01:00
committed by GitHub
parent 219a390025
commit d85e5fca8d
5 changed files with 266 additions and 353 deletions

View File

@@ -15,7 +15,10 @@ Please see LICENSE files in the repository root for full details.
import * as fs from "fs";
import * as path from "path";
import { dirname } from "node:path";
import { fileURLToPath } from "node:url";
const __dirname = dirname(fileURLToPath(import.meta.url));
const i18nStringsPath = path.resolve(__dirname, "../../../src/i18n/strings/en_EN.json");
const outPath = path.resolve(__dirname, "../src/i18nKeys.d.ts");
@@ -56,6 +59,9 @@ function main() {
console.log(`Wrote ${keys.length} keys to ${outPath}`);
}
if (require.main === module) {
main();
if (import.meta.url.startsWith("file:")) {
const modulePath = fileURLToPath(import.meta.url);
if (process.argv[1] === modulePath) {
main();
}
}