Skip to content

Support scoped computed EventEmitter names - #389

Merged
ctate merged 2 commits into
mainfrom
fix/commander-description-static
Sep 23, 2026
Merged

ctate merged 2 commits into
mainfrom
fix/commander-description-static

Conversation

@ctate

@ctate ctate commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Compile computed EventEmitter names with a provable constant prefix or suffix through exact-arity checked-dynamic dispatch, including literal/computed cross-matches and nullable receivers.
  • Preserve listener identity and cycle collection; refuse names that may reach error, meta, or stream-internal events and typed listener-array introspection where signatures can vary.
  • Correct narrow npm-static declaration projections needed for Commander's computed option listener registration.

Validation

  • Plain and sanitized differential tests for computed names and nullable receivers.
  • Plain and sanitized Commander registration differential.
  • Compiler build, lint, compatibility check, and docs build.
  • Full sandbox gate running.

This does not claim full static compilation of Commander's CLI; other compiler fences remain.

@vercel

vercel Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptc Ready Ready Preview, v0 Sep 23, 2026 5:32am UTC

@ctate
ctate merged commit 1b2b39f into main Sep 23, 2026
20 checks passed
@ctate
ctate deleted the fix/commander-description-static branch September 23, 2026 05:38

This branch was successfully deployed

1 active deployment
Preview 640b2054 Deployed Sep 23, 2026 by vercel[bot]
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.

1 participant