Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.31 Home All releases olderv2.0.30 v2.0.32newer
Claude Code v2.0.31

Import Organization

What: Consolidated and reorganized various module imports.

Changes:

  • Replaced import Ae from "stream" with import { PassThrough as Lr5 } from "stream" at line 482338
  • Replaced import e51 from "node:child_process" with import { execSync as U6Q, spawn as Qd8 } from "node:child_process" at line 249174
  • Added import { cwd as hR0 } from "node:process" at line 70725
  • Added import { homedir as br5 } from "node:os" at line 484007
  • Added import { createHash as pB6, randomBytes as lB6 } from "crypto" at line 286520
  • Removed redundant import BP9 from "node:os" and import il2 from "node:process"

Details:

  • More explicit imports improve tree-shaking and code clarity
  • Reduces namespace pollution from default imports

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.0.31 →