Repository navigation
fix: remove unused languine dependency (resolves CVE-2026-41650) - #4226
Merged
Merged
Conversation
languine was added to `dependencies` in the electron-vite refactor (#4001) but is never imported, has no config file, and is not referenced in any scripts. Removing it eliminates the transitive [email protected] dependency that triggered Dependabot alert #409 (GHSA-gh4j-gqv2-49f6, medium severity, XML comment/CDATA injection in XMLBuilder). Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the unused languine production dependency to eliminate its vulnerable transitive dependency (fast-xml-parser, CVE-2026-41650) from the dependency tree.
Changes:
- Removed
languinefromdependenciesinpackage.json. - Updated
pnpm-lock.yamlto droplanguineand its transitive packages (includingfast-xml-parser).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Removes the unused languine dependency from production dependencies. |
| pnpm-lock.yaml | Updates the lockfile to remove languine, fast-xml-parser, and now-unneeded transitive entries. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
thimbleberrysystems
pushed a commit
to thimbleberrysystems/WordBird
that referenced
this pull request
Jun 21, 2026
…ktext#4226) languine was added to `dependencies` in the electron-vite refactor (marktext#4001) but is never imported, has no config file, and is not referenced in any scripts. Removing it eliminates the transitive [email protected] dependency that triggered Dependabot alert marktext#409 (GHSA-gh4j-gqv2-49f6, medium severity, XML comment/CDATA injection in XMLBuilder). Co-authored-by: Claude Sonnet 4.6 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
languinefromdependenciesinpackage.jsonpnpm-lock.yamlaccordinglyBackground
[email protected]was added todependenciesin the electron-vite refactor (#4001), but it is never actually used:import/requireoflanguineanywhere in the source codelanguine.config.*configuration file existslanguinein any npm scriptsDependabot alert #409 (GHSA-gh4j-gqv2-49f6 / CVE-2026-41650) flagged the transitive dependency
[email protected](pulled in bylanguine) for an XML comment/CDATA injection vulnerability inXMLBuilder. The fix version (5.7.0) is a major version jump thatlanguinedoes not yet consume, so upgradinglanguinealone would not resolve it.Since
languineis unused, the cleanest fix is to remove it entirely, which also dropsfast-xml-parserfrom the dependency tree.Test plan
pnpm installcompletes successfullyfast-xml-parserandlanguineno longer appear inpnpm-lock.yamllanguine🤖 Generated with Claude Code