Import Optimization #
The codebase has been refactored to use more specific ES6 named imports instead of default module imports, reducing the amount of code loaded at runtime. This is an internal optimization with no functional impact on CLI behavior or features.
Technical details:
- Replaced
import YJQ from "stream"withimport { PassThrough as Jn5 } from "stream"at line 442149 - Replaced
import oAQ from "node:process"withimport { cwd as fNA } from "node:process"at line 361348 - The
Transformclass continues to be imported from stream (viaYJQ.Transformat line 337901) - The
PassThroughclass usage at line 442326 now uses the named importJn5 - The
cwdfunction usage at lines 361467 and 361469 now uses the named importfNA
Impact: None. This is purely an internal refactoring that improves code organization and potentially reduces memory footprint, but does not change any CLI functionality, commands, flags, or user-facing behavior.