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

bobbai00 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/main by this push:
     new 16fde90f21 chore(dependencies): Remove jschardet from the frontend 
dependency graph (#4475)
16fde90f21 is described below

commit 16fde90f21f702240a7252ae94ce50033f2bd261
Author: Xinyuan Lin <[email protected]>
AuthorDate: Wed Apr 22 16:14:58 2026 -0700

    chore(dependencies): Remove jschardet from the frontend dependency graph 
(#4475)
    
    Strip transitive `jschardet` (LGPL-2.1, ASF Category X) declared by
    `@codingame/monaco-vscode-api`. It is only referenced by a dynamic
    `await import('jschardet')` inside the VS Code textfile encoding
    service, a code path Texera never exercises. Removing the declaration
    keeps it out of yarn.lock, node_modules, and the production bundle.
    
    ### Any related issues, documentation, discussions?
    Closes #4461
    
    ### How was this PR tested?
    Tested manually.
    
    ### Was this PR authored or co-authored using generative AI tooling?
    No.
---
 frontend/.yarnrc.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/frontend/.yarnrc.yml b/frontend/.yarnrc.yml
index 3c08760b15..a58134da75 100644
--- a/frontend/.yarnrc.yml
+++ b/frontend/.yarnrc.yml
@@ -18,3 +18,8 @@
 yarnPath: .yarn/releases/yarn-4.14.1.cjs
 nodeLinker: node-modules
 nmMode: hardlinks-local
+
+packageExtensions:
+  "@codingame/monaco-vscode-api@*":
+    dependencies:
+      jschardet: null

Reply via email to