Skip to content

feat: support es-module-lexer v3 - #284

Draft
BridgeAR wants to merge 2 commits into
mainfrom
BridgeAR/2026-08-28-iitm-esml-v3-base
Draft

feat: support es-module-lexer v3#284
BridgeAR wants to merge 2 commits into
mainfrom
BridgeAR/2026-08-28-iitm-esml-v3-base

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

es-module-lexer v3 identifies TypeScript-only exports and bare star re-exports directly. This removes IITM's ESM TypeScript strip pass and statement-text scan.

CommonJS TypeScript still needs Node's strip pass because cjs-module-lexer does not parse TypeScript syntax. The dependency is pinned to 008f809470ff0a947a88a48ef5e282143fc6385f until v3 is published.

Refs: guybedford/es-module-lexer#220

es-module-lexer v3 exposes TypeScript-only exports and bare star re-exports. This removes the ESM TypeScript strip pass and statement-text scan.

CommonJS TypeScript still needs Node's strip pass because cjs-module-lexer does not parse TypeScript syntax. The dependency stays pinned to the reviewed PR head until v3 is published.

Refs: guybedford/es-module-lexer#220
Git dependencies contain only tracked files. PR #220 excludes release artifacts, so npm installed the source commit without the full and asm.js entry points IITM loads.
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