Skip to content

Add es5-ext to .moduleignore to exclude quarantined module#315110

Merged
connor4312 merged 1 commit intomainfrom
fix/override-quarantined-es5-ext
May 7, 2026
Merged

Add es5-ext to .moduleignore to exclude quarantined module#315110
connor4312 merged 1 commit intomainfrom
fix/override-quarantined-es5-ext

Conversation

@connor4312
Copy link
Copy Markdown
Member

Closes #315063

es5-ext (0.10.63 and 0.10.64) is quarantined by Nexus Firewall
(sonatype-2022-2248) due to undisclosed postinstall code execution.

es5-ext is only consumed in websocket's browser.js inside a
try/catch with a globalThis fallback, so it is unnecessary in
the browsers/runtimes VS Code supports. Adding it to .moduleignore
strips it from the build output entirely.

Fixes #310541

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI review requested due to automatic review settings May 7, 2026 21:08
@connor4312 connor4312 enabled auto-merge May 7, 2026 21:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the build packaging ignore list to exclude the es5-ext npm package from VS Code’s shipped production dependencies, motivated by supply-chain quarantine concerns.

Changes:

  • Add an ignore rule for es5-ext/** in build/.moduleignore.
  • Document rationale in-line, citing the quarantine advisory and an assumption about runtime usage.
Show a summary per file
File Description
build/.moduleignore Excludes es5-ext from packaged node_modules and adds a comment explaining why.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread build/.moduleignore
@connor4312 connor4312 merged commit 02a33c8 into main May 7, 2026
52 of 53 checks passed
@connor4312 connor4312 deleted the fix/override-quarantined-es5-ext branch May 7, 2026 21:26
@vs-code-engineering vs-code-engineering Bot added this to the 1.120.0 milestone May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants