What's wrong with this entry?
Anonymous. No account, no email.
This release includes minor import optimizations that improve code efficiency:
- Stream module: Changed from importing the entire
streammodule to importing only thePassThroughclass that's actually used - Before:
import sy4 from "stream" - After:
import { PassThrough as a69 } from "stream"
- Process module: Changed from importing the entire
node:processmodule to importing only thecwdfunction that's needed - Before:
import gs2 from "node:process" - After:
import { cwd as kJ0 } from "node:process"
These changes follow JavaScript best practices by importing only the specific functions/classes needed rather than entire modules. This can lead to:
- Smaller bundle sizes
- Faster startup times
- More explicit code dependencies
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.