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

aglinxinyuan pushed a commit to branch xinyuan-remove-jschardet
in repository https://gitbox.apache.org/repos/asf/texera.git

commit 08e99db6fcc1d9db35f07df3570cd78ef6f14c6a
Author: Xinyuan Lin <[email protected]>
AuthorDate: Wed Apr 22 16:00:49 2026 -0700

    init
---
 frontend/.yarnrc.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/frontend/.yarnrc.yml b/frontend/.yarnrc.yml
index 9541a93e1b..d377784a9f 100644
--- a/frontend/.yarnrc.yml
+++ b/frontend/.yarnrc.yml
@@ -18,3 +18,13 @@
 yarnPath: .yarn/releases/yarn-4.5.1.cjs
 nodeLinker: node-modules
 nmMode: hardlinks-local
+
+# 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. See #4461.
+packageExtensions:
+  "@codingame/monaco-vscode-api@*":
+    dependencies:
+      jschardet: null

Reply via email to