This is an automated email from the ASF dual-hosted git repository.

aglinxinyuan pushed a commit to branch 
dependabot/npm_and_yarn/frontend/uuid-14.0.0
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to 
refs/heads/dependabot/npm_and_yarn/frontend/uuid-14.0.0 by this push:
     new 5640e49747 fix(frontend): point vitest browser uuid alias at v14 dist 
entry
5640e49747 is described below

commit 5640e49747b652104482fc8da84a8e92a2103443
Author: Xinyuan Lin <[email protected]>
AuthorDate: Fri Jun 19 17:33:41 2026 -0700

    fix(frontend): point vitest browser uuid alias at v14 dist entry
    
    uuid v14 dropped dist/esm-browser/index.js; its browser ESM build now
    lives at dist/index.js (the package's default export condition). Update
    the vitest browser-mode alias so the Vite optimizer can resolve it,
    fixing the ENOENT that failed the frontend browser tests.
---
 frontend/vitest.browser.config.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/vitest.browser.config.ts 
b/frontend/vitest.browser.config.ts
index eb609d1cda..3fe2c41039 100644
--- a/frontend/vitest.browser.config.ts
+++ b/frontend/vitest.browser.config.ts
@@ -21,7 +21,7 @@ import { fileURLToPath } from "node:url";
 import { defineConfig } from "vitest/config";
 import { playwright } from "@vitest/browser-playwright";
 
-const uuidBrowser = fileURLToPath(new 
URL("./node_modules/uuid/dist/esm-browser/index.js", import.meta.url));
+const uuidBrowser = fileURLToPath(new URL("./node_modules/uuid/dist/index.js", 
import.meta.url));
 const lib0Webcrypto = fileURLToPath(new 
URL("./node_modules/lib0/webcrypto.js", import.meta.url));
 
 // Browser-mode config for specs that need real DOM/SVG geometry

Reply via email to