Claude Code v2.0.46 ·
Import Statement Modernization
EntryKind: in v2.0.46,
ChangesSection of the release
- Migrated from default imports to named imports in multiple modules for better tree-shaking
- Examples:
import { Transform as Xw6 } from "node:stream" at line 225107, import { spawn as WH5, spawnSync as XH5 } from "child_process" at line 303217 - No new module dependencies added - all imports from existing Node.js standard library
- Both import styles coexist during transition period
See this entry in the whole of v2.0.46 →