Skip to content

fix(ml): re-export firstAlternates through the imf barrel (public surface) - #109

Merged
ronaldtse merged 1 commit into
mainfrom
fix/imf-barrel-firstalternates
Oct 14, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
fix/imf-barrel-firstalternates

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Found by post-publish smoke of npm 5.8.0: imf.firstAlternates is
undefined for consumers — imf/index.ts re-exports encode/decode/
constants from tokens.js but not firstAlternates, and the exports
map has no tokens subpath. #108's tests import source-tree paths, so
the gap passed CI.

  • barrel re-export added
  • new public-surface test pins the documented import
    (import { imf } from "interscript/ml")

Patch release 5.8.1 follows merge.

…rface test

npm 5.8.0 shipped tokens.js with firstAlternates but imf/index.ts
never re-exported it — the documented import (imf.firstAlternates via
'interscript/ml') was undefined for consumers. ts#108's tests imported
source-tree paths, so the gap never surfaced. Patch release follows.
@ronaldtse
ronaldtse merged commit 9a3b03d into main Oct 14, 2026
6 of 8 checks passed
@ronaldtse
ronaldtse deleted the fix/imf-barrel-firstalternates branch October 14, 2026 14:53
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